Hi Diana,
I made a merge request for the available patch to LLVM upstream,
http://reviews.llvm.org/D13104, reviewers raised some fair points
and do not seem inclined to consider this workaround.
Though it is not still clear to me whether this is a bug in the
compiler or the linker? My understanding is, when asking for PIC,
there should be no absolute relocations in the code, nor in the
section .eh_frame, so it is the compiler that should emit relative
references in the first place. This means there is a bug in the
compiler. What you are discussing is some kind of fallback feature
that the gnu/bfd linker exhibits, with the ability to transform
absolute relocations to relative addresses when linking pic &
read only sections. Is this correct? Or can you please clarify this
point?
Regarding a schedule, I am testing the renderscript debugger in
android mips and I would like to have a fix upstream for this issue,
as it does not allow to load applications built for some reason with
the .eh_frame section. Do you have a rough timeline for this
feature?
Thanks,
Dean
--
Dean De Leo
Codeplay Software Ltd
45 York Place, Edinburgh, EH1 3HP
Tel: 0131 466 0503
Fax: 0131 557 6600
Website: http://www.codeplay.com
Twitter: https://twitter.com/codeplaysoft
This email and any attachments may contain confidential and /or privileged information and is for use by the addressee only. If you are not the intended recipient, please notify Codeplay Software Ltd immediately and delete the message from your computer. You may not copy or forward it, or use or disclose its contents to any other person. Any views or other information in this message which do not relate to our business are not authorized by Codeplay software Ltd, nor does this message form part of any contract unless so stated.
As internet communications are capable of data corruption Codeplay Software Ltd does not accept any responsibility for any changes made to this message after it was sent. Please note that Codeplay Software Ltd does not accept any liability or responsibility for viruses and it is your responsibility to scan any attachments.
Company registered in England and Wales, number: 04567874
Registered office: 81 Linkfield Street, Redhill RH1 6BY