summaryrefslogtreecommitdiffstats
path: root/ld/emulparams/elf64mmix.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emulparams/elf64mmix.sh')
-rw-r--r--ld/emulparams/elf64mmix.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/ld/emulparams/elf64mmix.sh b/ld/emulparams/elf64mmix.sh
index c811ce084b..1ee9283289 100644
--- a/ld/emulparams/elf64mmix.sh
+++ b/ld/emulparams/elf64mmix.sh
@@ -44,14 +44,15 @@ OTHER_TEXT_SECTIONS='
PROVIDE (Main = DEFINED (Main) ? Main : (DEFINED (_start) ? _start : _start.));
'
-OTHER_SECTIONS="
+OTHER_SECTIONS='
.MMIX.reg_contents :
{
/* Note that this section always has a fixed VMA - that of its
first register * 8. */
+ *(.MMIX.reg_contents.linker_allocated);
*(.MMIX.reg_contents);
}
-"
+'
# FIXME: Also bit by the PROVIDE bug? If not, this could be
# EXECUTABLE_SYMBOLS.
OpenPOWER on IntegriCloud