I was having problems with my exception handling due to mixing PIC and
non-PIC code into my executable. Now I'm confused as to how I'm supposed
to do this correctly when I do have to mix different code types.
The basic setup:
- shared library which throws and catches exceptions, some exceptions
leave it's library bounds
- main executable which throws and catches exceptions, exceptions cross
library bounds
Do I need to have two different personality routines for each of the
PIC/non-PIC components? Is the some linker flag I can set which allows
me to just use PIC everywhere?