ld-mips-elf/reloc-5.s, ld-mips-elf/reloc-5.d: New tests.
* ld-mips-elf/mips-elf.exp: Invoke them.
+2007-08-01 Adam Nemet <anemet@caviumnetworks.com>
+
+ * ld-mips-elf/reloc-4.s, ld-mips-elf/reloc-4.d,
+ ld-mips-elf/reloc-5.s, ld-mips-elf/reloc-5.d: New tests.
+ * ld-mips-elf/mips-elf.exp: Invoke them.
+
2007-07-29 Alan Modra <amodra@bigpond.net.au>
* ld-elf/weak-dyn-1.rd: Adjust.
if {$has_newabi} {
run_dump_test "reloc-3-n32"
}
+run_dump_test "reloc-4"
+run_dump_test "reloc-5"
+
if {$has_newabi && $linux_gnu} {
run_dump_test "eh-frame1-n32"
run_dump_test "eh-frame1-n64"
--- /dev/null
+#source: reloc-4.s
+#ld:
+#error: small-data section exceeds 64KB.*truncated to fit: R_MIPS_LITERAL
--- /dev/null
+ .text
+ .globl _start
+_start:
+ li.d $f2,1.10000000000000000000e0
+
+ .section .sdata
+ .space 0x10000
--- /dev/null
+#source: reloc-5.s
+#ld:
+#error: small-data section exceeds 64KB.*truncated to fit: R_MIPS_GPREL16
--- /dev/null
+ .text
+ .globl _start
+_start:
+ lw $2, %gp_rel(i)($28)
+
+ .section .sdata
+ .space 0x10000
+
+ .section .sbss
+i:
+ .space 4