diff options
author | Paul Brook <paul@codesourcery.com> | 2005-02-10 14:09:43 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2005-02-10 14:09:43 +0000 |
commit | 6fa3860b3b4e2e963d19b54d5f215416f998d294 (patch) | |
tree | 5a1cee87f460234b23489b7b2f351fd25d67c264 /ld/testsuite/ld-elfvsb/hidden2.ld | |
parent | 620b81c130ed4ceb5521bbf2dcac7a858c8c3a58 (diff) | |
download | gdb-6fa3860b3b4e2e963d19b54d5f215416f998d294.zip gdb-6fa3860b3b4e2e963d19b54d5f215416f998d294.tar.gz gdb-6fa3860b3b4e2e963d19b54d5f215416f998d294.tar.bz2 |
2005-02-10 Paul Brook <paul@codesourcery.com>
* elflink.c (bfd_elf_record_link_assignment): Make hidden and internal
symbols local.
(elf_link_renumber_hash_table_dynsyms): Ignore local symbols.
(elf_link_renumber_local_hash_table_dynsyms): New function.
(_bfd_elf_link_renumber_dynsyms): Number local dynamic symbols.
ld/testsuite/
* ld-elfvsb/hidden2.s: New file
* ld-elfvsb/hidden2.d: New file
* ld-elfvsb/hidden2.ld: New file
Diffstat (limited to 'ld/testsuite/ld-elfvsb/hidden2.ld')
-rw-r--r-- | ld/testsuite/ld-elfvsb/hidden2.ld | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elfvsb/hidden2.ld b/ld/testsuite/ld-elfvsb/hidden2.ld new file mode 100644 index 0000000..1e4a2b0 --- /dev/null +++ b/ld/testsuite/ld-elfvsb/hidden2.ld @@ -0,0 +1,6 @@ +SECTIONS +{ + . = 0x1000; + PROVIDE (foo = .); + .data : { *(.data) } +} |