Re: [PATCH v1 4/9] aarch64: Exclude symbols using GOT from code models

2024-09-06 Thread Richard Sandiford
Evgeny Karpov writes: > Monday, September 2, 2024 5:00 PM > Richard Sandiford wrote: > >> I think we should instead patch the callers that are using >> aarch64_symbol_binds_local_p for GOT decisions. The function itself >> is checking for a more general property (and one that could be useful >>

[PATCH v1 4/9] aarch64: Exclude symbols using GOT from code models

2024-09-03 Thread Evgeny Karpov
Monday, September 2, 2024 5:00 PM Richard Sandiford wrote: > I think we should instead patch the callers that are using > aarch64_symbol_binds_local_p for GOT decisions. The function itself > is checking for a more general property (and one that could be useful > in other contexts). The patch h

Re: [PATCH v1 4/9] aarch64: Exclude symbols using GOT from code models

2024-09-02 Thread Richard Sandiford
Evgeny Karpov writes: > Symbols using GOT are not supported by the aarch64-w64-mingw32 > target and should be excluded from the code models. > > gcc/ChangeLog: > > * config/aarch64/aarch64.cc (aarch64_symbol_binds_local_p): > Disable GOT for PECOFF target. I think we should instead pa

[PATCH v1 4/9] aarch64: Exclude symbols using GOT from code models

2024-09-02 Thread Evgeny Karpov
Symbols using GOT are not supported by the aarch64-w64-mingw32 target and should be excluded from the code models. gcc/ChangeLog: * config/aarch64/aarch64.cc (aarch64_symbol_binds_local_p): Disable GOT for PECOFF target. --- gcc/config/aarch64/aarch64.cc | 3 +++ 1 file changed,