linux/arch/loongarch
Xi Ruoyao 0d8dad7048 LoongArch: Add Kconfig option AS_HAS_EXPLICIT_RELOCS
GNU as >= 2.40 and GCC >= 13 will support using explicit relocation
hints in the assembly code, instead of la.* macros. The usage of
explicit relocation hints can improve code generation so it's enabled
by default by GCC >= 13.

Introduce a Kconfig option AS_HAS_EXPLICIT_RELOCS as the switch for
"use explicit relocation hints or not".

Tested-by: WANG Xuerui <git@xen0n.name>
Signed-off-by: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
2022-10-12 16:36:08 +08:00
..
boot loongarch: efi: enable generic EFI compressed boot 2022-09-20 09:50:31 +02:00
configs LoongArch: Update Loongson-3 default config file 2022-08-12 13:10:11 +08:00
include LoongArch: Mark __xchg() and __cmpxchg() as __always_inline 2022-10-12 16:36:08 +08:00
kernel LoongArch: Do not create sysfs control file for io master CPUs 2022-10-12 16:36:08 +08:00
lib LoongArch: Improve dump_tlb() output messages 2022-09-03 18:01:27 +08:00
mm LoongArch: Flush TLB earlier at initialization 2022-10-12 16:36:08 +08:00
pci LoongArch: Add PCI controller support 2022-08-12 13:10:11 +08:00
vdso LoongArch: Fix build warnings in VDSO 2022-08-25 19:34:59 +08:00
Kbuild LoongArch: Add build infrastructure 2022-06-03 20:09:27 +08:00
Kconfig LoongArch: Add Kconfig option AS_HAS_EXPLICIT_RELOCS 2022-10-12 16:36:08 +08:00
Kconfig.debug LoongArch: Add prologue unwinder support 2022-08-12 13:10:11 +08:00
Makefile loongarch: efi: enable generic EFI compressed boot 2022-09-20 09:50:31 +02:00