diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2003-04-28 16:58:01 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2003-04-28 16:58:01 +0000 |
commit | f006af20ee725b876a4746ea13249c719b865bb4 (patch) | |
tree | a4cfbde16cfb96d273376ac2a46f227b3ddcf25c /ld/testsuite/ld-elfvers/vers26a.dsym | |
parent | d7a27068cd16735b9fbae68775ea7e6cd870ac13 (diff) | |
download | fsf-binutils-gdb-f006af20ee725b876a4746ea13249c719b865bb4.zip fsf-binutils-gdb-f006af20ee725b876a4746ea13249c719b865bb4.tar.gz fsf-binutils-gdb-f006af20ee725b876a4746ea13249c719b865bb4.tar.bz2 |
bfd/
2003-04-28 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_merge_symbol): Call elf_backend_copy_indirect_symbol
to copy any information related to dynamic linking when we flip
the indirection.
ld/testsuite/
2003-04-28 H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers.exp (picflag): Set PIC flag for compiler.
(build_vers_lib): Support PIC.
(build_vers_lib_no_pic): New. Change all calls to build_vers_lib
to build_vers_lib_no_pic.
(build_vers_lib_pic): New.
Add tests vers26a, vers26b1, vers26b2 and vers26b3 for versioned
definition vs. normal definition in different files.
* ld-elfvers/vers26a.c: New file.
* ld-elfvers/vers26a.dsym: Likewise.
* ld-elfvers/vers26a.map: Likewise.
* ld-elfvers/vers26a.ver: Likewise.
* ld-elfvers/vers26b.c: Likewise.
* ld-elfvers/vers26b.dsym: New empty file.
* ld-elfvers/vers26b.ver: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elfvers/vers26a.dsym')
-rw-r--r-- | ld/testsuite/ld-elfvers/vers26a.dsym | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elfvers/vers26a.dsym b/ld/testsuite/ld-elfvers/vers26a.dsym new file mode 100644 index 0000000..fcf6384 --- /dev/null +++ b/ld/testsuite/ld-elfvers/vers26a.dsym @@ -0,0 +1,2 @@ +[0]*[ ]+g[ ]+DO[ ]+\*ABS\*[ ]+[0]*[ ]+VERS.0[ ]+VERS.0 +[0-9a-f]*[ ]+g[ ]+DF[ ]+.text[ ]+[0-9a-f]*[ ]+VERS.0[ ]+(0x[0-9a-f]*|)[ ]*foo |