From: Tom Rix Date: Sat, 20 Apr 2002 06:47:24 +0000 (+0000) Subject: Fix C_FILE auxent on xcoff64. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=deeb2cd7e64e391a428078ab554f4f8451f7ce71;p=binutils-gdb.git Fix C_FILE auxent on xcoff64. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 03f6fb76dfd..d09f7e8d90d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2002-04-20 Tom Rix + + * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Fix C_FILE auxent. + 2002-04-20 Alan Modra * archures.c (bfd_lookup_arch): Move the list order comment.. diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c index 09a1abea453..a2e9bd24237 100644 --- a/bfd/coff64-rs6000.c +++ b/bfd/coff64-rs6000.c @@ -293,7 +293,7 @@ _bfd_xcoff64_swap_aux_in (abfd, ext1, type, class, indx, numaux, in1) 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);