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

2017-03-28 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71922 Ramana Radhakrishnan changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

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

2016-07-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71922 --- Comment #8 from Andrew Pinski --- If anything this might be a binutils bug and not a GCC bug based on your description and should be reported there (http://sourceware.org/bugzilla/ ) instead of here.

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

2016-07-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71922 --- Comment #7 from Andrew Pinski --- More to the point GCC just outputs: .globl FUNC .type FUNC, @gnu_indirect_function .set FUNC, __resolve_FUNC How did you configure GCC?

[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 pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71922 --- Comment #5 from Andrew Pinski --- What is gcc producing wrong then? Because if you are part of the bionic team you should understand how relocs work. If it is a wrong relocation then binutils might be causing the issue rather thanot gcc.

[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 pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71922 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code --- Comment #3 from Andrew

[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 target/71922] arm: ifuncs are broken in for arm (gcc generates incorrect code in object file)

2016-07-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71922 Andrew Pinski changed: What|Removed |Added Target||arm*-* Component|c