aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/ia64vms.sc
diff options
context:
space:
mode:
Diffstat (limited to 'ld/scripttempl/ia64vms.sc')
-rw-r--r--ld/scripttempl/ia64vms.sc4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/scripttempl/ia64vms.sc b/ld/scripttempl/ia64vms.sc
index 11c95bd..9b83ffa 100644
--- a/ld/scripttempl/ia64vms.sc
+++ b/ld/scripttempl/ia64vms.sc
@@ -7,6 +7,10 @@
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
+# Using an empty script for ld -r is better than mashing together
+# sections. This hack likely leaves ld -Ur broken.
+test -n "${RELOCATING}" || exit 0
+
PAGESIZE=0x10000
BLOCKSIZE=0x200