|
From: | hjl.tools at gmail dot com |
Subject: | [Bug ld/29072] ld silently make the program stack area executable if nested function is used |
Date: | Mon, 25 Apr 2022 14:51:37 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29072 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #12 from H.J. Lu <hjl.tools at gmail dot com> --- I don't think we should issue a warning in this case: [hjl@gnu-cfl-1 ld]$ cat /tmp/x.s .text .globl main main: .nops 1 .section .note.GNU-stack,"x",@progbits [hjl@gnu-cfl-1 ld]$ gcc -c /tmp/x.s [hjl@gnu-cfl-1 ld]$ ./ld-new -e main x.o ./ld-new: warning: x.o: requires executable stack (because the .note.GNU-stack section is executable) [hjl@gnu-cfl-1 ld]$ -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |