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

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

Re: binutils-2.12 build failure for target msdos


From: Alan Modra
Subject: Re: binutils-2.12 build failure for target msdos
Date: Wed, 10 Apr 2002 22:29:14 +0930
User-agent: Mutt/1.3.25i

On Wed, Apr 10, 2002 at 01:40:52PM +0200, address@hidden wrote:
> 
> with binutils-2.12, configure --target=msdos configures alright,
> but compilation fails somewhere in gas (see output below).

Non-BFD targets are suffering some bit-rot.

gas/ChangeLog
        * as.c (parse_args <OPTION_VERSION>): Use VERSION is
        BFD_VERSION_STRING unavailable.
        * config/tc-i386.c (INLINE): Define (for non-BFD assembler).

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

Index: gas/as.c
===================================================================
RCS file: /cvs/src/src/gas/as.c,v
retrieving revision 1.35
diff -u -p -r1.35 as.c
--- gas/as.c    18 Jan 2002 11:28:36 -0000      1.35
+++ gas/as.c    10 Apr 2002 12:55:25 -0000
@@ -524,7 +524,11 @@ parse_args (pargc, pargv)
 
        case OPTION_VERSION:
          /* This output is intended to follow the GNU standards document.  */
+#ifdef BFD_ASSEMBLER
          printf (_("GNU assembler %s\n"), BFD_VERSION_STRING);
+#else
+         printf (_("GNU assembler %s\n"), VERSION);
+#endif
          printf (_("Copyright 2002 Free Software Foundation, Inc.\n"));
          printf (_("\
 This program is free software; you may redistribute it under the terms of\n\
Index: gas/config/tc-i386.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-i386.c,v
retrieving revision 1.114
diff -u -p -r1.114 tc-i386.c
--- gas/config/tc-i386.c        27 Mar 2002 16:22:04 -0000      1.114
+++ gas/config/tc-i386.c        10 Apr 2002 12:55:34 -0000
@@ -58,6 +58,14 @@
 #define DEFAULT_ARCH "i386"
 #endif
 
+#ifndef INLINE
+#if __GNUC__ >= 2
+#define INLINE __inline__
+#else
+#define INLINE
+#endif
+#endif
+
 static INLINE unsigned int mode_from_disp_size PARAMS ((unsigned int));
 static INLINE int fits_in_signed_byte PARAMS ((offsetT));
 static INLINE int fits_in_unsigned_byte PARAMS ((offsetT));



reply via email to

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