Eliminate redundant GOT entry initialization code

Jie Zhang zhangjie@magima.com.cn
Tue Apr 6 03:32:00 GMT 2004


I find there are some redundant code in elf32-sparc.c. First
elf32_sparc_relocate_section will initialize the GOT entry for the
symbols in some case, then elf32_sparc_finish_dynamic_symbol will create
R_SPARC_RELATIVE relocations for them. The following small patch will
remove the redundant initialization. It is against CVS head. Is it OK?

Jie

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: elf32-sparc.c.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20040406/f4aab7ca/attachment.ksh>


More information about the Binutils mailing list