From: Andrew Waterman Date: Tue, 4 Aug 2015 01:20:54 +0000 (-0700) Subject: Use medany code model, not PIC, for ISA tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f99d03cb43d8350dd35672cd9e1b872628882727;p=riscv-tests.git Use medany code model, not PIC, for ISA tests --- diff --git a/isa/Makefile b/isa/Makefile index 8f174d1..3a8b265 100644 --- a/isa/Makefile +++ b/isa/Makefile @@ -23,7 +23,7 @@ default: all RISCV_PREFIX=riscv64-unknown-elf- RISCV_GCC = $(RISCV_PREFIX)gcc ENTROPY = -DENTROPY=$(shell echo $$$$) -RISCV_GCC_OPTS = $(ENTROPY) -static -fpic -fvisibility=hidden -nostdlib -nostartfiles -Wa,-march=RVIMAFDXhwacha +RISCV_GCC_OPTS = $(ENTROPY) -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -Wa,-march=RVIMAFDXhwacha RISCV_OBJDUMP = $(RISCV_PREFIX)objdump --disassemble-all --disassemble-zeroes --section=.text --section=.text.startup --section=.text.init --section=.data RISCV_SIM = spike --extension=hwacha