source:
rtems/contrib/crossrpms/patches/gcc-core-4.1.1-rtems4.8-20070102.diff
@
5ebd9351
Last change on this file since 5ebd9351 was 227afd10, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/02/07 at 10:44:12 | |
---|---|
|
|
File size: 5.8 KB |
-
gcc/config/arm/rtems-elf.h
diff -uNr gcc-4.1.1.orig/gcc/config/arm/rtems-elf.h gcc-4.1.1/gcc/config/arm/rtems-elf.h
old new 27 27 #define TARGET_OS_CPP_BUILTINS() \ 28 28 do { \ 29 29 builtin_define ("__rtems__"); \ 30 builtin_define ("__USE_INIT_FINI__"); \ 30 31 builtin_assert ("system=rtems"); \ 31 32 } while (0) 32 33 -
gcc/config/bfin/rtems.h
diff -uNr gcc-4.1.1.orig/gcc/config/bfin/rtems.h gcc-4.1.1/gcc/config/bfin/rtems.h
old new 1 /* Definitions for rtems targeting a bfin 2 Copyright (C) 2006 Free Software Foundation, Inc. 3 Contributed by Ralf Corsépius (ralf.corsepius@rtems.org). 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 2, 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 COPYING. If not, write to 19 the Free Software Foundation, 51 Franklin Street, Fifth Floor, 20 Boston, MA 02110-1301, USA. */ 21 22 /* Target OS preprocessor built-ins. */ 23 #define TARGET_OS_CPP_BUILTINS() \ 24 do \ 25 { \ 26 builtin_define ("__rtems__"); \ 27 builtin_assert ("system=rtems"); \ 28 } \ 29 while (0) -
gcc/config/c4x/rtems.h
diff -uNr gcc-4.1.1.orig/gcc/config/c4x/rtems.h gcc-4.1.1/gcc/config/c4x/rtems.h
old new 24 24 #define TARGET_OS_CPP_BUILTINS() \ 25 25 do { \ 26 26 builtin_define ("__rtems__"); \ 27 builtin_define ("__USE_INIT_FINI__"); \28 27 builtin_assert ("system=rtems"); \ 29 28 } while (0) -
gcc/config/mips/elf.h
diff -uNr gcc-4.1.1.orig/gcc/config/mips/elf.h gcc-4.1.1/gcc/config/mips/elf.h
old new 48 48 49 49 #undef ENDFILE_SPEC 50 50 #define ENDFILE_SPEC "crtend%O%s crtn%O%s" 51 52 #define NO_IMPLICIT_EXTERN_C 1 -
gcc/config/mips/t-rtems
diff -uNr gcc-4.1.1.orig/gcc/config/mips/t-rtems gcc-4.1.1/gcc/config/mips/t-rtems
old new 1 1 # Custom multilibs for RTEMS 2 2 3 MULTILIB_OPTIONS = mips1/mips3/mips32 msoft-float/msingle-float 4 MULTILIB_DIRNAMES = mips1 mips3 mips32 soft-float single 5 MULTILIB_MATCHES = msingle-float=m4650 3 # default is mips1 EB hard-float 4 MULTILIB_OPTIONS = mips1/mips3/mips32 EB/EL msoft-float 5 MULTILIB_DIRNAMES = mips1 mips3 mips32 eb el soft-float 6 MULTILIB_MATCHES = EL=mel EB=meb 7 8 MULTILIB_EXCEPTIONS = 9 10 # Big endian only 11 MULTILIB_EXCEPTIONS += EL* 12 MULTILIB_EXCEPTIONS += mips32/EL* 13 14 # Little endian only 15 MULTILIB_EXCEPTIONS += mips3 16 MULTILIB_EXCEPTIONS += mips3/msoft-float -
gcc/config.gcc
diff -uNr gcc-4.1.1.orig/gcc/config.gcc gcc-4.1.1/gcc/config.gcc
old new 761 761 tmake_file=bfin/t-bfin-elf 762 762 use_collect2=no 763 763 ;; 764 bfin*-rtems*) 765 tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h bfin/rtems.h rtems.h" 766 tmake_file=bfin/t-bfin-elf 767 use_collect2=no 768 ;; 764 769 bfin*-*) 765 770 tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h" 766 771 tmake_file=bfin/t-bfin … … 1560 1565 tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_O64" 1561 1566 use_fixproto=yes 1562 1567 ;; 1563 mips *-*-rtems*)1568 mips-*-rtems*) 1564 1569 tm_file="elfos.h ${tm_file} mips/elf.h mips/rtems.h rtems.h" 1565 1570 tmake_file="mips/t-elf t-rtems mips/t-rtems" 1566 1571 ;; -
gcc/Makefile.in
diff -uNr gcc-4.1.1.orig/gcc/Makefile.in gcc-4.1.1/gcc/Makefile.in
old new 3616 3616 install-driver: installdirs xgcc$(exeext) 3617 3617 -rm -f $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext) 3618 3618 -$(INSTALL_PROGRAM) xgcc$(exeext) $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext) 3619 -rm -f $(DESTDIR)$(bindir)/$(target_noncanonical)-gcc-$(version) 3619 -rm -f $(DESTDIR)$(bindir)/$(target_noncanonical)-gcc-$(version)$(exeext) 3620 3620 -( cd $(DESTDIR)$(bindir) && \ 3621 $(LN) $(GCC_INSTALL_NAME)$(exeext) $(target_noncanonical)-gcc-$(version) )3621 $(LN) $(GCC_INSTALL_NAME)$(exeext) $(target_noncanonical)-gcc-$(version)$(exeext) ) 3622 3622 -if [ -f gcc-cross$(exeext) ] ; then \ 3623 3623 if [ -d $(DESTDIR)$(gcc_tooldir)/bin/. ] ; then \ 3624 3624 rm -f $(DESTDIR)$(gcc_tooldir)/bin/gcc$(exeext); \ -
Makefile.in
diff -uNr gcc-4.1.1.orig/Makefile.in gcc-4.1.1/Makefile.in
old new 329 329 # CFLAGS will be just -g. We want to ensure that TARGET libraries 330 330 # (which we know are built with gcc) are built with optimizations so 331 331 # prepend -O2 when setting CFLAGS_FOR_TARGET. 332 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)332 CFLAGS_FOR_TARGET = $(strip -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)) 333 333 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@ 334 CXXFLAGS_FOR_TARGET = $( CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)334 CXXFLAGS_FOR_TARGET = $(strip $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)) 335 335 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET) 336 336 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates 337 337 LDFLAGS_FOR_TARGET =
Note: See TracBrowser
for help on using the repository browser.