Committed: Fix for bfd/simple.c
Daniel Jacobowitz
drow@mvista.com
Fri Oct 25 09:20:00 GMT 2002
On Fri, Oct 25, 2002 at 05:43:15PM +0200, Hans-Peter Nilsson wrote:
> My autobarfer build horked with gcc-2.95.2. Presumably because
> naked attributes aren't allowed on types in prototypes or
> something. Adding parameter names in the prototypes let
> compilation finish, but the attributes were non-functional so
> there were the obvious warnings. Anyway, attribute placement
> should have been as is done elsewhere. Committed as obvious.
>
> bfd:
> * simple.c: Correct placement of ATTRIBUTE_UNUSED.
Thanks. If putting the attributes on the prototypes is really
nonfunctional, is cpu-ia64-opc.c broken? That's the only other example
of this in BFD.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
More information about the Binutils
mailing list