aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf
diff options
context:
space:
mode:
authorChris Demetriou <cgd@google.com>2004-04-21 20:52:31 +0000
committerChris Demetriou <cgd@google.com>2004-04-21 20:52:31 +0000
commit23867d6732552f52477a306fca55a145f1c99730 (patch)
tree3c63ba04b26b3e7367ff0fc95310378195937316 /ld/testsuite/ld-mips-elf
parent2c8c90bcd5362e8fa0b8cb40fa97ac874a3b57a9 (diff)
downloadgdb-23867d6732552f52477a306fca55a145f1c99730.zip
gdb-23867d6732552f52477a306fca55a145f1c99730.tar.gz
gdb-23867d6732552f52477a306fca55a145f1c99730.tar.bz2
[ bfd/ChangeLog ]
2004-04-21 Chris Demetriou <cgd@broadcom.com> * coff-mips.c (bfd_mips_ecoff_create_embedded_relocs): Remove. * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Remove. * bfd-in.h (bfd_mips_ecoff_create_embedded_relocs) (bfd_mips_elf32_create_embedded_relocs): Remove prototypes * bfd-in2.h: Regenerate. [ ld/ChangeLog ] 2004-04-21 Chris Demetriou <cgd@broadcom.com> * ld.texinfo: Remove MIPS --embedded-relocs documentation. * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition. * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em. (EXTRA_EM_FILE): Use mipsecoff.em * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em. (EXTRA_EM_FILE): Use mipsecoff.em * emultempl/mipsecoff.em: Restructure to be included as an extra emulation file. (check_sections, gld${EMULATION_NAME}_after_open) (gld${EMULATION_NAME}_after_allocation) (gld${EMULATION_NAME}_get_script) (ld_${EMULATION_NAME}_emulation): Remove (gld${EMULATION_NAME}_before_parse): Rename to... (mipsecoff_before_parse): This. (LDEMUL_BEFORE_PARSE): Define. * emultempl/mipself.em: Remove file. * scripttempl/mips.sc (.rel.sdata): Do not include in output. (__runtime_reloc_start, __runtime_reloc_stop): Stop providing these symbols. * Makefile.am: Remove dependencies on emultempl/mipself.em. * Makefile.in: Regenerate. [ ld/testsuite/ChangeLog ] 2004-04-21 Chris Demetriou <cgd@broadcom.com> * ld-empic/run.c: Removed as part of MIPS --embedded-relocs removal. * ld-empic/empic.exp: Likewise. * ld-empic/relax.t: Likewise. * ld-empic/relax1.c: Likewise. * ld-empic/relax2.c: Likewise. * ld-empic/relax3.c: Likewise. * ld-empic/relax4.c: Likewise. * ld-empic/runtest1.c: Likewise. * ld-empic/runtest2.c: Likewise. * ld-empic/runtesti.s: Likewise. * ld-mips-elf/empic1-ln.d: Likewise. * ld-mips-elf/empic1-lp.d: Likewise. * ld-mips-elf/empic1-mn.d: Likewise. * ld-mips-elf/empic1-mp.d: Likewise. * ld-mips-elf/empic1-ref.s: Likewise. * ld-mips-elf/empic1-sn.d: Likewise. * ld-mips-elf/empic1-sp.d: Likewise. * ld-mips-elf/empic1-space.s: Likewise. * ld-mips-elf/empic1-tgt.s: Likewise. * ld-mips-elf/empic2-fwd-0.d: Likewise. * ld-mips-elf/empic2-fwd-1.d: Likewise. * ld-mips-elf/empic2-fwd-tgt.s: Likewise. * ld-mips-elf/empic2-ref.s: Likewise. * ld-mips-elf/empic2-rev-0.d: Likewise. * ld-mips-elf/empic2-rev-1.d: Likewise. * ld-mips-elf/empic2-rev-tgt.s: Likewise. * ld-mips-elf/empic2-space.s: Likewise. * ld-mips-elf/emrelocs-eb.d: Likewise. * ld-mips-elf/emrelocs-el.d: Likewise. * ld-mips-elf/emrelocs.ld: Likewise. * ld-mips-elf/emrelocs1.s: Likewise. * ld-mips-elf/emrelocs2.s: Likewise. * ld-mips-elf/mips-elf.exp: Don't run now-removed tests.
Diffstat (limited to 'ld/testsuite/ld-mips-elf')
-rw-r--r--ld/testsuite/ld-mips-elf/empic1-ln.d27
-rw-r--r--ld/testsuite/ld-mips-elf/empic1-lp.d26
-rw-r--r--ld/testsuite/ld-mips-elf/empic1-mn.d25
-rw-r--r--ld/testsuite/ld-mips-elf/empic1-mp.d25
-rw-r--r--ld/testsuite/ld-mips-elf/empic1-ref.s9
-rw-r--r--ld/testsuite/ld-mips-elf/empic1-sn.d23
-rw-r--r--ld/testsuite/ld-mips-elf/empic1-sp.d23
-rw-r--r--ld/testsuite/ld-mips-elf/empic1-space.s5
-rw-r--r--ld/testsuite/ld-mips-elf/empic1-tgt.s8
-rw-r--r--ld/testsuite/ld-mips-elf/empic2-fwd-0.d20
-rw-r--r--ld/testsuite/ld-mips-elf/empic2-fwd-1.d21
-rw-r--r--ld/testsuite/ld-mips-elf/empic2-fwd-tgt.s7
-rw-r--r--ld/testsuite/ld-mips-elf/empic2-ref.s7
-rw-r--r--ld/testsuite/ld-mips-elf/empic2-rev-0.d22
-rw-r--r--ld/testsuite/ld-mips-elf/empic2-rev-1.d24
-rw-r--r--ld/testsuite/ld-mips-elf/empic2-rev-tgt.s8
-rw-r--r--ld/testsuite/ld-mips-elf/empic2-space.s5
-rw-r--r--ld/testsuite/ld-mips-elf/emrelocs-eb.d25
-rw-r--r--ld/testsuite/ld-mips-elf/emrelocs-el.d25
-rw-r--r--ld/testsuite/ld-mips-elf/emrelocs.ld16
-rw-r--r--ld/testsuite/ld-mips-elf/emrelocs1.s23
-rw-r--r--ld/testsuite/ld-mips-elf/emrelocs2.s30
-rw-r--r--ld/testsuite/ld-mips-elf/mips-elf.exp19
23 files changed, 0 insertions, 423 deletions
diff --git a/ld/testsuite/ld-mips-elf/empic1-ln.d b/ld/testsuite/ld-mips-elf/empic1-ln.d
deleted file mode 100644
index eb78478..0000000
--- a/ld/testsuite/ld-mips-elf/empic1-ln.d
+++ /dev/null
@@ -1,27 +0,0 @@
-#name: MIPS 32-bit ELF embedded-pic relocs #1-ln (large negative)
-#as: -membedded-pic -mips3
-#source: empic1-tgt.s
-#source: empic1-space.s
-#source: empic1-space.s
-#source: empic1-ref.s
-#objdump: --prefix-addresses -tdr --show-raw-insn -mmips:4000
-#ld: -Ttext 0x400000 -e 0x400000
-
-.*: file format elf.*mips.*
-
-SYMBOL TABLE:
-#...
-0+410020 g F .text [0-9a-f]+ foo
-#...
-0+400000 g F .text [0-9a-f]+ bar
-#...
-
-Disassembly of section \.text:
- ...
- ...
- ...
-0+410020 <[^>]*> 00000000 nop
-0+410024 <[^>]*> 3c02ffff lui v0,0xffff
-0+410028 <[^>]*> 6442ffe0 daddiu v0,v0,-32
- ...
-#pass
diff --git a/ld/testsuite/ld-mips-elf/empic1-lp.d b/ld/testsuite/ld-mips-elf/empic1-lp.d
deleted file mode 100644
index bd11e52..0000000
--- a/ld/testsuite/ld-mips-elf/empic1-lp.d
+++ /dev/null
@@ -1,26 +0,0 @@
-#name: MIPS 32-bit ELF embedded-pic relocs #1-lp (large positive)
-#as: -membedded-pic -mips3
-#source: empic1-ref.s
-#source: empic1-space.s
-#source: empic1-space.s
-#source: empic1-tgt.s
-#objdump: --prefix-addresses -tdr --show-raw-insn -mmips:4000
-#ld: -Ttext 0x400000 -e 0x400000
-
-.*: file format elf.*mips.*
-
-SYMBOL TABLE:
-#...
-0+400000 g F .text [0-9a-f]+ foo
-#...
-0+410020 g F .text [0-9a-f]+ bar
-#...
-
-Disassembly of section \.text:
-0+400000 <[^>]*> 00000000 nop
-0+400004 <[^>]*> 3c020001 lui v0,0x1
-0+400008 <[^>]*> 64420020 daddiu v0,v0,32
- ...
- ...
- ...
-#pass
diff --git a/ld/testsuite/ld-mips-elf/empic1-mn.d b/ld/testsuite/ld-mips-elf/empic1-mn.d
deleted file mode 100644
index fa43abf..0000000
--- a/ld/testsuite/ld-mips-elf/empic1-mn.d
+++ /dev/null
@@ -1,25 +0,0 @@
-#name: MIPS 32-bit ELF embedded-pic relocs #1-mn (medium negative)
-#as: -membedded-pic -mips3
-#source: empic1-tgt.s
-#source: empic1-space.s
-#source: empic1-ref.s
-#objdump: --prefix-addresses -tdr --show-raw-insn -mmips:4000
-#ld: -Ttext 0x400000 -e 0x400000
-
-.*: file format elf.*mips.*
-
-SYMBOL TABLE:
-#...
-0+408020 g F .text [0-9a-f]+ foo
-#...
-0+400000 g F .text [0-9a-f]+ bar
-#...
-
-Disassembly of section \.text:
- ...
- ...
-0+408020 <[^>]*> 00000000 nop
-0+408024 <[^>]*> 3c02ffff lui v0,0xffff
-0+408028 <[^>]*> 64427fe0 daddiu v0,v0,32736
- ...
-#pass
diff --git a/ld/testsuite/ld-mips-elf/empic1-mp.d b/ld/testsuite/ld-mips-elf/empic1-mp.d
deleted file mode 100644
index 27d1574..0000000
--- a/ld/testsuite/ld-mips-elf/empic1-mp.d
+++ /dev/null
@@ -1,25 +0,0 @@
-#name: MIPS 32-bit ELF embedded-pic relocs #1-mp (medium positive)
-#as: -membedded-pic -mips3
-#source: empic1-ref.s
-#source: empic1-space.s
-#source: empic1-tgt.s
-#objdump: --prefix-addresses -tdr --show-raw-insn -mmips:4000
-#ld: -Ttext 0x400000 -e 0x400000
-
-.*: file format elf.*mips.*
-
-SYMBOL TABLE:
-#...
-0+400000 g F .text [0-9a-f]+ foo
-#...
-0+408020 g F .text [0-9a-f]+ bar
-#...
-
-Disassembly of section \.text:
-0+400000 <[^>]*> 00000000 nop
-0+400004 <[^>]*> 3c020001 lui v0,0x1
-0+400008 <[^>]*> 64428020 daddiu v0,v0,-32736
- ...
- ...
- ...
-#pass
diff --git a/ld/testsuite/ld-mips-elf/empic1-ref.s b/ld/testsuite/ld-mips-elf/empic1-ref.s
deleted file mode 100644
index dfa345e..0000000
--- a/ld/testsuite/ld-mips-elf/empic1-ref.s
+++ /dev/null
@@ -1,9 +0,0 @@
-
- .globl foo
- .ent foo
-foo:
- nop
- la $2, bar - foo
- .end foo
-
- .p2align 5
diff --git a/ld/testsuite/ld-mips-elf/empic1-sn.d b/ld/testsuite/ld-mips-elf/empic1-sn.d
deleted file mode 100644
index 6d041ed..0000000
--- a/ld/testsuite/ld-mips-elf/empic1-sn.d
+++ /dev/null
@@ -1,23 +0,0 @@
-#name: MIPS 32-bit ELF embedded-pic relocs #1-sn (small negative)
-#as: -membedded-pic -mips3
-#source: empic1-tgt.s
-#source: empic1-ref.s
-#objdump: --prefix-addresses -tdr --show-raw-insn -mmips:4000
-#ld: -Ttext 0x400000 -e 0x400000
-
-.*: file format elf.*mips.*
-
-SYMBOL TABLE:
-#...
-0+400020 g F .text [0-9a-f]+ foo
-#...
-0+400000 g F .text [0-9a-f]+ bar
-#...
-
-Disassembly of section \.text:
- ...
-0+400020 <[^>]*> 00000000 nop
-0+400024 <[^>]*> 3c020000 lui v0,0x0
-0+400028 <[^>]*> 6442ffe0 daddiu v0,v0,-32
- ...
-#pass
diff --git a/ld/testsuite/ld-mips-elf/empic1-sp.d b/ld/testsuite/ld-mips-elf/empic1-sp.d
deleted file mode 100644
index f91d625..0000000
--- a/ld/testsuite/ld-mips-elf/empic1-sp.d
+++ /dev/null
@@ -1,23 +0,0 @@
-#name: MIPS 32-bit ELF embedded-pic relocs #1-sp (small positive)
-#as: -membedded-pic -mips3
-#source: empic1-ref.s
-#source: empic1-tgt.s
-#objdump: --prefix-addresses -tdr --show-raw-insn -mmips:4000
-#ld: -Ttext 0x400000 -e 0x400000
-
-.*: file format elf.*mips.*
-
-SYMBOL TABLE:
-#...
-0+400000 g F .text [0-9a-f]+ foo
-#...
-0+400020 g F .text [0-9a-f]+ bar
-#...
-
-Disassembly of section \.text:
-0+400000 <[^>]*> 00000000 nop
-0+400004 <[^>]*> 3c020000 lui v0,0x0
-0+400008 <[^>]*> 64420020 daddiu v0,v0,32
- ...
- ...
-#pass
diff --git a/ld/testsuite/ld-mips-elf/empic1-space.s b/ld/testsuite/ld-mips-elf/empic1-space.s
deleted file mode 100644
index 9c30cfb..0000000
--- a/ld/testsuite/ld-mips-elf/empic1-space.s
+++ /dev/null
@@ -1,5 +0,0 @@
-
- .ent space
-space:
- .space (32 * 1024)
- .end space
diff --git a/ld/testsuite/ld-mips-elf/empic1-tgt.s b/ld/testsuite/ld-mips-elf/empic1-tgt.s
deleted file mode 100644
index 909488c..0000000
--- a/ld/testsuite/ld-mips-elf/empic1-tgt.s
+++ /dev/null
@@ -1,8 +0,0 @@
-
- .globl bar
- .ent bar
-bar:
- nop
- .end bar
-
- .p2align 5
diff --git a/ld/testsuite/ld-mips-elf/empic2-fwd-0.d b/ld/testsuite/ld-mips-elf/empic2-fwd-0.d
deleted file mode 100644
index e53f1fa..0000000
--- a/ld/testsuite/ld-mips-elf/empic2-fwd-0.d
+++ /dev/null
@@ -1,20 +0,0 @@
-#name: MIPS 32-bit ELF embedded-pic relocs #2-fwd-0 (0x7ffc forward edge case)
-#as: -membedded-pic -mips3
-#source: empic2-ref.s
-#source: empic2-fwd-tgt.s
-#objdump: --prefix-addresses -tdr --show-raw-insn -mmips:4000
-#ld: -Ttext 0x400000 -e 0x400000
-
-.*: file format elf.*mips.*
-
-#...
-0+400000 g F .text [0-9a-f]+ foo
-#...
-0+407ffc g F .text [0-9a-f]+ bar
-#...
-
-Disassembly of section \.text:
-0+400000 <[^>]*> 3c020000 lui v0,0x0
-0+400004 <[^>]*> 64427ffc daddiu v0,v0,32764
- ...
-#pass
diff --git a/ld/testsuite/ld-mips-elf/empic2-fwd-1.d b/ld/testsuite/ld-mips-elf/empic2-fwd-1.d
deleted file mode 100644
index e720852..0000000
--- a/ld/testsuite/ld-mips-elf/empic2-fwd-1.d
+++ /dev/null
@@ -1,21 +0,0 @@
-#name: MIPS 32-bit ELF embedded-pic relocs #2-fwd-1 (0xfffc forward edge case)
-#as: -membedded-pic -mips3
-#source: empic2-ref.s
-#source: empic2-space.s
-#source: empic2-fwd-tgt.s
-#objdump: --prefix-addresses -tdr --show-raw-insn -mmips:4000
-#ld: -Ttext 0x400000 -e 0x400000
-
-.*: file format elf.*mips.*
-
-#...
-0+400000 g F .text [0-9a-f]+ foo
-#...
-0+40fffc g F .text [0-9a-f]+ bar
-#...
-
-Disassembly of section \.text:
-0+400000 <[^>]*> 3c020001 lui v0,0x1
-0+400004 <[^>]*> 6442fffc daddiu v0,v0,-4
- ...
-#pass
diff --git a/ld/testsuite/ld-mips-elf/empic2-fwd-tgt.s b/ld/testsuite/ld-mips-elf/empic2-fwd-tgt.s
deleted file mode 100644
index 915cf45..0000000
--- a/ld/testsuite/ld-mips-elf/empic2-fwd-tgt.s
+++ /dev/null
@@ -1,7 +0,0 @@
-
- .space (32768 - 16 - 4) # 16..32764
-
- .globl bar
- .ent bar
-bar:
- .end bar
diff --git a/ld/testsuite/ld-mips-elf/empic2-ref.s b/ld/testsuite/ld-mips-elf/empic2-ref.s
deleted file mode 100644
index 7048887..0000000
--- a/ld/testsuite/ld-mips-elf/empic2-ref.s
+++ /dev/null
@@ -1,7 +0,0 @@
- .globl foo
- .ent foo
-foo:
- la $2,bar-foo
- .end foo
-
- .p2align 4
diff --git a/ld/testsuite/ld-mips-elf/empic2-rev-0.d b/ld/testsuite/ld-mips-elf/empic2-rev-0.d
deleted file mode 100644
index 9bd9acc..0000000
--- a/ld/testsuite/ld-mips-elf/empic2-rev-0.d
+++ /dev/null
@@ -1,22 +0,0 @@
-#name: MIPS 32-bit ELF embedded-pic relocs #2-rev-0 (0x0004 backward edge case)
-#as: -membedded-pic -mips3
-#source: empic2-rev-tgt.s
-#source: empic2-ref.s
-#objdump: --prefix-addresses -tdr --show-raw-insn -mmips:4000
-#ld: -Ttext 0x400000 -e 0x400000
-
-.*: file format elf.*mips.*
-
-#...
-0+408000 g F .text [0-9a-f]+ foo
-#...
-0+407ffc g F .text [0-9a-f]+ bar
-#...
-
-Disassembly of section \.text:
- ...
-0+407ffc <[^>]*> 00000000 nop
-0+408000 <[^>]*> 3c020000 lui v0,0x0
-0+408004 <[^>]*> 6442fffc daddiu v0,v0,-4
- ...
-#pass
diff --git a/ld/testsuite/ld-mips-elf/empic2-rev-1.d b/ld/testsuite/ld-mips-elf/empic2-rev-1.d
deleted file mode 100644
index 1a38ec2..0000000
--- a/ld/testsuite/ld-mips-elf/empic2-rev-1.d
+++ /dev/null
@@ -1,24 +0,0 @@
-#name: MIPS 32-bit ELF embedded-pic relocs #2-rev-1 (0x8004 backward edge case)
-#as: -membedded-pic -mips3
-#source: empic2-rev-tgt.s
-#source: empic2-space.s
-#source: empic2-ref.s
-#objdump: --prefix-addresses -tdr --show-raw-insn -mmips:4000
-#ld: -Ttext 0x400000 -e 0x400000
-
-.*: file format elf.*mips.*
-
-#...
-0+410000 g F .text [0-9a-f]+ foo
-#...
-0+407ffc g F .text [0-9a-f]+ bar
-#...
-
-Disassembly of section \.text:
- ...
-0+407ffc <[^>]*> 00000000 nop
- ...
-0+410000 <[^>]*> 3c02ffff lui v0,0xffff
-0+410004 <[^>]*> 64427ffc daddiu v0,v0,32764
- ...
-#pass
diff --git a/ld/testsuite/ld-mips-elf/empic2-rev-tgt.s b/ld/testsuite/ld-mips-elf/empic2-rev-tgt.s
deleted file mode 100644
index 8124cfe..0000000
--- a/ld/testsuite/ld-mips-elf/empic2-rev-tgt.s
+++ /dev/null
@@ -1,8 +0,0 @@
-
- .space (32768 - 4)
-
- .globl bar
- .ent bar
-bar:
- .space 4
- .end bar
diff --git a/ld/testsuite/ld-mips-elf/empic2-space.s b/ld/testsuite/ld-mips-elf/empic2-space.s
deleted file mode 100644
index 9c30cfb..0000000
--- a/ld/testsuite/ld-mips-elf/empic2-space.s
+++ /dev/null
@@ -1,5 +0,0 @@
-
- .ent space
-space:
- .space (32 * 1024)
- .end space
diff --git a/ld/testsuite/ld-mips-elf/emrelocs-eb.d b/ld/testsuite/ld-mips-elf/emrelocs-eb.d
deleted file mode 100644
index dd79bdd..0000000
--- a/ld/testsuite/ld-mips-elf/emrelocs-eb.d
+++ /dev/null
@@ -1,25 +0,0 @@
-#name: MIPS 32-bit ELF embedded relocs (big endian)
-#source: emrelocs1.s -EB
-#source: emrelocs2.s -EB
-#ld: -EB --embedded-relocs -T $srcdir/$subdir/emrelocs.ld
-#objdump: -s
-
-.*: file format elf.*mips.*
-
-Contents of section \.text:
- 100000 00000000 00000001 00000000 00000000 .*
- 100010 00000000 00000000 00000003 00000000 .*
-Contents of section \.data:
- 200000 00000000 00000002 00000000 00000000 .*
- 200010 00000000 00000000 00000004 00000000 .*
- 200020 00100004 00200004 00100018 00200018 .*
- 200030 00000000 00100004 00000000 00200004 .*
- 200040 00000000 00100018 00000000 00200018 .*
-Contents of section \.rel\.sdata:
- 300000 00000020 2e746578 74000000 00000024 .*
- 300010 2e646174 61000000 00000028 2e746578 .*
- 300020 74000000 0000002c 2e646174 61000000 .*
- 300030 00000031 2e746578 74000000 00000039 .*
- 300040 2e646174 61000000 00000041 2e746578 .*
- 300050 74000000 00000049 2e646174 61000000 .*
-#pass
diff --git a/ld/testsuite/ld-mips-elf/emrelocs-el.d b/ld/testsuite/ld-mips-elf/emrelocs-el.d
deleted file mode 100644
index ad1e495..0000000
--- a/ld/testsuite/ld-mips-elf/emrelocs-el.d
+++ /dev/null
@@ -1,25 +0,0 @@
-#name: MIPS 32-bit ELF embedded relocs (little endian)
-#source: emrelocs1.s -EL
-#source: emrelocs2.s -EL
-#ld: -EL --embedded-relocs -T $srcdir/$subdir/emrelocs.ld
-#objdump: -s
-
-.*: file format elf.*mips.*
-
-Contents of section \.text:
- 100000 00000000 01000000 00000000 00000000 .*
- 100010 00000000 00000000 03000000 00000000 .*
-Contents of section \.data:
- 200000 00000000 02000000 00000000 00000000 .*
- 200010 00000000 00000000 04000000 00000000 .*
- 200020 04001000 04002000 18001000 18002000 .*
- 200030 04001000 00000000 04002000 00000000 .*
- 200040 18001000 00000000 18002000 00000000 .*
-Contents of section \.rel\.sdata:
- 300000 20000000 2e746578 74000000 24000000 .*
- 300010 2e646174 61000000 28000000 2e746578 .*
- 300020 74000000 2c000000 2e646174 61000000 .*
- 300030 31000000 2e746578 74000000 39000000 .*
- 300040 2e646174 61000000 41000000 2e746578 .*
- 300050 74000000 49000000 2e646174 61000000 .*
-#pass
diff --git a/ld/testsuite/ld-mips-elf/emrelocs.ld b/ld/testsuite/ld-mips-elf/emrelocs.ld
deleted file mode 100644
index 557f139..0000000
--- a/ld/testsuite/ld-mips-elf/emrelocs.ld
+++ /dev/null
@@ -1,16 +0,0 @@
-ENTRY(ext_fun)
-SECTIONS
-{
- .text 0x00100000:
- {
- *(.text)
- }
- .data 0x00200000:
- {
- *(.sdata)
- }
- .rel.sdata 0x00300000:
- {
- *(.rel.sdata)
- }
-}
diff --git a/ld/testsuite/ld-mips-elf/emrelocs1.s b/ld/testsuite/ld-mips-elf/emrelocs1.s
deleted file mode 100644
index 3e679ae..0000000
--- a/ld/testsuite/ld-mips-elf/emrelocs1.s
+++ /dev/null
@@ -1,23 +0,0 @@
-# emrelocs1.s: some external symbols to be used in relocations.
-
- .text
- .p2align 4
-
- # Pad things so addresses which are used for relocations
- # are non-zero. Zero simply isn't as much fun.
- .word 0
-
- .globl ext_fun
- .ent ext_fun
-ext_fun: .word 1
- .end ext_fun
-
-
- .sdata
- .p2align 4
-
- # Padding here, for same reason.
- .word 0
-
- .globl ext_var
-ext_var: .word 2
diff --git a/ld/testsuite/ld-mips-elf/emrelocs2.s b/ld/testsuite/ld-mips-elf/emrelocs2.s
deleted file mode 100644
index 77570f1..0000000
--- a/ld/testsuite/ld-mips-elf/emrelocs2.s
+++ /dev/null
@@ -1,30 +0,0 @@
-# emrelocs2.s: local symbols and data which causes relocations.
-
- .text
- .p2align 4
-
- .word 0, 0
-
- .ent lcl_fun
-lcl_fun: .word 3
- .end lcl_fun
-
-
- .sdata
- .p2align 4
-
- .word 0, 0
-
-lcl_var: .word 4
-
- .p2align 4
-
- .word ext_fun
- .word ext_var
- .word lcl_fun
- .word lcl_var
-
- .dword ext_fun
- .dword ext_var
- .dword lcl_fun
- .dword lcl_var
diff --git a/ld/testsuite/ld-mips-elf/mips-elf.exp b/ld/testsuite/ld-mips-elf/mips-elf.exp
index f2194a1..50cb811 100644
--- a/ld/testsuite/ld-mips-elf/mips-elf.exp
+++ b/ld/testsuite/ld-mips-elf/mips-elf.exp
@@ -58,25 +58,6 @@ if { $linux_gnu } {
}
if { $embedded_elf } {
- # Check basic Embedded-PIC PC-relative HI/LO relocs.
- run_dump_test "empic1-ln"
- run_dump_test "empic1-lp"
- run_dump_test "empic1-mn"
- run_dump_test "empic1-mp"
- run_dump_test "empic1-sn"
- run_dump_test "empic1-sp"
-
- # Embedded-PIC PC-relative HI/LO reloc edge-case regression tests.
- # As of 2001-12-26, the linker botches the fwd-0 and rev-1 tests.
- run_dump_test "empic2-fwd-0"
- run_dump_test "empic2-fwd-1"
- run_dump_test "empic2-rev-0"
- run_dump_test "empic2-rev-1"
-
- # Check generation of embedded relocs section.
- run_dump_test "emrelocs-eb"
- run_dump_test "emrelocs-el"
-
run_dump_test "region1"
}