$ readelf -SW elf/ld.so | grep .relr.dyn [11] .relr.dyn RELR 0000000000000d88 000d88 000030 08 A 0 0 8 $ ... Response: Temporary breakpoint 1 at 0x1189: file test-cond-printers.c, line 33. Starting program: /export/build/gnu/tools-build/glibc-gitlab-test/build-x86_64-linux/nptl/test-cond-printers BFD: /export/build/gnu/tools-build/glibc-gitlab-test/build-x86_64-linux/elf/ld.so: unknown type [0x13] section `.relr.dyn' warning: `/export/build/gnu/tools-build/glibc-gitlab-test/build-x86_64-linux/elf/ld.so': Shared library architecture unknown is not compatible with target architecture i386:x86-64. warning: `/export/build/gnu/tools-build/glibc-gitlab-test/build-x86_64-linux/elf/ld.so': Shared library architecture unknown is not compatible with target architecture i386:x86-64.
A patch set is posted at https://sourceware.org/pipermail/gdb-patches/2022-January/184953.html
Fixed for GDB 11.2 by fb0b83d80d1 bfd_section_from_shdr: Support SHT_RELR sections 67609c9c701 readelf: Support SHT_RELR/DT_RELR for -r 1b244ed9d3f readelf: Support RELR in -S and -d and output
*** Bug 28785 has been marked as a duplicate of this bug. ***