[Bug middle-end/93536] -fpatchable-function-entries doesn't work with --gc-sections
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Feb 1 17:22:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93536
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2020-02-01
Ever confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Linker with the fix:
https://sourceware.org/ml/binutils/2020-02/msg00010.html
will issue an error:
[hjl@gnu-cfl-2 pr25490]$ ./ld --gc-sections -o foo foo.o
foo.o(__patchable_function_entries): reference to garbage collected section
[hjl@gnu-cfl-2 pr25490]$
More information about the Gcc-bugs
mailing list