diff options
author | Xi Ruoyao <xry111@xry111.site> | 2022-07-26 21:46:20 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2022-07-27 10:19:55 +0800 |
commit | 66434729a79dfa2d9790aadeca7082511c387980 (patch) | |
tree | 212f0639bda831a62d4e61c4360b0bd60f6b4173 /libjava/javax/swing/Action.java | |
parent | fd96c4b51a733f72fa567a96c253fb3ddf11bd2a (diff) | |
download | gcc-66434729a79dfa2d9790aadeca7082511c387980.zip gcc-66434729a79dfa2d9790aadeca7082511c387980.tar.gz gcc-66434729a79dfa2d9790aadeca7082511c387980.tar.bz2 |
LoongArch: adjust the default of -mexplicit-relocs by checking gas feature
The assembly produced with -mexplicit-relocs is not supported by gas <=
2.39. Check if the assembler supports explicit relocations and set the
default accordingly.
gcc/ChangeLog:
* configure.ac (HAVE_AS_EXPLICIT_RELOCS): Define to 1 if the
assembler supports explicit relocation for LoongArch.
* configure: Regenerate.
* config/loongarch/loongarch-opts.h (HAVE_AS_EXPLICIT_RELOCS):
Define to 0 if not defined.
* config/loongarch/genopts/loongarch.opt.in
(TARGET_EXPLICIT_RELOCS): Default to HAVE_AS_EXPLICIT_RELOCS.
* config/loongarch/loongarch.opt: Regenerate.
Diffstat (limited to 'libjava/javax/swing/Action.java')
0 files changed, 0 insertions, 0 deletions