* coff-rs6000.c: (xcoff_rtype2howto): Don't place reloc address in

addend.
	* coff64-rs6000.c: (xcoff64_rtype2howto): Likewise.
This commit is contained in:
Alan Modra
2002-08-06 08:51:42 +00:00
parent cf9ab45bc0
commit 8ea80f0843
3 changed files with 7 additions and 10 deletions

View File

@@ -1788,11 +1788,6 @@ xcoff64_rtype2howto (relent, internal)
&& (relent->howto->bitsize
!= ((unsigned int) internal->r_size & 0x3f) + 1))
abort ();
/* Put a meaningful value in addend */
relent->addend = (internal->r_size & 0x80
? -internal->r_vaddr
: internal->r_vaddr);
}
reloc_howto_type *