This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
patch, xcoff64 auxent c_file
- From: Tom Rix <trix at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: Sat, 18 May 2002 09:07:13 -0500
- Subject: patch, xcoff64 auxent c_file
This patch fixes a problem with c_file auxents.
Tom
--
Tom Rix
GCC Engineer
trix@redhat.com
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);