This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

Re: Clean up platform-specific code in gas/write.c


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


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