This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

patch, xcoff64 C_FILE auxent


This patch fixes a problem with linking xcoff64 with a cross ld.

Tom

--
Tom Rix
GCC Engineer
trix@redhat.com


2002-04-20  Tom Rix  <trix@redhat.com>

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

Index: bfd/coff64-rs6000.c
===================================================================
RCS file: /cvs/src/src/bfd/coff64-rs6000.c,v
retrieving revision 1.23
diff -d -u -p -r1.23 coff64-rs6000.c
--- bfd/coff64-rs6000.c	4 Apr 2002 19:53:35 -0000	1.23
+++ bfd/coff64-rs6000.c	20 Apr 2002 06:33:17 -0000
@@ -293,7 +293,7 @@ _bfd_xcoff64_swap_aux_in (abfd, ext1, ty
   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);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]