https://sourceware.org/bugzilla/show_bug.cgi?id=21132
--- 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 __libc_start_main@GLIBC_2.2 + 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 .Lp__libc_csu_fini! 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 .rela.got. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils