source: rtems-tools/tools/4.11/gcc/gcc-4.7.3-rtems4.11-20130413.diff @ 65575cc

4.104.115
Last change on this file since 65575cc was 65575cc, checked in by Chris Johns <chrisj@…>, on 04/13/13 at 08:23:52

Update the 4.7.2 patch to 4.7.3.

  • Property mode set to 100644
File size: 12.3 KB
  • gcc/ChangeLog

    diff -Naur gcc-4.7.2.orig/gcc/ChangeLog gcc-4.7.2-rtems4.11-20130318/gcc/ChangeLog
    old new  
     12013-03-18  Ralf Corsépius  <ralf.corsepius@rtems.org>
     2
     3        * gcc/doc/cppopts.texi, gcc/doc/generic.texi, gcc/doc/invoke.texi:
     4        Fix typos.
     5
     62012-10-31  Ralf Corsépius  <ralf.corsepius@rtems.org>,
     7            Joel Sherrill  <joel.sherrill@oarcorp.com>
     8
     9        * config/sparc/t-rtems: New (Custom multilibs).
     10        * config/sparc/t-rtems-64: New (Custom multilibs).
     11        * config.gcc (sparc64-*-rtems*): Add sparc/t-rtems-64.
     12        (sparc-*-rtems*): Add sparc/t-rtems.
     13
     142012-10-26  Ralf Corsépius  <ralf.corsepius@rtems.org>
     15
     16        * config/avr/t-rtems: Revert previous commit.
     17
     182012-10-26  Ralf Corsépius  <ralf.corsepius@rtems.org>
     19
     20        * config/avr/rtems.h (TARGET_OS_CPP_BUILTINS): Remove
     21        __USE_INIT_FINI__.
     22        * config/avr/t-rtems (LIB1ASMFUNCS): Filter out _exit.
     23
     242012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
     25
     26        * config.gcc (microblaze*-*-rtems*): New target.
     27        * config/microblaze/rtems.h: New.
     28        * config/microblaze/t-rtems: New.
     29
    1302012-09-20  Release Manager
    231
    332        * GCC 4.7.2 released.
  • gcc/ChangeLog.rtems

    diff -Naur gcc-4.7.2.orig/gcc/ChangeLog.rtems gcc-4.7.2-rtems4.11-20130318/gcc/ChangeLog.rtems
    old new  
     12012-10-26  Ralf Corsépius  <ralf.corsepius@rtems.org>
     2
     3        * config/v850/rtems.h: Undef WCHAR_TYPE_SIZE, WCHAR_TYPE.
     4
     52012-01-10      Ralf Corsépius <ralf.corsepius@rtems.org>
     6
     7        * config/h8300/h8300.h: Apply DJ Delorie's patch from
     8        http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48231#c1.
     9
     102010-04-19      Ralf Corsépius <ralf.corsepius@rtems.org>
     11
     12        * ginclude/stddef.h: Define _MACHINE_ANSI_H_ if _X86_64_ANSI_H_ is
     13        defined (Used by amd64-*-netbsdelf5.*).
     14
     152010-04-18      Ralf Corsépius <ralf.corsepius@rtems.org>
     16
     17        * ginclude/stddef.h: Define _MACHINE_ANSI_H_ if _I386_ANSI_H_ is
     18        defined (Used by i386-*-netbsdelf5.*).
     19
     202009-11-04      Ralf Corsépius <ralf.corsepius@rtems.org>
     21
     22        * config/m32c/rtems.h, config/m68k/rtemself.h,
     23        config/m68k/rtemself.h, config/sh/rtemself.h,
     24        config/sparc/rtemself.h: Undef WCHAR_TYPE_SIZE, WCHAR_TYPE.
     25        (Resets WCHAR_TYPE's to defaults. Prevents broken GCC tm_files
     26        to interfere and cause wchar_t/wint_t incompatibilities).
     27
     28                Ralf Corsépius <ralf.corsepius@rtems.org>
     29
     30        * config/mips/elf.h: Remove NO_IMPLICIT_EXTERN_C.
     31
  • gcc/config/h8300/h8300.h

    diff -Naur gcc-4.7.2.orig/gcc/config/h8300/h8300.h gcc-4.7.2-rtems4.11-20130318/gcc/config/h8300/h8300.h
    old new  
    129129#define INCOMING_FRAME_SP_OFFSET   (POINTER_SIZE / 8)
    130130
    131131#define DWARF_CIE_DATA_ALIGNMENT        2
     132#define DWARF2_ADDR_SIZE                4
    132133
    133134/* Define this if addresses of constant functions
    134135   shouldn't be put through pseudo regs where they can be cse'd.
  • gcc/config/m32c/rtems.h

    diff -Naur gcc-4.7.2.orig/gcc/config/m32c/rtems.h gcc-4.7.2-rtems4.11-20130318/gcc/config/m32c/rtems.h
    old new  
    2929    }                                           \
    3030  while (0)
    3131
    32 /* Use the default */
     32/* Use the defaults */
    3333#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.7.2.orig/gcc/config/m68k/rtemself.h gcc-4.7.2-rtems4.11-20130318/gcc/config/m68k/rtemself.h
    old new  
    3131        builtin_assert ("system=rtems");        \
    3232    }                                           \
    3333  while (0)
     34
     35/* Use the defaults */
     36#undef WCHAR_TYPE
     37
     38#undef WCHAR_TYPE_SIZE
  • gcc/config/microblaze/rtems.h

    diff -Naur gcc-4.7.2.orig/gcc/config/microblaze/rtems.h gcc-4.7.2-rtems4.11-20130318/gcc/config/microblaze/rtems.h
    old new  
     1/* Definitions for rtems targeting a microblaze using ELF.
     2   Copyright (C) 2012 Free Software Foundation, Inc.
     3
     4This file is part of GCC.
     5
     6GCC is free software; you can redistribute it and/or modify
     7it under the terms of the GNU General Public License as published by
     8the Free Software Foundation; either version 3, or (at your option)
     9any later version.
     10
     11GCC is distributed in the hope that it will be useful,
     12but WITHOUT ANY WARRANTY; without even the implied warranty of
     13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14GNU General Public License for more details.
     15
     16You should have received a copy of the GNU General Public License
     17along with GCC; see the file COPYING3.  If not see
     18<http://www.gnu.org/licenses/>.  */
     19
     20/* Specify predefined symbols in preprocessor.  */
     21
     22#define TARGET_OS_CPP_BUILTINS() do {           \
     23  builtin_define( "__rtems__" );                \
     24  builtin_assert( "system=rtems" );             \
     25} while (0)
  • gcc/config/microblaze/t-rtems

    diff -Naur gcc-4.7.2.orig/gcc/config/microblaze/t-rtems gcc-4.7.2-rtems4.11-20130318/gcc/config/microblaze/t-rtems
    old new  
     1# Custom multilibs for RTEMS
  • gcc/config/mips/elf.h

    diff -Naur gcc-4.7.2.orig/gcc/config/mips/elf.h gcc-4.7.2-rtems4.11-20130318/gcc/config/mips/elf.h
    old new  
    4747
    4848#undef  ENDFILE_SPEC
    4949#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.7.2.orig/gcc/config/rs6000/rtems.h gcc-4.7.2-rtems4.11-20130318/gcc/config/rs6000/rtems.h
    old new  
    6969          rs6000_spe_abi = 1;                                             \
    7070      }                                                                   \
    7171  } while(0)
     72
     73#undef WCHAR_TYPE
     74
     75#undef WCHAR_TYPE_SIZE
  • gcc/config/sh/rtemself.h

    diff -Naur gcc-4.7.2.orig/gcc/config/sh/rtemself.h gcc-4.7.2-rtems4.11-20130318/gcc/config/sh/rtemself.h
    old new  
    2424  builtin_define( "__rtems__" );                \
    2525  builtin_assert( "system=rtems" );             \
    2626} 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.7.2.orig/gcc/config/sparc/rtemself.h gcc-4.7.2-rtems4.11-20130318/gcc/config/sparc/rtemself.h
    old new  
    2929    }                                           \
    3030  while (0)
    3131
    32 /* Use the default */
     32/* Use the defaults */
    3333#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.7.2.orig/gcc/config/sparc/sp64-rtemself.h gcc-4.7.2-rtems4.11-20130318/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
     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 3, 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 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.7.2.orig/gcc/config/sparc/t-rtems gcc-4.7.2-rtems4.11-20130318/gcc/config/sparc/t-rtems
    old new  
     1# Copyright (C) 2012 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#
     19
     20MULTILIB_OPTIONS = msoft-float mcpu=v8
     21MULTILIB_DIRNAMES = soft v8
     22MULTILIB_MATCHES = msoft-float=mno-fpu
  • gcc/config/sparc/t-rtems-64

    diff -Naur gcc-4.7.2.orig/gcc/config/sparc/t-rtems-64 gcc-4.7.2-rtems4.11-20130318/gcc/config/sparc/t-rtems-64
    old new  
     1# Copyright (C) 2012 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#
     19
     20MULTILIB_OPTIONS = msoft-float
     21MULTILIB_DIRNAMES = soft
     22MULTILIB_MATCHES = msoft-float=mno-fpu
  • gcc/config/v850/rtems.h

    diff -Naur gcc-4.7.2.orig/gcc/config/v850/rtems.h gcc-4.7.2-rtems4.11-20130318/gcc/config/v850/rtems.h
    old new  
    2727/* Map mv850e1 and mv850es to mv850e to match MULTILIB_MATCHES */
    2828#undef ASM_SPEC
    2929#define ASM_SPEC "%{mv850es:-mv850e} %{mv850e1:-mv850e} %{!mv850es:%{!mv850e1:%{mv*:-mv%*}}}"
     30
     31/* Use the defaults */
     32#undef WCHAR_TYPE
     33
     34#undef WCHAR_TYPE_SIZE
  • gcc/ginclude/stddef.h

    diff -Naur gcc-4.7.2.orig/gcc/ginclude/stddef.h gcc-4.7.2-rtems4.11-20130318/gcc/ginclude/stddef.h
    old new  
    5353   one less case to deal with in the following.  */
    5454#if defined (__BSD_NET2__) || defined (____386BSD____) || (defined (__FreeBSD__) && (__FreeBSD__ < 5)) || defined(__NetBSD__)
    5555#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_
    5659#endif
     60#endif
     61#endif
     62
    5763/* On FreeBSD 5, machine/ansi.h does not exist anymore... */
    5864#if defined (__FreeBSD__) && (__FreeBSD__ >= 5)
    5965#include <sys/_types.h>
Note: See TracBrowser for help on using the repository browser.