On Tue, 12 Oct 2010 16:10:33 +0200
Joakim Tjernlund <joakim.tjernl...@transmode.se> wrote:

> Wolfgang Denk <w...@denx.de> wrote on 2010/10/12 15:47:19:
> > 
> > Dear Joakim Tjernlund,
> > 
> > In message <OF4DCFBD28.58E81A84-ONC12577BA.0047150B-C12577BA.
> > 0047d...@transmode.se> you wrote:
> > >
> > > > What happens when one uses this patch in combination with a 
> "standard"
> > > > (i. e. older, unpatched) GCC?
> > > 
> > > Nothing, gcc will produce -fPIC relocs and the code will/should just 
> work.
> > 
> > OK, so your change means effectively a no-op (except for the moderate
> > size increase in start.S) to most of us?
> 
> Yes.

that moderate size increase in start.S breaks nand builds:

Configuring for MPC8313ERDB_NAND_66 board...
start.o:(.got2+0x4): undefined reference to `_GOT_TABLE_'
make[1]: *** [/home/r1aaha/git/u-boot/nand_spl/u-boot-spl] Error 1

...

Configuring for MPC8315ERDB_NAND board...
powerpc-linux-gnu-ld: NAND bootstrap too big
powerpc-linux-gnu-ld: NAND bootstrap too big
start.o:(.got2+0x4): undefined reference to `_GOT_TABLE_'
make[1]: *** [/home/r1aaha/git/u-boot/nand_spl/u-boot-spl] Error 1

(I'm using powerpc-linux-gnu-gcc (Sourcery G++ Lite 4.3-74) 4.3.2 atm).

Kim

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to