aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/rgn-at5.d
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-09-09 19:22:29 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-09-09 19:22:29 +0000
commita2d1e0280113424781f2e50bd2c97cc2ef3d237e (patch)
tree9162a7fd3bf939c24bdf87e1d63f06769f05a85f /ld/testsuite/ld-scripts/rgn-at5.d
parent497462ef9eba5c85d2d405a33ff20940f5b0d74e (diff)
downloadgdb-a2d1e0280113424781f2e50bd2c97cc2ef3d237e.zip
gdb-a2d1e0280113424781f2e50bd2c97cc2ef3d237e.tar.gz
gdb-a2d1e0280113424781f2e50bd2c97cc2ef3d237e.tar.bz2
Don't warn zero LMA adjustment.
bfd/ 2010-09-09 H.J. Lu <hongjiu.lu@intel.com> PR ld/11998 * elf.c (assign_file_positions_for_load_sections): Don't warn zero LMA adjustment. ld/testsuite/ 2010-09-09 H.J. Lu <hongjiu.lu@intel.com> PR ld/11998 * ld-scripts/rgn-at5.d: New. * ld-scripts/rgn-at5.s: Likewise. * ld-scripts/rgn-at5.t: Likewise.
Diffstat (limited to 'ld/testsuite/ld-scripts/rgn-at5.d')
-rw-r--r--ld/testsuite/ld-scripts/rgn-at5.d17
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/rgn-at5.d b/ld/testsuite/ld-scripts/rgn-at5.d
new file mode 100644
index 0000000..ad7d98c
--- /dev/null
+++ b/ld/testsuite/ld-scripts/rgn-at5.d
@@ -0,0 +1,17 @@
+# name: rgn-at5
+# source: rgn-at5.s
+# ld: -T rgn-at5.t -z max-page-size=0x1000
+# objdump: -w -h
+# xfail: rx-*-*
+# FAILS on the RX because the linker has to set LMA == VMA for the
+# Renesas loader.
+
+.*: file format .*
+
+Sections:
+Idx +Name +Size +VMA +LMA +File off +Algn +Flags
+ 0 .sec0 +0+2 +0+02000 +0+2000 +0+02000 +.*
+ 1 .sec1 +0+2 +0+01000 +0+012c +0+01000 +.*
+ 2 .sec2 +0+2 +0+04000 +0+603c +0+04000 +.*
+ 3 .sec3 +0+2 +0+05000 +0+412c +0+03000 +.*
+ 4 .sec4 +0+2 +0+02002 +0+2002 +0+02002 +.*