From: Tom Rix Date: Sat, 18 May 2002 13:13:12 +0000 (+0000) Subject: Fix C_FILE auxent. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a58d9c34ef63886b2bce7b7be0471e0bad3aa362;p=binutils-gdb.git Fix C_FILE auxent. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4f10647b9e3..e5e7ce329e4 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2002-05-18 Tom Rix + + * coff64-rs6000.c (_bfd_xcoff64_swap_aux_out): Fix C_FILE auxent. + 2002-05-17 Alan Modra * elf64-ppc.c (ppc64_elf_info_to_howto): Formatting. diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c index 5ed5be4d198..d13fa0ff679 100644 --- a/bfd/coff64-rs6000.c +++ b/bfd/coff64-rs6000.c @@ -424,7 +424,7 @@ _bfd_xcoff64_swap_aux_out (abfd, inp, type, class, indx, numaux, extp) 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);