bfd/
[deliverable/binutils-gdb.git] / bfd / xsym.c
index e6b3c4b11d59011c0a12b20bee2deca4b5beaa0d..d73c05d871f38938dc03461505eb303d1ddc3a0a 100644 (file)
@@ -1,5 +1,5 @@
 /* xSYM symbol-file support for BFD.
-   Copyright 1999, 2000, 2001, 2002
+   Copyright 1999, 2000, 2001, 2002, 2003
    Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -92,11 +92,11 @@ compute_offset (first_page, page_size, entry_size, index)
   return (page_number * page_size) + page_offset;
 }
 
-boolean
+bfd_boolean
 bfd_sym_mkobject (abfd)
      bfd *abfd ATTRIBUTE_UNUSED;
 {
-  return (boolean) true;
+  return 1;
 }
 
 void
@@ -109,7 +109,7 @@ bfd_sym_print_symbol (abfd, afile, symbol, how)
   return;
 }
 
-boolean
+bfd_boolean
 bfd_sym_valid (abfd)
      bfd *abfd;
 {
@@ -242,7 +242,7 @@ bfd_sym_read_header (abfd, header, version)
       return bfd_sym_read_header_v32 (abfd, header);
     case BFD_SYM_VERSION_3_1:
     default:
-      return false;
+      return FALSE;
     }
 }
 
@@ -1131,7 +1131,7 @@ bfd_sym_fetch_type_information_table_entry (abfd, entry, offset)
   BFD_ASSERT (bfd_sym_valid (abfd));
   sdata = abfd->tdata.sym_data;
 
-  if (index == 0)
+  if (offset == 0)
     return -1;
 
   if (bfd_seek (abfd, offset, SEEK_SET) < 0)
@@ -2423,7 +2423,7 @@ bfd_sym_get_symtab (abfd, sym)
 int
 bfd_sym_sizeof_headers (abfd, exec)
      bfd *abfd ATTRIBUTE_UNUSED;
-     boolean exec ATTRIBUTE_UNUSED;
+     bfd_boolean exec ATTRIBUTE_UNUSED;
 {
   return 0;
 }
This page took 0.025046 seconds and 4 git commands to generate.