This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Clean up platform-specific code in gas/write.c
- To: Alan Modra <alan at linuxcare dot com dot au>
- Subject: Re: Clean up platform-specific code in gas/write.c
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 17 Aug 2000 02:44:42 -0300
- Cc: binutils at sourceware dot cygnus dot com
- Organization: GCC Team, Red Hat
- References: <Pine.LNX.4.21.0008171418520.28670-100000@front.linuxcare.com.au>
On Aug 17, 2000, Alan Modra <alan@linuxcare.com.au> wrote:
> On 16 Aug 2000, Alexandre Oliva wrote:
>> This patch cleans up a growing chunk of platform-specific code in
>> gas/write.c, setting a precedent so that people do it right next time.
> This looks wrong to me. tc_fix_adjustable or obj_fix_adjustable serve a
> different purpose
Nope, it's the same purpose, just worded in a different way.
All implementations of these macros tell the assembler whether it has
enough information to apply a relocation. In all platforms that
support shared libraries, this includes not applying a relocation
because the symbol may be overridden by a static or dynamic linker
because it's weak or extern.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me