This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: patches for Irix binutils 2.18
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Jay <jay dot krell at cornell dot edu>
- Cc: binutils <binutils at sourceware dot org>
- Date: Mon, 20 Oct 2008 11:28:44 +1030
- Subject: Re: patches for Irix binutils 2.18
- References: <COL101-W44D99C29313F8F86560C68E62C0@phx.gbl>
On Sun, Oct 19, 2008 at 01:24:25PM +0000, Jay wrote:
>
> These small reasonable patches let you build binutils 2.18 with Irix's /usr/WorkShop/usr/bin/ncc, which is an old EDG compiler, and which seems to come with the system "for no additional cost".
>
>
> specifically:
> no C++ comments
Applying to current mainline sources.
* config/bfin-parse.y: Use C style comments.
* config/tc-bfin.c: Likewise.
* config/tc-m68k.c: Likewise.
* config/tc-mips.c: Likewise.
> no free cast from non-void* to other non-void* -- go through void* or cast to the correct type
I don't see the need for this. The obstack_alloc function already
returns void *, as does the obstack_alloc macro.
--
Alan Modra
Australia Development Lab, IBM