1. 03 10月, 2009 1 次提交
    • P
      ppc: Enable full relocation to RAM · 85829017
      Peter Tyser 提交于
      The following changes allow U-Boot to fully relocate from flash to
      RAM:
       - Remove linker scripts' .fixup sections from the .text section
       - Add -mrelocatable to PLATFORM_RELFLAGS for all boards
       - Define CONFIG_RELOC_FIXUP_WORKS for all boards
      
      Previously, U-Boot would partially relocate, but statically initialized
      pointers needed to be manually relocated.
      Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
      85829017
  2. 21 3月, 2009 1 次提交
    • T
      Fix all linker script to handle all rodata sections · f62fb999
      Trent Piepho 提交于
      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: NTrent Piepho <xyzzy@speakeasy.org>
      f62fb999
  3. 19 11月, 2008 1 次提交
  4. 11 9月, 2008 1 次提交
  5. 21 5月, 2008 1 次提交
    • W
      Big white-space cleanup. · 53677ef1
      Wolfgang Denk 提交于
      This commit gets rid of a huge amount of silly white-space issues.
      Especially, all sequences of SPACEs followed by TAB characters get
      removed (unless they appear in print statements).
      
      Also remove all embedded "vim:" and "vi:" statements which hide
      indentation problems.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      53677ef1
  6. 18 4月, 2008 1 次提交
  7. 13 1月, 2008 1 次提交
    • W
      Fix linker scripts: add NOLOAD atribute to .bss/.sbss sections · 64134f01
      Wolfgang Denk 提交于
      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: NWolfgang Denk <wd@denx.de>
      64134f01
  8. 12 12月, 2005 1 次提交
  9. 31 8月, 2005 1 次提交
  10. 28 6月, 2003 1 次提交
    • W
      * Code cleanup: · 8bde7f77
      wdenk 提交于
        - 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
  11. 26 6月, 2003 1 次提交
    • W
      * Header file cleanup for ARM · b783edae
      wdenk 提交于
      * Patch by Murray Jensen, 24 Jun 2003:
        - make sure to use only U-boot provided header files
        - fix problems with ".rodata.str1.4" section as used by GCC-3.x
      b783edae
  12. 29 4月, 2001 1 次提交