On Mon, Sep 02, 2002 at 08:08:07PM -0400, Daniel Jacobowitz wrote:
> On Mon, Sep 02, 2002 at 03:35:11PM -0600, Joel Baker wrote:
> > On Mon, Sep 02, 2002 at 10:23:40PM +0200, Martin v. Loewis wrote:
> >
> > > We have to consider __dso_handle and __cxa_atexit separately. For
> > > __dso_handle, can you tell whether HAVE_GAS_HIDDEN is defined?
> >
> > root@thenet:/tmp/Build/gcc-3.2-HOLD/gcc-3.2-3.2ds0/src# find . -type f | xargs grep HAVE_GAS_HIDDEN
> > ...
> > ./gcc/config/cris/cris.h:#define HAVE_GAS_HIDDEN 1
> >
> > (All of the others are .in files for autoconf, ChangeLog entries, or
> > #ifdef macros in various .c files)
>
> Autoconf sets it. You need to check in the build tree whether it is
> set or not. If you're using too old a binutils this could fail, or if
> there is some problem with your tools or the test...
Pardon me for being dense. Sorry.
root@thenet:/tmp/Build/gcc-3.2-HOLD/gcc-3.2-3.2ds0/build# find . -type f | xargs grep HAVE_GAS_HIDDEN
./gcc/auto-host.h:#define HAVE_GAS_HIDDEN 1
./gcc/config.status:${ac_dA}HAVE_GAS_HIDDEN${ac_dB}HAVE_GAS_HIDDEN${ac_dC}1${ac_dD}
./gcc/config.status:${ac_uA}HAVE_GAS_HIDDEN${ac_uB}HAVE_GAS_HIDDEN${ac_uC}1${ac_uD}
./gcc/config.status:${ac_eA}HAVE_GAS_HIDDEN${ac_eB}HAVE_GAS_HIDDEN${ac_eC}1${ac_eD}
That's from the build area... binutils is currently:
binutils 2.13.90.0.4-1 The GNU assembler, ...
binutils-dev 2.13.90.0.4-1 The GNU binary utilities ...
binutils-doc 2.13.90.0.4-1 Documentation for the GNU assembler, ...
binutils-multi 2.13.90.0.4-1 Binary utilities that support multi-arch ...
Compiled from unstable a few days ago, using "gcc version 3.1 20020210
(Debian experimental)"
--
***************************************************************************
Joel Baker System Administrator - lightbearer.com
lucifer@lightbearer.com http://users.lightbearer.com/lucifer/
Attachment:
pgp6yt9ijPc0G.pgp
Description: PGP signature