From 81e015e20a0dc8fda7af87c646b85c7a1f2083b6 Mon Sep 17 00:00:00 2001 From: Doug Kwan Date: Wed, 15 Sep 2010 17:39:57 +0000 Subject: [PATCH] 2010-09-15 Doug Kwan * 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. --- gold/ChangeLog | 10 ++++++++++ gold/testsuite/script_test_3.t | 3 +++ gold/testsuite/script_test_4.t | 3 +++ gold/testsuite/script_test_5.t | 3 +++ gold/testsuite/script_test_6.t | 3 +++ gold/testsuite/script_test_7.t | 3 +++ gold/testsuite/thumb_blx_out_of_range.s | 2 +- 7 files changed, 26 insertions(+), 1 deletion(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index c0dbc263bf8..4286d4bc35f 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,13 @@ +2010-09-15 Doug Kwan + + * 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. + 2010-09-14 Cary Coutant * x86_64.cc (Target_x86_64::saw_tls_block_reloc_): Remove member. diff --git a/gold/testsuite/script_test_3.t b/gold/testsuite/script_test_3.t index 75d81305101..c97099cfaed 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 47ae066ea74..98417733b8d 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 b5e83aaab02..fe67c4e5f86 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 967637142ef..01a8a171fd5 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 a4c4973fc8a..7adcf5fdf5e 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 5689e272c90..c4f87e0f038 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 -- 2.30.2