diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:01:29 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:01:29 +0200 |
commit | 4a6a858e90f1dbad1880c73c802b7198ab09f73d (patch) | |
tree | afea65a64ba9db647b4b03a9a2c2499de3a3a189 /board | |
parent | c19fbc5773dcc248aa1e151e44530e96e7c3fc9a (diff) | |
download | barebox-4a6a858e90f1dbad1880c73c802b7198ab09f73d.tar.gz barebox-4a6a858e90f1dbad1880c73c802b7198ab09f73d.tar.xz |
svn_rev_171
add initcalls
Diffstat (limited to 'board')
-rw-r--r-- | board/phycore_mpc5200b_tiny/u-boot.lds.S | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/board/phycore_mpc5200b_tiny/u-boot.lds.S b/board/phycore_mpc5200b_tiny/u-boot.lds.S index f0b14423e7..024158df8a 100644 --- a/board/phycore_mpc5200b_tiny/u-boot.lds.S +++ b/board/phycore_mpc5200b_tiny/u-boot.lds.S @@ -21,8 +21,9 @@ * MA 02111-1307 USA */ +#include <asm-generic/u-boot.lds.h> + OUTPUT_ARCH(powerpc) -SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/local/powerpc-any-elf/lib); /* Do we need any of these for elf? __DYNAMIC = 0; */ SECTIONS @@ -81,6 +82,7 @@ SECTIONS __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >> 2; __fixup_entries = (. - _FIXUP_TABLE_) >> 2; + .data : { *(.data) @@ -98,6 +100,10 @@ SECTIONS .u_boot_cmd : { *(.u_boot_cmd) } __u_boot_cmd_end = .; + __u_boot_initcalls_start = .; + .u_boot_initcalls : { INITCALLS } + __u_boot_initcalls_end = .; + __initcall_entries = (__u_boot_initcalls_end - __u_boot_initcalls_start) >> 2; __start___ex_table = .; __ex_table : { *(__ex_table) } |