aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/elf64mmix.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/emulparams/elf64mmix.sh b/ld/emulparams/elf64mmix.sh
index dffc6cc..75e24be 100644
--- a/ld/emulparams/elf64mmix.sh
+++ b/ld/emulparams/elf64mmix.sh
@@ -44,6 +44,10 @@ ${RELOCATING+
PROVIDE (Main = DEFINED (Main) ? Main : (DEFINED (_start) ? _start : _start.));
}"
+# We need a symbol at the end of the read-only data, which is
+# colocated with the code. We make __etext fit.
+ETEXT_LAST_IN_RODATA_SEGMENT=" "
+
OTHER_SECTIONS='
.MMIX.reg_contents :
{