diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2001-09-11 14:25:16 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2001-09-11 14:25:16 +0000 |
commit | bd7c9df68b3a0d97e93d022cd55e94a86bd31dbe (patch) | |
tree | c63a17130bc1248d5f4c52a4909c80e478011378 /ld/testsuite/ld-elfweak/bar1c.c | |
parent | 63da102c1d237abc57975e8731a0386377a2d47a (diff) | |
download | gdb-bd7c9df68b3a0d97e93d022cd55e94a86bd31dbe.zip gdb-bd7c9df68b3a0d97e93d022cd55e94a86bd31dbe.tar.gz gdb-bd7c9df68b3a0d97e93d022cd55e94a86bd31dbe.tar.bz2 |
2001-09-11 H.J. Lu <hjl@gnu.org>
* ld-elfweak/elfweak.exp (build_lib): Take a list of object
files.
(build_exec): Likewise.
Add more tests and make some xfail.
* ld-elfweak/dso.dsym: Support symbol versioning.
* ld-elfweak/dsow.dsym: Likewise.
* ld-elfweak/main1.c: New.
* ld-elfweak/bar1a.c: Likewise.
* ld-elfweak/bar1b.c: Likewise.
* ld-elfweak/bar1c.c: Likewise.
* ld-elfweak/foo1a.c: Likewise.
* ld-elfweak/foo1b.c: Likewise.
* ld-elfweak/dsodata.dsym: Likewise.
* ld-elfweak/dsowdata.dsym: Likewise.
* ld-elfweak/weakdata.dsym: Likewise.
* ld-elfweak/strongcomm.sym: Likewise.
* ld-elfweak/strongdata.sym: Likewise.
* ld-elfweak/weakdata.dat: Likewise.
* ld-elfweak/strongdata.dat: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elfweak/bar1c.c')
-rw-r--r-- | ld/testsuite/ld-elfweak/bar1c.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elfweak/bar1c.c b/ld/testsuite/ld-elfweak/bar1c.c new file mode 100644 index 0000000..901f065 --- /dev/null +++ b/ld/testsuite/ld-elfweak/bar1c.c @@ -0,0 +1,7 @@ +int deallocate_foo; + +int * +bar() +{ + return &deallocate_foo; +} |