aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2002-04-20 06:47:24 +0000
committerTom Rix <trix@redhat.com>2002-04-20 06:47:24 +0000
commitdeeb2cd7e64e391a428078ab554f4f8451f7ce71 (patch)
treed7fc64238997fc69795d254063663a2204cc71e5
parentaa3d5824a4aafe70fe75c0c5a3e1590f3a65e387 (diff)
downloadgdb-deeb2cd7e64e391a428078ab554f4f8451f7ce71.zip
gdb-deeb2cd7e64e391a428078ab554f4f8451f7ce71.tar.gz
gdb-deeb2cd7e64e391a428078ab554f4f8451f7ce71.tar.bz2
Fix C_FILE auxent on xcoff64.
-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 03f6fb7..d09f7e8 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2002-04-20 Tom Rix <trix@redhat.com>
+
+ * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Fix C_FILE auxent.
+
2002-04-20 Alan Modra <amodra@bigpond.net.au>
* archures.c (bfd_lookup_arch): Move the list order comment..
diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c
index 09a1abe..a2e9bd2 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);