aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/loongarch/readelflib.c
AgeCommit message (Collapse)Author
2023-03-28LoongArch: ldconfig: Add comments for using EF_LARCH_OBJABI_V1caiyinyu
We added Adhemerval Zanella's comment to explain the reason for using EF_LARCH_OBJABI_V1.
2023-03-27LoongArch: ldconfig: Ignore EF_LARCH_OBJABI_V1 in shared objectsXi Ruoyao
Binutils 2.40 sets EF_LARCH_OBJABI_V1 for shared objects: $ ld --version | head -n1 GNU ld (GNU Binutils) 2.40 $ echo 'int dummy;' > dummy.c $ cc dummy.c -shared $ readelf -h a.out | grep Flags Flags: 0x43, DOUBLE-FLOAT, OBJ-v1 We need to ignore it in ldconfig or ldconfig will consider all shared objects linked by Binutils 2.40 "unsupported". Maybe we should stop setting EF_LARCH_OBJABI_V1 for shared objects, but Binutils 2.40 is already released and we cannot change it.
2023-03-13LoongArch: Add support for ldconfig.caiyinyu