aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/wrap1.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2006-12-29 17:56:32 +0000
committerH.J. Lu <hjl.tools@gmail.com>2006-12-29 17:56:32 +0000
commit83ad0046cfa785068be98b08efadcad6854c1a12 (patch)
treefd3c84f19043a172332e720400633bf3e58bfb6d /ld/testsuite/ld-elf/wrap1.c
parent9b134994af00aa5ea49f4af20b3f35f2d935c2a8 (diff)
downloadgdb-83ad0046cfa785068be98b08efadcad6854c1a12.zip
gdb-83ad0046cfa785068be98b08efadcad6854c1a12.tar.gz
gdb-83ad0046cfa785068be98b08efadcad6854c1a12.tar.bz2
bfd/
2006-12-29 H.J. Lu <hongjiu.lu@intel.com> * elflink.c (elf_link_add_object_symbols): Remember the symbol size only if it is defined. ld/testsuite/ 2006-12-29 H.J. Lu <hongjiu.lu@intel.com> * ld-elf/wrap.exp: New file. * ld-elf/wrap1.c: Likewise. * ld-elf/wrap1.out: Likewise. * ld-elf/wrap1a.c: Likewise. * ld-elf/wrap1b.c: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/wrap1.c')
-rw-r--r--ld/testsuite/ld-elf/wrap1.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/wrap1.c b/ld/testsuite/ld-elf/wrap1.c
new file mode 100644
index 0000000..1ff250e
--- /dev/null
+++ b/ld/testsuite/ld-elf/wrap1.c
@@ -0,0 +1,8 @@
+extern void par (void);
+
+int
+main (void)
+{
+ par ();
+ return 0;
+}