diff options
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | 2013-04-11 09:36:03 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-04-12 07:55:09 +0200 |
commit | 1a9a91dcfa2554679f21ca863f72959f4b301807 (patch) | |
tree | 31a445991d5095798466d11608b753b4cd3e5583 /board/vpac270/u-boot-spl.lds | |
parent | 9ce8e2386c191eca7c94b99f3e80c24798ded5fc (diff) |
arm: Make all linker scripts compatible with per-symbol sections
Let all ARM linker scripts handle properly -ffunction-sections
and -fdata-sections. This will be useful for future changes in order to create
symbol-specific sections in common .S files.
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Diffstat (limited to 'board/vpac270/u-boot-spl.lds')
-rw-r--r-- | board/vpac270/u-boot-spl.lds | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/vpac270/u-boot-spl.lds b/board/vpac270/u-boot-spl.lds index ab65407a60..61d1154aff 100644 --- a/board/vpac270/u-boot-spl.lds +++ b/board/vpac270/u-boot-spl.lds @@ -54,7 +54,7 @@ SECTIONS . = ALIGN(4); .data : { - *(.data) + *(.data*) } . = ALIGN(4); @@ -78,7 +78,7 @@ SECTIONS .bss __rel_dyn_start (OVERLAY) : { __bss_start = .; - *(.bss) + *(.bss*) . = ALIGN(4); __bss_end = .; } |