* 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.
This commit is contained in:
Adam Nemet
2007-08-01 17:41:30 +00:00
parent bc37fce3d2
commit 43ec5bc0d7
6 changed files with 33 additions and 0 deletions

View File

@ -114,6 +114,9 @@ run_dump_test "reloc-3"
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"

View File

@ -0,0 +1,3 @@
#source: reloc-4.s
#ld:
#error: small-data section exceeds 64KB.*truncated to fit: R_MIPS_LITERAL

View File

@ -0,0 +1,7 @@
.text
.globl _start
_start:
li.d $f2,1.10000000000000000000e0
.section .sdata
.space 0x10000

View File

@ -0,0 +1,3 @@
#source: reloc-5.s
#ld:
#error: small-data section exceeds 64KB.*truncated to fit: R_MIPS_GPREL16

View File

@ -0,0 +1,11 @@
.text
.globl _start
_start:
lw $2, %gp_rel(i)($28)
.section .sdata
.space 0x10000
.section .sbss
i:
.space 4