Rename 'index' to 'offset'
authorNick Clifton <nickc@redhat.com>
Wed, 12 Mar 2003 09:59:52 +0000 (09:59 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 12 Mar 2003 09:59:52 +0000 (09:59 +0000)
bfd/ChangeLog
bfd/xsym.c

index 051769b2cad8ab613033b056c9278d179d2b79eb..d2209f4c5cbb5bec02b247ea3c0768536acd600a 100644 (file)
@@ -1,3 +1,8 @@
+2003-03-12  Nick Clifton  <nickc@redhat.com>
+
+       * xsym.c (bfd_sym_fetch_type_information_table_entry): Change
+       'index' to 'offset' in test for zero value.
+
 2003-03-11  Alexandre Oliva  <aoliva@redhat.com>
 
        * elfxx-mips.c (mips_elf_create_dynamic_relocation): Do not create
index 65475742f13c64a7b829b7aad92f6f18d9ea5176..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.
@@ -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)
This page took 0.028602 seconds and 4 git commands to generate.