Compare commits

...

8 Commits

Author SHA1 Message Date
Kito Cheng 9ff3083b09 Hack for pk and spike 5 years ago
Kito Cheng f1c02cd994 Bump gdb 5 years ago
Kito Cheng 23b620e6ed Bump gcc for be 5 years ago
Kito Cheng 53fe07db08 Bump newlib for be 5 years ago
Kito Cheng 74dce616d8 [DO NOT MERGE] Force using big-endian 5 years ago
Kito Cheng 455347fe8c Add spike wrapper for running gcc testsuite 5 years ago
Kito Cheng cfc094161e Open summary file as UTF-8. 5 years ago
Kito Cheng cbab6a1cdf Bump binutils 5 years ago
  1. 10
      .gitmodules
  2. 9
      Makefile.in
  3. 2
      riscv-binutils
  4. 2
      riscv-gcc
  5. 2
      riscv-gdb
  6. 2
      riscv-newlib
  7. 2
      scripts/testsuite-filter
  8. 1
      scripts/wrapper/spike/riscv32be-unknown-elf-run
  9. 1
      scripts/wrapper/spike/riscv32be-unknown-linux-gnu-run
  10. 1
      scripts/wrapper/spike/riscv64be-unknown-elf-run
  11. 1
      scripts/wrapper/spike/riscv64be-unknown-linux-gnu-run

10
.gitmodules

@ -1,7 +1,7 @@
[submodule "riscv-binutils"]
path = riscv-binutils
url = ../riscv-binutils-gdb.git
branch = riscv-binutils-2.35
url = git://sourceware.org/git/binutils-gdb.git
branch = binutils-2_36
[submodule "riscv-gcc"]
path = riscv-gcc
url = ../riscv-gcc.git
@ -16,12 +16,12 @@
branch = riscv-dejagnu-1.6
[submodule "riscv-newlib"]
path = riscv-newlib
url = git://sourceware.org/git/newlib-cygwin.git
url = ../riscv-newlib.git
branch = master
[submodule "riscv-gdb"]
path = riscv-gdb
url = ../riscv-binutils-gdb.git
branch = fsf-gdb-10.1-with-sim
url = git://sourceware.org/git/binutils-gdb.git
branch = binutils-2_36
[submodule "qemu"]
path = qemu
url = https://git.qemu.org/git/qemu.git

9
Makefile.in

@ -68,7 +68,7 @@ ifneq ($(XLEN),32)
XLEN := 64
endif
make_tuple = riscv$(1)-unknown-$(2)
make_tuple = riscv$(1)be-unknown-$(2)
LINUX_TUPLE ?= $(call make_tuple,$(XLEN),linux-gnu)
NEWLIB_TUPLE ?= $(call make_tuple,$(XLEN),elf)
MUSL_TUPLE ?= $(call make_tuple,$(XLEN),linux-musl)
@ -782,7 +782,8 @@ stamps/build-spike: spike-src
rm -rf $@ $(notdir $@)
mkdir $(notdir $@)
cd $(notdir $@) && ../$</configure \
--prefix=$(INSTALL_DIR)
--prefix=$(INSTALL_DIR) \
--enable-dual-endian
$(MAKE) -C $(notdir $@)
$(MAKE) -C $(notdir $@) install
mkdir -p $(dir $@)
@ -795,7 +796,7 @@ stamps/build-pk32: pk-src stamps/build-gcc-newlib-stage2
--prefix=$(INSTALL_DIR) \
--host=$(NEWLIB_TUPLE) \
--with-arch=rv32gc
$(MAKE) -C $(notdir $@)
$(MAKE) -C $(notdir $@) CC="$(NEWLIB_TUPLE)-gcc -D'__clear_cache(a,b)='"
cp $(notdir $@)/pk $(INSTALL_DIR)/$(NEWLIB_TUPLE)/bin/pk32
mkdir -p $(dir $@)
date > $@
@ -807,7 +808,7 @@ stamps/build-pk64: pk-src stamps/build-gcc-newlib-stage2
--prefix=$(INSTALL_DIR) \
--host=$(NEWLIB_TUPLE) \
--with-arch=rv64gc
$(MAKE) -C $(notdir $@)
$(MAKE) -C $(notdir $@) CC="$(NEWLIB_TUPLE)-gcc -D'__clear_cache(a,b)='"
cp $(notdir $@)/pk $(INSTALL_DIR)/$(NEWLIB_TUPLE)/bin/pk64
mkdir -p $(dir $@)
date > $@

2
riscv-binutils

@ -1 +1 @@
Subproject commit 2cb5c79dad39dd438fb0f7372ac04cf5aa2a7db7
Subproject commit f35674005e609660f5f45005a9e095541ca4c5fe

2
riscv-gcc

@ -1 +1 @@
Subproject commit c3911e6425f35e0722129cb30cc5ccaf3390cd75
Subproject commit c998b7e70b5468653d5576e3f502ce8ad7bf28cd

2
riscv-gdb

@ -1 +1 @@
Subproject commit 63a44e5923c859e99d3a8799fa8132b49a135241
Subproject commit f35674005e609660f5f45005a9e095541ca4c5fe

2
riscv-newlib

@ -1 +1 @@
Subproject commit 415fdd4279b85eeec9d54775ce13c5c412451e08
Subproject commit 83d4bf04bb35e963d3412355a09810760b5851ce

2
scripts/testsuite-filter

@ -140,7 +140,7 @@ def read_white_lists(white_list_files, is_gcc):
def read_sum(sum_files):
unexpected_results = dict()
for sum_file in sum_files:
with open(sum_file) as f:
with open(sum_file, encoding='UTF-8') as f:
content = f.readlines()
current_target = None
variations = []

1
scripts/wrapper/spike/riscv32be-unknown-elf-run

@ -0,0 +1 @@
riscv64-unknown-linux-gnu-run

1
scripts/wrapper/spike/riscv32be-unknown-linux-gnu-run

@ -0,0 +1 @@
riscv64-unknown-linux-gnu-run

1
scripts/wrapper/spike/riscv64be-unknown-elf-run

@ -0,0 +1 @@
riscv64-unknown-linux-gnu-run

1
scripts/wrapper/spike/riscv64be-unknown-linux-gnu-run

@ -0,0 +1 @@
riscv64-unknown-linux-gnu-run
Loading…
Cancel
Save