On Tue, 1 Feb 2011 08:34:01 +0100 Wolfgang Denk <w...@denx.de> wrote:
> Dear Scott Wood, > > In message <20110131135548.50d65...@udp111988uds.am.freescale.net> you wrote: > > As I understand it, it has only been limited to PLATFORM_LDFLAGS since > > the LDFLAGS_u-boot commit. Was that change intentional, and widely > > tested? > > Can you please be more specific? I don't see where "the > LDFLAGS_u-boot commit" (you mean 8aba9dc ?) would change any related > code. The relevant hunk looks like this: > > @@ -204,9 +204,11 @@ endif > > AFLAGS := $(AFLAGS_DEBUG) -D__ASSEMBLY__ $(CPPFLAGS) > > -LDFLAGS += -Bstatic -T $(obj)u-boot.lds $(PLATFORM_LDFLAGS) > +LDFLAGS += $(PLATFORM_LDFLAGS) > + > +LDFLAGS_u-boot += -Bstatic -T $(obj)u-boot.lds $(PLATFORM_LDFLAGS) > ifneq ($(CONFIG_SYS_TEXT_BASE),) > -LDFLAGS += -Ttext $(CONFIG_SYS_TEXT_BASE) > +LDFLAGS_u-boot += -Ttext $(CONFIG_SYS_TEXT_BASE) > endif Prior to the introduction of LDFLAGS_u-boot, was LDFLAGS not what was used? So before, anything that board/cpu code adds directly to LDFLAGS (maybe they're supposed to use PLATFORM_LDFLAGS, but not all do) was used in the final link. After 8aba9dc, only things in PLATFORM_LDFLAGS plus -Bstatic and -T are used in the final link. -Scott _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot