1 From 4347138faa3707122ae278278a9e4cd652c304fe Mon Sep 17 00:00:00 2001
2 From: Andy Fiddaman <omnios@citrus-it.co.uk>
3 Date: Tue, 7 Jan 2020 15:08:43 +0000
4 Subject: [PATCH 29/34] Use appropriate values objects
7 gcc/config/sol2.h | 10 ++++++++--
8 1 file changed, 8 insertions(+), 2 deletions(-)
10 diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h
11 index 1e5830b4056..e63a1d6a544 100644
12 --- a/gcc/config/sol2.h
13 +++ b/gcc/config/sol2.h
14 @@ -201,8 +201,14 @@ along with GCC; see the file COPYING3. If not see
15 #undef STARTFILE_ARCH_SPEC
16 #define STARTFILE_ARCH_SPEC \
17 "%{!shared:%{!symbolic: \
18 - %{ansi|std=c*|std=iso9899\\:199409:values-Xc.o%s; :values-Xa.o%s} \
19 - %{std=c90|std=gnu90:values-xpg4.o%s; :values-xpg6.o%s}}}"
21 + std=c89|std=c90|std=gnu89|std=gnu90:values-Xa.o%s; \
22 + ansi|std=c*|std=iso9899\\:199409:values-Xc.o%s; \
25 + std=c89|std=c90|std=gnu89|std=gnu90:; \
29 #if defined(HAVE_LD_PIE) && defined(HAVE_SOLARIS_CRTS)
30 #define STARTFILE_CRTBEGIN_SPEC "%{static:crtbegin.o%s; \