aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2002-06-18 21:17:27 +0000
committerDave Brolley <brolley@redhat.com>2002-06-18 21:17:27 +0000
commit7d553a408b78300cd40f7e1b5d6dc007a563237e (patch)
tree4de9d4ef9ed37cea697e49944e802afa38ec18af /ld/emulparams
parente25dda9f41aaeb9af598cffe4fd3442048ec54eb (diff)
downloadgdb-7d553a408b78300cd40f7e1b5d6dc007a563237e.zip
gdb-7d553a408b78300cd40f7e1b5d6dc007a563237e.tar.gz
gdb-7d553a408b78300cd40f7e1b5d6dc007a563237e.tar.bz2
2002-06-18 Dave Brolley <brolley@redhat.com>
From Catherine Moore, Michael Meissner, Jim Blandy: * emulparams/elf32frv.sh: New file. * configure.tgt: Support frv-*-*. * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o. (eelf32frv.c): New target.
Diffstat (limited to 'ld/emulparams')
-rwxr-xr-xld/emulparams/elf32frv.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/ld/emulparams/elf32frv.sh b/ld/emulparams/elf32frv.sh
new file mode 100755
index 0000000..2b04fa8
--- /dev/null
+++ b/ld/emulparams/elf32frv.sh
@@ -0,0 +1,20 @@
+MACHINE=
+SCRIPT_NAME=elf
+OUTPUT_FORMAT="elf32-frv"
+TEXT_START_ADDR=0x10000
+ARCH=frv
+MAXPAGESIZE=256
+ENTRY=_start
+EMBEDDED=yes
+OTHER_EXCLUDE_FILES='*frvend.o'
+OTHER_BSS_END_SYMBOLS='__end = .;'
+DATA_START_SYMBOLS='__data_start = . ;'
+OTHER_RELOCATING_SECTIONS='
+ PROVIDE (_stack = 0x200000);
+ PROVIDE (__stack = 0x200000);'
+OTHER_GOT_SYMBOLS='
+ . = ALIGN(8); _gp = . + 2048;
+ PROVIDE (gp = _gp);'
+OTHER_READONLY_SECTIONS='
+ .rofixup : { *(.rofixup) }
+'