aboutsummaryrefslogtreecommitdiff
path: root/board/actux2
diff options
context:
space:
mode:
authorAlbert ARIBAUD2013-06-11 14:17:31 +0200
committerAlbert ARIBAUD2013-06-21 23:04:05 +0200
commit09d81184e103a07825d9f16e86e37c28d3605568 (patch)
treee0be1af5c25bc5a29c2cb4f897404126821ac0bf /board/actux2
parentc37980c31a30f0623a0ca8f112298e44039ed6bb (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 'board/actux2')
-rw-r--r--board/actux2/u-boot.lds6
1 files changed, 1 insertions, 5 deletions
diff --git a/board/actux2/u-boot.lds b/board/actux2/u-boot.lds
index 00ad8b71cd0..0e206704ff9 100644
--- a/board/actux2/u-boot.lds
+++ b/board/actux2/u-boot.lds
@@ -70,11 +70,6 @@ SECTIONS
__rel_dyn_end = .;
}
- .dynsym : {
- __dynsym_start = .;
- *(.dynsym)
- }
-
_end = .;
/*
@@ -96,6 +91,7 @@ SECTIONS
KEEP(*(.__bss_end));
}
+ /DISCARD/ : { *(.dynsym) }
/DISCARD/ : { *(.dynstr*) }
/DISCARD/ : { *(.dynamic*) }
/DISCARD/ : { *(.plt*) }