aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2010-09-15 17:39:57 +0000
committerDoug Kwan <dougkwan@google.com>2010-09-15 17:39:57 +0000
commit81e015e20a0dc8fda7af87c646b85c7a1f2083b6 (patch)
tree3d18025df7d854140e15927e0335814363ba3682 /gold/testsuite
parent2eb039095279c4d398fdc04652879a8b0b9f7562 (diff)
downloadgdb-81e015e20a0dc8fda7af87c646b85c7a1f2083b6.zip
gdb-81e015e20a0dc8fda7af87c646b85c7a1f2083b6.tar.gz
gdb-81e015e20a0dc8fda7af87c646b85c7a1f2083b6.tar.bz2
2010-09-15 Doug Kwan <dougkwan@google.com>
* gold/testsuite/script_test_3.t: Add ARM special sections. * gold/testsuite/script_test_4.t: Same. * gold/testsuite/script_test_5.t: Same. * gold/testsuite/script_test_6.t: Same. * gold/testsuite/script_test_7.t: Same. * gold/testsuite/script_test_7.t: Same. * gold/testsuite/thumb_blx_out_of_range.s: Fix instruction alignment.
Diffstat (limited to 'gold/testsuite')
-rw-r--r--gold/testsuite/script_test_3.t3
-rw-r--r--gold/testsuite/script_test_4.t3
-rw-r--r--gold/testsuite/script_test_5.t3
-rw-r--r--gold/testsuite/script_test_6.t3
-rw-r--r--gold/testsuite/script_test_7.t3
-rw-r--r--gold/testsuite/thumb_blx_out_of_range.s2
6 files changed, 16 insertions, 1 deletions
diff --git a/gold/testsuite/script_test_3.t b/gold/testsuite/script_test_3.t
index 75d8130..c97099c 100644
--- a/gold/testsuite/script_test_3.t
+++ b/gold/testsuite/script_test_3.t
@@ -28,6 +28,9 @@ SECTIONS
/* With luck this will be enough to get the program working. */
.interp : { *(.interp) } :text :interp
.text : { *(.text) } :text
+ /* Required by the ARM target. */
+ .ARM.extab : { *(.ARM.extab*) }
+ .ARM.exidx : { *(.ARM.exidx*) }
. += 0x100000;
. = ALIGN(0x100);
.dynamic : { *(.dynamic) } :data :dynamic
diff --git a/gold/testsuite/script_test_4.t b/gold/testsuite/script_test_4.t
index 47ae066..9841773 100644
--- a/gold/testsuite/script_test_4.t
+++ b/gold/testsuite/script_test_4.t
@@ -30,6 +30,9 @@ SECTIONS
/* With luck this will be enough to get the program working. */
.interp : { *(.interp) }
.text : { *(.text) }
+ /* Required by the ARM target. */
+ .ARM.extab : { *(.ARM.extab*) }
+ .ARM.exidx : { *(.ARM.exidx*) }
. += 0x100000;
. = ALIGN(0x100);
.dynamic : { *(.dynamic) }
diff --git a/gold/testsuite/script_test_5.t b/gold/testsuite/script_test_5.t
index b5e83aa..fe67c4e 100644
--- a/gold/testsuite/script_test_5.t
+++ b/gold/testsuite/script_test_5.t
@@ -30,6 +30,9 @@ SECTIONS
/* With luck this will be enough to get the program working. */
.interp : { *(.interp) }
.text : { *(.text) }
+ /* Required by the ARM target. */
+ .ARM.extab : { *(.ARM.extab*) }
+ .ARM.exidx : { *(.ARM.exidx*) }
. += 0x100000;
. = ALIGN(0x100);
.dynamic : { *(.dynamic) }
diff --git a/gold/testsuite/script_test_6.t b/gold/testsuite/script_test_6.t
index 9676371..01a8a17 100644
--- a/gold/testsuite/script_test_6.t
+++ b/gold/testsuite/script_test_6.t
@@ -31,6 +31,9 @@ SECTIONS
.interp : { *(.interp) }
.text : { *(.text .text.*) }
.rodata : { *(.rodata .rodata.*) }
+ /* Required by the ARM target. */
+ .ARM.extab : { *(.ARM.extab*) }
+ .ARM.exidx : { *(.ARM.exidx*) }
. += 0x100000;
. = ALIGN(0x100);
.dynamic : { *(.dynamic) }
diff --git a/gold/testsuite/script_test_7.t b/gold/testsuite/script_test_7.t
index a4c4973..7adcf5f 100644
--- a/gold/testsuite/script_test_7.t
+++ b/gold/testsuite/script_test_7.t
@@ -31,6 +31,9 @@ SECTIONS
.interp : { *(.interp) }
.text : { *(.text .text.*) }
.rodata : { *(.rodata .rodata.*) }
+ /* Required by the ARM target. */
+ .ARM.extab : { *(.ARM.extab*) }
+ .ARM.exidx : { *(.ARM.exidx*) }
.dynamic : { *(.dynamic) }
. = SEGMENT_START(".data", 0x10200000);
diff --git a/gold/testsuite/thumb_blx_out_of_range.s b/gold/testsuite/thumb_blx_out_of_range.s
index 5689e27..c4f87e0 100644
--- a/gold/testsuite/thumb_blx_out_of_range.s
+++ b/gold/testsuite/thumb_blx_out_of_range.s
@@ -5,7 +5,7 @@
.section .text.pre,"x"
# Add padding so that target is just output of branch range.
- .space 6
+ .space 4
.global _forward_target
.global _backward_target