This is the mail archive of the binutils@sources.redhat.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]
Other format: [Raw text]

Language support in version script


According to the ld manual, version script supports:

   You can also specify the language in the version script:
                                                                                
     VERSION extern "lang" { version-script-commands }
                                                                                
   The supported `lang's are `C', `C++', and `Java'.  The linker will
iterate over the list of symbols at the link time and demangle them
according to `lang' before matching them to the patterns specified in
`version-script-commands'.

I am not sure what it tries to say and there are no examples. After
some digging, version script does support

	extern "lang" { symbol; ...}

as symbol names. Does ld manual need some improvements.?


H.J.


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