patch, xcoff64 auxent c_file

Tom Rix trix@redhat.com
Sat May 18 06:11:00 GMT 2002


This patch fixes a problem with c_file auxents.

Tom

--
Tom Rix
GCC Engineer
trix@redhat.com


-------------- next part --------------
2002-05-18  Tom Rix  <trix@redhat.com>

	* coff64-rs6000.c (_bfd_xcoff64_swap_aux_out):  Fix C_FILE auxent.

Index: bfd/coff64-rs6000.c
===================================================================
RCS file: /cvs/src/src/bfd/coff64-rs6000.c,v
retrieving revision 1.28
diff -d -u -p -r1.28 coff64-rs6000.c
--- bfd/coff64-rs6000.c	15 May 2002 00:18:55 -0000	1.28
+++ bfd/coff64-rs6000.c	18 May 2002 13:05:51 -0000
@@ -424,7 +424,7 @@ _bfd_xcoff64_swap_aux_out (abfd, inp, ty
   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);


More information about the Binutils mailing list