bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PATCH: Add i386-*-netbsdpe target


From: TAMURA Kent
Subject: PATCH: Add i386-*-netbsdpe target
Date: Wed, 22 May 2002 18:12:10 +0900 (JST)
User-agent: REMI/1.14.2 (Hokuhoku-Ōshima) Chao/1.14.1 (Rokujizō) APEL/10.3 Emacs/21.2 (i386-unknown-netbsdelf1.5ZC) MULE/5.0 (SAKAKI)

The attached patch adds i386-*-netbsdpe (Win32 on NetBSD), which
is used by PEACE [1].  Would you incorporate it?

bfd:
2002-xx-xx  TAMURA Kent <address@hidden>

        * config.bfd: Add a target for i386-netbsdpe.

gas:
2002-xx-xx  TAMURA Kent <address@hidden>

        * configure.in: Add a target for i386-netbsdpe.

ld:
2002-xx-xx  TAMURA Kent <address@hidden>

        * configure.tgt: Add a target for i386-netbsdpe.


[1] http://chiharu.hauN.org/peace/
-- 
TAMURA Kent <address@hidden> <address@hidden>

Index: bfd/config.bfd
===================================================================
RCS file: /cvs/src/src/bfd/config.bfd,v
retrieving revision 1.92
diff -u -u -r1.92 config.bfd
--- bfd/config.bfd      21 May 2002 15:10:55 -0000      1.92
+++ bfd/config.bfd      22 May 2002 09:00:28 -0000
@@ -381,6 +381,10 @@
     targ_defvec=bfd_elf32_i386_vec
     targ_selvecs=i386netbsd_vec
     ;;
+  i[3456]86-*-netbsdpe*)
+    targ_defvec=i386pe_vec
+    targ_selvecs="i386pe_vec i386pei_vec bfd_elf32_i386_vec"
+    ;;
   i[3456]86-*-netbsdaout* | i[3456]86-*-netbsd* | i[3456]86-*-openbsd*)
     targ_defvec=i386netbsd_vec
     targ_selvecs="bfd_elf32_i386_vec i386bsd_vec"
Index: gas/configure.in
===================================================================
RCS file: /cvs/src/src/gas/configure.in,v
retrieving revision 1.100
diff -u -u -r1.100 configure.in
--- gas/configure.in    21 May 2002 20:01:53 -0000      1.100
+++ gas/configure.in    22 May 2002 09:00:31 -0000
@@ -250,6 +250,7 @@
       i386-*-beoself* | i386-*-beos*) fmt=elf bfd_gas=yes ;;
       i386-*-bsd*)          fmt=aout em=386bsd ;;
       i386-*-netbsd0.8)     fmt=aout em=386bsd ;;
+      i386-*-netbsdpe*)     fmt=coff em=pe bfd_gas=yes ;;
       i386-*-netbsd*)       em=nbsd bfd_gas=yes
                            case ${cpu} in
                              x86_64)   fmt=elf ;;
Index: ld/configure.tgt
===================================================================
RCS file: /cvs/src/src/ld/configure.tgt,v
retrieving revision 1.87
diff -u -u -r1.87 configure.tgt
--- ld/configure.tgt    21 May 2002 15:11:00 -0000      1.87
+++ ld/configure.tgt    22 May 2002 09:00:34 -0000
@@ -160,6 +160,9 @@
 i[3456]86-*-netbsdelf*)        targ_emul=elf_i386
                        targ_extra_emuls=i386nbsd
                        ;;
+i[3456]86-*-netbsdpe*) targ_emul=i386pe
+                       targ_extra_ofiles="deffilep.o pe-dll.o"
+                       ;;
 i[3456]86-*-netbsd*)   targ_emul=i386nbsd
                        targ_extra_emuls=elf_i386
                        ;;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]