This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: patches for Irix binutils 2.18
On Mon, Oct 20, 2008 at 01:01:45PM +0000, Jay wrote:
> I forgot this:
>
> diff -u -r /src/binutils-2.18.orig/bfd/elflink.c /src/binutils-2.18/bfd/elflink.c
> --- /src/binutils-2.18.orig/bfd/elflink.c Fri Aug 24 07:01:08 2007
> +++ /src/binutils-2.18/bfd/elflink.c Mon Oct 20 05:23:47 2008
> @@ -7374,8 +7374,8 @@
> int symlen;
> bfd_vma a;
> bfd_vma b;
> - const int bufsz = 4096;
> - char symbuf [bufsz];
> + char symbuf [4096];
> + const int bufsz = sizeof(symbuf);
> const char * symend;
> bfd_boolean symbol_is_section = FALSE;
This has already been fixed in current CVS.
--
Alan Modra
Australia Development Lab, IBM