-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JIRA: RTOS-927
- Loading branch information
Showing
14 changed files
with
249 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
diff --git a/fixincludes/mkfixinc.sh b/fixincludes/mkfixinc.sh | ||
--- a/fixincludes/mkfixinc.sh | ||
+++ b/fixincludes/mkfixinc.sh | ||
@@ -11,6 +11,7 @@ target=fixinc.sh | ||
|
||
# Check for special fix rules for particular targets | ||
case $machine in | ||
+ *-phoenix* | \ | ||
i?86-*-cygwin* | \ | ||
i?86-*-mingw32* | \ | ||
x86_64-*-mingw32* | \ | ||
diff --git a/gcc/config.gcc b/gcc/config.gcc | ||
--- a/gcc/config.gcc | ||
+++ b/gcc/config.gcc | ||
@@ -1934,6 +1934,9 @@ i[34567]86-*-elfiamcu) | ||
i[34567]86-*-elf*) | ||
tm_file="${tm_file} i386/unix.h i386/att.h elfos.h newlib-stdint.h i386/i386elf.h" | ||
;; | ||
+i[34567]86-*-phoenix*) | ||
+ tm_file="${tm_file} i386/unix.h i386/att.h elfos.h newlib-stdint.h i386/i386elf.h phoenix.h" | ||
+ ;; | ||
x86_64-*-elf*) | ||
tm_file="${tm_file} i386/unix.h i386/att.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h" | ||
;; | ||
diff --git a/libgcc/config.host b/libgcc/config.host | ||
index e75a7af647f..9ec10581966 100644 | ||
--- a/libgcc/config.host | ||
+++ b/libgcc/config.host | ||
@@ -818,6 +818,10 @@ i[34567]86-pc-msdosdjgpp*) | ||
;; | ||
i[34567]86-*-lynxos*) | ||
;; | ||
+i[34567]86-*-phoenix*) | ||
+ extra_parts="$extra_parts crti.o crtbegin.o crtend.o crtn.o" | ||
+ tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic" | ||
+ ;; | ||
i[34567]86-*-nto-qnx*) | ||
tmake_file="$tmake_file i386/t-nto t-libgcc-pic" | ||
extra_parts=crtbegin.o | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/gcc/config.gcc b/gcc/config.gcc | ||
--- a/gcc/config.gcc | ||
+++ b/gcc/config.gcc | ||
@@ -2509,13 +2509,16 @@ riscv*-*-linux*) | ||
gcc_cv_initfini_array=yes | ||
with_tls=${with_tls:-trad} | ||
;; | ||
-riscv*-*-elf* | riscv*-*-rtems*) | ||
+riscv*-*-elf* | riscv*-*-rtems* | riscv*-*-phoenix*) | ||
tm_file="elfos.h newlib-stdint.h ${tm_file} riscv/elf.h" | ||
case ${target} in | ||
*-*-rtems*) | ||
tm_file="${tm_file} riscv/rtems.h rtems.h" | ||
tmake_file="${tmake_file} riscv/t-rtems" | ||
;; | ||
+ *-*-phoenix*) | ||
+ tm_file="${tm_file} phoenix.h" | ||
+ ;; | ||
*) | ||
if test "x${with_multilib_generator}" = xdefault; then | ||
case "x${enable_multilib}" in | ||
|
8 changes: 4 additions & 4 deletions
8
toolchain/gcc-9.5.0-04-disable_tm.patch → toolchain/gcc-14.2.0-04-disable_tm.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
diff --git gcc-9.3.0-orig/gcc/config/phoenix.h gcc-9.3.0/gcc/config/phoenix.h | ||
index c1aad95..1985dde 100644 | ||
--- gcc-9.3.0-orig/gcc/config/phoenix.h | ||
+++ gcc-9.3.0/gcc/config/phoenix.h | ||
diff --git a/gcc/config/phoenix.h b/gcc/config/phoenix.h | ||
--- a/gcc/config/phoenix.h | ||
+++ b/gcc/config/phoenix.h | ||
@@ -31,3 +31,5 @@ along with GCC; see the file COPYING3. If not see | ||
/* This will prevent selecting 'unsigned long int' instead of 'unsigned int' as 'uint32_t' in stdint-newlib.h. */ | ||
#undef STDINT_LONG32 | ||
#define STDINT_LONG32 0 | ||
+/* libitm is not supported on Phoenix - disable it in crtstuff */ | ||
+#define USE_TM_CLONE_REGISTRY 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.