mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
* 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:
parent
bc37fce3d2
commit
43ec5bc0d7
@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
@ -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"
|
||||
|
3
ld/testsuite/ld-mips-elf/reloc-4.d
Normal file
3
ld/testsuite/ld-mips-elf/reloc-4.d
Normal file
@ -0,0 +1,3 @@
|
||||
#source: reloc-4.s
|
||||
#ld:
|
||||
#error: small-data section exceeds 64KB.*truncated to fit: R_MIPS_LITERAL
|
7
ld/testsuite/ld-mips-elf/reloc-4.s
Normal file
7
ld/testsuite/ld-mips-elf/reloc-4.s
Normal file
@ -0,0 +1,7 @@
|
||||
.text
|
||||
.globl _start
|
||||
_start:
|
||||
li.d $f2,1.10000000000000000000e0
|
||||
|
||||
.section .sdata
|
||||
.space 0x10000
|
3
ld/testsuite/ld-mips-elf/reloc-5.d
Normal file
3
ld/testsuite/ld-mips-elf/reloc-5.d
Normal file
@ -0,0 +1,3 @@
|
||||
#source: reloc-5.s
|
||||
#ld:
|
||||
#error: small-data section exceeds 64KB.*truncated to fit: R_MIPS_GPREL16
|
11
ld/testsuite/ld-mips-elf/reloc-5.s
Normal file
11
ld/testsuite/ld-mips-elf/reloc-5.s
Normal file
@ -0,0 +1,11 @@
|
||||
.text
|
||||
.globl _start
|
||||
_start:
|
||||
lw $2, %gp_rel(i)($28)
|
||||
|
||||
.section .sdata
|
||||
.space 0x10000
|
||||
|
||||
.section .sbss
|
||||
i:
|
||||
.space 4
|
Loading…
Reference in New Issue
Block a user