diff options
author | Alan Modra <amodra@gmail.com> | 2013-01-23 10:31:13 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-01-23 10:31:13 +0000 |
commit | a6dea726b0f30bee96e25711fd37e493979842ba (patch) | |
tree | 563917def729309cb9582f708a143213dc271dd1 /ld/emulparams | |
parent | f65a9e5395502dca6bea726c44b0e78ebf104886 (diff) | |
download | gdb-a6dea726b0f30bee96e25711fd37e493979842ba.zip gdb-a6dea726b0f30bee96e25711fd37e493979842ba.tar.gz gdb-a6dea726b0f30bee96e25711fd37e493979842ba.tar.bz2 |
* Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
(eelf64rdos.c): New rule.
* emulparams/elf64rdos.sh: New file.
* configure.tgt (x86_64-*-rdos*): Use above.
* Makefile.in: Regenerate.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/elf64rdos.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ld/emulparams/elf64rdos.sh b/ld/emulparams/elf64rdos.sh new file mode 100644 index 0000000..021bc70 --- /dev/null +++ b/ld/emulparams/elf64rdos.sh @@ -0,0 +1,23 @@ +. ${srcdir}/emulparams/plt_unwind.sh +SCRIPT_NAME=elf +ELFSIZE=64 +OUTPUT_FORMAT="elf64-x86-64" +NO_REL_RELOCS=yes +MAXPAGESIZE=0x1000 +COMMONPAGESIZE=0x1000 +TEXT_START_ADDR=0x180E0000000 +LARGE_DATA_ADDR=0x80020000000 +ARCH="i386:x86-64" +MACHINE= +TEMPLATE_NAME=elf32 +GENERATE_SHLIB_SCRIPT=yes +GENERATE_PIE_SCRIPT=yes +LARGE_SECTIONS=yes +IREL_IN_PLT= + +if [ "x${host}" = "x${target}" ]; then + case " $EMULATION_LIBPATH " in + *" ${EMULATION_NAME} "*) + NATIVE=yes + esac +fi |