https://sourceware.org/bugzilla/show_bug.cgi?id=32499
--- Comment #6 from Nelson Chu <nelsonc1225 at sourceware dot org> --- (In reply to Sam James from comment #1) > > $ readelf libpr18841c.so -r > Relocation section '.rela.dyn' at offset 0x370 contains 9 entries: > Offset Info Type Sym. Value Sym. Name + > Addend > 000000001e30 000000000003 R_RISCV_RELATIVE 4ce > 000000001e38 000000000003 R_RISCV_RELATIVE 496 > 000000002000 000000000003 R_RISCV_RELATIVE 2000 > 000000001fd8 000200000002 R_RISCV_64 0000000000000000 > _ITM_deregisterTM[...] + 0 > 000000001fe0 000800000002 R_RISCV_64 0000000000002008 pz + 0 > 000000001fe8 000400000002 R_RISCV_64 0000000000000000 > __cxa_finalize@GLIBC_2.27 + 0 > 000000001ff0 000500000002 R_RISCV_64 0000000000000000 > _ITM_registerTMCl[...] + 0 > 000000001ff8 000600000002 R_RISCV_64 foo() foo + 0 > 000000002008 000300000002 R_RISCV_64 0000000000000000 zoo + 0 The foo is actually refers to ifunc resolver, so even though it's not IRELATIVE, it seems still should be come last. -- You are receiving this mail because: You are on the CC list for the bug.