ELF ld -r scripts
[deliverable/binutils-gdb.git] / ld / scripttempl / ip2k.sc
index 53ec8290f98db24c3c57841a233ec04b782097d0..6aa1f42f532ae318ca08272a374fd1c1fecd4fd0 100644 (file)
@@ -4,6 +4,9 @@
 # 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
 cat << EOF
 /* Copyright (C) 2014-2018 Free Software Foundation, Inc.
 
This page took 0.024142 seconds and 4 git commands to generate.