[PATCH v1 3/6] LoongArch: opcodes: Add support for linker relaxation.
Andreas Schwab
schwab@suse.de
Mon Dec 5 09:43:05 GMT 2022
On Dez 05 2022, mengqinggang wrote:
> diff --git a/opcodes/loongarch-opc.c b/opcodes/loongarch-opc.c
> index 1b510048c29..49e9df56f67 100644
> --- a/opcodes/loongarch-opc.c
> +++ b/opcodes/loongarch-opc.c
> @@ -22,7 +22,10 @@
> #include "opcode/loongarch.h"
> #include "libiberty.h"
>
> -struct loongarch_ASEs_option LARCH_opts;
> +struct loongarch_ASEs_option LARCH_opts =
> +{
> + relax : 1
> +};
This uses the obsolete GCC extension. Please use the C99 designated
initializer syntax.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Binutils
mailing list