From deeb2cd7e64e391a428078ab554f4f8451f7ce71 Mon Sep 17 00:00:00 2001 From: Tom Rix Date: Sat, 20 Apr 2002 06:47:24 +0000 Subject: [PATCH] Fix C_FILE auxent on xcoff64. --- bfd/ChangeLog | 4 ++++ bfd/coff64-rs6000.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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); -- 2.30.2