summaryrefslogtreecommitdiff
path: root/gold/testsuite
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2010-09-15 17:39:56 +0000
committerDoug Kwan <dougkwan@google.com>2010-09-15 17:39:56 +0000
commit36afc07e10e5d44bf2e2021bcc2c4ef51d82fee4 (patch)
tree367a3c05c145a7e7e82661c8cd723b865225f8ef /gold/testsuite
parent478388bd722e49a660e3825f361720b9bbcad362 (diff)
downloadbinutils-redhat-36afc07e10e5d44bf2e2021bcc2c4ef51d82fee4.tar.gz
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 75d8130510..c97099cfae 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 47ae066ea7..98417733b8 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 b5e83aaab0..fe67c4e5f8 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 967637142e..01a8a171fd 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 a4c4973fc8..7adcf5fdf5 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 5689e272c9..c4f87e0f03 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