https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70146
--- Comment #6 from Andy Lutomirski ---
The PLT case could be reduced significantly by -fno-plt, but the TLS issue is
just sad. I don't suppose it could be fixed with just toolchain changes while
retaining compatibility with existing libc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70146
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70146
--- Comment #4 from H.J. Lu ---
(In reply to Andy Lutomirski from comment #3)
> I think a similar optimization could be applied to default-visibility
> references as well. For example, gcc can generate things like this:
>
> call
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70146
--- Comment #3 from Andy Lutomirski ---
I think a similar optimization could be applied to default-visibility
references as well. For example, gcc can generate things like this:
call__x86.get_pc_thunk.ax
addl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70146
Richard PALO changed:
What|Removed |Added
CC||richard at netbsd dot org
--- Comment #2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70146
H.J. Lu changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70146
--- Comment #1 from H.J. Lu ---
We do it for MacOS:
#if TARGET_MACHO
/* Output the Mach-O "canonical" pic base label name ("Lxx$pb") here.
This is what will be referenced by the Mach-O PIC subsystem. */
if