diff options
author | Alan Modra <amodra@gmail.com> | 2016-08-13 00:03:43 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-08-13 00:07:20 +0930 |
commit | 90ac242072dc68ad454aaaa228868b0f1c8e10f9 (patch) | |
tree | 1643c10d5f8eca4f8b2615fef2b7446cd9f36007 /ld/testsuite/ld-tic6x/static-app-1r.rd | |
parent | b14bdb3bab20db9d200d669dfb5e2eadde7b14cc (diff) | |
download | binutils-90ac242072dc68ad454aaaa228868b0f1c8e10f9.zip binutils-90ac242072dc68ad454aaaa228868b0f1c8e10f9.tar.gz binutils-90ac242072dc68ad454aaaa228868b0f1c8e10f9.tar.bz2 |
Correct .dynsym sh_info
bfd/
* elf-bfd.h (struct elf_link_hash_table): Add local_dynsymcount.
* elflink.c (_bfd_elf_link_renumber_dynsyms): Set local_dynsymcount.
(bfd_elf_final_link): Set .dynsym sh_info from local_dynsymcount.
ld/
* testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info.
* testsuite/ld-tic6x/shlib-1b.rd: Likewise.
* testsuite/ld-tic6x/shlib-1r.rd: Likewise.
* testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
* testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
* testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
* testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
* testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
* testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
* testsuite/ld-tic6x/static-app-1.rd: Likewise.
* testsuite/ld-tic6x/static-app-1b.rd: Likewise.
* testsuite/ld-tic6x/static-app-1r.rd: Likewise.
* testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
Diffstat (limited to 'ld/testsuite/ld-tic6x/static-app-1r.rd')
-rw-r--r-- | ld/testsuite/ld-tic6x/static-app-1r.rd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-tic6x/static-app-1r.rd b/ld/testsuite/ld-tic6x/static-app-1r.rd index 4ee2c85..af8341e 100644 --- a/ld/testsuite/ld-tic6x/static-app-1r.rd +++ b/ld/testsuite/ld-tic6x/static-app-1r.rd @@ -4,7 +4,7 @@ Section Headers: \[Nr\] Name Type Addr Off Size ES Flg Lk Inf Al \[ 0\] NULL 00000000 000000 000000 00 0 0 0 \[ 1\] \.hash HASH 00008000 001000 00003c 04 A 2 0 4 - \[ 2\] \.dynsym DYNSYM 0000803c 00103c 0000a0 10 A 3 5 4 + \[ 2\] \.dynsym DYNSYM 0000803c 00103c 0000a0 10 A 3 7 4 \[ 3\] \.dynstr STRTAB 000080dc 0010dc 00001d 00 A 0 0 1 \[ 4\] \.rela\.got RELA 000080fc 0010fc 000024 0c AI 2 8 4 \[ 5\] \.rela\.neardata RELA 00008120 001120 000018 0c AI 2 9 4 |