more long long problems "objdump --debugging"

Greg McGary greg@mcgary.org
Fri Jan 11 16:22:00 GMT 2008
Andreas Schwab wrote:
> Greg McGary <greg@mcgary.org> writes:
>
>   
>> stabs.c uses bfd_vma to hold enum members.  That doesn't work when bfd_vma
>> is 32-bits but the enum member needs 64.
>>     
>
> Enumeration constants can only be in the range of an int.
>   

This is a GNU extension.  The only complaint comes with -pedantic:
    warning: ISO C restricts enumerator values to range of 'int'

If GCC generates debug info for enumerator constants bigger than int, 
binutils ought to support them.

G



More information about the Binutils mailing list