bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BFD 2.16.1 "assertion failure" and "internal error"


From: Nick Clifton
Subject: Re: BFD 2.16.1 "assertion failure" and "internal error"
Date: Thu, 14 Jul 2005 08:13:43 +0100
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

Hi Dan,

I think that the simplest change we could make would be to have BFD detect object files with a magic number of 0x188 and then have it issue an error message along the lines of "please decompress this file before passing it to BFD". What do you think ?

This makes sense, so I've attached a patch that does just this.

Let me know when/if you incorporate it to the cvs tree, and when the patch that you proposed makes it in.

I have now checked both your patch in and mine as well.

Cheers
  Nick

bfd/ChangeLog
2005-07-14  Daniel Marques  <address@hidden>
            Nick Clifton  <address@hidden>

        * coff-alpha.c (alpha_ecoff_bad_format_hook): Detect compressed
        Alpha binaries and issue a helpful error message.
        (alpha_ecoff_swap_reloc_out): Increase maximum allowed internal
        symbol index to 15 to allow for binaries produced by DEC
        compilers.

include/coff/ChangeLog
2005-07-14  Daniel Marques  <address@hidden>

        * alpha.h (ALPHA_ECOFF_COMPRESSEDMAG): Define.
        * ecoff.h (ALPHA_MAGIC_COMPRESSED): Define.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]