diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2003-05-03 16:51:05 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2003-05-03 16:51:05 +0000 |
commit | 95aa61ce02e1cec65b0b3fd2982aa73f67e5d601 (patch) | |
tree | ae2393aaf9cbfd88e16de7cf2f4c63545ef873d4 /ld/testsuite/ld-elfvers/vers.exp | |
parent | 711ef82f1d0a4fb40bcec63df99e9beddd125659 (diff) | |
download | binutils-gdb-95aa61ce02e1cec65b0b3fd2982aa73f67e5d601.tar.gz |
2003-05-03 H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers.exp: Add vers27a, vers27b, vers27c1 and
vers27c2 to test versioned definition vs. hidden definition in
different files.
* ld-elfvers/vers27a.c: New file.
* ld-elfvers/vers27a.dsym: Likewise.
* ld-elfvers/vers27a.map: Likewise.
* ld-elfvers/vers27a.ver: Likewise.
* ld-elfvers/vers27b.c: Likewise.
* ld-elfvers/vers27b.dsym: New empty file.
* ld-elfvers/vers27b.ver: Likwise.
* ld-elfvers/vers27c.c: Likwise.
* ld-elfvers/vers27c.dsym: Likwise.
* ld-elfvers/vers27c.ver: Likwise.
Diffstat (limited to 'ld/testsuite/ld-elfvers/vers.exp')
-rw-r--r-- | ld/testsuite/ld-elfvers/vers.exp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elfvers/vers.exp b/ld/testsuite/ld-elfvers/vers.exp index 9835dc66dac..a26927e6447 100644 --- a/ld/testsuite/ld-elfvers/vers.exp +++ b/ld/testsuite/ld-elfvers/vers.exp @@ -919,3 +919,9 @@ if [istarget x86_64-*-linux*] { } else { build_vers_lib_no_pic "vers26b3" vers26b.c vers26b3 "vers26a.so vers26b1.so vers26a.o" "" vers26b.ver vers26b.dsym "" } + +# Test versioned definition vs. hidden definition in different files. +build_vers_lib_no_pic "vers27a" vers27a.c vers27a "" vers27a.map vers27a.ver vers27a.dsym "" +build_vers_lib_no_pic "vers27b" vers27b.c vers27b "" "" vers27b.ver vers27b.dsym "" +build_vers_lib_no_pic "vers27c1" vers27c.c vers27c1 "vers27b.o vers27a.so" "" vers27c.ver vers27c.dsym "" +build_vers_lib_no_pic "vers27c2" vers27c.c vers27c2 "vers27a.so vers27b.o" "" vers27c.ver vers27c.dsym "" |