diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2006-10-19 02:40:14 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2006-10-19 02:40:14 +0000 |
commit | 92b7c7b6e94eb456da640cfe6d5686ebd69078cb (patch) | |
tree | 1c5b3d18f6eb2d09a0caed466ada61fff64ce26d /ld/testsuite/ld-elf/dwarf1.c | |
parent | 2f4754876fee13c0bed40782e439e1a589f5caae (diff) | |
download | gdb-92b7c7b6e94eb456da640cfe6d5686ebd69078cb.zip gdb-92b7c7b6e94eb456da640cfe6d5686ebd69078cb.tar.gz gdb-92b7c7b6e94eb456da640cfe6d5686ebd69078cb.tar.bz2 |
bfd/
2006-10-18 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3290
* elflink.c (elf_link_add_object_symbols): Hide definitions in
debug sections.
ld/testsuite/
2006-10-18 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3290
* ld-elf/dummy.c: New file.
* ld-elf/dwarf.exp: Likewise.
* ld-elf/dwarf1.c: Likewise.
* ld-elf/dwarf1.h: Likewise.
* ld-elf/dwarf1.out: Likewise.
* ld-elf/dwarf1main.c: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/dwarf1.c')
-rw-r--r-- | ld/testsuite/ld-elf/dwarf1.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/dwarf1.c b/ld/testsuite/ld-elf/dwarf1.c new file mode 100644 index 0000000..2895d4c --- /dev/null +++ b/ld/testsuite/ld-elf/dwarf1.c @@ -0,0 +1,10 @@ +#include <stdio.h> +#include "dwarf1.h" + +struct foo_s foo; + +void +doprintf (void) +{ + printf ("OK\n"); +} |