This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
64-bit Solaris and shared libraries
- From: Anthony Green <green at redhat dot com>
- To: binutils at sources dot redhat dot com, gcc at gnu dot org
- Date: 28 Mar 2003 19:07:11 -0800
- Subject: 64-bit Solaris and shared libraries
64-bit Solaris systems require 0 in e_flags of the ELF header (implying
RMO code). gas currently defaults to TSO for sparc64, so you can't use
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:
http://gcc.gnu.org/ml/gcc-bugs/2002-09/msg00742.html
Modifying gas certainly seems like a safe choice.
AG