diff options
author | Stan Shebs <shebs@codesourcery.com> | 2008-07-07 19:00:21 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 2008-07-07 19:00:21 +0000 |
commit | 7b60c20e4c9e42d62f073e06303dd4ce41634125 (patch) | |
tree | df4976cc3119150ab1c85305484c2c15a03b70bc /ld/testsuite/ld-arm | |
parent | 6a4fe770bc792723ce0dc92c9dac9b30eabc767e (diff) | |
download | gdb-7b60c20e4c9e42d62f073e06303dd4ce41634125.zip gdb-7b60c20e4c9e42d62f073e06303dd4ce41634125.tar.gz gdb-7b60c20e4c9e42d62f073e06303dd4ce41634125.tar.bz2 |
* ld-arm/arm-elf.exp: Use objdump -d for arm-be8 test.
* ld-arm/arm-be8.d: Change to test disassembly.
Diffstat (limited to 'ld/testsuite/ld-arm')
-rw-r--r-- | ld/testsuite/ld-arm/arm-be8.d | 18 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/arm-elf.exp | 2 |
2 files changed, 14 insertions, 6 deletions
diff --git a/ld/testsuite/ld-arm/arm-be8.d b/ld/testsuite/ld-arm/arm-be8.d index 43ce9b0..68a4ea3 100644 --- a/ld/testsuite/ld-arm/arm-be8.d +++ b/ld/testsuite/ld-arm/arm-be8.d @@ -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 diff --git a/ld/testsuite/ld-arm/arm-elf.exp b/ld/testsuite/ld-arm/arm-elf.exp index 5f2af9d..7df49f4 100644 --- a/ld/testsuite/ld-arm/arm-elf.exp +++ b/ld/testsuite/ld-arm/arm-elf.exp @@ -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}} |