From d2012d17180930c0b701d82262d91163f10dc113 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Fri, 9 May 2003 20:05:04 +0000 Subject: [PATCH] * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o. (earmelfb.c, earmelfb_linux.c): New rules. * Makefile.in: Regenerated. * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files. --- ld/ChangeLog | 7 +++++++ ld/Makefile.am | 11 +++++++++++ ld/Makefile.in | 11 +++++++++++ ld/configure.tgt | 2 ++ ld/emulparams/armelfb.sh | 2 ++ ld/emulparams/armelfb_linux.sh | 2 ++ 6 files changed, 35 insertions(+) create mode 100644 ld/emulparams/armelfb.sh create mode 100644 ld/emulparams/armelfb_linux.sh diff --git a/ld/ChangeLog b/ld/ChangeLog index 2cad36cc3bf..956c22f5f88 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2003-05-09 Daniel Jacobowitz + + * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o. + (earmelfb.c, earmelfb_linux.c): New rules. + * Makefile.in: Regenerated. + * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files. + 2003-05-09 Nick Clifton * ldlang.c (lang_size_sections_1): Default to generating a diff --git a/ld/Makefile.am b/ld/Makefile.am index d19b6a11a3f..a09ccfec73b 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -118,8 +118,10 @@ ALL_EMULATIONS = \ earmaoutl.o \ earmcoff.o \ earmelf.o \ + earmelfb.o \ earmelf_fbsd.o \ earmelf_linux.o \ + earmelfb_linux.o \ earmelf_nbsd.o \ earmelfb_nbsd.o \ earmelf_oabi.o \ @@ -457,6 +459,10 @@ earmelf.c: $(srcdir)/emulparams/armelf.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} armelf "$(tdir_armelf)" +earmelfb.c: $(srcdir)/emulparams/armelfb.sh $(srcdir)/emulparams/armelf.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ + $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} armelfb "$(tdir_armelfb)" earmelf_oabi.c: $(srcdir)/emulparams/armelf_oabi.sh \ $(srcdir)/emultempl/armelf_oabi.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} armelf_oabi "$(tdir_armelf)" @@ -469,6 +475,11 @@ earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)" +earmelfb_linux.c: $(srcdir)/emulparams/armelfb_linux.sh \ + $(srcdir)/emulparams/armelf_linux.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ + $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} armelfb_linux "$(tdir_armelfb_linux)" earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \ $(srcdir)/emulparams/armelf.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ diff --git a/ld/Makefile.in b/ld/Makefile.in index 90b68c53e22..f3e7cc5b242 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -232,8 +232,10 @@ ALL_EMULATIONS = \ earmaoutl.o \ earmcoff.o \ earmelf.o \ + earmelfb.o \ earmelf_fbsd.o \ earmelf_linux.o \ + earmelfb_linux.o \ earmelf_nbsd.o \ earmelfb_nbsd.o \ earmelf_oabi.o \ @@ -1183,6 +1185,10 @@ earmelf.c: $(srcdir)/emulparams/armelf.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} armelf "$(tdir_armelf)" +earmelfb.c: $(srcdir)/emulparams/armelfb.sh $(srcdir)/emulparams/armelf.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ + $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} armelfb "$(tdir_armelfb)" earmelf_oabi.c: $(srcdir)/emulparams/armelf_oabi.sh \ $(srcdir)/emultempl/armelf_oabi.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} armelf_oabi "$(tdir_armelf)" @@ -1195,6 +1201,11 @@ earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)" +earmelfb_linux.c: $(srcdir)/emulparams/armelfb_linux.sh \ + $(srcdir)/emulparams/armelf_linux.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ + $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} armelfb_linux "$(tdir_armelfb_linux)" earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \ $(srcdir)/emulparams/armelf.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ diff --git a/ld/configure.tgt b/ld/configure.tgt index 66f2f5e7d8b..180eb9437af 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -240,10 +240,12 @@ arm-*-netbsd*) targ_emul=armnbsd; arm-*-nto*) targ_emul=armnto ;; arm-*-openbsd*) targ_emul=armnbsd ;; arm-*-rtems*) targ_emul=armelf ;; +armeb-*-elf) targ_emul=armelfb ;; arm-*-elf) targ_emul=armelf ;; arm-*-kaos*) targ_emul=armelf ;; arm9e-*-elf) targ_emul=armelf ;; arm-*-oabi) targ_emul=armelf_oabi ;; +arm*b-*-linux-gnu*) targ_emul=armelfb_linux; targ_extra_emuls=armelfb ;; arm*-*-linux-gnu*) targ_emul=armelf_linux; targ_extra_emuls=armelf ;; arm*-*-uclinux*) targ_emul=armelf_linux; targ_extra_emuls=armelf ;; arm*-*-conix*) targ_emul=armelf ;; diff --git a/ld/emulparams/armelfb.sh b/ld/emulparams/armelfb.sh new file mode 100644 index 00000000000..2d8f38217ac --- /dev/null +++ b/ld/emulparams/armelfb.sh @@ -0,0 +1,2 @@ +. ${srcdir}/emulparams/armelf.sh +OUTPUT_FORMAT="elf32-bigarm" diff --git a/ld/emulparams/armelfb_linux.sh b/ld/emulparams/armelfb_linux.sh new file mode 100644 index 00000000000..9ce9e9abf39 --- /dev/null +++ b/ld/emulparams/armelfb_linux.sh @@ -0,0 +1,2 @@ +. ${srcdir}/emulparams/armelf_linux.sh +OUTPUT_FORMAT="elf32-bigarm" -- 2.30.2