[U-Boot] [PATCH 2/2] [NEXT] arm926ejs: reduce code size with -msingle-pic-base

Wolfgang Denk
2010-09-22T21:11:20Z

Dear Ben Gardiner,

In message <AANLkTinLq9XStXA=6w1BLKwCrDuXAPYpK1X3XW5MruW7@mail.gmail.com> you wrote:
>
> >> I tried tested this on da850evm -- the da850evm.h has "#undef
> >> CONFIG_SYS_ARM_WITHOUT_RELOC /* This board is tested with relocation
> >> support */".
> >
> > This slipped through, sorry for that.
> >
> > That line must be removed.
>
> I don't understand; I thought that '#undef' _enabled_ relocation
> support. According to doc/README.arm-relocation on u-boot./next:

We do not #undef what is not #defined in the first place.

> To compile a board without relocation, define CONFIG_SYS_ARM_WITHOUT_RELOC
> This possibility will removed!! So please fix your board to compile without
> CONFIG_SYS_ARM_WITHOUT_RELOC defined!!!

If your board is fixed, then there is no need to build it with
CONFIG_SYS_ARM_WITHOUT_RELOC set.

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The inappropriate cannot be beautiful.
- Frank Lloyd Wright _The Future of Architecture_ (1953)