diff options
author | Albert ARIBAUD | 2013-06-11 14:17:31 +0200 |
---|---|---|
committer | Albert ARIBAUD | 2013-06-21 23:04:05 +0200 |
commit | 09d81184e103a07825d9f16e86e37c28d3605568 (patch) | |
tree | e0be1af5c25bc5a29c2cb4f897404126821ac0bf /arch/arm/cpu/u-boot-spl.lds | |
parent | c37980c31a30f0623a0ca8f112298e44039ed6bb (diff) |
remove all references to .dynsym
Discard all .dynsym sections from linker scripts
Remove all __dynsym_start definitions from linker scripts
Remove all __dynsym_start references from the codebase
Note: this touches include/asm-generic/sections.h, which
is not ARM-specific, but actual uses of __dynsym_start
are only in ARM, so this patch can safely go through
the ARM repository.
Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Tested-by: Lubomir Popov <lpopov@mm-sol.com>
Tested-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Diffstat (limited to 'arch/arm/cpu/u-boot-spl.lds')
-rw-r--r-- | arch/arm/cpu/u-boot-spl.lds | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/cpu/u-boot-spl.lds b/arch/arm/cpu/u-boot-spl.lds index 1408f03b234..b6ed25f7d1b 100644 --- a/arch/arm/cpu/u-boot-spl.lds +++ b/arch/arm/cpu/u-boot-spl.lds @@ -58,11 +58,6 @@ SECTIONS __rel_dyn_end = .; } - .dynsym : { - __dynsym_start = .; - *(.dynsym) - } - _end = .; .bss __rel_dyn_start (OVERLAY) : { @@ -72,6 +67,7 @@ SECTIONS __bss_end = .; } + /DISCARD/ : { *(.dynsym) } /DISCARD/ : { *(.dynstr*) } /DISCARD/ : { *(.dynamic*) } /DISCARD/ : { *(.plt*) } |