This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] Preliminary AROS support
- From: Fabio Alemagna <falemagn at studenti dot unina dot it>
- To: <binutils at sources dot redhat dot com>
- Date: Sat, 18 Jan 2003 18:27:48 +0100 (CET)
- Subject: [PATCH] Preliminary AROS support
Here's the small set of patches needed to make the build system aware of
AROS and build a cross-linker.
Regards,
Fabio Alemagna
2002-01-19 Fabio Alemagna <falemagn@aros.org>
* config.sub: Handle -aros* target.
Index: config.sub
===================================================================
RCS file: /cvs/src/src/config.sub,v
retrieving revision 1.39
diff -u -r1.39 config.sub
--- config.sub 8 Jan 2003 22:09:30 -0000 1.39
+++ config.sub 18 Jan 2003 17:04:48 -0000
@@ -1227,6 +1227,9 @@
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
os=-mint
;;
+ -aros*)
+ os=-aros
+ ;;
-none)
;;
*)
2002-01-19 Fabio Alemagna <falemagn@aros.org>
* configure.in: Handle *-*-aros*
* configure: Regenerated from configure.in
Index: configure.in
===================================================================
RCS file: /cvs/src/src/gas/configure.in,v
retrieving revision 1.124
diff -u -r1.124 configure.in
--- configure.in 3 Jan 2003 21:47:20 -0000 1.124
+++ configure.in 18 Jan 2003 17:07:00 -0000
@@ -486,6 +486,7 @@
*-*-xray | *-*-hms) fmt=coff ;;
*-*-sim) fmt=coff ;;
*-*-elf | *-*-sysv4* | *-*-solaris*) fmt=elf dev=yes ;;
+ *-*-aros*) fmt=elf em=linux bfd_gas=yes ;;
*-*-vxworks) fmt=aout ;;
*-*-netware) fmt=elf ;;
esac
2002-01-19 Fabio Alemagna <falemagn@aros.org>
* config.bfd: Handle i[3456]86-*-aros*
Index: config.bfd
===================================================================
RCS file: /cvs/src/src/bfd/config.bfd,v
retrieving revision 1.128
diff -u -r1.128 config.bfd
--- config.bfd 3 Jan 2003 21:12:25 -0000 1.128
+++ config.bfd 18 Jan 2003 17:17:16 -0000
@@ -374,6 +374,9 @@
targ_defvec=bfd_elf32_i386_vec
targ_selvecs=i386coff_vec
;;
+ i[3456]86-*-aros*)
+ targ_defvec=bfd_elf32_i386_vec
+ ;;
i[3456]86-*-chorus*)
targ_defvec=bfd_elf32_i386_vec
;;
2002-01-19 Fabio Alemagna <falemagn@aros.org>
* configure.tgt: Handle i[3456]86-*-aros*
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/ld/configure.tgt,v
retrieving revision 1.116
diff -u -r1.116 configure.tgt
--- configure.tgt 6 Jan 2003 16:13:57 -0000 1.116
+++ configure.tgt 18 Jan 2003 17:32:35 -0000
@@ -135,6 +135,7 @@
i[3456]86-*-rtemscoff*) targ_emul=i386coff ;;
i[3456]86-*-rtemself*) targ_emul=elf_i386 ;;
i[3456]86-*-rtems*) targ_emul=elf_i386 ;;
+i[3456]86-*-aros*) targ_emul=elf_i386 ;;
i[3456]86-*-bsd) targ_emul=i386bsd ;;
i[3456]86-*-bsd386) targ_emul=i386bsd ;;
i[3456]86-*-bsdi*) targ_emul=i386bsd ;;