Fix thinko in 2000-05-02 change.

This commit is contained in:
Alan Modra 2000-05-04 12:45:43 +00:00
parent 6878c38321
commit 7c30ac3752
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-05-04 Alan Modra <alan@linuxcare.com.au>
* libhppa.h (HPPA_R_CONSTANT): Cast argument to bfd_signed_vma.
2000-05-03 Martin v. Löwis <loewis@informatik.hu-berlin.de>
* elflink.h (elf_link_add_object_symbols): Reset dynindx for

View File

@ -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 */