https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82303
--- Comment #5 from Thomas Garnier <thgarnie at google dot com> --- 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?