Hi all, I 'm making a shared object for ARM9 with -fprofile-arcs and -ftest-coverage options. GCC version 3.3.2
I 'm making the shared object with in 2 cases : 1) By doing an -fpic over the files to be included in the shared object. 2) By not doing an -fpic over the files to be included in the shared object. In the first case ... I get a segmentation fault at the point where it tries to access the symbol from the shared object. In the second case ... the executable runs like honey. Doubt : ~~~~ Why such a difference? In fact the 1st option should have worked properly? Any special thing done by the Dynamic Linker which the Static Linker does or Dosen't do? Please help. Thanks. Regards -- wrr