[Bug ld/32433] No zero terminator at the end of .eh_frame with `-shared -nostdlib`

2024-12-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32433

H.J. Lu  changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
 CC||hjl.tools at gmail dot com
 Ever confirmed|0   |1
   Last reconfirmed||2024-12-11

--- Comment #3 from H.J. Lu  ---
Which version of binutls were you using? I can't reproduce it with binutils
2.43
and GCC 14.  Is this a dup of PR 2655?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/32433] No zero terminator at the end of .eh_frame with `-shared -nostdlib`

2024-12-09 Thread dm.chestnykh at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32433

Dmitriy Chestnykh  changed:

   What|Removed |Added

 CC||dm.chestnykh at gmail dot com

--- Comment #2 from Dmitriy Chestnykh  ---
Created attachment 15829
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15829&action=edit
Proposed patch for ld.gold

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/32433] No zero terminator at the end of .eh_frame with `-shared -nostdlib`

2024-12-09 Thread dm.chestnykh at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32433

--- Comment #1 from Dmitriy Chestnykh  ---
The comment from LLVM lld's source code:

"The LSB standard does not allow a .eh_frame section with zero
Call Frame Information records. glibc unwind-dw2-fde.c
classify_object_over_fdes expects there is a CIE record length 0 as a
terminator. Thus we add one unconditionally."

-- 
You are receiving this mail because:
You are on the CC list for the bug.