summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/textaddr5.d
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-05-26 14:10:14 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-05-26 14:10:14 +0000
commit10ffe02657f99d4c3757c7a66b6e32064836d0e7 (patch)
tree19e89bcee118b5c877118d3b142dead9bfdd6b14 /ld/testsuite/ld-elf/textaddr5.d
parent18ba7290c2d0e92aa0c03e84c64e14f531e9f174 (diff)
downloadbinutils-redhat-10ffe02657f99d4c3757c7a66b6e32064836d0e7.tar.gz
Warn if value of SEGMENT_START isn't multiple of maximum page size.
ld/ 2010-05-26 H.J. Lu <hongjiu.lu@intel.com> PR ld/11628 * ldexp.c (fold_binary): Warn if value of SEGMENT_START isn't multiple of maximum page size. ld/testsuite/ 2010-05-26 H.J. Lu <hongjiu.lu@intel.com> PR ld/11628 * ld-elf/textaddr3.d: New. * ld-elf/textaddr4.d: Likewise. * ld-elf/textaddr5.d: Likewise. * ld-elf/textaddr6.d: Likewise. * ld-elf/textaddr7.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/textaddr5.d')
-rw-r--r--ld/testsuite/ld-elf/textaddr5.d4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/textaddr5.d b/ld/testsuite/ld-elf/textaddr5.d
new file mode 100644
index 0000000000..5fe41d0aa9
--- /dev/null
+++ b/ld/testsuite/ld-elf/textaddr5.d
@@ -0,0 +1,4 @@
+#source: maxpage1.s
+#ld: -shared -z max-page-size=0x200000 -Ttext-segment 0x10000
+#target: *-*-linux-gnu
+#warning: .*address of `text-segment' isn't multiple of maximum page size