This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH 4/6] [ARC] Define LINK_GCC_C_SEQUENCE_SPEC.
- From: Claudiu Zissulescu <Claudiu dot Zissulescu at synopsys dot com>
- To: Andrew Burgess <andrew dot burgess at embecosm dot com>, Claudiu Zissulescu <claziss at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "Francois dot Bedard at synopsys dot com" <Francois dot Bedard at synopsys dot com>, "claziss at synopsys dot comq" <claziss at synopsys dot comq>, claziss <Claudiu dot Zissulescu at synopsys dot com>
- Date: Wed, 13 Jun 2018 08:42:44 +0000
- Subject: RE: [PATCH 4/6] [ARC] Define LINK_GCC_C_SEQUENCE_SPEC.
- References: <20180521101839.13288-1-claziss@gmail.com> <20180521101839.13288-4-claziss@gmail.com>,<20180612193203.GO15881@embecosm.com>
Done. Thank you for your review,
Claudiu
________________________________________
From: Andrew Burgess [andrew.burgess@embecosm.com]
Sent: Tuesday, June 12, 2018 9:32 PM
To: Claudiu Zissulescu
Cc: gcc-patches@gcc.gnu.org; Francois.Bedard@synopsys.com; claziss@synopsys.comq; claziss
Subject: Re: [PATCH 4/6] [ARC] Define LINK_GCC_C_SEQUENCE_SPEC.
* Claudiu Zissulescu <claziss@gmail.com> [2018-05-21 13:18:37 +0300]:
> From: claziss <claziss@synopsys.com>
>
> If no specs file is provided, default to nosys library.
>
> Ok to apply?
Looks good.
Thanks,
Andrew
> Claudiu
>
> gcc/
> 2017-05-03 Claudiu Zissulescu <claziss@synopsys.com>
>
> * config/arc/elf.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
> ---
> gcc/config/arc/elf.h | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/gcc/config/arc/elf.h b/gcc/config/arc/elf.h
> index 43ced3b720f..66ee5b698ea 100644
> --- a/gcc/config/arc/elf.h
> +++ b/gcc/config/arc/elf.h
> @@ -73,3 +73,8 @@ along with GCC; see the file COPYING3. If not see
>
> #undef TARGET_ASM_FILE_END
> #define TARGET_ASM_FILE_END arc_file_end
> +
> +/* If no specs file is enforced, default to nosys libarary. */
> +#undef LINK_GCC_C_SEQUENCE_SPEC
> +#define LINK_GCC_C_SEQUENCE_SPEC \
> + "--start-group %G %{!specs=*:-lc -lnosys} --end-group"
> --
> 2.14.3
>