This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/66697] Feature request: -mstackrealign and force_align_arg_pointer for x86_64
- From: "bucaneer at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 04 Oct 2015 21:23:20 +0000
- Subject: [Bug target/66697] Feature request: -mstackrealign and force_align_arg_pointer for x86_64
- Auto-submitted: auto-generated
- References: <bug-66697-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66697
--- Comment #4 from Justas L <bucaneer at gmail dot com> ---
I haven't tested this yet, but I understand this global solution would affect
the performance of ALL functions, not only those that interface with outside
code, correct?
Wine already assigns the force_align_arg_pointer attribute to vulnerable
functions, so making it work for x86_64 would be the better, less disruptive
solution.