diff options
author | Nick Clifton <nickc@redhat.com> | 2008-12-23 19:10:25 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2008-12-23 19:10:25 +0000 |
commit | 84e94c9023c5d75f0ab10f9aa572003f9612b6ab (patch) | |
tree | 3751b6d7a3a336004ab82846b822b41c65e95699 /ld/emulparams | |
parent | 0cd530490f8751125412c6c061640752724537ed (diff) | |
download | gdb-84e94c9023c5d75f0ab10f9aa572003f9612b6ab.zip gdb-84e94c9023c5d75f0ab10f9aa572003f9612b6ab.tar.gz gdb-84e94c9023c5d75f0ab10f9aa572003f9612b6ab.tar.bz2 |
Add LM32 port.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/elf32lm32.sh | 10 | ||||
-rw-r--r-- | ld/emulparams/elf32lm32fd.sh | 16 |
2 files changed, 26 insertions, 0 deletions
diff --git a/ld/emulparams/elf32lm32.sh b/ld/emulparams/elf32lm32.sh new file mode 100644 index 0000000..b3fcd32 --- /dev/null +++ b/ld/emulparams/elf32lm32.sh @@ -0,0 +1,10 @@ +ARCH=lm32 +MACHINE= +SCRIPT_NAME=elf +OUTPUT_FORMAT="elf32-lm32" +MAXPAGESIZE=0x1000 +EMBEDDED=yes +TEMPLATE_NAME=elf32 +TEXT_START_ADDR=0x0000 +DYNAMIC_LINK=FALSE +ALIGNMENT=4 diff --git a/ld/emulparams/elf32lm32fd.sh b/ld/emulparams/elf32lm32fd.sh new file mode 100644 index 0000000..32a4d58 --- /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__ = .;} + } +" |