[Bug target/71922] arm: ifuncs are broken in for arm (gcc generates incorrect code in object file)

2016-07-18 Thread dimitry at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71922 --- Comment #6 from dimitry --- ok one correction - this is objdump of the .so file, not the object file. What I expected to see here is branch to ptl (which uses result of ARM_IRELATIVE reloc) This does not seem to be the case. (the reloc

[Bug target/71922] arm: ifuncs are broken in for arm (gcc generates incorrect code in object file)

2016-07-18 Thread dimitry at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71922 --- Comment #4 from dimitry --- (I am from the bionic team) I do not have access to arm ld-linux.so. The problem here is that code generated by gcc is incorrect for arm.

[Bug target/71922] arm: ifuncs are broken in for arm (gcc generates incorrect code in object file)

2016-07-18 Thread dimitry at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71922 --- Comment #2 from dimitry --- The test is failing at runtime. which was the reason I started looking at objdump

[Bug c/71922] New: arm: ifuncs are broken in for arm (gcc generates incorrect code in object file)

2016-07-18 Thread dimitry at google dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dimitry at google dot com Target Milestone: --- This is code in question: https://android.googlesource.com/platform/bionic/+/master/tests/libs/dlopen_testlib_ifunc.c