diff options
author | Jiong Wang <jiong.wang@arm.com> | 2017-01-20 13:30:32 +0000 |
---|---|---|
committer | Jiong Wang <jiong.wang@arm.com> | 2017-01-20 13:30:32 +0000 |
commit | 7f784814df7067396e9c00b5cdc0eff9cd5c68de (patch) | |
tree | 56139f5bfeca324ddefe8c90ad921cc617e8ef9c /ld/testsuite/ld-aarch64/func-sym-hash-opt.s | |
parent | add3afb219e755e13f4ec1c91aa59223df31a965 (diff) | |
download | gdb-7f784814df7067396e9c00b5cdc0eff9cd5c68de.zip gdb-7f784814df7067396e9c00b5cdc0eff9cd5c68de.tar.gz gdb-7f784814df7067396e9c00b5cdc0eff9cd5c68de.tar.bz2 |
[AArch64] Optimize .gnu.hash table size for executable
bfd/
* elfnn-aarch64.c (elf_aarch64_hash_symbol): New function.
(elf_backend_hash_symbol): Define.
ld/
* testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests.
* testsuite/ld-aarch64/func-in-so.s: New test source file.
* testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise.
* testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result.
Diffstat (limited to 'ld/testsuite/ld-aarch64/func-sym-hash-opt.s')
-rw-r--r-- | ld/testsuite/ld-aarch64/func-sym-hash-opt.s | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/func-sym-hash-opt.s b/ld/testsuite/ld-aarch64/func-sym-hash-opt.s new file mode 100644 index 0000000..70f8f8e --- /dev/null +++ b/ld/testsuite/ld-aarch64/func-sym-hash-opt.s @@ -0,0 +1,7 @@ + .text + .align 2 + .global main + .type main, %function +main: + bl dec + ret |