[PATCH] D13104: Mips - Mark the section .eh_frame as writeable for pic
Rafael EspĂndola via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 10:42:49 PDT 2015
> + // The section .eh_frame exhibits absolute addresses which require fixups.
> + // While the gnu linker can transform them in relative references at
> + // linking time, at the moment the mclinker does not provide this
> + // functionality. Setting the section as writable allows the fixups to be
> + // resolved at run time.
> + if(RelocM == Reloc::PIC_){
> + eh_frame_writable = true;
> + }
Can't we change our created .eh_frame to use relative references?
Failing that, we this should be more specific (android only at least).
Cheers,
Rafael
More information about the llvm-commits
mailing list