Shrink hex dumps
[riscv-tests.git] / isa / Makefile
index 53c11ad6763ec3f51d5d382d673e3040a4838618..8cecab932071674272f6d7327151090b314221d8 100644 (file)
@@ -29,7 +29,7 @@ vpath %.S $(isa_src_dir)
 # Build assembly tests
 
 %.hex: %
-       elf2hex 16 16384 $< > $@
+       (elf2hex 16 8192 $< 2> /dev/null || elf2hex 16 16384 $<) > $@
 
 %.dump: %
        $(RISCV_OBJDUMP) $< > $@