* 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 1d9610c97d4cf2f34f8661cc6c0836995a3761da..9159c2a2dd7e3122e81967c6267bdf2f2ffaa669 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 43ce9b016e1c693c9acdd50eb788359ab1f7505b..68a4ea3fde0e8cd2a4e53d154f6d40e44435d022 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 5f2af9d57cec76662aa037d5c40cc6d1a3a6ed54..7df49f4519a8ca31d92bc3ae8de49bb63fac54d9 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}}