carl9170 toolchain: update gcc to 12.2 / binutils 2.39
authorChristian Lamparter <chunkeey@gmail.com>
Mon, 26 Sep 2022 21:36:56 +0000 (23:36 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Mon, 26 Sep 2022 22:08:10 +0000 (00:08 +0200)
and remove old SHA256SUMs.

Also silences a linker warning that shows up:
|ld: warning: carl9170.elf has a LOAD segment with RWX permissions

unfortunately, yes. The embedded CPU has no MMU to make use of this.
So, the warning is turned off.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
extra/sh-elf-linux.cmake
toolchain/Makefile
toolchain/SHA256SUMS

index 3fdf98c5fe3018499b1550fdfb6c3c4cdc198508..713d33cf3b3612b830497d1fc9436a6945448c33 100644 (file)
@@ -6,7 +6,7 @@ set_property(DIRECTORY PROPERTY TARGET_SUPPORTS_SHARED_LIBS FALSE)
 set(CMAKE_FIND_ROOT_PATH ${CMAKE_SOURCE_DIR}/toolchain/inst/)
 
 set(CMAKE_C_FLAGS "-m2 -ml -Os -ffreestanding -nostartfiles")
-set(CMAKE_C_LINK_FLAGS "-Wl,-static,-EL,-x,--gc-sections")
+set(CMAKE_C_LINK_FLAGS "-Wl,-static,-EL,-x,--gc-sections,--no-warn-rwx-segments")
 set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
 
 set(OBJCOPY ${CMAKE_SOURCE_DIR}/toolchain/inst/bin/sh-elf-objcopy)
index 57660ad38b63809b7638acb8d1677cfab5ae4889..f00259a12232e7a240b14520665e7da058d12738 100644 (file)
@@ -1,4 +1,4 @@
-BINUTILS_VER=2.38
+BINUTILS_VER=2.39
 BINUTILS_TAR=binutils-$(BINUTILS_VER).tar.xz
 BINUTILS_URL="http://mirrors.kernel.org/gnu/binutils/$(BINUTILS_TAR)"
 
@@ -6,7 +6,7 @@ NEWLIB_VER=4.1.0
 NEWLIB_TAR=newlib-$(NEWLIB_VER).tar.gz
 NEWLIB_URL="ftp://sourceware.org/pub/newlib/$(NEWLIB_TAR)"
 
-GCC_VER=12.1.0
+GCC_VER=12.2.0
 GCC_TAR=gcc-$(GCC_VER).tar.xz
 GCC_URL="http://mirrors.kernel.org/gnu/gcc/gcc-$(GCC_VER)/$(GCC_TAR)"
 
index 2530a88f4d548a58876716d7cba95659b406f23e..855952d4d5a498311739f10ef10dfceaf24fccac 100644 (file)
@@ -2,7 +2,7 @@ fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2  src/gmp-6.2.1.
 17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459  src/mpc-1.2.1.tar.gz
 0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f  src/mpfr-4.1.0.tar.xz
 f296e372f51324224d387cc116dc37a6bd397198756746f93a2b02e9a5d40154  src/newlib-4.1.0.tar.gz
-820d9724f020a3e69cb337893a0b63c2db161dadcb0e06fc11dc29eb1e84a32c  src/binutils-2.37.tar.xz
-d08edc536b54c372a1010ff6619dd274c0f1603aa49212ba20f7aa2cda36fa8b  src/gcc-11.2.0.tar.xz
 e316477a914f567eccc34d5d29785b8b0f5a10208d36bbacedcc39048ecfe024  src/binutils-2.38.tar.xz
 62fd634889f31c02b64af2c468f064b47ad1ca78411c45abe6ac4b5f8dd19c7b  src/gcc-12.1.0.tar.xz
+645c25f563b8adc0a81dbd6a41cffbf4d37083a382e02d5d3df4f65c09516d00  src/binutils-2.39.tar.xz
+e549cf9cf3594a00e27b6589d4322d70e0720cdd213f39beb4181e06926230ff  src/gcc-12.2.0.tar.xz