* ld-arm/arm-elf.exp: Use objdump -d for arm-be8 test.

* ld-arm/arm-be8.d: Change to test disassembly.
This commit is contained in:
Stan Shebs 2008-07-07 19:00:21 +00:00
parent 6a4fe770bc
commit 7b60c20e4c
3 changed files with 19 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2008-07-07 Stan Shebs <stan@codesourcery.com>
* ld-arm/arm-elf.exp: Use objdump -d for arm-be8 test.
* ld-arm/arm-be8.d: Change to test disassembly.
2008-07-06 Nathan Sidwell <nathan@codesourcery.com>
* ld-scripts/include-1.d: New.

View File

@ -1,8 +1,16 @@
.*: file format.*
Contents of section .text:
8000 0000a0e3 1eff2fe1 c0467047 fff7fcff .*
8010 12345678 .*
# Ignore .ARM.attributes section
#...
Disassembly of section .text:
00008000 <arm>:
8000: 0000a0e3 mov r0, #0 ; 0x0
8004: 1eff2fe1 bx lr
00008008 <thumb>:
8008: c046 nop \(mov r8, r8\)
800a: 7047 bx lr
800c: fff7 fcff bl 8008 <thumb>
00008010 <data>:
8010: 12345678 .word 0x12345678

View File

@ -144,7 +144,7 @@ set armelftests {
{{objdump -dw arm-movwt.d}}
"arm-movwt"}
{"BE8 Mapping Symbols" "-static -T arm.ld -EB --be8" "-EB" {arm-be8.s}
{{objdump -s arm-be8.d}}
{{objdump -d arm-be8.d}}
"arm-be8"}
{"Using Thumb lib by another lib" "-shared tmpdir/mixed-lib.so" "" {use-thumb-lib.s}
{{readelf -Ds use-thumb-lib.sym}}