This is the mail archive of the binutils@sourceware.cygnus.com 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]

Re: [patch]: ld version script grammar failures


In message <telnet.0006050248160.12875-100000@juno.ifh.de>, Michael Matz writes
:
>near. Good :) As I pointed out some weeks ago, ld has problems with the
>C++ symbols support in version scripts. In the branch, and in HEAD. It
>segfaults for version scripts containing 'extern "C++" { bla }'
>directives. This is due to a wrong yacc rule (patch for ldgram.y).
>
>And it doesn't recognize '::' in those C++ symbols, due to too restrictive
>LEX symbols definitions (second patch for ldlex.l). 

Your patch looks OK to me.  If it is approved for the trunk it can go into the 
branch as well.  (Next time, please supply a ChangeLog entry too.)

Thanks

p.



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