]> git.sur5r.net Git - u-boot/commit
Introduce generic link section.h symbol files
authorSimon Glass <sjg@chromium.org>
Tue, 5 Mar 2013 14:39:37 +0000 (14:39 +0000)
committerTom Rini <trini@ti.com>
Fri, 15 Mar 2013 20:13:58 +0000 (16:13 -0400)
commit1865286466a5d0c7f2e3c37632da56556c838e9e
tree9e3ef4026c009acb4964430e7400f7955f734bf9
parent3929fb0a141530551b3fce15ee08629f80d5ef2a
Introduce generic link section.h symbol files

We create a separate header file for link symbols defined by the link
scripts. It is helpful to have these all in one place and try to
make them common across architectures. Since Linux already has a similar
file, we bring this in even though many of the symbols there are not
relevant to us.

Each architecture has its own asm/sections.h where symbols specifc to
that architecture can be added. For now everything except AVR32 just
includes the generic header.

One change is needed in arch/avr32/lib/board.c to make this conversion
work.

Reviewed-by: Tom Rini <trini@ti.com> (version 5)
Signed-off-by: Simon Glass <sjg@chromium.org>
16 files changed:
arch/arm/include/asm/sections.h [new file with mode: 0644]
arch/avr32/include/asm/sections.h
arch/avr32/lib/board.c
arch/blackfin/include/asm/sections.h [new file with mode: 0644]
arch/m68k/include/asm/sections.h [new file with mode: 0644]
arch/microblaze/include/asm/sections.h [new file with mode: 0644]
arch/mips/include/asm/sections.h [new file with mode: 0644]
arch/nds32/include/asm/sections.h [new file with mode: 0644]
arch/nios2/include/asm/sections.h [new file with mode: 0644]
arch/openrisc/include/asm/sections.h [new file with mode: 0644]
arch/powerpc/include/asm/sections.h [new file with mode: 0644]
arch/sandbox/include/asm/sections.h
arch/sh/include/asm/sections.h [new file with mode: 0644]
arch/sparc/include/asm/sections.h [new file with mode: 0644]
arch/x86/include/asm/sections.h [new file with mode: 0644]
include/asm-generic/sections.h [new file with mode: 0644]