https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121941
Bug ID: 121941
Summary: R_68K_TLS_LE16 overflow for undefined weak symbol in
static executable
Product: gcc
Version: 15.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: hjl.tools at gmail dot com
CC: [email protected]
Target Milestone: ---
M68K GCC generates R_68K_TLS_LE16 relocation for IE model. But the range of
R_68K_TLS_LE16 is very limited. Undefined weak symbol in static executable
can overflow very easily.