aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emulparams')
-rwxr-xr-xld/emulparams/elf32frv.sh1
-rw-r--r--ld/emulparams/elf32frvfd.sh14
2 files changed, 15 insertions, 0 deletions
diff --git a/ld/emulparams/elf32frv.sh b/ld/emulparams/elf32frv.sh
index fd4be3e..042ed8c 100755
--- a/ld/emulparams/elf32frv.sh
+++ b/ld/emulparams/elf32frv.sh
@@ -10,6 +10,7 @@ OTHER_EXCLUDE_FILES='*frvend.o'
OTHER_BSS_END_SYMBOLS='__end = .;'
DATA_START_SYMBOLS='__data_start = . ;'
STACK_ADDR=0x200000
+NOP=0x80000000
OTHER_GOT_SYMBOLS='
. = ALIGN(8); _gp = . + 2048;
PROVIDE (gp = _gp);'
diff --git a/ld/emulparams/elf32frvfd.sh b/ld/emulparams/elf32frvfd.sh
new file mode 100644
index 0000000..224abed
--- /dev/null
+++ b/ld/emulparams/elf32frvfd.sh
@@ -0,0 +1,14 @@
+. ${srcdir}/emulparams/elf32frv.sh
+unset STACK_ADDR
+MAXPAGESIZE=0x10000
+TEMPLATE_NAME=elf32
+GENERATE_SHLIB_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__ = .;}
+ }
+"