aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff64-rs6000.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-08-06 08:51:42 +0000
committerAlan Modra <amodra@gmail.com>2002-08-06 08:51:42 +0000
commit8ea80f084388d7c76b38d587043f2d6935db90b2 (patch)
treeb70cf041dfe8c2b8643139a9c435c87ffec5c8ec /bfd/coff64-rs6000.c
parentcf9ab45bc0bde753db9d09b757d7e045e568e558 (diff)
downloadgdb-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/coff64-rs6000.c')
-rw-r--r--bfd/coff64-rs6000.c5
1 files changed, 0 insertions, 5 deletions
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 *