source:
rtems/contrib/crossrpms/patches/gcc-core-4.3.3-rtems4.10-20090125.diff
@
a3eb107
Last change on this file since a3eb107 was b2b9ba12, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/26/09 at 04:50:11 | |
---|---|
|
|
File size: 9.6 KB |
-
configure
diff -Naur gcc-4.3.3.orig/configure gcc-4.3.3/configure
old new 2185 2185 noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap" 2186 2186 ;; 2187 2187 *-*-rtems*) 2188 skipdirs="$skipdirs target-libiberty" 2188 2189 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" 2189 2190 ;; 2190 2191 # The tpf target doesn't support gdb yet. … … 5829 5830 # to it. This is right: we don't want to search that directory 5830 5831 # for binaries, but we want the header files in there, so add 5831 5832 # them explicitly. 5832 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include '5833 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed' 5833 5834 5834 5835 # Someone might think of using the pre-installed headers on 5835 5836 # Canadian crosses, in case the installed compiler is not fully -
configure.ac
diff -Naur gcc-4.3.3.orig/configure.ac gcc-4.3.3/configure.ac
old new 462 462 noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap" 463 463 ;; 464 464 *-*-rtems*) 465 skipdirs="$skipdirs target-libiberty" 465 466 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" 466 467 ;; 467 468 # The tpf target doesn't support gdb yet. … … 2340 2341 # to it. This is right: we don't want to search that directory 2341 2342 # for binaries, but we want the header files in there, so add 2342 2343 # them explicitly. 2343 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include '2344 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed' 2344 2345 2345 2346 # Someone might think of using the pre-installed headers on 2346 2347 # Canadian crosses, in case the installed compiler is not fully -
gcc/config/arm/rtems-elf.h
diff -Naur gcc-4.3.3.orig/gcc/config/arm/rtems-elf.h gcc-4.3.3/gcc/config/arm/rtems-elf.h
old new 43 43 * with how this used to be defined. 44 44 */ 45 45 #undef LINK_GCC_C_SEQUENCE_SPEC 46 #define LINK_GCC_C_SEQUENCE_SPEC "%G %L" -
gcc/config/m32c/rtems.h
diff -Naur gcc-4.3.3.orig/gcc/config/m32c/rtems.h gcc-4.3.3/gcc/config/m32c/rtems.h
old new 1 /* Definitions for rtems targeting a M32C using ELF. 2 Copyright (C) 2008, Free Software Foundation, Inc. 3 Contributed by Joel Sherrill (joel@OARcorp.com). 4 5 This file is part of GCC. 6 7 GCC is free software; you can redistribute it and/or modify 8 it under the terms of the GNU General Public License as published by 9 the Free Software Foundation; either version 3, or (at your option) 10 any later version. 11 12 GCC is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 GNU General Public License for more details. 16 17 You should have received a copy of the GNU General Public License 18 along with GCC; see the file COPYING3. If not see 19 <http://www.gnu.org/licenses/>. */ 20 21 /* Target OS builtins. */ 22 #undef TARGET_OS_CPP_BUILTINS 23 #define TARGET_OS_CPP_BUILTINS() \ 24 do \ 25 { \ 26 builtin_define ("__rtems__"); \ 27 builtin_define ("__USE_INIT_FINI__"); \ 28 builtin_assert ("system=rtems"); \ 29 } \ 30 while (0) 31 32 /* Use the default */ 33 #undef LINK_GCC_C_SEQUENCE_SPEC -
gcc/config/m32r/rtems.h
diff -Naur gcc-4.3.3.orig/gcc/config/m32r/rtems.h gcc-4.3.3/gcc/config/m32r/rtems.h
old new 1 /* Definitions for rtems targeting a M32R using ELF. 2 Copyright (C) 2008, Free Software Foundation, Inc. 3 Contributed by Joel Sherrill (joel@OARcorp.com). 4 5 This file is part of GCC. 6 7 GCC is free software; you can redistribute it and/or modify 8 it under the terms of the GNU General Public License as published by 9 the Free Software Foundation; either version 3, or (at your option) 10 any later version. 11 12 GCC is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 GNU General Public License for more details. 16 17 You should have received a copy of the GNU General Public License 18 along with GCC; see the file COPYING3. If not see 19 <http://www.gnu.org/licenses/>. */ 20 21 /* Target OS builtins. */ 22 #undef TARGET_OS_CPP_BUILTINS 23 #define TARGET_OS_CPP_BUILTINS() \ 24 do \ 25 { \ 26 builtin_define ("__rtems__"); \ 27 builtin_define ("__USE_INIT_FINI__"); \ 28 builtin_assert ("system=rtems"); \ 29 } \ 30 while (0) 31 32 /* Use the default */ 33 #undef LINK_GCC_C_SEQUENCE_SPEC -
gcc/config/m68k/t-rtems
diff -Naur gcc-4.3.3.orig/gcc/config/m68k/t-rtems gcc-4.3.3/gcc/config/m68k/t-rtems
old new 4 4 || MLIB == "5206" \ 5 5 || MLIB == "5208" \ 6 6 || MLIB == "5307" \ 7 || MLIB == "5329" \ 7 8 || MLIB == "5407" \ 8 9 || MLIB == "5475") -
gcc/config/mips/elf.h
diff -Naur gcc-4.3.3.orig/gcc/config/mips/elf.h gcc-4.3.3/gcc/config/mips/elf.h
old new 48 48 #undef ENDFILE_SPEC 49 49 #define ENDFILE_SPEC "crtend%O%s crtn%O%s" 50 50 51 #define NO_IMPLICIT_EXTERN_C 152 53 51 #define HANDLE_PRAGMA_PACK_PUSH_POP 1 -
gcc/config/rs6000/rtems.h
diff -Naur gcc-4.3.3.orig/gcc/config/rs6000/rtems.h gcc-4.3.3/gcc/config/rs6000/rtems.h
old new 49 49 %{mcpu=604: %{!Dppc*: %{!Dmpc*: -Dmpc604} } } \ 50 50 %{mcpu=750: %{!Dppc*: %{!Dmpc*: -Dmpc750} } } \ 51 51 %{mcpu=821: %{!Dppc*: %{!Dmpc*: -Dmpc821} } } \ 52 %{mcpu=860: %{!Dppc*: %{!Dmpc*: -Dmpc860} } }" 52 %{mcpu=860: %{!Dppc*: %{!Dmpc*: -Dmpc860} } } \ 53 %{mcpu=8540: %{!Dppc*: %{!Dmpc*: -Dppc8540} } }" 53 54 54 55 #undef SUBSUBTARGET_EXTRA_SPECS 55 56 #define SUBSUBTARGET_EXTRA_SPECS \ 56 57 { "cpp_os_rtems", CPP_OS_RTEMS_SPEC } 58 59 #undef SUBSUBTARGET_OVERRIDE_OPTIONS 60 #define SUBSUBTARGET_OVERRIDE_OPTIONS \ 61 do { \ 62 if (TARGET_E500) \ 63 { \ 64 rs6000_float_gprs = 1; \ 65 } \ 66 } while(0) -
gcc/config/rs6000/t-rtems
diff -Naur gcc-4.3.3.orig/gcc/config/rs6000/t-rtems gcc-4.3.3/gcc/config/rs6000/t-rtems
old new 1 1 # Multilibs for powerpc RTEMS targets. 2 2 3 3 MULTILIB_OPTIONS = \ 4 mcpu=403/mcpu=505/mcpu=601/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400 \4 mcpu=403/mcpu=505/mcpu=601/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400/mcpu=8540 \ 5 5 Dmpc8260 \ 6 6 msoft-float 7 7 8 8 MULTILIB_DIRNAMES = \ 9 m403 m505 m601 m603e m604 m860 m7400 \9 m403 m505 m601 m603e m604 m860 m7400 m8540 \ 10 10 mpc8260 \ 11 11 nof 12 12 13 MULTILIB_EXTRA_OPTS = mrelocatable-lib mno-eabi mstrict-align14 15 13 # MULTILIB_MATCHES = ${MULTILIB_MATCHES_FLOAT} 16 14 MULTILIB_MATCHES = 17 15 MULTILIB_MATCHES += ${MULTILIB_MATCHES_ENDIAN} … … 31 29 # Map 750 to . 32 30 MULTILIB_MATCHES += mcpu?750= 33 31 32 # Map e500, 8548 to 8540 33 MULTILIB_MATCHES += mcpu?8540=mcpu?e500 34 MULTILIB_MATCHES += mcpu?8540=mcpu?8548 35 34 36 # Soft-float only, default implies msoft-float 35 37 # NOTE: Must match with MULTILIB_MATCHES_FLOAT and MULTILIB_MATCHES 36 38 MULTILIB_SOFTFLOAT_ONLY = \ … … 64 66 MULTILIB_EXCEPTIONS += *mcpu=750/Dmpc* 65 67 MULTILIB_EXCEPTIONS += *mcpu=860/Dmpc* 66 68 MULTILIB_EXCEPTIONS += *mcpu=7400/Dmpc* 69 MULTILIB_EXCEPTIONS += *mcpu=8540/Dmpc* -
gcc/config.gcc
diff -Naur gcc-4.3.3.orig/gcc/config.gcc gcc-4.3.3/gcc/config.gcc
old new 1490 1490 extra_parts="crtinit.o crtfini.o m32rx/crtinit.o m32rx/crtfini.o" 1491 1491 use_fixproto=yes 1492 1492 ;; 1493 m32r-*-rtems*) 1494 tm_file="dbxelf.h elfos.h svr4.h ${tm_file} m32r/rtems.h rtems.h" 1495 tmake_file="m32r/t-m32r t-rtems" 1496 extra_parts="crtinit.o crtfini.o" 1497 ;; 1493 1498 m32r-*-linux*) 1494 1499 tm_file="dbxelf.h elfos.h svr4.h linux.h ${tm_file} m32r/linux.h" 1495 1500 # We override the tmake_file for linux -- why? … … 2636 2641 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o" 2637 2642 use_collect2=no 2638 2643 ;; 2644 m32c-*-rtems*) 2645 tm_file="dbxelf.h elfos.h svr4.h ${tm_file} m32c/rtems.h rtems.h" 2646 tmake_file="${tmake_file} t-rtems" 2647 c_target_objs="m32c-pragma.o" 2648 cxx_target_objs="m32c-pragma.o" 2649 ;; 2639 2650 m32c-*-elf*) 2640 2651 tm_file="dbxelf.h elfos.h svr4.h ${tm_file}" 2641 2652 c_target_objs="m32c-pragma.o" -
libgcc/config.host
diff -Naur gcc-4.3.3.orig/libgcc/config.host gcc-4.3.3/libgcc/config.host
old new 403 403 ;; 404 404 m32rle-*-elf*) 405 405 ;; 406 m32r*-*-rtems*) 407 ;; 406 408 m32r-*-linux*) 407 409 ;; 408 410 m32rle-*-linux*) … … 646 648 am33_2.0-*-linux*) 647 649 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o" 648 650 ;; 649 m32c-*-elf* )651 m32c-*-elf*|m32c-*-rtems*) 650 652 ;; 651 653 *) 652 654 echo "*** Configuration ${host} not supported" 1>&2
Note: See TracBrowser
for help on using the repository browser.