* libbfd.h (COERCExx): Cast x to bfd_signed_vma before doing the
authorIan Lance Taylor <ian@airs.com>
Wed, 15 Sep 1993 20:57:47 +0000 (20:57 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 15 Sep 1993 20:57:47 +0000 (20:57 +0000)
xor and subtract.  Otherwise it will not sign extend if the type
of bfd_vma is larger than int.

bfd/ChangeLog

index bcb64fccea7a3a3f4af9afde981abf0ad6527d4b..f359f45fddb2971bc45c8edf66d91c4a7f323ee9 100644 (file)
@@ -1,5 +1,9 @@
 Wed Sep 15 11:48:37 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
+       * libbfd.h (COERCExx): Cast x to bfd_signed_vma before doing the
+       xor and subtract.  Otherwise it will not sign extend if the type
+       of bfd_vma is larger than int.
+
        * ecoffswap.h (ecoff_swap_pdr_in): Get regoffset, iopt, fregoffset
        and frameoffset as signed numbers.  From Peter Schauer.