------- Additional Comments From bjoern dot m dot haase at web dot de 2006-04-22 07:29 ------- The method to resolve the issue would probably be to disallow gas to do any fixup work on weak lables. Probably one could use the TC_VALIDATE_FIX hook in order to realize this. E.g. by adapting an expression like #define TC_VALIDATE_FIX(FIXP,SEG,SKIP) \ if (FIXP->fx_r_type == BFD_RELOC_AVR_7_PCREL \ || FIXP->fx_r_type == BFD_RELOC_AVR_13_PCREL \ || FIXP->fx_r_type == BFD_RELOC_AVR_LO8_LDI_PM \ || FIXP->fx_r_type == BFD_RELOC_AVR_HI8_LDI_PM \ || FIXP->fx_r_type == BFD_RELOC_AVR_HH8_LDI_PM \ || FIXP->fx_r_type == BFD_RELOC_AVR_16_PM) \ { \ goto SKIP; \ } to handle the case that FIXP refers to weak lables. The only question would be, how to find out whether or not FIXP refers to a weak label.? This probably would solve the issue for the avr target. I think, however, that the issue should be addressed for all of the targets since I believe it to be present also elsewhere.
-- What |Removed |Added ---------------------------------------------------------------------------- CC| |bjoern dot m dot haase at | |web dot de Status|NEW |ASSIGNED http://sourceware.org/bugzilla/show_bug.cgi?id=1038 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils