* ld-arm/arm-elf.exp: Use objdump -d for arm-be8 test.
authorStan Shebs <shebs@codesourcery.com>
Mon, 7 Jul 2008 19:00:21 +0000 (19:00 +0000)
committerStan Shebs <shebs@codesourcery.com>
Mon, 7 Jul 2008 19:00:21 +0000 (19:00 +0000)
    * ld-arm/arm-be8.d: Change to test disassembly.

ld/testsuite/ChangeLog
ld/testsuite/ld-arm/arm-be8.d
ld/testsuite/ld-arm/arm-elf.exp

index 1d9610c..9159c2a 100644 (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.
index 43ce9b0..68a4ea3 100644 (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
index 5f2af9d..7df49f4 100644 (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}}