cleanup linker variables

Sascha Hauer s.hauer at pengutronix.de
Mon Jan 17 05:16:52 EST 2011


The following series aims to cleanup the linker provided variables.
Jean, I still use _end instead of _barebox_end, just because it
is used by the Linux Kernel aswell.

Sascha

The following changes since commit 2f0109b1bb833fe3481b37a6cfa0ae319d248754:

  Merge branch 'master' into next (2011-01-17 09:43:40 +0100)

are available in the git repository at:

  bla ..BRANCH.NOT.VERIFIED..

Sascha Hauer (9):
      ppc pcm030: provide _stext, _text and __bss_stop in linker script
      blackfin: provide __bss_stop in linker script
      ARM: provide __bss_stop in linker script
      add sections.h header file
      ARM start.c: use sections.h header file for linker variables
      ARM: remove unnecessary include
      x86: use sections.h header file for linker variables
      reloc.h: remove linker variables which are now in asm/sections.h
      startup: make debug printing of linker variables work again

 arch/arm/cpu/start.c                      |    5 ++---
 arch/arm/include/asm/sections.h           |    1 +
 arch/arm/lib/arm.c                        |    1 -
 arch/arm/lib/barebox.lds.S                |    1 +
 arch/blackfin/boards/ipe337/barebox.lds.S |    1 +
 arch/blackfin/include/asm/sections.h      |    1 +
 arch/ppc/boards/pcm030/barebox.lds.S      |    3 +++
 arch/ppc/include/asm/sections.h           |    1 +
 arch/sandbox/include/asm/sections.h       |    1 +
 arch/x86/boot/main_entry.c                |    7 ++-----
 arch/x86/include/asm/sections.h           |    1 +
 arch/x86/lib/barebox.lds.S                |    2 +-
 common/startup.c                          |    5 +++--
 include/asm-generic/sections.h            |    8 ++++++++
 include/reloc.h                           |    2 +-
 15 files changed, 27 insertions(+), 13 deletions(-)
 create mode 100644 arch/arm/include/asm/sections.h
 create mode 100644 arch/blackfin/include/asm/sections.h
 create mode 100644 arch/ppc/include/asm/sections.h
 create mode 100644 arch/sandbox/include/asm/sections.h
 create mode 100644 arch/x86/include/asm/sections.h
 create mode 100644 include/asm-generic/sections.h




More information about the barebox mailing list