This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: mn10300 dynamic relocation clean up: remove dynamic PCREL32
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: binutils at sources dot redhat dot com
- Date: 05 Jul 2004 18:18:44 -0300
- Subject: Re: mn10300 dynamic relocation clean up: remove dynamic PCREL32
- Organization: Red Hat Global Engineering Services Compiler Team
- References: <oreko1r9jo.fsf@livre.redhat.lsd.ic.unicamp.br><ory8m8nmld.fsf@livre.redhat.lsd.ic.unicamp.br><20040630021902.GI3469@bubble.modra.org>
On Jun 29, 2004, Alan Modra <amodra@bigpond.net.au> wrote:
> On Mon, Jun 28, 2004 at 04:55:10AM -0300, Alexandre Oliva wrote:
>> This patch introduces ELF_LINK_HASH_COMMON, set for symbols read in as
>> common symbols. This bit remains set after the linker turns the
> I don't think you need this. A symbol that was commonl can be detected
> after lang_common has run using existing flags, like so
> was_common = ((h->elf_link_hash_flags & ELF_LINK_HASH_DEF_REGULAR) == 0
> && (h->elf_link_hash_flags & ELF_LINK_HASH_DEF_DYNAMIC) == 0
> && h->root.type == bfd_link_hash_defined);
Thanks. Where is this (supposed to be) documented?
If it's not there, I'll include a fix for the docs in my next revision
of the patch.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}