From: Jakub Jelinek <jakub@redhat.com>
To: Anthony Green <green@redhat.com>
Cc: binutils@sources.redhat.com, gcc@gcc.gnu.org
Subject: Re: 64-bit Solaris and shared libraries
Date: Sat, 29 Mar 2003 11:22:00 -0000 [thread overview]
Message-ID: <20030329082744.GC25962@sunsite.ms.mff.cuni.cz> (raw)
In-Reply-To: <1048907231.2638.47.camel@escape>
On Fri, Mar 28, 2003 at 07:07:11PM -0800, Anthony Green wrote:
> 64-bit Solaris systems require 0 in e_flags of the ELF header (implying
> RMO code).
0 is TSO.
> gas currently defaults to TSO for sparc64, so you can't use
By default RMO.
> gcc to create a working .so without also using -Wa,-TSO.
>
> Should gas be changed to always default to TSO? Or should GCC pass -TSO
> to the assembler was suggested here:
I think this is what should be done. Add -TSO if no -Wa,-PSO or -Wa,-RMO
is specified on the command line to sparc64-solaris specs.
>
> http://gcc.gnu.org/ml/gcc-bugs/2002-09/msg00742.html
>
> Modifying gas certainly seems like a safe choice.
But unnecessarily punishes all other sparc64 OSes - there is just one
sparc64 gas for Slowlaris, Linux, *BSD, ...
Most of the code out there certainly can work as RMO, and e.g. thread
libraries implementing synchronization primitives has to use membar
anyway so that they do work in all 3 models.
Jakub
next prev parent reply other threads:[~2003-03-29 8:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-29 9:16 Anthony Green
2003-03-29 11:22 ` Jakub Jelinek [this message]
2003-03-29 19:51 ` Anthony Green
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=20030329082744.GC25962@sunsite.ms.mff.cuni.cz \
--to=jakub@redhat.com \
--cc=binutils@sources.redhat.com \
--cc=gcc@gcc.gnu.org \
--cc=green@redhat.com \
/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).