From f99d03cb43d8350dd35672cd9e1b872628882727 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Mon, 3 Aug 2015 18:20:54 -0700 Subject: [PATCH] Use medany code model, not PIC, for ISA tests --- isa/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2