* ld/testsuite/ld-arm/group-relocs.s: Mark code sections as executable.
authorMatthew Gretton-Dann <matthew.gretton-dann@arm.com>
Wed, 24 Feb 2010 11:15:11 +0000 (11:15 +0000)
committerMatthew Gretton-Dann <matthew.gretton-dann@arm.com>
Wed, 24 Feb 2010 11:15:11 +0000 (11:15 +0000)
* ld/testsuite/ld-arm/arm-elf.exp (armelftests): Only dump executable sections in
group-relocs test.
* ld/testsuite/ld-arm/reloc-boundaries.d: Fix test to work on Linux targets.

ld/testsuite/ChangeLog
ld/testsuite/ld-arm/arm-elf.exp
ld/testsuite/ld-arm/group-relocs.s
ld/testsuite/ld-arm/reloc-boundaries.d

index 0bbe35ed9cac3ae24fa8d9ec07eb6c42ef28b690..940685d1049209e790462e13eb3395f803293299 100644 (file)
@@ -1,3 +1,10 @@
+2010-02-24  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * ld-arm/group-relocs.s: Mark code sections as executable.
+       * ld-arm/arm-elf.exp (armelftests): Only dump executable sections in
+       group-relocs test.
+       * ld-arm/reloc-boundaries.d: Fix test to work on Linux targets.
+
 2010-02-23  Nick Clifton  <nickc@redhat.com>
 
        * ld-elf/orphan4.d: Allow for other sections to be present in the
index ed9cb7430a4311a50f23ebf53ef6420d23755023..40e78b86865283ff4665dcf5345ba1987a3f16d2 100644 (file)
@@ -69,7 +69,7 @@ if { ![is_elf_format] || ![istarget "arm*-*-*"] } {
 
 set armelftests {
     {"Group relocations" "-Ttext 0x8000 --section-start zero=0x0 --section-start alpha=0xeef0 --section-start beta=0xffeef0" "" {group-relocs.s}
-     {{objdump -Dr group-relocs.d}}
+     {{objdump -dr group-relocs.d}}
      "group-relocs"}
     {"Thumb-1 BL" "-Ttext 0x1000 --section-start .foo=0x401000" "" {thumb1-bl.s}
      {{objdump -dr thumb1-bl.d}}
index da1a1507268101241317b38f7b6e013baf601018..b6467f4f0e44c6500f2bc6f2b462bd4f874c07f6 100644 (file)
@@ -118,7 +118,7 @@ one_group_needed_ldc_pc:
 
 @ We will place the section zero at 0x0.
 
-       .section zero
+       .section zero, "x"
 
 one_group_needed_alu_sb:
 one_group_needed_ldr_sb:
@@ -128,7 +128,7 @@ one_group_needed_ldc_sb:
 
 @ We will place the section alpha at 0xeef0.
 
-       .section alpha
+       .section alpha, "x"
 
 two_groups_needed_alu_sb:
 two_groups_needed_ldr_sb:
@@ -142,7 +142,7 @@ two_groups_needed_ldc_pc:
 
 @ We will place the section beta at 0xffeef0.
 
-       .section beta
+       .section beta, "x"
 
 three_groups_needed_alu_sb:
 three_groups_needed_ldr_sb:
index dcdefd95de3f382d1e2e598a6eaa4d6a903d6ccf..bcc13d0f5a38ba81d2af0b27e1290a497ba3668e 100644 (file)
@@ -2,5 +2,5 @@
 [^:]*:     file format elf32-(little|big)arm
 
 Contents of section .text:
- 8000 80ff0080 ffff                        ......          
+ 80.. 80ff0080 ffff                        ......          
 #...