diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2013-07-27 22:28:29 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2013-07-27 22:28:29 +0000 |
commit | 1581972d79ebd85e077a6beb849d6db6d4c2aac9 (patch) | |
tree | f77a4498ace734e13e96854bf972b2606085708c /ld/testsuite/ld-vax-elf/vax-elf.exp | |
parent | 125b5bac9860b55e2065cebf8f36dada6da0c8a5 (diff) | |
download | gdb-1581972d79ebd85e077a6beb849d6db6d4c2aac9.zip gdb-1581972d79ebd85e077a6beb849d6db6d4c2aac9.tar.gz gdb-1581972d79ebd85e077a6beb849d6db6d4c2aac9.tar.bz2 |
* ld-vax-elf/export-class-call.dd: New test.
* ld-vax-elf/export-class-call.rd: New test.
* ld-vax-elf/export-class-call.xd: New test.
* ld-vax-elf/export-class-data.dd: New test.
* ld-vax-elf/export-class-data.rd: New test.
* ld-vax-elf/export-class-data.xd: New test.
* ld-vax-elf/export-class.ld: New test linker script.
* ld-vax-elf/export-class-call.s: New test source.
* ld-vax-elf/export-class-data.s: New test source.
* ld-vax-elf/export-class-def.s: New test source.
* ld-vax-elf/vax-elf.exp: Run the new tests.
* ld-vax-elf/vax-export-class.rd: New test.
* ld-vax-elf/vax-export-class.xd: New test.
* ld-vax-elf/export-class.exp: New test script.
Diffstat (limited to 'ld/testsuite/ld-vax-elf/vax-elf.exp')
-rw-r--r-- | ld/testsuite/ld-vax-elf/vax-elf.exp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ld/testsuite/ld-vax-elf/vax-elf.exp b/ld/testsuite/ld-vax-elf/vax-elf.exp index ae5d9ef..440e2da 100644 --- a/ld/testsuite/ld-vax-elf/vax-elf.exp +++ b/ld/testsuite/ld-vax-elf/vax-elf.exp @@ -82,3 +82,26 @@ run_ld_link_tests [list \ {} \ { { readelf "-x .got" got-local-lib.xd } } \ "got-local-lib.so"]] + +# Export class relocation tests. +run_ld_link_tests [list \ + [list \ + "VAX export class call relocation test" \ + "-shared -Ttext 0x12340000 -T export-class.ld" "" \ + "-k" \ + [list export-class-call.s export-class-def.s] \ + [list \ + [list objdump -d export-class-call.dd] \ + [list readelf -r export-class-call.rd] \ + [list readelf "-x .got" export-class-call.xd]] \ + "export-class-call.so"] \ + [list \ + "VAX export class data relocation test" \ + "-shared -Ttext 0x12340000 -T export-class.ld" "" \ + "-k" \ + [list export-class-data.s export-class-def.s] \ + [list \ + [list objdump -d export-class-data.dd] \ + [list readelf -r export-class-data.rd] \ + [list readelf "-x .got" export-class-data.xd]] \ + "export-class-data.so"]] |