------- Comment #7 from dave at hiauly1 dot hia dot nrc dot ca  2005-11-14 
19:51 -------
Subject: Re:  [4.1 Regression] libobjc testsuite failures

> worked with the #pragma weaks.  Or would it?  Anyhow, please confirm how you
> configured the compiler.  I'm particularly interested in what assembler you're
> using, and what `grep HAVE_GAS_WEAK gcc/auto-host.h' prints.

/* Define if your assembler supports .weak. */
#ifndef USED_FOR_TARGET
#define HAVE_GAS_WEAK 1
#endif

/* Define if your assembler supports .weakref. */
#ifndef USED_FOR_TARGET
#define HAVE_GAS_WEAKREF 1
#endif

I think that GAS shouldn't advertise .weakref support under hppa-hpux.

Support for the HP assembler which doesn't have weak support is nearly
dead.  All recent versions of GAS have ".weak" support.

I'm using the following gas versions at the moment:

-bash-2.05b$ /opt/gnu/bin/as --version
GNU assembler 2.16.91 20051106
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `hppa2.0w-hp-hpux11.11'.

-bash-2.05b$ /opt/gnu64/bin/as --version
GNU assembler 2.16.91 20051106
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `hppa64-hp-hpux11.11'.




Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24829

Reply via email to