summaryrefslogtreecommitdiff
path: root/bfd/libhppa.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2000-05-04 12:45:43 +0000
committerAlan Modra <amodra@bigpond.net.au>2000-05-04 12:45:43 +0000
commit12694105fd38872beff71a8ae6aacdd05fde9867 (patch)
tree81f2aebe1e2940f32d8ed87209578c6795fe907f /bfd/libhppa.h
parentfc0888dffcc2d37f61c3029efb494dbb6f6a6d6b (diff)
downloadgdb-12694105fd38872beff71a8ae6aacdd05fde9867.tar.gz
Fix thinko in 2000-05-02 change.
Diffstat (limited to 'bfd/libhppa.h')
-rw-r--r--bfd/libhppa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/libhppa.h b/bfd/libhppa.h
index 121398d2b2d..ddb6efa2e18 100644
--- a/bfd/libhppa.h
+++ b/bfd/libhppa.h
@@ -156,7 +156,7 @@ enum hppa_reloc_expr_type_alt
#define HPPA_R_ARG_RELOC(a) \
(((a) >> 22) & 0x3ff)
#define HPPA_R_CONSTANT(a) \
- ((((int)(a)) << (BFD_ARCH_SIZE-22)) >> (BFD_ARCH_SIZE-22))
+ ((((bfd_signed_vma)(a)) << (BFD_ARCH_SIZE-22)) >> (BFD_ARCH_SIZE-22))
#define HPPA_R_ADDEND(r, c) \
(((r) << 22) + ((c) & 0x3fffff))
#define HPPA_WIDE (0) /* PSW W-bit, need to check! FIXME */