aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2002-05-18 13:13:12 +0000
committerTom Rix <trix@redhat.com>2002-05-18 13:13:12 +0000
commita58d9c34ef63886b2bce7b7be0471e0bad3aa362 (patch)
treeb6bab19eb4fc1b4b810b6b6e5e36ce62e4a920bb
parent411863a44d47767443870273ecd7d6f51c84fcac (diff)
downloadgdb-a58d9c34ef63886b2bce7b7be0471e0bad3aa362.zip
gdb-a58d9c34ef63886b2bce7b7be0471e0bad3aa362.tar.gz
gdb-a58d9c34ef63886b2bce7b7be0471e0bad3aa362.tar.bz2
Fix C_FILE auxent.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/coff64-rs6000.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 4f10647..e5e7ce3 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2002-05-18 Tom Rix <trix@redhat.com>
+
+ * coff64-rs6000.c (_bfd_xcoff64_swap_aux_out): Fix C_FILE auxent.
+
2002-05-17 Alan Modra <amodra@bigpond.net.au>
* elf64-ppc.c (ppc64_elf_info_to_howto): Formatting.
diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c
index 5ed5be4..d13fa0f 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);