[LLVMdev] mixing PIC/static with exception handling
edA-qa mort-ora-y
eda-qa at disemia.com
Fri Oct 18 08:04:21 PDT 2013
I can narrow down my problem to handling the type_table pointer from the
LSDA. If the code is compiled with PIC then my type_table pointer is not
valid. I'm not clear is this can come from a parsing issue, or is it a
linker issue?
Platform is Linux x86_64.
On 18/10/13 10:36, edA-qa mort-ora-y wrote:
> 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?
--
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131018/cd9e0aaa/attachment.sig>
More information about the llvm-dev
mailing list