Lines Matching +full:riscv +full:- +full:non +full:- +full:isa

24 # CPUTYPE?=native prevent that, and introduce an endless game of whack-a-mole
29 .if ${LDFLAGS:M-nostdlib}
44 # built 32-bit and some 64-bit (lib*, efi). Centralize all the 32-bit magic here
84 CFLAGS+= -nostdinc
87 # the only thing that should be there are -I directives, and as few of
91 CFLAGS+= -I${BOOTOBJ}/libsa32
93 CFLAGS+= -I${BOOTOBJ}/libsa
95 CFLAGS+= -I${SASRC} -D_STANDALONE
96 CFLAGS+= -I${SYSDIR}
98 CFLAGS+= -Ddouble=jagged-little-pill -Dfloat=floaty-mcfloatface
102 # our text + data + BTX have to fit into 640k below the ISA hole.
104 CFLAGS.clang+= -Oz
105 CFLAGS.gcc+= -Os
106 CFLAGS+= -ffunction-sections -fdata-sections
119 CFLAGS+= -DLOADER_GELI_SUPPORT
120 CFLAGS+= -I${SASRC}/geli
127 CFLAGS+= -DLOADER_DISK_SUPPORT
133 # PowerPC64LE boot loaders are 32-bit little-endian.
135 CFLAGS+= -m32 -mcpu=powerpc -mbig-endian
137 CFLAGS+= -m32 -mcpu=powerpc -mlittle-endian
141 CFLAGS+= -m32
143 LD_FLAGS+= -m elf_i386_fbsd
144 AFLAGS+= --32
148 # aarch64 and riscv don't have -msoft-float, but all others do.
149 CFLAGS+= -ffreestanding ${CFLAGS_NO_SIMD}
151 CFLAGS+= -mgeneral-regs-only -ffixed-x18 -fPIC
152 .elif ${MACHINE_CPUARCH} == "riscv"
153 CFLAGS+= -march=rv64imac -mabi=lp64 -fPIC
154 CFLAGS.clang+= -mcmodel=medium
155 CFLAGS.gcc+= -mcmodel=medany
157 CFLAGS+= -msoft-float
160 # -msoft-float seems to be insufficient for powerpcspe
162 CFLAGS+= -mno-spe
166 CFLAGS+= -march=i386
167 CFLAGS.gcc+= -mpreferred-stack-boundary=2
170 CFLAGS+= -fPIC -mno-red-zone
175 # translate to the -Bsymbolic -pie format required by self_reloc() in loader(8).
177 CFLAGS.clang+= -mno-movt
178 CFLAGS.clang+= -mfpu=none
179 CFLAGS+= -fPIC
182 # Some RISC-V linkers have support for relaxations, while some (lld) do not
184 .if ${LINKER_FEATURES:Mriscv-relaxations} == ""
185 CFLAGS+= -mno-relax
190 # option was recently (10.3) added to FreeBSD and is non-standard. Only use it
208 CFLAGS+=-I.
216 awk -f ${SYSDIR}/teken/gensequences \
227 CFLAGS+= -Iinclude
246 if [ ${DO32:U0} -eq 0 ]; then \
255 */*) mkdir -p ${.TARGET:H};; \
258 ${ECHO} ${.TARGET} "->" $$path ; \
259 ln -fns $$path ${.TARGET}
262 .-include "local.defs.mk"