* coff-rs6000.c: (xcoff_rtype2howto): Don't place reloc address in
addend. * coff64-rs6000.c: (xcoff64_rtype2howto): Likewise.
This commit is contained in:
parent
cf9ab45bc0
commit
8ea80f0843
3 changed files with 7 additions and 10 deletions
|
@ -1,3 +1,9 @@
|
|||
2002-08-06 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* coff-rs6000.c: (xcoff_rtype2howto): Don't place reloc address in
|
||||
addend.
|
||||
* coff64-rs6000.c: (xcoff64_rtype2howto): Likewise.
|
||||
|
||||
2002-08-06 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* coff-rs6000.c: Formatting fixes.
|
||||
|
@ -8,6 +14,7 @@
|
|||
(rs6000coff_vec): Likewise.
|
||||
(bfd_pmac_xcoff_backend_data): Likewise.
|
||||
(pmac_xcoff_vec): Likewise.
|
||||
|
||||
* coff64-rs6000.c: Formatting fixes.
|
||||
(xcoff64_calculate_relocation): Use PARAMS in declaration.
|
||||
(xcoff64_ppc_relocate_section): Use old-style function pointer call.
|
||||
|
|
|
@ -996,11 +996,6 @@ xcoff_rtype2howto (relent, internal)
|
|||
&& (relent->howto->bitsize
|
||||
!= ((unsigned int) internal->r_size & 0x1f) + 1))
|
||||
abort ();
|
||||
|
||||
/* Put a meaningful value in addend */
|
||||
relent->addend = (internal->r_size & 0x80
|
||||
? -internal->r_vaddr
|
||||
: internal->r_vaddr);
|
||||
}
|
||||
|
||||
reloc_howto_type *
|
||||
|
|
|
@ -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 *
|
||||
|
|
Loading…
Reference in a new issue