[coreboot] [commit] r5114 - in trunk: . src/arch/i386 src/arch/i386/lib src/lib util/romcc

Peter Stuge peter at stuge.se
Thu Feb 11 10:19:20 CET 2010


repository service wrote:
> +++ trunk/util/romcc/romcc.c	Thu Feb 11 04:21:29 2010	(r5114)
..
>  			else if (strncmp(argv[1], "-include", 10) == 0) {
..
> +				struct filelist *old_head = include_filelist;
> +				include_filelist = malloc(sizeof(struct filelist));
> +				if (!include_filelist) {
> +					die("Out of memory.\n");
> +				}
> +				argv++;
> +				argc--;
> +				include_filelist->filename = argv[1];
> +				include_filelist->next = old_head;

It seems that -included files will be compiled in reverse order by
this? Might that be a usability issue? I could change it.


//Peter




More information about the coreboot mailing list