ld-arm/long-plt-format.d, ld-arm/arm-elf.exp: Adjust for arm-eabi.

This commit is contained in:
Yuri Gribov 2014-03-01 12:19:53 +01:00 committed by Hans-Peter Nilsson
parent 8fd408f130
commit 512c56d662
3 changed files with 15 additions and 11 deletions

View File

@ -1,3 +1,7 @@
2014-03-01 Yuri Gribov <y.gribov@samsung.com>
* ld-arm/long-plt-format.d, ld-arm/arm-elf.exp: Adjust for arm-eabi.
2014-02-27 Yuri Gribov <y.gribov@samsung.com>
* ld-arm/long-plt-format.s: New test case.

View File

@ -188,7 +188,7 @@ set armelftests_common {
"" {exec-got-1b.s}
{{readelf --relocs exec-got-1.d}}
"exec-got-1"}
{"Long PLT entries in executables" "--long-plt -shared --section-start=.plt=0x200 --section-start=.got=0xf0000300" ""
{"Long PLT entries in executables" "--long-plt -shared --section-start=.plt=0x1000 --section-start=.got=0xf0001100" ""
"" {long-plt-format.s}
{{objdump "-d -j .plt" long-plt-format.d}}
"long-plt-format"}

View File

@ -3,13 +3,13 @@
Disassembly of section .plt:
00000200 <.plt>:
200: .*
204: .*
208: .*
20c: .*
210: .* .word .*
214: .* add ip, pc, #-268435456 ; 0xf0000000
218: .* add ip, ip, #0, 12
21c: .* add ip, ip, #0, 20
220: .* ldr pc, [ip, #[0-9]*]! ; 0x.*
.* <.plt>:
.*: .*
.*: .*
.*: .*
.*: .*
.*: .* .word .*
.*: .* add ip, pc, #-268435456 ; 0xf0000000
.*: .* add ip, ip, #0, 12
.*: .* add ip, ip, #0, 20
.*: .* ldr pc, [ip, #[0-9]*]! ; 0x.*