aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/vxworks1-lib.nd
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2006-03-02 08:57:00 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2006-03-02 08:57:00 +0000
commit711de32caaff12a33dfcc10c0421388c7550bac0 (patch)
tree4356412f348c7c16a25aff55d8b5af2c9d50011f /ld/testsuite/ld-powerpc/vxworks1-lib.nd
parent83503a060f6c6afe5b411f0056a8c826b6bb3f5a (diff)
downloadgdb-711de32caaff12a33dfcc10c0421388c7550bac0.zip
gdb-711de32caaff12a33dfcc10c0421388c7550bac0.tar.gz
gdb-711de32caaff12a33dfcc10c0421388c7550bac0.tar.bz2
bfd/
* elf32-i386.c (elf_i386_create_dynamic_sections): Use elf_vxworks_create_dynamic_sections. (elf_i386_size_dynamic_sections): Remove VxWorks GOT and PLT symbol handling. * elf32-ppc.c (ppc_elf_create_dynamic_sections): Use elf_vxworks_create_dynamic_sections. (ppc_elf_size_dynamic_sections): Remove VxWorks GOT and PLT symbol handling. * elf-vxworks.c (elf_vxworks_create_dynamic_sections): New function. * elf-vxworks.h (elf_vxworks_create_dynamic_sections): Declare. ld/testsuite/ * ld-i386/ld-i386/vxworks1-lib.nd: New test. * ld-i386/i386.exp: Run it. * ld-powerpc/ld-powerpc/vxworks1-lib.nd: New test. * ld-powerpc/powerc.exp: Run it.
Diffstat (limited to 'ld/testsuite/ld-powerpc/vxworks1-lib.nd')
-rw-r--r--ld/testsuite/ld-powerpc/vxworks1-lib.nd9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/vxworks1-lib.nd b/ld/testsuite/ld-powerpc/vxworks1-lib.nd
new file mode 100644
index 0000000..edf3db3
--- /dev/null
+++ b/ld/testsuite/ld-powerpc/vxworks1-lib.nd
@@ -0,0 +1,9 @@
+#...
+Symbol table '\.dynsym' .*:
+#...
+.*: 00081400 * 0 * OBJECT * GLOBAL * DEFAULT * [0-9]+ _GLOBAL_OFFSET_TABLE_
+#...
+Symbol table '\.symtab' .*:
+#...
+.*: 00081400 * 0 * OBJECT * GLOBAL * DEFAULT * [0-9]+ _GLOBAL_OFFSET_TABLE_
+#pass