aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@geoffk.org>2000-12-12 20:48:45 +0000
committerGeoffrey Keating <geoffk@geoffk.org>2000-12-12 20:48:45 +0000
commit8141c27d66d8ce079acfe03abd80cbdb439e1b86 (patch)
tree053a8301b0ab18668be813ed6d1ad09d4d8e0364
parent6ee6cea6cd1db9642da40ed6e4242768d5e9e3d5 (diff)
downloadgdb-8141c27d66d8ce079acfe03abd80cbdb439e1b86.zip
gdb-8141c27d66d8ce079acfe03abd80cbdb439e1b86.tar.gz
gdb-8141c27d66d8ce079acfe03abd80cbdb439e1b86.tar.bz2
* config/obj-bout.c (obj_crawl_symbol_chain): Don't take
the address of a function result.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/obj-bout.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index ff053dc..e5579dd 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2000-12-12 Geoffrey Keating <geoffk@redhat.com>
+
+ * config/obj-bout.c (obj_crawl_symbol_chain): Don't take
+ the address of a function result.
+
2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/tc-ppc.c (md_pseudo_table): Add .file and .loc.
diff --git a/gas/config/obj-bout.c b/gas/config/obj-bout.c
index 0cd2f6d..736afb4 100644
--- a/gas/config/obj-bout.c
+++ b/gas/config/obj-bout.c
@@ -310,7 +310,7 @@ obj_crawl_symbol_chain (headers)
}
else /* .Stabd case. */
symbolP->sy_name_offset = 0;
- symbolPP = &(symbol_next (symbolP));
+ symbolPP = &(symbolP->sy_next);
}
else
{