mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 04:47:52 +00:00
Initial commit for gcc11
Signed-off-by: Nik Konyuchenko <spaun2002mobile@gmail.com>
This commit is contained in:
parent
0528a9d744
commit
c4efcd7eaa
14
packages/gcc/11.1.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch
vendored
Normal file
14
packages/gcc/11.1.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
libcc1/connection.cc | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
--- a/libcc1/connection.cc
|
||||||
|
+++ b/libcc1/connection.cc
|
||||||
|
@@ -21,6 +21,7 @@ along with GCC; see the file COPYING3.
|
||||||
|
#include <string>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
+#include <sys/select.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <errno.h>
|
||||||
|
#include "marshall.hh"
|
31
packages/gcc/11.1.0/0004-arm-softfloat-libgcc.patch
vendored
Normal file
31
packages/gcc/11.1.0/0004-arm-softfloat-libgcc.patch
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
---
|
||||||
|
gcc/config/arm/linux-elf.h | 2 +-
|
||||||
|
libgcc/config/arm/t-linux | 7 ++++++-
|
||||||
|
2 files changed, 7 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
--- a/gcc/config/arm/linux-elf.h
|
||||||
|
+++ b/gcc/config/arm/linux-elf.h
|
||||||
|
@@ -58,7 +58,7 @@
|
||||||
|
%{shared:-lc} \
|
||||||
|
%{!shared:%{profile:-lc_p}%{!profile:-lc}}"
|
||||||
|
|
||||||
|
-#define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc"
|
||||||
|
+#define LIBGCC_SPEC "-lgcc"
|
||||||
|
|
||||||
|
#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
|
||||||
|
|
||||||
|
--- a/libgcc/config/arm/t-linux
|
||||||
|
+++ b/libgcc/config/arm/t-linux
|
||||||
|
@@ -1,6 +1,11 @@
|
||||||
|
LIB1ASMSRC = arm/lib1funcs.S
|
||||||
|
LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx _clzsi2 _clzdi2 \
|
||||||
|
- _ctzsi2 _arm_addsubdf3 _arm_addsubsf3
|
||||||
|
+ _ctzsi2 _arm_addsubdf3 _arm_addsubsf3 \
|
||||||
|
+ _arm_addsubdf3 _arm_addsubsf3 \
|
||||||
|
+ _arm_negdf2 _arm_muldivdf3 _arm_cmpdf2 _arm_unorddf2 \
|
||||||
|
+ _arm_fixdfsi _arm_fixunsdfsi _arm_truncdfsf2 \
|
||||||
|
+ _arm_negsf2 _arm_muldivsf3 _arm_cmpsf2 _arm_unordsf2 \
|
||||||
|
+ _arm_fixsfsi _arm_fixunssfsi
|
||||||
|
|
||||||
|
# Just for these, we omit the frame pointer since it makes such a big
|
||||||
|
# difference.
|
17
packages/gcc/11.1.0/0008-libgcc-disable-split-stack-nothreads.patch
vendored
Normal file
17
packages/gcc/11.1.0/0008-libgcc-disable-split-stack-nothreads.patch
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
disable split-stack for non-thread builds
|
||||||
|
|
||||||
|
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
|
||||||
|
|
||||||
|
---
|
||||||
|
libgcc/config/t-stack | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
--- a/libgcc/config/t-stack
|
||||||
|
+++ b/libgcc/config/t-stack
|
||||||
|
@@ -1,4 +1,6 @@
|
||||||
|
# Makefile fragment to provide generic support for -fsplit-stack.
|
||||||
|
# This should be used in config.host for any host which supports
|
||||||
|
# -fsplit-stack.
|
||||||
|
+ifeq ($(enable_threads),yes)
|
||||||
|
LIB2ADD_ST += $(srcdir)/generic-morestack.c $(srcdir)/generic-morestack-thread.c
|
||||||
|
+endif
|
8
packages/gcc/11.1.0/chksum
vendored
Normal file
8
packages/gcc/11.1.0/chksum
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
md5 gcc-11.1.0.tar.gz 333068a65c119e74c9d7bfcc75a8eeba
|
||||||
|
sha1 gcc-11.1.0.tar.gz 7a6652c4c4ae5676cccf5c2eab422f1eba87517f
|
||||||
|
sha256 gcc-11.1.0.tar.gz e7abb1b4cb58aaa67c5eb49d98e89d13363b8e258ac2b5b105c197b441c09f85
|
||||||
|
sha512 gcc-11.1.0.tar.gz cb620f779c2707bf5a42b505faf59d6d766e652bd8ca5f1fa346ef609f7de8b89beffbd3e7dd57f2c6d3df4e3d77a56fc65ac8e8c18c2c7f81d8bc6571db0612
|
||||||
|
md5 gcc-11.1.0.tar.xz 77f6252be0861ab918042acf42bc10ff
|
||||||
|
sha1 gcc-11.1.0.tar.xz 9db7917f4ce337026335430814de0a5e991ec6c1
|
||||||
|
sha256 gcc-11.1.0.tar.xz 4c4a6fb8a8396059241c2e674b85b351c26a5d678274007f076957afa1cc9ddf
|
||||||
|
sha512 gcc-11.1.0.tar.xz fd6bba0f67ff48069d03073d1a9b5e896383b1cfc9dde008e868e60a9ec5014a837d56af0ecbf467b3fb9b37ec74a676e819a18b44393a0a3c4280175b5d7ad8
|
0
packages/gcc/11.1.0/version.desc
vendored
Normal file
0
packages/gcc/11.1.0/version.desc
vendored
Normal file
Loading…
Reference in New Issue
Block a user