aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/script_test_3.t
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-02-12 00:15:40 +0000
committerIan Lance Taylor <iant@google.com>2008-02-12 00:15:40 +0000
commit33a3a153165ddb30daeeb6d3e116911e9a7ad612 (patch)
tree645725f439cc65ed1741ffb002c8a08c72417ba8 /gold/testsuite/script_test_3.t
parent03df6b3280ebb27727d756df645038a65ca34744 (diff)
downloadfsf-binutils-gdb-33a3a153165ddb30daeeb6d3e116911e9a7ad612.zip
fsf-binutils-gdb-33a3a153165ddb30daeeb6d3e116911e9a7ad612.tar.gz
fsf-binutils-gdb-33a3a153165ddb30daeeb6d3e116911e9a7ad612.tar.bz2
Force different sections to different pages for better results on
x86_64 Linux.
Diffstat (limited to 'gold/testsuite/script_test_3.t')
-rw-r--r--gold/testsuite/script_test_3.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/gold/testsuite/script_test_3.t b/gold/testsuite/script_test_3.t
index 1dbbfa3..9910349 100644
--- a/gold/testsuite/script_test_3.t
+++ b/gold/testsuite/script_test_3.t
@@ -28,8 +28,12 @@ SECTIONS
/* With luck this will be enough to get the program working. */
.interp : { *(.interp) } :text :interp
.text : { *(.text) } :text
- .dynamic : { *(.dynamic) } :text :dynamic
+ . += 0x100000;
+ . = ALIGN(0x100);
+ .dynamic : { *(.dynamic) } :data :dynamic
.data : { *(.data) } :data
+ . += 0x100000;
+ . = ALIGN(0x100);
.bss : { *(.bss) } :bss
}