https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577

--- Comment #56 from dave.anglin at bell dot net ---
On 2019-07-05 7:57 p.m., elowe at elowe dot com wrote:
> Doing some more testing on my "gprel unfixed fix" 32-bit gcc, I found out that
> it seems to be missing the 32-bit pointer swizzling needed to make 32bit
> executables on 64-bit IA-64.  The test program assembler is missing an addp4
> instruction - when I add in this instruction, my second test program also
> works.
Could be.  The default hpux compiler generates ILP32 code and it's supposed to
be big-endian.
Could you compile hello world with "-c" option and run "objdump -r" on
resulting object?
Pointers are 32-bit in the ILP32 model.  I think we should have GPREL32MSB
relocation but
maybe we have 64-bit reloc.

https://refspecs.linuxfoundation.org/elf/IA64-SysV-psABI.pdf

Reply via email to