summaryrefslogtreecommitdiff
path: root/ld/emulparams/elf32lm32fd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emulparams/elf32lm32fd.sh')
-rw-r--r--ld/emulparams/elf32lm32fd.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/emulparams/elf32lm32fd.sh b/ld/emulparams/elf32lm32fd.sh
new file mode 100644
index 0000000000..32a4d588c9
--- /dev/null
+++ b/ld/emulparams/elf32lm32fd.sh
@@ -0,0 +1,16 @@
+. ${srcdir}/emulparams/elf32lm32.sh
+unset STACK_ADDR
+OUTPUT_FORMAT="elf32-lm32fdpic"
+MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
+TEMPLATE_NAME=elf32
+GENERATE_SHLIB_SCRIPT=yes
+GENERATE_PIE_SCRIPT=yes
+EMBEDDED= # This gets us program headers mapped as part of the text segment.
+OTHER_GOT_SYMBOLS=
+OTHER_READONLY_SECTIONS="
+ .rofixup : {
+ ${RELOCATING+__ROFIXUP_LIST__ = .;}
+ *(.rofixup)
+ ${RELOCATING+__ROFIXUP_END__ = .;}
+ }
+"