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. 12 Feb, 2009 1 commit
  3. 28 Jan, 2009 2 commits
  4. 18 Nov, 2008 1 commit
  5. 18 Oct, 2008 1 commit
  6. 03 Sep, 2008 1 commit
  7. 11 Jul, 2008 2 commits
    • Wolfgang Denk's avatar
      Fix some more printf() format issues. · bde63587
      Wolfgang Denk authored
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      bde63587
    • Stefan Roese's avatar
      ppc4xx: Rework 440GX UIC handling · 5de85140
      Stefan Roese authored
      
      
      This patch reworks the 440GX interrupt handling so that the common 4xx
      code can be used. The 440GX is an exception to all other 4xx variants
      by having the cascading interrupt vectors not on UIC0 but on a special
      UIC named UICB0 (UIC Base 0). With this patch now, U-Boot references
      the 440GX UICB0 when UIC0 is selected. And the common 4xx interrupt
      handling is simpler without any 440GX special cases.
      
      Also some additional cleanup to cpu/ppc4xx/interrupt.c is done.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      5de85140
  8. 02 Jul, 2008 1 commit
  9. 03 Jun, 2008 1 commit
  10. 20 May, 2008 1 commit
    • Wolfgang Denk's avatar
      Big white-space cleanup. · 53677ef1
      Wolfgang Denk authored
      
      
      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: default avatarWolfgang Denk <wd@denx.de>
      53677ef1
  11. 18 Apr, 2008 1 commit
  12. 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
  13. 31 Oct, 2007 2 commits
  14. 15 Sep, 2007 1 commit
  15. 25 Jun, 2007 1 commit
  16. 19 Jan, 2007 1 commit
  17. 18 Jan, 2007 1 commit