diff options
author | Clifford Wolf <clifford@clifford.at> | 2017-04-07 11:43:05 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2017-04-07 11:43:05 +0200 |
commit | 367537507299e289d1441b5af53f47aa3297ece1 (patch) | |
tree | 12cb68003b890a7cde627d8575440555198bf4a9 /firmware | |
parent | 1b22a099f926aeab8668e1e5035a12acbe281e09 (diff) | |
download | picorv32-367537507299e289d1441b5af53f47aa3297ece1.tar.gz picorv32-367537507299e289d1441b5af53f47aa3297ece1.zip |
Update riscv-gnu-toolchain to git rev 0c8f87d
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/riscv.ld | 4 | ||||
-rw-r--r-- | firmware/riscv_ld.diff | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/firmware/riscv.ld b/firmware/riscv.ld index 20fd2fb..3e7002d 100644 --- a/firmware/riscv.ld +++ b/firmware/riscv.ld @@ -1,5 +1,5 @@ /* Default linker script, for normal executables */ -/* Copyright (C) 2014-2016 Free Software Foundation, Inc. +/* Copyright (C) 2014-2017 Free Software Foundation, Inc. Copying and distribution of this script, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. */ @@ -125,7 +125,7 @@ SECTIONS we can shorten the on-disk segment size. */ .sdata : { - _gp = . + 0x800; + __global_pointer$ = . + 0x800; *(.srodata.cst16) *(.srodata.cst8) *(.srodata.cst4) *(.srodata.cst2) *(.srodata .srodata.*) *(.sdata .sdata.* .gnu.linkonce.s.*) } diff --git a/firmware/riscv_ld.diff b/firmware/riscv_ld.diff index 104a245..511ecff 100644 --- a/firmware/riscv_ld.diff +++ b/firmware/riscv_ld.diff @@ -1,20 +1,20 @@ ---- <(riscv32-unknown-elf-ld -z nocombreloc -verbose) 2017-01-13 16:55:07.569030165 +0100 -+++ riscv.ld 2017-01-13 16:56:47.796761642 +0100 +--- <(riscv32-unknown-elf-ld -z nocombreloc -verbose) ++++ riscv.ld @@ -1,9 +1,3 @@ --GNU ld (GNU Binutils) 2.28.51.20170101 +-GNU ld (GNU Binutils) 2.28.0.20170322 - Supported emulations: - elf32lriscv - elf64lriscv -using internal linker script: -================================================== /* Default linker script, for normal executables */ - /* Copyright (C) 2014-2016 Free Software Foundation, Inc. + /* Copyright (C) 2014-2017 Free Software Foundation, Inc. Copying and distribution of this script, with or without modification, @@ -13,62 +7,26 @@ "elf32-littleriscv") OUTPUT_ARCH(riscv) ENTRY(_start) --SEARCH_DIR("/opt/new_riscv32i/riscv32-unknown-elf/lib"); +-SEARCH_DIR("/opt/riscv32i/riscv32-unknown-elf/lib"); SECTIONS { - /* Read-only sections, merged into text segment: */ |