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

Alexandre Oliva aoliva@redhat.com
Wed Aug 16 22:44:00 GMT 2000


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



More information about the Binutils mailing list