summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/ld/scripttempl/elfmips.sc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/ld/scripttempl/elfmips.sc b/gnu/usr.bin/binutils/ld/scripttempl/elfmips.sc
index 2948e1beae4..46008c45370 100644
--- a/gnu/usr.bin/binutils/ld/scripttempl/elfmips.sc
+++ b/gnu/usr.bin/binutils/ld/scripttempl/elfmips.sc
@@ -118,7 +118,7 @@ SECTIONS
important than losing a page of the virtual address space (note
that no actual memory is lost; the page which is skipped can not
be referenced). */
- ${RELOCATING+. += ${DATA_ADDR} - ${TEXT_START_ADDR};}
+ ${CREATE_SHLIB-${RELOCATING+. += ${DATA_ADDR} - ${TEXT_START_ADDR};}}
${RELOCATING+. += 0x10000;}
.data ${RELOCATING-0} :
{