* 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.
This commit is contained in:
parent
f65a9e5395
commit
a6dea726b0
5 changed files with 41 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
2013-01-23 Leif Ekblad <leif@rdos.net>
|
||||
|
||||
* 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.
|
||||
|
||||
2013-01-22 Roland McGrath <mcgrathr@google.com>
|
||||
|
||||
* emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
|
||||
|
|
|
@ -516,6 +516,7 @@ ALL_64_EMULATION_SOURCES = \
|
|||
eelf64mmix.c \
|
||||
eelf64ppc.c \
|
||||
eelf64ppc_fbsd.c \
|
||||
eelf64rdos.c \
|
||||
eelf64tilegx.c \
|
||||
eelf64tilegx_be.c \
|
||||
eelf_l1om.c \
|
||||
|
@ -2102,6 +2103,9 @@ eelf64ppc_fbsd.c: $(srcdir)/emulparams/elf64ppc_fbsd.sh \
|
|||
$(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
|
||||
$(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} elf64ppc_fbsd "$(tdir_elf64ppc_fbsd)"
|
||||
eelf64rdos.c: $(srcdir)/emulparams/elf64rdos.sh \
|
||||
$(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} elf64rdos "$(tdir_elf64rdos)"
|
||||
eelf64tilegx.c: $(srcdir)/emulparams/elf64tilegx.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
|
||||
$(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
|
|
|
@ -823,6 +823,7 @@ ALL_64_EMULATION_SOURCES = \
|
|||
eelf64mmix.c \
|
||||
eelf64ppc.c \
|
||||
eelf64ppc_fbsd.c \
|
||||
eelf64rdos.c \
|
||||
eelf64tilegx.c \
|
||||
eelf64tilegx_be.c \
|
||||
eelf_l1om.c \
|
||||
|
@ -1246,6 +1247,7 @@ distclean-compile:
|
|||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64mmix.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64ppc.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64ppc_fbsd.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64rdos.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64tilegx.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64tilegx_be.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386.Po@am__quote@
|
||||
|
@ -3586,6 +3588,9 @@ eelf64ppc_fbsd.c: $(srcdir)/emulparams/elf64ppc_fbsd.sh \
|
|||
$(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
|
||||
$(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} elf64ppc_fbsd "$(tdir_elf64ppc_fbsd)"
|
||||
eelf64rdos.c: $(srcdir)/emulparams/elf64rdos.sh \
|
||||
$(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} elf64rdos "$(tdir_elf64rdos)"
|
||||
eelf64tilegx.c: $(srcdir)/emulparams/elf64tilegx.sh \
|
||||
$(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
|
||||
$(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
|
|
|
@ -217,7 +217,7 @@ i[3-7]86-*-coff) targ_emul=i386coff ;;
|
|||
i[3-7]86-*-rtems*) targ_emul=elf_i386 ;;
|
||||
i[3-7]86-*-aros*) targ_emul=elf_i386 ;;
|
||||
i[3-7]86-*-rdos*) targ_emul=elf_i386 ;;
|
||||
x86_64-*-rdos*) targ_emul=elf_x86_64 ;;
|
||||
x86_64-*-rdos*) targ_emul=elf64rdos ;;
|
||||
i[3-7]86-*-bsd) targ_emul=i386bsd ;;
|
||||
i[3-7]86-*-bsd386) targ_emul=i386bsd ;;
|
||||
i[3-7]86-*-bsdi*) targ_emul=i386bsd ;;
|
||||
|
|
23
ld/emulparams/elf64rdos.sh
Normal file
23
ld/emulparams/elf64rdos.sh
Normal file
|
@ -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
|
Loading…
Reference in a new issue