From: Andreas Schwab <schwab@suse.de>
To: linux-ia64@vger.kernel.org
Subject: Re: PATCH: Don't use weak function
Date: Fri, 13 May 2005 20:24:55 +0000 [thread overview]
Message-ID: <jer7gadgbs.fsf@sykes.suse.de> (raw)
In-Reply-To: <20050513191051.GA29540@lucon.org>
"H. J. Lu" <hjl@lucon.org> writes:
> On Fri, May 13, 2005 at 11:48:35AM -0700, Lu, Hongjiu wrote:
>> Hi David,
>>
>> I think it is the result of the usage of weak function. I am enclosing a
>> testcase to show it. The correct approach is to use comdat section group
>> or linkonce section. The problem will go away. I will see if I can come
>> up with a kernel patch.
>>
>
> This patch works for me. The key here is the arch dependent file
> has to come before generic one during the final link.
The duplicate functions should not be compiled in the first place.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
prev parent reply other threads:[~2005-05-13 20:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-13 19:10 PATCH: Don't use weak function H. J. Lu
2005-05-13 20:24 ` Andreas Schwab [this message]
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=jer7gadgbs.fsf@sykes.suse.de \
--to=schwab@suse.de \
--cc=linux-ia64@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.