This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/82303] Better PIE/PIC code generation for kernel code (x86_64 & arm64)
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 17 Jan 2018 19:10:40 +0000
- Subject: [Bug target/82303] Better PIE/PIC code generation for kernel code (x86_64 & arm64)
- Auto-submitted: auto-generated
- References: <bug-82303-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82303
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Thomas Garnier from comment #5)
> I didn't try the patch yet, that could be a good starting point (still need
> change in switch optimization and segment registers). What is the
> consequence of the change in default_binds_local_p_3? Is it supposed to
> remove the need for a GOT / PLT?
It should. If not, please provide a testcase.