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 4f10647b9e3862ef4498a8d02f8b355eed622212..e5e7ce329e4a85a0fc10367c66ca87fbd796fb90 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 5ed5be4d1988d33bea8093486b393e90c7da0548..d13fa0ff6790a460c4c0517597c42d2ff6c90885 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);