This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Bfd patch "Write contents if writeable" patch breaks gas build.
On Tue, Apr 16, 2002 at 07:03:19AM +0100, Nick Clifton wrote:
> Hi Donn,
>
> > This patch (trivially) breaks gas, because as.c (in some
> > configurations) sets the now-removed variable _bfd_chunksize.
>
> Err, it does ? Which configurations ?
Any bfd assembler. Um, I didn't post the fix I committed. Here 'tis.
gas/ChangeLog
* as.c (main): Don't reference _bfd_chunksize.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
Index: as.c
===================================================================
RCS file: /cvs/src/src/gas/as.c,v
retrieving revision 1.36
diff -u -p -r1.36 as.c
--- as.c 10 Apr 2002 12:59:58 -0000 1.36
+++ as.c 16 Apr 2002 04:55:56 -0000
@@ -797,13 +797,7 @@ main (argc, argv)
textdomain (PACKAGE);
if (debug_memory)
- {
-#ifdef BFD_ASSEMBLER
- extern long _bfd_chunksize;
- _bfd_chunksize = 64;
-#endif
- chunksize = 64;
- }
+ chunksize = 64;
#ifdef HOST_SPECIAL_INIT
HOST_SPECIAL_INIT (argc, argv);