public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Nick Clifton <nickc@redhat.com>
To: jakub@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: Re: c/8022: gcc 3.2 Solaris 64 bit shared libraries
Date: Fri, 04 Apr 2003 13:06:00 -0000	[thread overview]
Message-ID: <20030404130600.30734.qmail@sources.redhat.com> (raw)

The following reply was made to PR target/8022; it has been noted by GNATS.

From: Nick Clifton <nickc@redhat.com>
To: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Cc: hyc@symas.com, jsurveyor@macquarie.net.au, gcc-patches@gcc.gnu.org,
   gcc-gnats@gcc.gnu.org
Subject: Re: c/8022: gcc 3.2 Solaris 64 bit shared libraries
Date: 04 Apr 2003 13:59:49 +0100

 Hi Rainer,
 
 > This cannot be right: only gas understands the -TSO flag (is this
 > true for all versions currently claimed to be supported on Solaris
 > 2?), the native as certainly does not.  I suppose this belongs to
 > sol2-gas-bi.h.
 
 Doh!  Yes of course.  Fixed as follows.
 
 Cheers
         Nick
 
 2003-04-04  Nick Clifton  <nickc@redhat.com>
 
 	* config/sparc/sol2-bi.h: Revert previous delta.
 	* config/sparc/sol2-gas-bi.h (AS_SPARC64_FLAG): Prepend -TSO
 
 Index: gcc/config/sparc/sol2-bi.h
 ===================================================================
 RCS file: /cvs/gcc/gcc/gcc/config/sparc/sol2-bi.h,v
 retrieving revision 1.9
 diff -c -3 -p -w -r1.9 sol2-bi.h
 *** gcc/config/sparc/sol2-bi.h	3 Apr 2003 10:21:22 -0000	1.9
 --- gcc/config/sparc/sol2-bi.h	4 Apr 2003 12:56:42 -0000
 ***************
 *** 10,16 ****
   #undef ASM_CPU32_DEFAULT_SPEC
   #define ASM_CPU32_DEFAULT_SPEC	""
   #undef ASM_CPU64_DEFAULT_SPEC
 ! #define ASM_CPU64_DEFAULT_SPEC	AS_SPARC64_FLAG " -TSO"
   
   #if TARGET_CPU_DEFAULT == TARGET_CPU_v9
   #undef CPP_CPU64_DEFAULT_SPEC
 --- 10,16 ----
   #undef ASM_CPU32_DEFAULT_SPEC
   #define ASM_CPU32_DEFAULT_SPEC	""
   #undef ASM_CPU64_DEFAULT_SPEC
 ! #define ASM_CPU64_DEFAULT_SPEC	AS_SPARC64_FLAG
   
   #if TARGET_CPU_DEFAULT == TARGET_CPU_v9
   #undef CPP_CPU64_DEFAULT_SPEC
 ***************
 *** 24,38 ****
   #undef ASM_CPU32_DEFAULT_SPEC
   #define ASM_CPU32_DEFAULT_SPEC "-xarch=v8plusa"
   #undef ASM_CPU64_DEFAULT_SPEC
 ! #define ASM_CPU64_DEFAULT_SPEC AS_SPARC64_FLAG "a -TSO"
   #endif
   
   #if DEFAULT_ARCH32_P
   #define DEF_ARCH32_SPEC(__str) "%{!m64:" __str "}"
 ! #define DEF_ARCH64_SPEC(__str) "%{m64:" __str " -TSO}"
   #else
   #define DEF_ARCH32_SPEC(__str) "%{m32:" __str "}"
 ! #define DEF_ARCH64_SPEC(__str) "%{!m32:" __str " -TSO}"
   #endif
   
   #undef CPP_CPU_SPEC
 --- 24,38 ----
   #undef ASM_CPU32_DEFAULT_SPEC
   #define ASM_CPU32_DEFAULT_SPEC "-xarch=v8plusa"
   #undef ASM_CPU64_DEFAULT_SPEC
 ! #define ASM_CPU64_DEFAULT_SPEC AS_SPARC64_FLAG "a"
   #endif
   
   #if DEFAULT_ARCH32_P
   #define DEF_ARCH32_SPEC(__str) "%{!m64:" __str "}"
 ! #define DEF_ARCH64_SPEC(__str) "%{m64:" __str "}"
   #else
   #define DEF_ARCH32_SPEC(__str) "%{m32:" __str "}"
 ! #define DEF_ARCH64_SPEC(__str) "%{!m32:" __str "}"
   #endif
   
   #undef CPP_CPU_SPEC
 
 Index: gcc/config/sparc/sol2-gas-bi.h
 ===================================================================
 RCS file: /cvs/gcc/gcc/gcc/config/sparc/sol2-gas-bi.h,v
 retrieving revision 1.2
 diff -c -3 -p -w -r1.2 sol2-gas-bi.h
 *** gcc/config/sparc/sol2-gas-bi.h	17 Apr 2002 01:37:42 -0000	1.2
 --- gcc/config/sparc/sol2-gas-bi.h	4 Apr 2003 12:56:42 -0000
 ***************
 *** 2,5 ****
      running Solaris 2 using the GNU assembler.  */
   
   #undef AS_SPARC64_FLAG
 ! #define AS_SPARC64_FLAG	"-64 -Av9"
 --- 2,5 ----
      running Solaris 2 using the GNU assembler.  */
   
   #undef  AS_SPARC64_FLAG
 ! #define AS_SPARC64_FLAG	"-TSO -64 -Av9"
 


             reply	other threads:[~2003-04-04 13:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-04 13:06 Nick Clifton [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-04-03 16:26 Kaveh R. Ghazi
2003-04-03 16:16 Rainer Orth
2003-04-03 10:26 Nick Clifton
2002-09-24  9:36 hyc

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=20030404130600.30734.qmail@sources.redhat.com \
    --to=nickc@redhat.com \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=jakub@gcc.gnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).