From 206767a6609a13221853b18ca7a66173838c9304 Mon Sep 17 00:00:00 2001 From: doko Date: Sun, 20 Oct 2013 22:51:47 +0000 Subject: * Update the Linaro support to the 4.7-2013.10 release. git-svn-id: svn://svn.debian.org/svn/gcccvs/branches/sid/gcc-4.7@6987 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca --- debian/changelog | 1 + debian/patches/aarch64-bootstrap.diff | 24 - debian/patches/gcc-linaro-doc.diff | 93 +- debian/patches/gcc-linaro.diff | 35982 ++++++++++++++++--------------- debian/patches/svn-updates-linaro.diff | 594 +- debian/rules.patch | 1 - 6 files changed, 19165 insertions(+), 17530 deletions(-) delete mode 100644 debian/patches/aarch64-bootstrap.diff diff --git a/debian/changelog b/debian/changelog index b444176..4cbf987 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ gcc-4.7 (4.7.3-7ubuntu1) UNRELEASED; urgency=low * Update to SVN 20131020 (r203880) from the gcc-4_7-branch. + * Update the Linaro support to the 4.7-2013.10 release. * Fix bootstrap of native aarch64 build. -- Matthias Klose Sun, 20 Oct 2013 23:08:56 +0200 diff --git a/debian/patches/aarch64-bootstrap.diff b/debian/patches/aarch64-bootstrap.diff deleted file mode 100644 index 0918c92..0000000 --- a/debian/patches/aarch64-bootstrap.diff +++ /dev/null @@ -1,24 +0,0 @@ -# DP: Fix bootstrap of native aarch64 build. - ---- a/src/gcc/config/aarch64/aarch64-protos.h -+++ b/src/gcc/config/aarch64/aarch64-protos.h -@@ -177,7 +177,7 @@ - rtx aarch64_simd_vect_par_cnst_half (enum machine_mode, bool); - rtx aarch64_tls_get_addr (void); - unsigned aarch64_dbx_register_number (unsigned); --unsigned aarch64_regno_regclass (unsigned); -+enum reg_class aarch64_regno_regclass (unsigned); - unsigned aarch64_trampoline_size (void); - void aarch64_asm_output_labelref (FILE *, const char *); - void aarch64_elf_asm_named_section (const char *, unsigned, tree); ---- a/src/gcc/config/aarch64/aarch64.c -+++ b/src/gcc/config/aarch64/aarch64.c -@@ -3672,7 +3672,7 @@ - - /* Implement REGNO_REG_CLASS. */ - --unsigned -+enum reg_class - aarch64_regno_regclass (unsigned regno) - { - if (GP_REGNUM_P (regno)) diff --git a/debian/patches/gcc-linaro-doc.diff b/debian/patches/gcc-linaro-doc.diff index 10234bf..a86532c 100644 --- a/debian/patches/gcc-linaro-doc.diff +++ b/debian/patches/gcc-linaro-doc.diff @@ -1,4 +1,4 @@ -# DP: Changes for the Linaro 4.7-2013.08 release (documentation). +# DP: Changes for the Linaro 4.7-2013.10 release (documentation). --- a/src/gcc/doc/extend.texi +++ b/src/gcc/doc/extend.texi @@ -95,7 +95,7 @@ .\" .IX Title "FSF-FUNDING 7" -.TH FSF-FUNDING 7 "2013-04-11" "gcc-4.7.3" "GNU" -+.TH FSF-FUNDING 7 "2013-08-12" "gcc-4.7.4" "GNU" ++.TH FSF-FUNDING 7 "2013-10-14" "gcc-4.7.4" "GNU" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -141,7 +141,7 @@ .\" .IX Title "GFDL 7" -.TH GFDL 7 "2013-04-11" "gcc-4.7.3" "GNU" -+.TH GFDL 7 "2013-08-12" "gcc-4.7.4" "GNU" ++.TH GFDL 7 "2013-10-14" "gcc-4.7.4" "GNU" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -199,7 +199,7 @@ .\" .IX Title "GPL 7" -.TH GPL 7 "2013-04-11" "gcc-4.7.3" "GNU" -+.TH GPL 7 "2013-08-12" "gcc-4.7.4" "GNU" ++.TH GPL 7 "2013-10-14" "gcc-4.7.4" "GNU" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -245,6 +245,19 @@ .IX Subsection "How to Apply These Terms to Your New Programs" If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it +--- a/src/gcc/doc/implement-cxx.texi ++++ b/src/gcc/doc/implement-cxx.texi +@@ -10,8 +10,8 @@ + A conforming implementation of ISO C++ is required to document its + choice of behavior in each of the areas that are designated + ``implementation defined''. The following lists all such areas, +-along with the section numbers from the ISO/IEC 14822:1998 and ISO/IEC +-14822:2003 standards. Some areas are only implementation-defined in ++along with the section numbers from the ISO/IEC 14882:1998 and ISO/IEC ++14882:2003 standards. Some areas are only implementation-defined in + one version of the standard. + + Some choices depend on the externally determined ABI for the platform --- a/src/gcc/doc/install.texi +++ b/src/gcc/doc/install.texi @@ -1047,6 +1047,15 @@ @@ -693,7 +706,43 @@ ARM Target supports @code{-mfpu=neon-fp16 -mfloat-abi=softfp} or compatible --- a/src/gcc/doc/tm.texi +++ b/src/gcc/doc/tm.texi -@@ -9495,6 +9495,10 @@ +@@ -700,6 +700,14 @@ + Targets may provide a string object type that can be used within and between C, C++ and their respective Objective-C dialects. A string object might, for example, embed encoding and length information. These objects are considered opaque to the compiler and handled as references. An ideal implementation makes the composition of the string object match that of the Objective-C @code{NSString} (@code{NXString} for GNUStep), allowing efficient interworking between C-only and Objective-C code. If a target implements string objects then this hook should return a reference to such an object constructed from the normal `C' string representation provided in @var{string}. At present, the hook is used by Objective-C only, to obtain a common-format string object when the target provides one. + @end deftypefn + ++@deftypefn {C Target Hook} void TARGET_OBJC_DECLARE_UNRESOLVED_CLASS_REFERENCE (const char *@var{classname}) ++Declare that Objective C class @var{classname} is referenced by the current TU. ++@end deftypefn ++ ++@deftypefn {C Target Hook} void TARGET_OBJC_DECLARE_CLASS_DEFINITION (const char *@var{classname}) ++Declare that Objective C class @var{classname} is defined by the current TU. ++@end deftypefn ++ + @deftypefn {C Target Hook} bool TARGET_STRING_OBJECT_REF_TYPE_P (const_tree @var{stringref}) + If a target implements string objects then this hook should return @code{true} if @var{stringref} is a valid reference to such an object. + @end deftypefn +@@ -8258,20 +8266,6 @@ + macro to provide more human-readable names. + @end defmac + +-@defmac ASM_DECLARE_CLASS_REFERENCE (@var{stream}, @var{name}) +-A C statement (sans semicolon) to output to the stdio stream +-@var{stream} commands to declare that the label @var{name} is an +-Objective-C class reference. This is only needed for targets whose +-linkers have special support for NeXT-style runtimes. +-@end defmac +- +-@defmac ASM_DECLARE_UNRESOLVED_REFERENCE (@var{stream}, @var{name}) +-A C statement (sans semicolon) to output to the stdio stream +-@var{stream} commands to declare that the label @var{name} is an +-unresolved Objective-C class reference. This is only needed for targets +-whose linkers have special support for NeXT-style runtimes. +-@end defmac +- + @node Initialization + @subsection How Initialization Functions Are Handled + @cindex initialization routines +@@ -9495,6 +9489,10 @@ True if the @code{.debug_pubtypes} and @code{.debug_pubnames} sections should be emitted. These sections are not used on most platforms, and in particular GDB does not use them. @end deftypevr @@ -706,7 +755,39 @@ @end deftypevr --- a/src/gcc/doc/tm.texi.in +++ b/src/gcc/doc/tm.texi.in -@@ -9388,6 +9388,8 @@ +@@ -696,6 +696,10 @@ + + @hook TARGET_OBJC_CONSTRUCT_STRING_OBJECT + ++@hook TARGET_OBJC_DECLARE_UNRESOLVED_CLASS_REFERENCE ++ ++@hook TARGET_OBJC_DECLARE_CLASS_DEFINITION ++ + @hook TARGET_STRING_OBJECT_REF_TYPE_P + + @hook TARGET_CHECK_STRING_OBJECT_FORMAT_ARG +@@ -8157,20 +8161,6 @@ + macro to provide more human-readable names. + @end defmac + +-@defmac ASM_DECLARE_CLASS_REFERENCE (@var{stream}, @var{name}) +-A C statement (sans semicolon) to output to the stdio stream +-@var{stream} commands to declare that the label @var{name} is an +-Objective-C class reference. This is only needed for targets whose +-linkers have special support for NeXT-style runtimes. +-@end defmac +- +-@defmac ASM_DECLARE_UNRESOLVED_REFERENCE (@var{stream}, @var{name}) +-A C statement (sans semicolon) to output to the stdio stream +-@var{stream} commands to declare that the label @var{name} is an +-unresolved Objective-C class reference. This is only needed for targets +-whose linkers have special support for NeXT-style runtimes. +-@end defmac +- + @node Initialization + @subsection How Initialization Functions Are Handled + @cindex initialization routines +@@ -9388,6 +9378,8 @@ @hook TARGET_WANT_DEBUG_PUB_SECTIONS diff --git a/debian/patches/gcc-linaro.diff b/debian/patches/gcc-linaro.diff index 5c9d27f..9871bb0 100644 --- a/debian/patches/gcc-linaro.diff +++ b/debian/patches/gcc-linaro.diff @@ -1,8 +1,47 @@ -# DP: Changes for the Linaro 4.7-2013.08 release. +# DP: Changes for the Linaro 4.7-2013.10 release. --- a/src/ChangeLog.linaro +++ b/src/ChangeLog.linaro -@@ -0,0 +1,2578 @@ +@@ -0,0 +1,2617 @@ ++2013-10-15 Christophe Lyon ++ ++ GCC Linaro 4.7-2013.10 released. ++ ++ gcc/ ++ * LINARO-VERSION: Update. ++ ++2013-09-14 Christophe lyon ++ ++ Merge from FSF GCC 4.7.4 (svn branches/gcc-4_7-branch 203509). ++ ++2013-10-08 Matthias Klose ++ ++ gcc/ ++ * config/aarch64/aarch64-protos.h (aarch64_regno_regclass): Fix ++ prototype. ++ * config/aarch64/aarch64.c (aarch64_regno_regclass): Likewise. ++ ++2013-09-10 Christophe Lyon ++ ++ gcc/ ++ * LINARO-VERSION: Bump version. ++ ++2013-09-10 Christophe Lyon ++ ++ GCC Linaro 4.7-2013.09 released. ++ ++ gcc/ ++ * LINARO-VERSION: Update. ++ ++2013-09-03 Christophe lyon ++ ++ Merge from FSF GCC 4.7.4 (svn branches/gcc-4_7-branch 202210). ++ ++2013-08-15 Yvan Roux ++ ++ gcc/ ++ * LINARO-VERSION: Bump version. ++ +2013-08-15 Yvan Roux + + GCC Linaro 4.7-2013.08 released. @@ -2581,6 +2620,146 @@ + Merge from FSF trunk SVN revision 184223. + +Imported GCC from FSF trunk SVN revision 183796. +--- a/src/INSTALL/binaries.html ++++ b/src/INSTALL/binaries.html +@@ -3,7 +3,7 @@ + Installing GCC: Binaries + + +- ++ + + +