source: rtems/contrib/crossrpms/patches/gcc-core-4.2-20070102-rtems4.8-20070104.diff @ 92b61a71

4.104.114.84.9
Last change on this file since 92b61a71 was e0c27b1, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 4, 2007 at 8:00:32 AM

New.

  • Property mode set to 100644
File size: 4.8 KB
  • gcc/config/arm/rtems-elf.h

    diff -uNr gcc-4.2-20070102.orig/gcc/config/arm/rtems-elf.h gcc-4.2-20070102/gcc/config/arm/rtems-elf.h
    old new  
    2727#define TARGET_OS_CPP_BUILTINS()                \
    2828    do {                                        \
    2929        builtin_define ("__rtems__");           \
     30        builtin_define ("__USE_INIT_FINI__");   \
    3031        builtin_assert ("system=rtems");        \
    3132    } while (0)
    3233
  • gcc/config/bfin/rtems.h

    diff -uNr gcc-4.2-20070102.orig/gcc/config/bfin/rtems.h gcc-4.2-20070102/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
     5This file is part of GCC.
     6
     7GCC is free software; you can redistribute it and/or modify
     8it under the terms of the GNU General Public License as published by
     9the Free Software Foundation; either version 2, or (at your option)
     10any later version.
     11
     12GCC is distributed in the hope that it will be useful,
     13but WITHOUT ANY WARRANTY; without even the implied warranty of
     14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15GNU General Public License for more details.
     16
     17You should have received a copy of the GNU General Public License
     18along with GCC; see the file COPYING.  If not, write to
     19the Free Software Foundation, 51 Franklin Street, Fifth Floor,
     20Boston, 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/bfin/t-bfin

    diff -uNr gcc-4.2-20070102.orig/gcc/config/bfin/t-bfin gcc-4.2-20070102/gcc/config/bfin/t-bfin
    old new  
    1515        echo '#define FLOAT' > fp-bit.c
    1616        cat $(srcdir)/config/fp-bit.c >> fp-bit.c
    1717
    18 # This shouldn't be needed here.  I added it to the specs file for now, until
    19 # it is fixed in binutils (if it is necessary).
    20 GCC_CFLAGS += -N
    21 
    2218# Assemble startup files.
    2319$(T)crti.o: $(srcdir)/config/bfin/crti.s $(GCC_PASSES)
    2420        $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
  • gcc/config/bfin/t-bfin-elf

    diff -uNr gcc-4.2-20070102.orig/gcc/config/bfin/t-bfin-elf gcc-4.2-20070102/gcc/config/bfin/t-bfin-elf
    old new  
    1515        echo '#define FLOAT' > fp-bit.c
    1616        cat $(srcdir)/config/fp-bit.c >> fp-bit.c
    1717
    18 # This shouldn't be needed here.  I added it to the specs file for now, until
    19 # it is fixed in binutils (if it is necessary).
    20 GCC_CFLAGS += -N
    21 
    2218CRTSTUFF_T_CFLAGS = -fpic
    2319TARGET_LIBGCC2_CFLAGS = -fpic
    2420
  • gcc/config/bfin/t-rtems

    diff -uNr gcc-4.2-20070102.orig/gcc/config/bfin/t-rtems gcc-4.2-20070102/gcc/config/bfin/t-rtems
    old new  
     1# Multilibs for fbin RTEMS targets.
     2
     3MULTILIB_OPTIONS        =
     4MULTILIB_DIRNAMES       =
     5MULTILIB_EXTRA_OPTS     =
     6MULTILIB_EXCEPTIONS     =
  • gcc/config/c4x/rtems.h

    diff -uNr gcc-4.2-20070102.orig/gcc/config/c4x/rtems.h gcc-4.2-20070102/gcc/config/c4x/rtems.h
    old new  
    2424#define TARGET_OS_CPP_BUILTINS()                \
    2525    do {                                        \
    2626        builtin_define ("__rtems__");           \
    27         builtin_define ("__USE_INIT_FINI__");   \
    2827        builtin_assert ("system=rtems");        \
    2928    } while (0)
  • gcc/config/mips/elf.h

    diff -uNr gcc-4.2-20070102.orig/gcc/config/mips/elf.h gcc-4.2-20070102/gcc/config/mips/elf.h
    old new  
    4949#undef  ENDFILE_SPEC
    5050#define ENDFILE_SPEC "crtend%O%s crtn%O%s"
    5151
    52 #define NO_IMPLICIT_EXTERN_C 1
    53 
    5452#define HANDLE_PRAGMA_PACK_PUSH_POP 1
  • gcc-4.2-20070102

    diff -uNr gcc-4.2-20070102.orig/gcc/config.gcc gcc-4.2-20070102/gcc/config.gcc
    old new  
    786786        tmake_file=bfin/t-bfin-elf
    787787        use_collect2=no
    788788        ;;
     789bfin*-rtems*)
     790        tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h bfin/rtems.h rtems.h"
     791        tmake_file="bfin/t-bfin t-rtems bfin/t-rtems"
     792        ;;
    789793bfin*-*)
    790794        tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h"
    791795        tmake_file=bfin/t-bfin
Note: See TracBrowser for help on using the repository browser.