Fix C_FILE auxent.
authorTom Rix <trix@redhat.com>
Sat, 18 May 2002 13:13:12 +0000 (13:13 +0000)
committerTom Rix <trix@redhat.com>
Sat, 18 May 2002 13:13:12 +0000 (13:13 +0000)
bfd/ChangeLog
bfd/coff64-rs6000.c

index 4f10647..e5e7ce3 100644 (file)
@@ -1,3 +1,7 @@
+2002-05-18  Tom Rix  <trix@redhat.com>
+
+       * coff64-rs6000.c (_bfd_xcoff64_swap_aux_out):  Fix C_FILE auxent.
+
 2002-05-17  Alan Modra  <amodra@bigpond.net.au>
 
        * elf64-ppc.c (ppc64_elf_info_to_howto): Formatting.
index 5ed5be4..d13fa0f 100644 (file)
@@ -424,7 +424,7 @@ _bfd_xcoff64_swap_aux_out (abfd, inp, type, class, indx, numaux, extp)
   switch (class)
     {
     case C_FILE:
-      if (ext->x_file.x_n.x_zeroes == 0)
+      if (in->x_file.x_n.x_zeroes == 0)
        {
          H_PUT_32 (abfd, 0, ext->x_file.x_n.x_zeroes);
          H_PUT_32 (abfd, in->x_file.x_n.x_offset, ext->x_file.x_n.x_offset);