cancel
Showing results for 
Search instead for 
Did you mean: 

--version-script ld option

lara
Advisor

--version-script ld option

Hi,

Iam trying to create a object file on linux using ld -r option and a mapfile( --version-script option ) to export the symbols. However, ld seems to ignore the mapfile if I try to use it with -r option( to build an object file ) while accepts it when I specify -G option( shared library ). So is it true that it's not possible to use the mapfile while creating object files on linux or else am I doing something wrong.

The version of ld Iam using is 2.11.93.0.2

Thanks,
Lara