aboutsummaryrefslogtreecommitdiff
path: root/libjava/javax
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2022-07-26 21:46:20 +0800
committerMartin Liska <mliska@suse.cz>2022-07-28 14:09:04 +0200
commitc50901efe4070810f18855e29e6ccfa55a4ed80b (patch)
tree9ccc251b3a51c91180e08262f1a4abd84c3899b9 /libjava/javax
parent19caa98b8126dbed1e3d32c5ef2b121f58e3b30d (diff)
downloadgcc-c50901efe4070810f18855e29e6ccfa55a4ed80b.zip
gcc-c50901efe4070810f18855e29e6ccfa55a4ed80b.tar.gz
gcc-c50901efe4070810f18855e29e6ccfa55a4ed80b.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')
0 files changed, 0 insertions, 0 deletions