Skip to content

Commit

Permalink
aarch64: Disable GOT symbols (#31)
Browse files Browse the repository at this point in the history
gcc/ChangeLog:

	* config/aarch64/aarch64.cc (aarch64_symbol_binds_local_p):
  • Loading branch information
eukarpov committed Aug 15, 2024
1 parent 060640d commit aa4c1f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gcc/config/aarch64/aarch64.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20885,6 +20885,9 @@ aarch64_tlsdesc_abi_id ()
static bool
aarch64_symbol_binds_local_p (const_rtx x)
{
if (TARGET_PECOFF)
return true;

return (SYMBOL_REF_DECL (x)
? targetm.binds_local_p (SYMBOL_REF_DECL (x))
: SYMBOL_REF_LOCAL_P (x));
Expand Down

0 comments on commit aa4c1f2

Please sign in to comment.