Subject: Re: -current m68k libgcc.a broken?
To: None <tech-toolchain@netbsd.org, steve@mctavish.co.uk>
From: Takeshi Shibagaki <ie9t-sbgk@asahi-net.or.jp>
List: tech-toolchain
Date: 04/03/2002 08:34:13
----Next_Part(Wed_Apr__3_08:34:08_2002_581)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

From: Steve Woodford <steve@mctavish.co.uk>
Subject: Re: -current m68k libgcc.a broken?
Date: Tue, 2 Apr 2002 21:51:37 +0100 (BST)
Message-ID: <Pine.NEB.4.43.0204022148030.404-100000@localhost.mctavish.co.uk>

steve> Anyone on tech-toolchain seen something like this before?

In mac68k-port, I had seen same problem twice.
I attached a patch it will be corrected this problem.

Takeshi Shibagaki
ie9t-sbgk@asahi-net.or.jp

----Next_Part(Wed_Apr__3_08:34:08_2002_581)--
Content-Type: Multipart/Mixed;
 boundary="--BOUNDARY1(Wed_Apr__3_08:34:08_2002_777)--"
Content-Transfer-Encoding: 7bit

----BOUNDARY1(Wed_Apr__3_08:34:08_2002_777)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Description: libgcc.diff
Content-Disposition: attachment; filename="libgcc.diff"

Index: gcc/config/m68k/netbsd-elf.h
===================================================================
RCS file: /cvsroot/gnusrc/gnu/dist/gcc/config/m68k/netbsd-elf.h,v
retrieving revision 1.7
diff -u -r1.7 netbsd-elf.h
--- gcc/config/m68k/netbsd-elf.h	2000/12/14 06:38:50	1.7
+++ gcc/config/m68k/netbsd-elf.h	2002/04/02 23:32:54
@@ -32,6 +32,8 @@
 #define NETBSD_ELF
 #include <netbsd.h>
 
+#define OBJECT_FORMAT_ELF
+
 /* 68020 with 68881 */
 #define TARGET_DEFAULT (MASK_BITFIELD|MASK_68881|MASK_68020)
 
Index: toolchain/gcc/config/m68k/netbsd-elf.h
===================================================================
RCS file: /cvsroot/gnusrc/gnu/dist/toolchain/gcc/config/m68k/netbsd-elf.h,v
retrieving revision 1.6
diff -u -r1.6 netbsd-elf.h
--- toolchain/gcc/config/m68k/netbsd-elf.h	2002/01/29 01:02:06	1.6
+++ toolchain/gcc/config/m68k/netbsd-elf.h	2002/04/02 23:32:55
@@ -32,6 +32,8 @@
 #define NETBSD_ELF
 #include <netbsd.h>
 
+#define OBJECT_FORMAT_ELF
+
 /* Default target comes from config.gcc */
 #undef TARGET_DEFAULT  
 #define TARGET_DEFAULT TARGET_CPU_DEFAULT 

----BOUNDARY1(Wed_Apr__3_08:34:08_2002_777)----

----Next_Part(Wed_Apr__3_08:34:08_2002_581)----