Proposal to change tc_fix_adjustable API
Alan Modra
amodra@bigpond.net.au
Thu Dec 19 18:23:00 GMT 2002
On Thu, Dec 19, 2002 at 04:16:10PM -0800, Nick Kelsey wrote:
> I would like to add a new paramter to the tc_fix_adjustable API:
That could be done easily enough since tc_fix_adjustable is a macro.
In fact, we may as well pass the symbol section as well, so in your
case
#define tc_fix_adjustable(FIX, SEC, SYMSEC) \
ip2k_fix_adjustable (FIX, SEC, SYMSEC)
and on other targets
#define tc_fix_adjustable(FIX, SEC, SYMSEC) \
xxx_fix_adjustable (FIX)
However, I suspect that you really need to fix bugs in the ip2k linker
relaxation code, rather than just try to avoid them. You seem to have
found that symbols in a relaxed code section lead to gdb problems, yet
I see code in elf32-ip2k.c that is attempting to adjust symbols. Why
isn't this working?
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list