[Bug debug/101283] Several tests fail on Darwin with -gctf
ibhagatgnu at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Jul 1 16:22:18 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101283
Indu Bhagat <ibhagatgnu at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ibhagatgnu at gmail dot com
--- Comment #2 from Indu Bhagat <ibhagatgnu at gmail dot com> ---
I see that .section directive needs a different semantic for Darwin. The DWARF
debug_info section, for example, appears as:
.section __DWARF,__debug_info,regular,debug
Lsection__debug_info:
Ldebug_info0:
This implies GCC needs to emit the .ctf section adhering to the required
semantics. I see now that this recent commit adds the required CTF section name
strings explicitly for Darwin (config/darwin.h).
Not only that, accompanying changes need to be made in gas/bfd to support the
new __CTF category or the CTF section ?
More information about the Gcc-bugs
mailing list