OSDN Git Service

* build fix
authorfche <fche>
Thu, 9 Jan 2003 18:14:56 +0000 (18:14 +0000)
committerfche <fche>
Thu, 9 Jan 2003 18:14:56 +0000 (18:14 +0000)
2003-01-09  Frank Ch. Eigler  <fche@redhat.com>

        * tracedis.cxx (bfd_{get,put}_bits): Use int, not obsolete bfd
        boolean type.

sid/component/cgen-cpu/ChangeLog
sid/component/cgen-cpu/tracedis.cxx

index a16682c..cf8488c 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-09  Frank Ch. Eigler  <fche@redhat.com>
+
+       * tracedis.cxx (bfd_{get,put}_bits): Use int, not obsolete bfd
+       boolean type.
+
 2003-01-08  Ben Elliston  <bje@redhat.com>
 
        * fp.h (sidutil::fp): Fully quality std::ostream.
index 048ee6a..c2dc27e 100644 (file)
@@ -119,7 +119,7 @@ bfd_getl32 (register const bfd_byte *addr)
 }
 
 void
-bfd_put_bits (bfd_vma data, bfd_byte* addr, int bits, boolean big_p)
+bfd_put_bits (bfd_vma data, bfd_byte* addr, int bits, int big_p)
 {
   int i;
   int bytes;
@@ -139,7 +139,7 @@ bfd_put_bits (bfd_vma data, bfd_byte* addr, int bits, boolean big_p)
 
 /* Stolen from libbfd.  */
 bfd_vma
-bfd_get_bits (bfd_byte* addr, int bits, boolean big_p)
+bfd_get_bits (bfd_byte* addr, int bits, int big_p)
 {
   bfd_vma data;
   int i;