Fix C_FILE auxent on xcoff64.
authorTom Rix <trix@redhat.com>
Sat, 20 Apr 2002 06:47:24 +0000 (06:47 +0000)
committerTom Rix <trix@redhat.com>
Sat, 20 Apr 2002 06:47:24 +0000 (06:47 +0000)
bfd/ChangeLog
bfd/coff64-rs6000.c

index 03f6fb76dfd6b8cc9a92aeda4a3582adb28c7164..d09f7e8d90d8a44c4fb5a668015e344780adee3d 100644 (file)
@@ -1,3 +1,7 @@
+2002-04-20  Tom Rix  <trix@redhat.com>
+
+       * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Fix C_FILE auxent.
+
 2002-04-20  Alan Modra  <amodra@bigpond.net.au>
 
        * archures.c (bfd_lookup_arch): Move the list order comment..
index 09a1abea4531e7b1006e922688fcf61ad7522589..a2e9bd242373e386e3b6f82d9a1a3b4dbffe557c 100644 (file)
@@ -293,7 +293,7 @@ _bfd_xcoff64_swap_aux_in (abfd, ext1, type, class, indx, numaux, in1)
   switch (class)
     {
     case C_FILE:
-      if (ext->x_file.x_n.x_zeroes == 0)
+      if (ext->x_file.x_n.x_zeroes[0] == 0)
        {
          in->x_file.x_n.x_zeroes = 0;
          in->x_file.x_n.x_offset = H_GET_32 (abfd, ext->x_file.x_n.x_offset);