This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: duplicate symbols on HP-PA


Forwarded message:
From dave Fri Nov 17 13:38:56 EST 2000
Subject: Re: duplicate symbols on HP-PA
To: Marco.Franzen@thyron.com
Date: Fri, 17 Nov 2000 13:38:56 -0500 (EST)
From: "John David Anglin" <dave@hiauly1>
In-Reply-To: <00111717565109.03557@maidavale> from "Marco Franzen" at Nov 17, 2000 05:53:38 pm
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 922       

> On Fri, 17 Nov 2000, I (Marco Franzen) wrote:
> > To get this right, the first-time flag needs to be folded as well.
> > I am currently trying this on top of the other change.
> > (Hacking the assembler output is more difficult here,
> > as the local flag symbol name is not mangled.)
> > But I am quite confident it will work. It must. ;-)
> 
> It does.

Great!

Thinking about gas, there were some modifications completed about 2000-10-07
that may have improved the weak behaviour.  Especially, see patch dated
2000-09-28 by Alan Modra to config/tc-hppa.c.  Make sure your binutils
has these changes in it.  It is possible that gas prior to this didn't
emit relocation data for weak procedure calls if it thought it could 
calculate the branch offset itself.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]