1. 20 Mar, 2009 1 commit
    • Trent Piepho's avatar
      Fix all linker script to handle all rodata sections · f62fb999
      Trent Piepho authored
      A recent gcc added a new unaligned rodata section called '.rodata.str1.1',
      which needs to be added the the linker script.  Instead of just adding this
      one section, we use a wildcard ".rodata*" to get all rodata linker section
      gcc has now and might add in the future.
      
      However, '*(.rodata*)' by itself will result in sub-optimal section
      ordering.  The sections will be sorted by object file, which causes extra
      padding between the unaligned rodata.str.1.1 of one object file and the
      aligned rodata of the next object file.  This is easy to fix by using the
      SORT_BY_ALIGNMENT command.
      
      This patch has not be tested one most of the boards modified.  Some boards
      have a linker script that looks something like this:
      
      *(.text)
      . = ALIGN(16);
      *(.rodata)
      *(.rodata.str1.4)
      *(.eh_frame)
      
      I change this to:
      
      *(.text)
      . = ALIGN(16);
      *(.eh_frame)
      *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
      
      This means the start of rodata will no longer be 16 bytes aligned.
      However, the boundary between text and rodata/eh_frame is still aligned to
      16 bytes, which is what I think the real purpose of the ALIGN call is.
      Signed-off-by: default avatarTrent Piepho <xyzzy@speakeasy.org>
      f62fb999
  2. 08 Apr, 2008 1 commit
  3. 12 Jan, 2008 1 commit
    • Wolfgang Denk's avatar
      Fix linker scripts: add NOLOAD atribute to .bss/.sbss sections · 64134f01
      Wolfgang Denk authored
      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: default avatarWolfgang Denk <wd@denx.de>
      64134f01
  4. 12 Apr, 2004 1 commit
  5. 15 Oct, 2003 1 commit
    • wdenk's avatar
      * Patches by Xianghua Xiao, 15 Oct 2003: · 42d1f039
      wdenk authored
        - Added Motorola CPU 8540/8560 support (cpu/85xx)
        - Added Motorola MPC8540ADS board support (board/mpc8540ads)
        - Added Motorola MPC8560ADS board support (board/mpc8560ads)
      
      * Minor code cleanup
      42d1f039
  6. 08 Oct, 2003 1 commit
    • wdenk's avatar
      * Patch by Scott McNutt, 04 Oct 2003: · 4a551709
      wdenk authored
        - add support for Altera Nios-32 CPU
        - add support for Nios Cyclone Development Kit (DK-1C20)
      
      * Patch by Steven Scholz, 29 Sep 2003:
        - A second parameter for bootm overwrites the load address for
          "Standalone Application" images.
        - bootm sets environment variable "filesize" to the resulting
          (uncompressed) data length for "Standalone Application" images
          when autostart is set to "no". Now you can do something like
             if bootm $fpgadata $some_free_ram ; then
                     fpga load 0 $some_free_ram $filesize
             fi
      
      * Patch by Denis Peter, 25 Sept 2003:
        add support for the MIP405 Rev. C board
      4a551709
  7. 27 Jun, 2003 1 commit
    • wdenk's avatar
      * Code cleanup: · 8bde7f77
      wdenk authored
        - remove trailing white space, trailing empty lines, C++ comments, etc.
        - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)
      
      * Patches by Kenneth Johansson, 25 Jun 2003:
        - major rework of command structure
          (work done mostly by Michal Cendrowski and Joakim Kristiansen)
      8bde7f77
  8. 19 Jun, 2003 1 commit
    • wdenk's avatar
      Patches by Robert Schwebel, 14 Jun 2003: · 52f52c14
      wdenk authored
      - add support for Logotronic DL datalogger board
      - cleanup serial line after kermit binary download
      - add debugX macro (debug level support)
      - update mach-types.h to latest arm.linux.org.uk master list.
      52f52c14
  9. 23 May, 2003 1 commit
  10. 06 Mar, 2003 1 commit
    • wdenk's avatar
      * Patches by Robert Schwebel, 06 Mar 2003: · 47cd00fa
      wdenk authored
        - fix bug in BOOTP code (must use NetCopyIP)
        - update of CSB226 port
        - clear BSS segment on XScale
        - added support for i2c_init_board() function
        - update to the Innokom plattform
      
      * Extend support for redundand environments for configurations where
        environment size < sector size
      47cd00fa
  11. 26 Oct, 2002 1 commit
  12. 07 Oct, 2002 1 commit
  13. 28 Dec, 2000 1 commit
  14. 14 Dec, 2000 1 commit
  15. 12 Nov, 2000 1 commit