diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-05-13 20:39:21 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-05-13 20:39:21 +0000 |
commit | a367db8959eea30d209a2e19e31e6408e345389f (patch) | |
tree | 3ca87e33674929c38cdf31772c33b7f78b96987c /gdb/rs6000-tdep.c | |
parent | b297038d0b040fab7797bb8e1303f320f9b77ace (diff) | |
download | gdb-a367db8959eea30d209a2e19e31e6408e345389f.zip gdb-a367db8959eea30d209a2e19e31e6408e345389f.tar.gz gdb-a367db8959eea30d209a2e19e31e6408e345389f.tar.bz2 |
* rs6000-tdep.c (find_toc_address): Revise comment.
* symfile.c, symfile.h (init_psymbol_list): New function;
consolidate duplicated copies from os9kread.c, dbxread.c
and dwarfread.c.
* defs.h: Declare info_verbose.
* xcoffread.c: Extensive changes to support psymtabs.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r-- | gdb/rs6000-tdep.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 22602ff..e6e31aa 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -1199,10 +1199,12 @@ add_text_to_loadinfo (textaddr, dataaddr) } -/* FIXME: This assumes that the "textorg" and "dataorg" elements +/* Note that this assumes that the "textorg" and "dataorg" elements of a member of this array are correlated with the "toc_offset" - element of the same member. But they are sequentially assigned in wildly - different places, and probably there is no correlation. FIXME! */ + element of the same member. This is taken care of because the loops + which assign the former (in xcoff_relocate_symtab or xcoff_relocate_core) + and the latter (in scan_xcoff_symtab, via vmap_symtab, in vmap_ldinfo + or xcoff_relocate_core) traverse the same objfiles in the same order. */ static CORE_ADDR find_toc_address (pc) |