diff options
author | Alan Modra <amodra@gmail.com> | 2002-08-06 08:51:42 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-08-06 08:51:42 +0000 |
commit | 8ea80f084388d7c76b38d587043f2d6935db90b2 (patch) | |
tree | b70cf041dfe8c2b8643139a9c435c87ffec5c8ec /bfd | |
parent | cf9ab45bc0bde753db9d09b757d7e045e568e558 (diff) | |
download | gdb-8ea80f084388d7c76b38d587043f2d6935db90b2.zip gdb-8ea80f084388d7c76b38d587043f2d6935db90b2.tar.gz gdb-8ea80f084388d7c76b38d587043f2d6935db90b2.tar.bz2 |
* coff-rs6000.c: (xcoff_rtype2howto): Don't place reloc address in
addend.
* coff64-rs6000.c: (xcoff64_rtype2howto): Likewise.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 7 | ||||
-rw-r--r-- | bfd/coff-rs6000.c | 5 | ||||
-rw-r--r-- | bfd/coff64-rs6000.c | 5 |
3 files changed, 7 insertions, 10 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f87d703..e3c02eb 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,11 @@ 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. (xcoff_calculate_relocation): Use PARAMS in declaration. (xcoff_complain_overflow): Likewise. @@ -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. diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c index b97813d..bf4ebc1 100644 --- a/bfd/coff-rs6000.c +++ b/bfd/coff-rs6000.c @@ -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 * diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c index 06ac776..c259d35 100644 --- a/bfd/coff64-rs6000.c +++ b/bfd/coff64-rs6000.c @@ -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 * |