gas SEGV reporting an error + patch
Alan Modra
amodra@bigpond.net.au
Mon Jul 17 12:50:00 GMT 2006
More information about the Binutils mailing list
Mon Jul 17 12:50:00 GMT 2006
- Previous message (by thread): ld -shared -Bsymbolic and C++ shared library
- Next message (by thread): Retrieving exported symbols from a dll
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Jul 11, 2006 at 03:30:16PM -0400, Mat Hostetter wrote: > The bug is that 'report_op_error' incorrectly uses 'file' and 'line' > in the 'else' case where they are not initialized. Because the value > of 'file' is garbage, it is of course somewhat random whether you will > see a crash. > > The fix is trivial: since there is no location information available, > use 'as_bad' instead of 'as_bad_where', as it was already doing for > other errors in the 'else' case. Applied. Thanks! -- Alan Modra IBM OzLabs - Linux Technology Centre
- Previous message (by thread): ld -shared -Bsymbolic and C++ shared library
- Next message (by thread): Retrieving exported symbols from a dll
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list