source:
rtems-source-builder/rtems/patches/gcc-core-4.6.3-rtems4.11-20120303.diff
@
0bf00e2
Last change on this file since 0bf00e2 was 0bf00e2, checked in by Chris Johns <chrisj@…>, on 11/08/12 at 20:09:51 | |
---|---|
|
|
File size: 21.7 KB |
-
gcc/ChangeLog.rtems
diff -Naur gcc-4.6.3.orig/gcc/ChangeLog.rtems gcc-4.6.3/gcc/ChangeLog.rtems
old new 1 2012-01-10 Ralf Corsépius <ralf.corsepius@rtems.org> 2 3 * config/h8300/h8300.h: Apply DJ Delorie's patch from 4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48231#c1. 5 6 2011-10-28 Ralf Corsépius <ralf.corsepius@rtems.org> 7 8 * config/avr/rtems.h: Remove __USE_INIT_FINI__. 9 10 2011-09-05 Ralf Corsépius <ralf.corsepius@rtems.org> 11 12 * config/lm32/t-rtems: New. 13 * config.gcc (lm32-*-rtems*): Add t-rtems. 14 15 2011-07-15 Peter Dufault <dufault@hda.com>, 16 Sebastian Huber <sebastian.huber@embedded-brains.de> 17 18 * config/rs6000/rtems.h (SUBSUBTARGET_OVERRIDE_OPTIONS): 19 Extend rs6000_spe handling. 20 21 2011-06-20 Ralf Corsépius <ralf.corsepius@rtems.org> 22 23 * sparc/t-rtems: Reflect introduction of sparc/t-crtin. 24 25 2011-05-20 Sebastian Huber <sebastian.huber@embedded-brains.de> 26 27 * config.gcc (arm*-*-rtemseabi*): New target. 28 * config/arm/rtems-eabi.h: New. 29 * config/arm/t-rtems-eabi: New. 30 31 2011-03-23 Joel Sherrill <joel.sherrill@oarcorp.com> 32 33 * config.gcc (sparc-*-rtems*, sparc64-*-rtems*): 34 Add sparc/t-rtems, crti.o crtn.o. 35 * config/sparc/t-rtems: New. 36 37 2011-03-22 Ralf Corsépius <ralf.corsepius@rtems.org> 38 39 * config.gcc (sparc64-rtems*): Remove sysv.h from tm_file. 40 41 2011-02-20 Ralf Corsépius <ralf.corsepius@rtems.org> 42 43 * config/rs6000/t-rtems: Add -mcpu=8540/-mfloat-gprs=double multilib. 44 45 2011-02-20 Ralf Corsépius <ralf.corsepius@rtems.org> 46 47 * config/rs6000/t-rtems: Remove -mcpu=601 multilib. 48 * config/rs6000/t-rtems: Remove -Dmpc8260 multilib. 49 * config/rs6000/rtems.h: Allow --float-gprs=... to override grps on 50 E500 targets. 51 52 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com> 53 54 * config.gcc (sparc64-*-rtems*): New target. 55 * config/sparc/sp64-rtemself.h: New file. 56 57 2010-04-19 Ralf Corsépius <ralf.corsepius@rtems.org> 58 59 * ginclude/stddef.h: Define _MACHINE_ANSI_H_ if _X86_64_ANSI_H_ is 60 defined (Used by amd64-*-netbsdelf5.*). 61 62 2010-04-18 Ralf Corsépius <ralf.corsepius@rtems.org> 63 64 * ginclude/stddef.h: Define _MACHINE_ANSI_H_ if _I386_ANSI_H_ is 65 defined (Used by i386-*-netbsdelf5.*). 66 67 2010-03-15 Ralf Corsépius <ralf.corsepius@rtems.org> 68 69 Patch from Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>: 70 * config/arm/rtems-elf.h, config/arm/t-rtems: Add optional support 71 for vfp FPU model 72 73 2009-11-04 Ralf Corsépius <ralf.corsepius@rtems.org> 74 75 * config/m32c/rtems.h, config/m68k/rtemself.h, 76 config/m68k/rtemself.h, config/sh/rtemself.h, 77 config/sparc/rtemself.h: Undef WCHAR_TYPE_SIZE, WCHAR_TYPE. 78 (Resets WCHAR_TYPE's to defaults. Prevents broken GCC tm_files 79 to interfere and cause wchar_t/wint_t incompatibilities). 80 81 2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org> 82 83 * config/avr/t-rtems: Don't build _exit. 84 85 Ralf Corsépius <ralf.corsepius@rtems.org> 86 87 * config/rs6000/rtems.h: Support for custom RTEMS multilibs. 88 Support TARGET_E500. 89 * config/rs6000/t-rtems: Custom RTEMS multilibs. 90 91 Ralf Corsépius <ralf.corsepius@rtems.org> 92 93 * config/mips/elf.h: Remove NO_IMPLICIT_EXTERN_C. 94 -
gcc/config/arm/rtems-eabi.h
diff -Naur gcc-4.6.3.orig/gcc/config/arm/rtems-eabi.h gcc-4.6.3/gcc/config/arm/rtems-eabi.h
old new 1 /* Definitions for RTEMS based ARM systems using EABI 2 Copyright (C) 2011 Free Software Foundation, Inc. 3 4 This file is part of GCC. 5 6 GCC is free software; you can redistribute it and/or modify it 7 under the terms of the GNU General Public License as published 8 by the Free Software Foundation; either version 3, or (at your 9 option) any later version. 10 11 GCC is distributed in the hope that it will be useful, but WITHOUT 12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 13 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 14 License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with GCC; see the file COPYING3. If not see 18 <http://www.gnu.org/licenses/>. */ 19 20 /* Run-time Target Specification. */ 21 #undef TARGET_VERSION 22 #define TARGET_VERSION fputs (" (ARM/EABI RTEMS)", stderr); 23 24 #define HAS_INIT_SECTION 25 26 #undef TARGET_OS_CPP_BUILTINS 27 #define TARGET_OS_CPP_BUILTINS() \ 28 do { \ 29 builtin_define ("__rtems__"); \ 30 builtin_define ("__USE_INIT_FINI__"); \ 31 builtin_assert ("system=rtems"); \ 32 TARGET_BPABI_CPP_BUILTINS(); \ 33 } while (0) -
gcc/config/arm/rtems-elf.h
diff -Naur gcc-4.6.3.orig/gcc/config/arm/rtems-elf.h gcc-4.6.3/gcc/config/arm/rtems-elf.h
old new 36 36 */ 37 37 #undef SUBTARGET_EXTRA_ASM_SPEC 38 38 #define SUBTARGET_EXTRA_ASM_SPEC "\ 39 %{!mhard-float: %{!m soft-float:-mfpu=softfpa}}"39 %{!mhard-float: %{!mfpu=vfp: %{!msoft-float:-mfpu=softfpa}}}" 40 40 41 41 /* 42 42 * The default includes --start-group and --end-group which conflicts -
gcc/config/arm/t-rtems
diff -Naur gcc-4.6.3.orig/gcc/config/arm/t-rtems gcc-4.6.3/gcc/config/arm/t-rtems
old new 5 5 MULTILIB_EXCEPTIONS = 6 6 MULTILIB_MATCHES = marm=mno-thumb 7 7 8 MULTILIB_OPTIONS += msoft-float/mhard-float 9 MULTILIB_DIRNAMES += soft fpu 10 MULTILIB_EXCEPTIONS += *mthumb/*mhard-float* 8 MULTILIB_OPTIONS += mhard-float/mfloat-abi=softfp 9 MULTILIB_DIRNAMES += fpu softfp 10 MULTILIB_EXCEPTIONS += *mthumb*/*mhard-float* *mthumb*/*mfloat-abi=softfp* 11 MULTILIB_MATCHES = 12 13 MULTILIB_OPTIONS += mfpu=vfp 14 MULTILIB_DIRNAMES += vfp 15 MULTILIB_EXCEPTIONS += *mhard-float*/*mfpu=vfp* *marm*/*mfloat-abi=softfp*/*mfpu=fpa* 16 MULTILIB_EXCLUSIONS += !mthumb/mfloat-abi=softfp/!mfpu=vfp 17 18 # default float model is fpa, so don't create a explicit copy of it 19 MULTILIB_EXCEPTIONS += *marm*/*mfpa* 20 21 # permutations of the options which are useful (+) or make no sense (-), 22 # defaults are in brackets: 23 # + (arm/soft/fpa) 24 # + (arm/soft)/vfp 25 # - (arm)/softfp(/fpa) 26 # + (arm)/softfp/vfp 27 # + (arm)/hard-float(/fpa) 28 # - (arm)/hard-float/vfp 29 # + thumb/(soft/fpa) 30 # + thumb/(soft/)vfp 31 # - thumb/softfp/fpa 32 # - thumb/softfp/vfp 33 # - thumb/hard-float/fpa 34 # - thumb/hard-float/vfp 35 36 # subdirs to be used for multilibs and their respective options: 37 #/thumb/vfp -> thumb/soft/vfp 38 #/thumb/fpa -> thumb/soft/fpa 39 #/thumb -> thumb/soft/fpa 40 #/vfp -> arm/soft/vfp 41 #/softfp/vfp -> arm/softfp/cfp 42 #/fpu/fpa -> arm/hard/fpa 43 #/fpu -> arm/hard/fpa 44 #/fpa -> arm/soft/fpa 45 #. -> arm/soft/fpa -
gcc/config/arm/t-rtems-eabi
diff -Naur gcc-4.6.3.orig/gcc/config/arm/t-rtems-eabi gcc-4.6.3/gcc/config/arm/t-rtems-eabi
old new 1 # Custom RTEMS EABI multilibs 2 3 MULTILIB_OPTIONS = mthumb march=armv6-m/march=armv7/march=armv7-m 4 MULTILIB_DIRNAMES = thumb armv6-m armv7 armv7-m 5 MULTILIB_EXCEPTIONS = march=armv6-m march=armv7 march=armv7-m 6 MULTILIB_MATCHES = marm=mno-thumb -
gcc/config/avr/rtems.h
diff -Naur gcc-4.6.3.orig/gcc/config/avr/rtems.h gcc-4.6.3/gcc/config/avr/rtems.h
old new 23 23 #define TARGET_OS_CPP_BUILTINS() \ 24 24 do { \ 25 25 builtin_define ("__rtems__"); \ 26 builtin_define ("__USE_INIT_FINI__"); \27 26 builtin_assert ("system=rtems"); \ 28 27 } while (0) -
gcc/config/avr/t-rtems
diff -Naur gcc-4.6.3.orig/gcc/config/avr/t-rtems gcc-4.6.3/gcc/config/avr/t-rtems
old new 1 1 # Multilibs for avr RTEMS targets. 2 2 3 # ATM, this is just a stub 3 # RTEMS uses _exit from newlib 4 LIB1ASMFUNCS := $(filter-out _exit,$(LIB1ASMFUNCS)) -
gcc/config/h8300/h8300.h
diff -Naur gcc-4.6.3.orig/gcc/config/h8300/h8300.h gcc-4.6.3/gcc/config/h8300/h8300.h
old new 133 133 #define INCOMING_FRAME_SP_OFFSET (POINTER_SIZE / 8) 134 134 135 135 #define DWARF_CIE_DATA_ALIGNMENT 2 136 #define DWARF2_ADDR_SIZE 4 136 137 137 138 /* Define this if addresses of constant functions 138 139 shouldn't be put through pseudo regs where they can be cse'd. -
gcc/config/lm32/t-rtems
diff -Naur gcc-4.6.3.orig/gcc/config/lm32/t-rtems gcc-4.6.3/gcc/config/lm32/t-rtems
old new 1 # for multilib 2 MULTILIB_OPTIONS = mmultiply-enabled mbarrel-shift-enabled 3 MULTILIB_OPTIONS += mdivide-enabled msign-extend-enabled 4 5 MULTILIB_EXCEPTIONS = 6 # MULTILIB_EXCEPTIONS += mmultiply-enabled/mbarrel-shift-enabled/mdivide-enabled/msign-extend-enabled 7 MULTILIB_EXCEPTIONS += mmultiply-enabled/mbarrel-shift-enabled/mdivide-enabled 8 MULTILIB_EXCEPTIONS += mmultiply-enabled/mbarrel-shift-enabled/msign-extend-enabled 9 #MULTILIB_EXCEPTIONS += mmultiply-enabled/mbarrel-shift-enabled 10 MULTILIB_EXCEPTIONS += mmultiply-enabled/mdivide-enabled/msign-extend-enabled 11 MULTILIB_EXCEPTIONS += mmultiply-enabled/mdivide-enabled 12 MULTILIB_EXCEPTIONS += mmultiply-enabled/msign-extend-enabled 13 # MULTILIB_EXCEPTIONS += mmultiply-enabled 14 MULTILIB_EXCEPTIONS += mbarrel-shift-enabled/mdivide-enabled/msign-extend-enabled 15 MULTILIB_EXCEPTIONS += mbarrel-shift-enabled/mdivide-enabled 16 MULTILIB_EXCEPTIONS += mbarrel-shift-enabled/msign-extend-enabled 17 # MULTILIB_EXCEPTIONS += mbarrel-shift-enabled 18 MULTILIB_EXCEPTIONS += mdivide-enabled/msign-extend-enabled 19 MULTILIB_EXCEPTIONS += mdivide-enabled 20 MULTILIB_EXCEPTIONS += msign-extend-enabled 21 # MULTILIB_EXCEPTIONS += -
gcc/config/m32c/rtems.h
diff -Naur gcc-4.6.3.orig/gcc/config/m32c/rtems.h gcc-4.6.3/gcc/config/m32c/rtems.h
old new 29 29 } \ 30 30 while (0) 31 31 32 /* Use the default */32 /* Use the defaults */ 33 33 #undef LINK_GCC_C_SEQUENCE_SPEC 34 35 #undef WCHAR_TYPE 36 37 #undef WCHAR_TYPE_SIZE -
gcc/config/m68k/rtemself.h
diff -Naur gcc-4.6.3.orig/gcc/config/m68k/rtemself.h gcc-4.6.3/gcc/config/m68k/rtemself.h
old new 31 31 builtin_assert ("system=rtems"); \ 32 32 } \ 33 33 while (0) 34 35 /* Use the defaults */ 36 #undef WCHAR_TYPE 37 38 #undef WCHAR_TYPE_SIZE -
gcc/config/mips/elf.h
diff -Naur gcc-4.6.3.orig/gcc/config/mips/elf.h gcc-4.6.3/gcc/config/mips/elf.h
old new 47 47 48 48 #undef ENDFILE_SPEC 49 49 #define ENDFILE_SPEC "crtend%O%s crtn%O%s" 50 51 #define NO_IMPLICIT_EXTERN_C 1 -
gcc/config/rs6000/rtems.h
diff -Naur gcc-4.6.3.orig/gcc/config/rs6000/rtems.h gcc-4.6.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 if (TARGET_HARD_FLOAT && !rs6000_explicit_options.float_gprs) \ 65 rs6000_float_gprs = 1; \ 66 if (rs6000_float_gprs != 0 && !rs6000_explicit_options.spe) \ 67 rs6000_spe = 1; \ 68 if (rs6000_spe && !rs6000_explicit_options.spe_abi) \ 69 rs6000_spe_abi = 1; \ 70 } \ 71 } while(0) 72 73 #undef WCHAR_TYPE 74 75 #undef WCHAR_TYPE_SIZE -
gcc/config/rs6000/t-rtems
diff -Naur gcc-4.6.3.orig/gcc/config/rs6000/t-rtems gcc-4.6.3/gcc/config/rs6000/t-rtems
old new 19 19 # <http://www.gnu.org/licenses/>. 20 20 21 21 MULTILIB_OPTIONS = \ 22 mcpu=403/mcpu=505/mcpu=601/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400 \ 23 Dmpc8260 \ 24 msoft-float 22 mcpu=403/mcpu=505/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400/mcpu=8540 \ 23 msoft-float/mfloat-gprs=double 25 24 26 25 MULTILIB_DIRNAMES = \ 27 m403 m505 m601 m603e m604 m860 m7400 \ 28 mpc8260 \ 29 nof 26 m403 m505 m603e m604 m860 m7400 m8540 \ 27 nof gprsdouble 30 28 31 29 # MULTILIB_MATCHES = ${MULTILIB_MATCHES_FLOAT} 32 30 MULTILIB_MATCHES = … … 47 45 # Map 750 to . 48 46 MULTILIB_MATCHES += mcpu?750= 49 47 48 # Map 8548 to 8540 49 MULTILIB_MATCHES += mcpu?8540=mcpu?8548 50 51 # Map -mcpu=8540 -mfloat-gprs=single to -mcpu=8540 52 # (mfloat-gprs=single is implicit default) 53 MULTILIB_MATCHES += mcpu?8540=mcpu?8540/mfloat-gprs?single 54 50 55 # Soft-float only, default implies msoft-float 51 56 # NOTE: Must match with MULTILIB_MATCHES_FLOAT and MULTILIB_MATCHES 52 57 MULTILIB_SOFTFLOAT_ONLY = \ … … 62 67 MULTILIB_HARDFLOAT_ONLY = \ 63 68 *mcpu=505/*msoft-float* 64 69 70 # Targets which do not support gprs 71 MULTILIB_NOGPRS = \ 72 mfloat-gprs=* \ 73 *mcpu=403/*mfloat-gprs=* \ 74 *mcpu=505/*mfloat-gprs=* \ 75 *mcpu=603e/*mfloat-gprs=* \ 76 *mcpu=604/*mfloat-gprs=* \ 77 *mcpu=860/*mfloat-gprs=* \ 78 *mcpu=7400/*mfloat-gprs=* 79 65 80 MULTILIB_EXCEPTIONS = 66 81 67 82 # Disallow -Dppc and -Dmpc without other options … … 69 84 70 85 MULTILIB_EXCEPTIONS += \ 71 86 ${MULTILIB_SOFTFLOAT_ONLY} \ 72 ${MULTILIB_HARDFLOAT_ONLY} 87 ${MULTILIB_HARDFLOAT_ONLY} \ 88 ${MULTILIB_NOGPRS} 73 89 74 90 # Special rules 75 91 # Take out all variants we don't want 76 MULTILIB_EXCEPTIONS += *mcpu=403/Dmpc*77 MULTILIB_EXCEPTIONS += *mcpu=505/Dmpc*78 MULTILIB_EXCEPTIONS += *mcpu=601/Dmpc*79 MULTILIB_EXCEPTIONS += *mcpu=604/Dmpc*80 MULTILIB_EXCEPTIONS += *mcpu=750/Dmpc*81 MULTILIB_EXCEPTIONS += *mcpu=860/Dmpc*82 MULTILIB_EXCEPTIONS += *mcpu=7400/Dmpc* -
gcc/config/sh/rtemself.h
diff -Naur gcc-4.6.3.orig/gcc/config/sh/rtemself.h gcc-4.6.3/gcc/config/sh/rtemself.h
old new 24 24 builtin_define( "__rtems__" ); \ 25 25 builtin_assert( "system=rtems" ); \ 26 26 } while (0) 27 28 /* Use the defaults */ 29 #undef WCHAR_TYPE 30 31 #undef WCHAR_TYPE_SIZE -
gcc/config/sparc/rtemself.h
diff -Naur gcc-4.6.3.orig/gcc/config/sparc/rtemself.h gcc-4.6.3/gcc/config/sparc/rtemself.h
old new 29 29 } \ 30 30 while (0) 31 31 32 /* Use the default */32 /* Use the defaults */ 33 33 #undef LINK_GCC_C_SEQUENCE_SPEC 34 35 #undef WCHAR_TYPE 36 37 #undef WCHAR_TYPE_SIZE -
gcc/config/sparc/sp64-rtemself.h
diff -Naur gcc-4.6.3.orig/gcc/config/sparc/sp64-rtemself.h gcc-4.6.3/gcc/config/sparc/sp64-rtemself.h
old new 1 /* Definitions for rtems targeting a SPARC64 using ELF. 2 Copyright (C) 2010 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 34 35 /* we are not svr4 */ 36 #undef CPP_SUBTARGET_SPEC 37 #define CPP_SUBTARGET_SPEC "" -
gcc/config/sparc/t-rtems
diff -Naur gcc-4.6.3.orig/gcc/config/sparc/t-rtems gcc-4.6.3/gcc/config/sparc/t-rtems
old new 1 # Copyright (C) 2011 Free Software Foundation, Inc. 2 # 3 # This file is part of GCC. 4 # 5 # GCC is free software; you can redistribute it and/or modify 6 # it under the terms of the GNU General Public License as published by 7 # the Free Software Foundation; either version 3, or (at your option) 8 # any later version. 9 # 10 # GCC is distributed in the hope that it will be useful, 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 # GNU General Public License for more details. 14 # 15 # You should have received a copy of the GNU General Public License 16 # along with GCC; see the file COPYING3. If not see 17 # <http://www.gnu.org/licenses/>. 18 # -
gcc/config.gcc
diff -Naur gcc-4.6.3.orig/gcc/config.gcc gcc-4.6.3/gcc/config.gcc
old new 895 895 tm_file="${tm_file} arm/aout.h arm/arm.h" 896 896 tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp" 897 897 ;; 898 arm*-*-rtemseabi*) 899 need_64bit_hwint=yes 900 default_use_cxa_atexit=yes 901 tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/bpabi.h" 902 tm_file="${tm_file} ../../libgcc/config/arm/bpabi-lib.h" 903 tm_file="${tm_file} rtems.h arm/rtems-eabi.h newlib-stdint.h" 904 tm_file="${tm_file} arm/aout.h arm/arm.h" 905 tmake_file="arm/t-arm arm/t-arm-elf" 906 tmake_file="${tmake_file} arm/t-bpabi t-rtems arm/t-rtems-eabi" 907 tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp" 908 ;; 898 909 arm*-*-rtems*) 899 910 tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/rtems-elf.h rtems.h newlib-stdint.h" 900 911 tmake_file="arm/t-arm arm/t-arm-elf t-rtems arm/t-rtems" … … 1666 1677 tm_file="dbxelf.h elfos.h ${tm_file} lm32/rtems.h rtems.h newlib-stdint.h" 1667 1678 tmake_file="${tmake_file} lm32/t-lm32 lm32/t-fprules-softfp soft-fp/t-softfp" 1668 1679 tmake_file="${tmake_file} t-rtems" 1680 tmake_file="${tmake_file} lm32/t-rtems" 1669 1681 ;; 1670 1682 lm32-*-uclinux*) 1671 1683 tm_file="dbxelf.h elfos.h ${tm_file} gnu-user.h linux.h lm32/uclinux-elf.h" … … 2540 2552 ;; 2541 2553 sparc-*-rtems*) 2542 2554 tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h" 2543 tmake_file="sparc/t-elf sparc/t-crtin sparc/t-crtfm t-rtems"2544 extra_parts="crtbegin.o crtend.o "2555 tmake_file="sparc/t-elf sparc/t-crtin sparc/t-crtfm sparc/t-rtems t-rtems" 2556 extra_parts="crtbegin.o crtend.o crtbegin.o crtend.o" 2545 2557 ;; 2546 2558 sparc-*-linux*) 2547 2559 tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h" … … 2634 2646 sparc64-*-rtems*) 2635 2647 tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h sparc/sysv4.h sparc/sp64-elf.h sparc/rtemself.h rtems.h" 2636 2648 extra_options="${extra_options} sparc/little-endian.opt" 2637 tmake_file="${tmake_file} sparc/t-crtin sparc/t-crtfm t-rtems"2638 extra_parts="crtbegin.o crtend.o "2649 tmake_file="${tmake_file} sparc/t-crtin sparc/t-crtfm sparc/t-rtems t-rtems" 2650 extra_parts="crtbegin.o crtend.o crtbegin.o crtend.o" 2639 2651 ;; 2640 2652 sparc64-*-linux*) 2641 2653 tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/linux64.h" -
gcc/ginclude/stddef.h
diff -Naur gcc-4.6.3.orig/gcc/ginclude/stddef.h gcc-4.6.3/gcc/ginclude/stddef.h
old new 53 53 one less case to deal with in the following. */ 54 54 #if defined (__BSD_NET2__) || defined (____386BSD____) || (defined (__FreeBSD__) && (__FreeBSD__ < 5)) || defined(__NetBSD__) 55 55 #include <machine/ansi.h> 56 #if !defined(_MACHINE_ANSI_H_) 57 #if defined(_I386_ANSI_H_) || defined(_X86_64_ANSI_H_) 58 #define _MACHINE_ANSI_H_ 56 59 #endif 60 #endif 61 #endif 62 57 63 /* On FreeBSD 5, machine/ansi.h does not exist anymore... */ 58 64 #if defined (__FreeBSD__) && (__FreeBSD__ >= 5) 59 65 #include <sys/_types.h> -
libgcc/ChangeLog.rtems
diff -Naur gcc-4.6.3.orig/libgcc/ChangeLog.rtems gcc-4.6.3/libgcc/ChangeLog.rtems
old new 1 2010-08-17 Ralf Corsépius <ralf.corsepius@rtems.org> 2 3 1669/Tools, GCC-BZ 44793 4 * config.host (powerpc-*-rtems*): Add tmake_file. 5 Add extra_parts. -
libgcc/config.host
diff -Naur gcc-4.6.3.orig/libgcc/config.host gcc-4.6.3/libgcc/config.host
old new 474 474 tmake_file="${tmake_file} rs6000/t-ppccomm" 475 475 ;; 476 476 powerpc-*-rtems*) 477 tmake_file="${tmake_file} rs6000/t-ppccomm t-softfp" 478 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o" 477 479 ;; 478 480 powerpc-*-linux* | powerpc64-*-linux*) 479 481 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128 t-softfp"
Note: See TracBrowser
for help on using the repository browser.