toolchain/gcc: Add GCC 10.1.0 patches
Compared to GCC 9: 870-ppc_no_crtsavres.patch changes moved to another file following upstream 881-no_tm_section.patch keep the tm section disabled patches refreshed to apply cleanly See https://gcc.gnu.org/gcc-10/porting_to.html for more info Compiled and run tested on x86_64 Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
This commit is contained in:
committed by
Petr Štetiar
parent
bf540f333c
commit
e027df97fc
@@ -48,9 +48,9 @@ sellcey@mips.com
|
||||
|
||||
--- a/gcc/config/mips/mips.c
|
||||
+++ b/gcc/config/mips/mips.c
|
||||
@@ -22822,6 +22822,9 @@ mips_starting_frame_offset (void)
|
||||
#undef TARGET_STARTING_FRAME_OFFSET
|
||||
#define TARGET_STARTING_FRAME_OFFSET mips_starting_frame_offset
|
||||
@@ -22881,6 +22881,9 @@ mips_asm_file_end (void)
|
||||
#define TARGET_ASM_FILE_END mips_asm_file_end
|
||||
|
||||
|
||||
+#undef TARGET_ASM_FILE_END
|
||||
+#define TARGET_ASM_FILE_END file_end_indicate_exec_stack
|
||||
@@ -60,9 +60,9 @@ sellcey@mips.com
|
||||
#include "gt-mips.h"
|
||||
--- a/libgcc/config/mips/crti.S
|
||||
+++ b/libgcc/config/mips/crti.S
|
||||
@@ -21,6 +21,10 @@ a copy of the GCC Runtime Library Except
|
||||
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
@@ -24,6 +24,10 @@ see the files COPYING3 and COPYING.RUNTI
|
||||
/* An executable stack is *not* required for these functions. */
|
||||
#include "gnustack.h"
|
||||
|
||||
+
|
||||
+/* An executable stack is *not* required for these functions. */
|
||||
@@ -73,9 +73,9 @@ sellcey@mips.com
|
||||
|
||||
--- a/libgcc/config/mips/crtn.S
|
||||
+++ b/libgcc/config/mips/crtn.S
|
||||
@@ -21,6 +21,9 @@ a copy of the GCC Runtime Library Except
|
||||
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
@@ -24,6 +24,9 @@ see the files COPYING3 and COPYING.RUNTI
|
||||
/* An executable stack is *not* required for these functions. */
|
||||
#include "gnustack.h"
|
||||
|
||||
+/* An executable stack is *not* required for these functions. */
|
||||
+ .section .note.GNU-stack,"",%progbits
|
||||
@@ -85,7 +85,7 @@ sellcey@mips.com
|
||||
|
||||
--- a/libgcc/config/mips/mips16.S
|
||||
+++ b/libgcc/config/mips/mips16.S
|
||||
@@ -48,6 +48,10 @@ see the files COPYING3 and COPYING.RUNTI
|
||||
@@ -51,6 +51,10 @@ see the files COPYING3 and COPYING.RUNTI
|
||||
values using the soft-float calling convention, but do the actual
|
||||
operation using the hard floating point instructions. */
|
||||
|
||||
@@ -98,7 +98,7 @@ sellcey@mips.com
|
||||
/* This file contains 32-bit assembly code. */
|
||||
--- a/libgcc/config/mips/vr4120-div.S
|
||||
+++ b/libgcc/config/mips/vr4120-div.S
|
||||
@@ -26,6 +26,10 @@ see the files COPYING3 and COPYING.RUNTI
|
||||
@@ -29,6 +29,10 @@ see the files COPYING3 and COPYING.RUNTI
|
||||
-mfix-vr4120. div and ddiv do not give the correct result when one
|
||||
of the operands is negative. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user