On Monday, October 03, 2011 20:51:50 Simon Glass wrote: > On Mon, Oct 3, 2011 at 12:31 PM, Mike Frysinger wrote: > > On Monday, September 26, 2011 20:10:55 Simon Glass wrote: > >> +ifeq ($(CONFIG_SANDBOX),y) > >> +GEN_UBOOT = \ > >> + cd $(LNDIR) && $(CC) $(SYMS) -T $(obj)u-boot.lds \ > >> + -Wl,--start-group $(__LIBS) -Wl,--end-group \ > >> + $(PLATFORM_LIBS) -Wl,-Map -Wl,u-boot.map -o u-boot > > > > unfortunate that you can't utilize UNDEF_SYM ... > > Well I can add a hack to make it empty, but I'm not sure what it buys > us. The main issue is that I don't want to pass any link flags from > LDFLAGS, etc. I could put that magic into config.mk perhaps (and this > might be a better place for it), but it is something of a special case > wherever it goes.
hmm, i guess you're not using -Wl,--gc-sections mostly because you ignore $(LDFLAGS). i wonder if you did something like: COMMA = , ... $(patsubst %,-Wl$(COMMA)%,$(LDFLAGS)) ... -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot