This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Patch to use #ifdef CHOOSE_RELOC_SIZE in aout-target.h
- To: hans-peter dot nilsson at axis dot com
- Subject: Re: Patch to use #ifdef CHOOSE_RELOC_SIZE in aout-target.h
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 29 Feb 2000 17:52:51 -0500
- CC: binutils at sourceware dot cygnus dot com
- References: <200002292237.XAA20806@ignucius.axis.se>
Date: Tue, 29 Feb 2000 23:37:18 +0100
From: Hans-Peter Nilsson <hans-peter.nilsson@axis.com>
Lots of other, more target-specific files, have this buglet but
I did not provide patches for them; perhaps I should. Currently
no targets seem to #define CHOOSE_RELOC_SIZE so the bug would be
uncovered.
Tue Feb 29 23:26:57 2000 Hans-Peter Nilsson <hp@axis.com>
* aout-target.h (MY(write_object_contents)): Use #ifdef
CHOOSE_RELOC_SIZE, not #if.
I think we should just get rid of CHOOSE_RELOC_SIZE. As you say,
nothing uses it. The current code uses different mechanisms to set
the size of relocations, mostly by hooking off of set_arch_mach and
defining a special write_object_contents routine.
Ian