source:
rtems/contrib/crossrpms/patches/gcc-core-4.5-20100311-rtems4.11-20100317.diff
@
28d868c4
Last change on this file since 28d868c4 was 28d868c4, checked in by Ralf Corsepius <ralf.corsepius@…>, on 03/18/10 at 18:27:15 | |
---|---|
|
|
File size: 13.1 KB |
-
ChangeLog.rtems
diff -Naur gcc-4.5-20100311.orig/ChangeLog.rtems gcc-4.5-20100311/ChangeLog.rtems
old new 1 Ralf Corsépius <ralf.corsepius@rtems.org> 2 3 * configure, configure.ac (skipdirs): Add target-libiberty. 4 -
gcc-4.5-20100311
diff -Naur gcc-4.5-20100311.orig/configure gcc-4.5-20100311/configure
old new 3291 3291 noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap" 3292 3292 ;; 3293 3293 *-*-rtems*) 3294 skipdirs="$skipdirs target-libiberty" 3294 3295 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" 3295 3296 ;; 3296 3297 # The tpf target doesn't support gdb yet. … … 7889 7890 # to it. This is right: we don't want to search that directory 7890 7891 # for binaries, but we want the header files in there, so add 7891 7892 # them explicitly. 7892 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include '7893 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed' 7893 7894 7894 7895 # Someone might think of using the pre-installed headers on 7895 7896 # Canadian crosses, in case the installed compiler is not fully -
gcc-4.5-20100311
diff -Naur gcc-4.5-20100311.orig/configure.ac gcc-4.5-20100311/configure.ac
old new 528 528 noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap" 529 529 ;; 530 530 *-*-rtems*) 531 skipdirs="$skipdirs target-libiberty" 531 532 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" 532 533 ;; 533 534 # The tpf target doesn't support gdb yet. … … 2993 2994 # to it. This is right: we don't want to search that directory 2994 2995 # for binaries, but we want the header files in there, so add 2995 2996 # them explicitly. 2996 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include '2997 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed' 2997 2998 2998 2999 # Someone might think of using the pre-installed headers on 2999 3000 # Canadian crosses, in case the installed compiler is not fully -
gcc/ChangeLog.rtems
diff -Naur gcc-4.5-20100311.orig/gcc/ChangeLog.rtems gcc-4.5-20100311/gcc/ChangeLog.rtems
old new 1 2010-03-15 Ralf Corsépius <ralf.corsepius@rtems.org> 2 3 Patch from Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>: 4 * config/arm/rtems-elf.h, config/arm/t-rtems: Add optional support 5 for vfp FPU model 6 7 2010-02-10 Ralf Corsépius <ralf.corsepius@rtems.org> 8 9 * config/rtems.h: Abandon -qrtems_debug. 10 11 2009-12-01 Ralf Corsépius <ralf.corsepius@rtems.org> 12 13 * config/avr/avr.h (LINK_SPEC): Pass -m avrN to ld for -mmcu=avrN. 14 15 2009-11-04 Ralf Corsépius <ralf.corsepius@rtems.org> 16 17 * config/m32c/rtems.h, config/m68k/rtemself.h, 18 config/m68k/rtemself.h, config/sh/rtemself.h, 19 config/sparc/rtemself.h: Undef WCHAR_TYPE_SIZE, WCHAR_TYPE. 20 (Resets WCHAR_TYPE's to defaults. Prevents broken GCC tm_files 21 to interfere and cause wchar_t/wint_t incompatibilities). 22 23 2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org> 24 25 * config/avr/t-rtems: Don't build _exit. 26 27 Jon Beniston <jon@beniston.com> 28 29 * config/lm32/arithmetic.c, config/lm32/crti.S, 30 config/lm32/crtn.S, config/lm32/lib1funcs.S, 31 config/lm32/lm32.c, config/lm32/lm32.h, 32 config/lm32/lm32.md, config/lm32/lm32.opt, 33 config/lm32/lm32-protos.h, config/lm32/predicates.md, 34 config/lm32/rtems.h, config/lm32/sfp-machine.h, 35 config/lm32/t-fprules-softfp, config/lm32/t-lm32, 36 config/lm32/uclinux-elf.h: New (lm32 port). 37 * config.gcc: Add lm32* targets. 38 * doc/contrib.texi, doc/invoke.texi: Add lm32. 39 40 Ralf Corsépius <ralf.corsepius@rtems.org> 41 42 * config/rs6000/rtems.h: Support for custom RTEMS multilibs. 43 Support TARGET_E500. 44 * config/rs6000/t-rtems: Custom RTEMS multilibs. 45 46 Ralf Corsépius <ralf.corsepius@rtems.org> 47 48 * config/mips/elf.h: Remove NO_IMPLICIT_EXTERN_C. 49 -
gcc/config/arm/rtems-elf.h
diff -Naur gcc-4.5-20100311.orig/gcc/config/arm/rtems-elf.h gcc-4.5-20100311/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.5-20100311.orig/gcc/config/arm/t-rtems gcc-4.5-20100311/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/avr/t-rtems
diff -Naur gcc-4.5-20100311.orig/gcc/config/avr/t-rtems gcc-4.5-20100311/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/lm32/rtems.h
diff -Naur gcc-4.5-20100311.orig/gcc/config/lm32/rtems.h gcc-4.5-20100311/gcc/config/lm32/rtems.h
old new 1 /* Definitions for rtems targeting a lm32 using ELF. 2 Copyright (C) 2009, 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 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 3, or (at your option) 9 any later version. 10 11 GCC is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public 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 /* Target OS builtins. */ 21 #undef TARGET_OS_CPP_BUILTINS 22 #define TARGET_OS_CPP_BUILTINS() \ 23 do \ 24 { \ 25 builtin_define ("__rtems__"); \ 26 builtin_define ("__USE_INIT_FINI__"); \ 27 builtin_assert ("system=rtems"); \ 28 } \ 29 while (0) 30 31 /* Use the default */ 32 #undef LINK_GCC_C_SEQUENCE_SPEC -
gcc/config/m32c/rtems.h
diff -Naur gcc-4.5-20100311.orig/gcc/config/m32c/rtems.h gcc-4.5-20100311/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.5-20100311.orig/gcc/config/m68k/rtemself.h gcc-4.5-20100311/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.5-20100311.orig/gcc/config/mips/elf.h gcc-4.5-20100311/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.5-20100311.orig/gcc/config/rs6000/rtems.h gcc-4.5-20100311/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) 67 68 #undef WCHAR_TYPE 69 70 #undef WCHAR_TYPE_SIZE -
gcc/config/rs6000/t-rtems
diff -Naur gcc-4.5-20100311.orig/gcc/config/rs6000/t-rtems gcc-4.5-20100311/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 \22 mcpu=403/mcpu=505/mcpu=601/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400/mcpu=8540 \ 23 23 Dmpc8260 \ 24 24 msoft-float 25 25 26 26 MULTILIB_DIRNAMES = \ 27 m403 m505 m601 m603e m604 m860 m7400 \27 m403 m505 m601 m603e m604 m860 m7400 m8540 \ 28 28 mpc8260 \ 29 29 nof 30 30 … … 47 47 # Map 750 to . 48 48 MULTILIB_MATCHES += mcpu?750= 49 49 50 # Map e500, 8548 to 8540 51 MULTILIB_MATCHES += mcpu?8540=mcpu?e500 52 MULTILIB_MATCHES += mcpu?8540=mcpu?8548 53 50 54 # Soft-float only, default implies msoft-float 51 55 # NOTE: Must match with MULTILIB_MATCHES_FLOAT and MULTILIB_MATCHES 52 56 MULTILIB_SOFTFLOAT_ONLY = \ … … 80 84 MULTILIB_EXCEPTIONS += *mcpu=750/Dmpc* 81 85 MULTILIB_EXCEPTIONS += *mcpu=860/Dmpc* 82 86 MULTILIB_EXCEPTIONS += *mcpu=7400/Dmpc* 87 MULTILIB_EXCEPTIONS += *mcpu=8540/Dmpc* -
gcc/config/rtems.h
diff -Naur gcc-4.5-20100311.orig/gcc/config/rtems.h gcc-4.5-20100311/gcc/config/rtems.h
old new 38 38 #undef LIB_SPEC 39 39 #define LIB_SPEC "%{!qrtems: " STD_LIB_SPEC "} " \ 40 40 "%{!nostdlib: %{qrtems: --start-group \ 41 %{!qrtems_debug: -lrtemsbsp -lrtemscpu} \ 42 %{qrtems_debug: -lrtemsbsp_g -lrtemscpu_g} \ 41 -lrtemsbsp -lrtemscpu \ 43 42 -lc -lgcc --end-group %{!qnolinkcmds: -T linkcmds%s}}}" -
gcc/config/sh/rtemself.h
diff -Naur gcc-4.5-20100311.orig/gcc/config/sh/rtemself.h gcc-4.5-20100311/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.5-20100311.orig/gcc/config/sparc/rtemself.h gcc-4.5-20100311/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
Note: See TracBrowser
for help on using the repository browser.