bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/28254] gas 2.36.1 fails to generate debugging information for a


From: rearnsha at gcc dot gnu.org
Subject: [Bug gas/28254] gas 2.36.1 fails to generate debugging information for aarch64 .S files
Date: Tue, 24 Aug 2021 12:51:46 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=28254

Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rearnsha at gcc dot gnu.org

--- Comment #8 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
No, because that might lead to accidental security issues.  Consider for
example a stub of code that is intended to be copied somewhere else before it
is executed, it might be mixed up with some data that could be 'executed'
through an exploit if it were accidentally marked executable.

It's far better that you do what has already been suggested and explicitly mark
your section as executable than have the tools try to 'guess' something that
might be unsafe.

.text and .data are special.  These have conventional uses so there's no guess
work required.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]