* fix build breakage
@ 2009-05-27 13:35 Nathan Sidwell
0 siblings, 0 replies; 2+ messages in thread
From: Nathan Sidwell @ 2009-05-27 13:35 UTC (permalink / raw)
To: binutils
[-- Attachment #1: Type: text/plain, Size: 222 bytes --]
My --enable-targets=all build failed with an error in sysdump.c -- passing a raw
string to printf. I committed this obvious fix.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
[-- Attachment #2: all.diff --]
[-- Type: text/plain, Size: 610 bytes --]
2009-05-27 Nathan Sidwell <nathan@codesourcery.com>
* sysdump.c (tab): Use puts rather than two printfs.
Index: sysdump.c
===================================================================
RCS file: /cvs/src/src/binutils/sysdump.c,v
retrieving revision 1.20
diff -c -3 -p -r1.20 sysdump.c
*** sysdump.c 15 Oct 2007 02:00:56 -0000 1.20
--- sysdump.c 27 May 2009 13:32:53 -0000
*************** tab (int i, char *s)
*** 529,536 ****
if (s)
{
p ();
! printf (s);
! printf ("\n");
}
}
--- 529,535 ----
if (s)
{
p ();
! puts (s);
}
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Fix build breakage
@ 2016-05-13 6:30 Alan Modra
0 siblings, 0 replies; 2+ messages in thread
From: Alan Modra @ 2016-05-13 6:30 UTC (permalink / raw)
To: binutils
Committed.
* config/obj-coff.c (weak_uniquify): Delete unused var.
diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c
index 24f22b5..b3bafee 100644
--- a/gas/config/obj-coff.c
+++ b/gas/config/obj-coff.c
@@ -1097,7 +1097,6 @@ weak_altname2name (const char * name)
static const char *
weak_uniquify (const char * name)
{
- char *ret;
const char * unique = "";
#ifdef TE_PE
--
Alan Modra
Australia Development Lab, IBM
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-13 6:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-27 13:35 fix build breakage Nathan Sidwell
2016-05-13 6:30 Fix " Alan Modra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).