aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvers/vers15.c
AgeCommit message (Collapse)AuthorFilesLines
2010-12-10ld: elfvers tests: support symbol prefixed targetsMike Frysinger1-3/+4
The symbol versioning tests mix C-visible symbols and linker-visible symbols in order to verify .symver behavior. This works for most people, but fail for targets that have a symbol prefix. So add a helper file with macros that expand gcc's __USER_LABEL_PREFIX__ as necessary and convert all .symver users over to it. Now that the tests are usable on prefixed targets, update the tests to take into account an optional leading underscore. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
1999-07-221999-07-21 H.J. Lu <hjl@gnu.org>Ian Lance Taylor1-0/+1
* ld-elfvers/vers1.c: Add missing prototypes and include <stdio.h> if necessary. * ld-elfvers/vers15.c: Likewise. * ld-elfvers/vers19.c: Likewise. * ld-elfvers/vers2.c: Likewise. * ld-elfvers/vers3.c: Likewise. * ld-elfvers/vers4.c: Likewise. * ld-elfvers/vers6.c: Likewise. * ld-elfvers/vers7.c: Likewise. * ld-elfvers/vers9.c: Likewise. * ld-shared/main.c: Likewise. * ld-srec/sr3.cc (Foo::Foo): Remove arg name.
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+35