bfd/
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 28 Apr 2003 16:58:01 +0000 (16:58 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 28 Apr 2003 16:58:01 +0000 (16:58 +0000)
commitf006af20ee725b876a4746ea13249c719b865bb4
treea4cfbde16cfb96d273376ac2a46f227b3ddcf25c
parentd7a27068cd16735b9fbae68775ea7e6cd870ac13
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.
bfd/ChangeLog
bfd/elflink.h
ld/testsuite/ChangeLog
ld/testsuite/ld-elfvers/vers.exp
ld/testsuite/ld-elfvers/vers26a.c [new file with mode: 0644]
ld/testsuite/ld-elfvers/vers26a.dsym [new file with mode: 0644]
ld/testsuite/ld-elfvers/vers26a.map [new file with mode: 0644]
ld/testsuite/ld-elfvers/vers26a.ver [new file with mode: 0644]
ld/testsuite/ld-elfvers/vers26b.c [new file with mode: 0644]
ld/testsuite/ld-elfvers/vers26b.dsym [new file with mode: 0644]
ld/testsuite/ld-elfvers/vers26b.ver [new file with mode: 0644]