This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Patches for RDOS
- From: "Leif Ekblad" <leif at rdos dot net>
- To: <binutils at sources dot redhat dot com>
- Date: Mon, 12 Dec 2005 16:06:14 +0100
- Subject: Patches for RDOS
- References: <029f01c5f5c7$02fc18a0$410aa8c0@codab.home>
- Reply-to: leif at rdos dot net
2005-12-12 Leif Ekblad leif@rdos.net
* configure.in: Added support for target RDOS
* bfd/config.bfd: Added RDOS targets
* gas/configure.tgt: Added RDOS target format
* ld/configure.tgt: Added RDOS target format
--- binutils-org/configure.in 2005-06-12 21:33:06.000000000 +0200
+++ binutils-2.16.1/configure.in 2005-12-12 15:16:53.000000000 +0100
@@ -722,6 +722,9 @@ case "${target}" in
mips*-*-*)
noconfigdirs="$noconfigdirs gprof ${libgcj}"
;;
+ i[[3456789]]86-*-rdos*)
+ noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
+ ;;
romp-*-*)
noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss
${libgcj}"
;;
--- binutils-org/bfd/config.bfd 2005-01-31 18:18:47.000000000 +0100
+++ binutils-2.16.1/bfd/config.bfd 2005-12-12 15:24:30.000000000 +0100
@@ -585,6 +585,10 @@ case "${targ}" in
# FIXME: This should eventually be checked at runtime.
targ_cflags=-DSTRICT_PE_FORMAT
;;
+ i[3-7]86-*-rdos*)
+ targ_defvec=bfd_elf32_i386_vec
+ targ_selvecs=i386coff_vec
+ ;;
i[3-7]86-*-mingw32* | i[3-7]86-*-cygwin* | i[3-7]86-*-winnt | i[3-7]86-*-pe)
targ_defvec=i386pe_vec
targ_selvecs="i386pe_vec i386pei_vec bfd_elf32_i386_vec"
--- binutils-org/gas/configure.tgt 2005-01-31 18:18:51.000000000 +0100
+++ binutils-2.16.1/gas/configure.tgt 2005-12-12 15:30:13.000000000 +0100
@@ -224,6 +224,7 @@ case ${generic_target} in
i386-*-nto-qnx*) fmt=elf ;;
i386-*-*nt*) fmt=coff em=pe ;;
i386-*-chaos) fmt=elf ;;
+ i386-*-rdos*) fmt=elf ;;
i860-*-*) fmt=elf endian=little ;;
--- binutils-org/ld/configure.tgt 2005-02-08 20:54:27.000000000 +0100
+++ binutils-2.16.1/ld/configure.tgt 2005-12-12 15:32:53.000000000 +0100
@@ -146,6 +146,7 @@ i[3-7]86-*-rtemscoff*) targ_emul=i386cof
i[3-7]86-*-rtemself*) targ_emul=elf_i386 ;;
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 ;;
i[3-7]86-*-bsd) targ_emul=i386bsd ;;
i[3-7]86-*-bsd386) targ_emul=i386bsd ;;
i[3-7]86-*-bsdi*) targ_emul=i386bsd ;;
Regards,
Leif Ekblad
www.rdos.net/rdos