8sa1-gcc/gcc/common
Marcus Comstedt cd1e2f6325 RISC-V: Add riscv{32,64}be with big endian as default
gcc/
	* common/config/riscv/riscv-common.c
	(TARGET_DEFAULT_TARGET_FLAGS): Set default endianness.
	* config.gcc (riscv32be-*, riscv64be-*): Set
	TARGET_BIG_ENDIAN_DEFAULT to 1.
	* config/riscv/elf.h (LINK_SPEC): Change -melf* value
	depending on default endianness.
	* config/riscv/freebsd.h (LINK_SPEC): Likewise.
	* config/riscv/linux.h (LINK_SPEC): Likewise.
	* config/riscv/riscv.c (TARGET_DEFAULT_TARGET_FLAGS): Set
	default endianness.
	* config/riscv/riscv.h (DEFAULT_ENDIAN_SPEC): New macro.
2021-03-23 17:31:13 +08:00
..
config RISC-V: Add riscv{32,64}be with big endian as default 2021-03-23 17:31:13 +08:00
common-target-def.h
common-target.def
common-target.h
common-targhooks.c
common-targhooks.h