https://sourceware.org/bugzilla/show_bug.cgi?id=33127
--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> --- Created attachment 16167 --> https://sourceware.org/bugzilla/attachment.cgi?id=16167&action=edit A testcase [hjl@gnu-tgl-3 tmp]$ /export/build/gnu/tools-build/binutils/build-x86_64-linux/binutils/readelf --sframe eh-group1.o Contents of the SFrame section .sframe: Header : Version: SFRAME_VERSION_2 Flags: SFRAME_F_FDE_FUNC_START_PCREL CFA fixed RA offset: -8 Num FDEs: 1 Num FREs: 1 Function Index : func idx [0]: pc = 0x0, size = 16 bytes STARTPC CFA FP RA 0000000000000000 sp+8 u f [hjl@gnu-tgl-3 tmp]$ /export/build/gnu/tools-build/binutils/build-x86_64-linux/binutils/readelf --sframe eh-group2.o Contents of the SFrame section .sframe: Header : Version: SFRAME_VERSION_2 Flags: SFRAME_F_FDE_FUNC_START_PCREL CFA fixed RA offset: -8 Num FDEs: 1 Num FREs: 1 Function Index : func idx [0]: pc = 0x0, size = 16 bytes STARTPC CFA FP RA 0000000000000000 sp+8 u f [hjl@gnu-tgl-3 tmp]$ /export/build/gnu/tools-build/binutils/build-x86_64-linux/ld/ld-new -r -o eh-group.o eh-group1.o eh-group2.o [hjl@gnu-tgl-3 tmp]$ /export/build/gnu/tools-build/binutils/build-x86_64-linux/binutils/readelf --sframe eh-group.o Contents of the SFrame section .sframe: Header : Version: SFRAME_VERSION_2 Flags: SFRAME_F_FDE_SORTED, SFRAME_F_FDE_FUNC_START_PCREL CFA fixed RA offset: -8 Num FDEs: 1 Num FREs: 1 Function Index : func idx [0]: pc = 0x0, size = 16 bytes STARTPC CFA FP RA 0000000000000000 sp+8 u f [hjl@gnu-tgl-3 tmp]$ /export/build/gnu/tools-build/binutils/build-x86_64-linux/ld/ld-new -e _start eh-group.o /export/build/gnu/tools-build/binutils/build-x86_64-linux/ld/ld-new: BFD (GNU Binutils) 2.44.50.20250712 assertion fail /export/gnu/import/git/sources/binutils-gdb/bfd/elf-sframe.c:123 /export/build/gnu/tools-build/binutils/build-x86_64-linux/ld/ld-new: eh-group.o(.sframe+0x38): reloc against `*UND*': error 4 /export/build/gnu/tools-build/binutils/build-x86_64-linux/ld/ld-new: final link failed [hjl@gnu-tgl-3 tmp]$ -- You are receiving this mail because: You are on the CC list for the bug.