Commit Graph

12 Commits

Author SHA1 Message Date
Wolfgang Denk
64134f0112 Fix linker scripts: add NOLOAD atribute to .bss/.sbss sections
With recent toolchain versions, some boards would not build because
or errors like this one (here for ocotea board when building with
ELDK 4.2 beta):
ppc_4xx-ld: section .bootpg [fffff000 -> fffff23b] overlaps section .bss [fffee900 -> fffff8ab]

For many boards, the .bss section is big enough that it wraps around
at the end of the address space (0xFFFFFFFF), so the problem will not
be visible unless you use a 64 bit tool chain for development. On
some boards however, changes to the code size (due to different
optimizations) we bail out with section overlaps like above.

The fix is to add the NOLOAD attribute to the .bss and .sbss
sections, telling the linker that .bss does not consume any space in
the image.

Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-01-12 20:31:39 +01:00
Wolfgang Denk
cdd917a43d Fix build errors and warnings / code cleanup.
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-08-02 00:48:45 +02:00
Markus Klotzbuecher
67fea022fa SPC1920: cleanup memory contoller setup 2007-01-09 16:02:48 +01:00
Markus Klotzbuecher
9295acb774 SPC1920: add support for the FM18L08 Ramtron FRAM 2007-01-09 14:57:13 +01:00
Markus Klotzbuecher
5921e5313f Miscellanious spc1920 related cleanups 2007-01-09 14:57:13 +01:00
Markus Klotzbuecher
e4c2d37adc SPC1920 GO/NOGO led should be set to color red in U-Boot 2007-01-09 14:57:12 +01:00
Markus Klotzbuecher
d8d9de1a02 Update the SPC1920 CMB PLD driver 2007-01-09 14:57:10 +01:00
Markus Klotzbuecher
d28707dbce Add support for the tms320671x host port interface (HPI) 2007-01-09 14:57:10 +01:00
Wolfgang Denk
2b208f5308 Move "ar" flags to config.mk to allow for silent "make -s"
Based on patch by Mike Frysinger, 20 Jun 2006
2006-10-09 01:02:05 +02:00
Marian Balakowicz
f93286397e Add support for a saving build objects in a separate directory.
Modifications are based on the linux kernel approach and
support two use cases:

  1) Add O= to the make command line
  'make O=/tmp/build all'

  2) Set environement variable BUILD_DIR to point to the desired location
  'export BUILD_DIR=/tmp/build'
  'make'

The second approach can also be used with a MAKEALL script
'export BUILD_DIR=/tmp/build'
'./MAKEALL'

Command line 'O=' setting overrides BUILD_DIR environent variable.

When none of the above methods is used the local build is performed and
the object files are placed in the source directory.
2006-09-01 19:49:50 +02:00
Wolfgang Denk
fc1840e881 Code cleanup. 2006-07-21 18:51:56 +02:00
Markus Klotzbuecher
b02d0177c1 Support for spc1920 board.
Patch by Markus Klotzbuecher, 12 Jul 2006
2006-07-12 08:48:24 +02:00