[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/21132] [hppa-linux] pie support doesn't work

From: amodra at gmail dot com
Subject: [Bug ld/21132] [hppa-linux] pie support doesn't work
Date: Wed, 15 Feb 2017 07:22:13 +0000


--- Comment #7 from Alan Modra <amodra at gmail dot com> ---
It looks like this is a problem with ifunc.  If I link with -z nocombreloc to
keep dynamic relocs in separate sections, then I see

Relocation section '.rela.got' at offset 0x314 contains 20 entries:
 Offset     Info    Type                Sym. Value  Symbol's Name + Addend
00001150  00000481 R_PARISC_IPLT          00000000   __gmon_start__ + 0
00001158  00000581 R_PARISC_IPLT          00000000  
address@hidden + 0
00001160  00000781 R_PARISC_IPLT          00000000   _ITM_registerTMCloneTable
+ 0
00001198  00000001 R_PARISC_DIR32                    1024
0000119c  00000001 R_PARISC_DIR32                    1028

Huh, how did those ifunc relocs get to be there?  They wrote over top of the
proper got reloc entries for .Lpmain, .Lp__libc_csu_init, and

So .rela.plt isn't being allocated a large enough reloc count for ifunc.  Its
buffer is thus too small and writes go over the end and into the buffer for

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]