[patch]: ld version script grammar failures

Philip Blundell pb@labs.futuretv.com
Mon Jun 5 00:28:00 GMT 2000


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.




More information about the Binutils mailing list