]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/emulparams/elf64mmix.sh
ld: optionally emit _etext last, before .data
[thirdparty/binutils-gdb.git] / ld / emulparams / elf64mmix.sh
index dffc6cc6f7d11758b5d29843093e0de0662d1e2c..75e24be2e2a4ad56bf7da7bccb150becd597fff6 100644 (file)
@@ -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 :
  {