All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rongqing Li <rongqing.li@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH][v2] gcc: reformat 0063-nativesdk-gcc-support.patch
Date: Fri, 11 Sep 2015 13:44:00 +0800	[thread overview]
Message-ID: <55F26A20.1020503@windriver.com> (raw)
In-Reply-To: <1438935063-561-1-git-send-email-rongqing.li@windriver.com>

ping



-Roy

On 2015年08月07日 16:11, rongqing.li@windriver.com wrote:
> From: Roy Li <rongqing.li@windriver.com>
>
> 0063-nativesdk-gcc-support.patch can not be applied to source code due to
> the buggy patch command on sled11, so reformat it, nothing is changed.
>
> Signed-off-by: Roy Li <rongqing.li@windriver.com>
> ---
>   .../gcc/gcc-4.9/0063-nativesdk-gcc-support.patch   | 44 ++++++++++------------
>   1 file changed, 19 insertions(+), 25 deletions(-)
>
> diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0063-nativesdk-gcc-support.patch b/meta/recipes-devtools/gcc/gcc-4.9/0063-nativesdk-gcc-support.patch
> index ba7360c..f9efa45 100644
> --- a/meta/recipes-devtools/gcc/gcc-4.9/0063-nativesdk-gcc-support.patch
> +++ b/meta/recipes-devtools/gcc/gcc-4.9/0063-nativesdk-gcc-support.patch
> @@ -15,15 +15,13 @@ a) Add %r into spec file markup which can be used for injected paths
>   b) Add other paths which need relocation into a .gccrelocprefix section
>      which the relocation code will notice and adjust automatically.
>
> -
>   Upstream-Status: Inappropriate
>   RP 2015/7/28
> -
> -Index: gcc-4.9.2/gcc/gcc.c
> -===================================================================
> ---- gcc-4.9.2.orig/gcc/gcc.c
> -+++ gcc-4.9.2/gcc/gcc.c
> -@@ -120,6 +120,8 @@ static const char *target_system_root =
> +diff --git a/gcc/gcc.c b/gcc/gcc.c
> +index 5fd3d0a..2de29aa 100644
> +--- a/gcc/gcc.c
> ++++ b/gcc/gcc.c
> +@@ -120,6 +120,8 @@ static const char *target_system_root = TARGET_SYSTEM_ROOT;
>    #else
>    static const char *target_system_root = 0;
>    #endif
> @@ -32,7 +30,7 @@ Index: gcc-4.9.2/gcc/gcc.c
>
>    /* Nonzero means pass the updated target_system_root to the compiler.  */
>
> -@@ -384,6 +386,7 @@ or with constant text in a single argume
> +@@ -384,6 +386,7 @@ or with constant text in a single argument.
>     %G     process LIBGCC_SPEC as a spec.
>     %R     Output the concatenation of target_system_root and
>            target_sysroot_suffix.
> @@ -55,7 +53,7 @@ Index: gcc-4.9.2/gcc/gcc.c
>
>    /* For native compilers, these are well-known paths containing
>       components that may be provided by the system.  For cross
> -@@ -1229,9 +1232,9 @@ static const char *const standard_startf
> +@@ -1229,9 +1232,9 @@ static const char *const standard_startfile_prefix = STANDARD_STARTFILE_PREFIX;
>    static const char *md_exec_prefix = MD_EXEC_PREFIX;
>    static const char *md_startfile_prefix = MD_STARTFILE_PREFIX;
>    static const char *md_startfile_prefix_1 = MD_STARTFILE_PREFIX_1;
> @@ -67,7 +65,7 @@ Index: gcc-4.9.2/gcc/gcc.c
>      = STANDARD_STARTFILE_PREFIX_2;
>
>    /* A relative path to be used in finding the location of tools
> -@@ -5305,6 +5310,11 @@ do_spec_1 (const char *spec, int inswitc
> +@@ -5305,6 +5308,11 @@ do_spec_1 (const char *spec, int inswitch, const char *soft_matched_part)
>    	      }
>    	    break;
>
> @@ -79,10 +77,11 @@ Index: gcc-4.9.2/gcc/gcc.c
>    	  case 'S':
>    	    value = do_spec_1 (startfile_spec, 0, NULL);
>    	    if (value != 0)
> -Index: gcc-4.9.2/gcc/cppdefault.c
> -===================================================================
> ---- gcc-4.9.2.orig/gcc/cppdefault.c
> -+++ gcc-4.9.2/gcc/cppdefault.c
> +
> +diff --git a/gcc/cppdefault.c b/gcc/cppdefault.c
> +index dad69e6..cf43f28 100644
> +--- a/gcc/cppdefault.c
> ++++ b/gcc/cppdefault.c
>   @@ -35,6 +35,30 @@
>    # undef CROSS_INCLUDE_DIR
>    #endif
> @@ -114,7 +113,7 @@ Index: gcc-4.9.2/gcc/cppdefault.c
>    const struct default_include cpp_include_defaults[]
>    #ifdef INCLUDE_DEFAULTS
>    = INCLUDE_DEFAULTS;
> -@@ -42,38 +66,38 @@ const struct default_include cpp_include
> +@@ -42,38 +66,38 @@ const struct default_include cpp_include_defaults[]
>    = {
>    #ifdef GPLUSPLUS_INCLUDE_DIR
>        /* Pick up GNU C++ generic include files.  */
> @@ -162,7 +161,7 @@ Index: gcc-4.9.2/gcc/cppdefault.c
>          /* A multilib suffix needs adding if different multilibs use
>    	 different headers.  */
>    #ifdef SYSROOT_HEADERS_SUFFIX_SPEC
> -@@ -85,21 +109,21 @@ const struct default_include cpp_include
> +@@ -85,16 +109,16 @@ const struct default_include cpp_include_defaults[]
>    #endif
>    #ifdef CROSS_INCLUDE_DIR
>        /* One place the target system's headers might be.  */
> @@ -183,15 +182,10 @@ Index: gcc-4.9.2/gcc/cppdefault.c
>    #endif
>        { 0, 0, 0, 0, 0, 0 }
>      };
> - #endif /* no INCLUDE_DEFAULTS */
> -
> - #ifdef GCC_INCLUDE_DIR
> - const char cpp_GCC_INCLUDE_DIR[] = GCC_INCLUDE_DIR;
> - const size_t cpp_GCC_INCLUDE_DIR_len = sizeof GCC_INCLUDE_DIR - 8;
> -Index: gcc-4.9.2/gcc/cppdefault.h
> -===================================================================
> ---- gcc-4.9.2.orig/gcc/cppdefault.h
> -+++ gcc-4.9.2/gcc/cppdefault.h
> +diff --git a/gcc/cppdefault.h b/gcc/cppdefault.h
> +index 30b6fed..2ef96b7 100644
> +--- a/gcc/cppdefault.h
> ++++ b/gcc/cppdefault.h
>   @@ -33,7 +33,8 @@
>
>    struct default_include
>

-- 
Best Reagrds,
Roy | RongQing Li


      reply	other threads:[~2015-09-11  5:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-07  8:11 [PATCH][v2] gcc: reformat 0063-nativesdk-gcc-support.patch rongqing.li
2015-09-11  5:44 ` Rongqing Li [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55F26A20.1020503@windriver.com \
    --to=rongqing.li@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.