This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: alias of hidden function


On 10/05/2010 17:16, Dave Korn wrote:
> On 10/05/2010 16:19, Jack Howarth wrote:
> 
>> Compiler executable checksum: c54eb6db87684e4d5a5bb9ad02c2b2c4
>> 20081222_1.c:16: error: 'EXT_x' aliased to undefined symbol 'INT_x'

>   The error comes from finish_aliases_1 in varasm.c, where it is suppressed in
> the case of a weakref.  I don't know why.

  Well, I can infer that it would be because it's legitimate not to define a
weak symbol.  I guess the problem might be that find_decl_and_mark_needed when
called on EXT_x gets confused by the combination of an asm decl as well as an
alias maybe?

    cheers,
      DaveK


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]