diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2008-05-22 16:58:02 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2008-05-22 16:58:02 +0000 |
commit | 0bb4e8c4ad45e09c354fdb57d18d5c1602900a63 (patch) | |
tree | ed419407270a02240f7b71592601c236eef5973c /gdb/objfiles.c | |
parent | 103a86713589f2ed97b20281a3f16e47b0f3e270 (diff) | |
download | gdb-0bb4e8c4ad45e09c354fdb57d18d5c1602900a63.zip gdb-0bb4e8c4ad45e09c354fdb57d18d5c1602900a63.tar.gz gdb-0bb4e8c4ad45e09c354fdb57d18d5c1602900a63.tar.bz2 |
* symtab.h (enum address_class): Remove LOC_INDIRECT and
LOC_HP_THREAD_LOCAL_STATIC.
* findvar.c (symbol_read_needs_frame, read_var_value): Do not
handle LOC_INDIRECT or LOC_HP_THREAD_LOCAL_STATIC.
(read_var_value): Likewise.
* buildsym.c (finish_block): Likewise.
* objfiles.c (objfile_relocate): Likewise.
* printcmd.c (address_info): Likewise.
* symmisc.c (print_symbol, print_partial_symbols): Likewise.
* tracepoint.c (scope_info): Likewise.
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r-- | gdb/objfiles.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c index 2b30b6c..235f8ff 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -597,8 +597,7 @@ objfile_relocate (struct objfile *objfile, struct section_offsets *new_offsets) But I'm leaving out that test, on the theory that they can't possibly pass the tests below. */ if ((SYMBOL_CLASS (sym) == LOC_LABEL - || SYMBOL_CLASS (sym) == LOC_STATIC - || SYMBOL_CLASS (sym) == LOC_INDIRECT) + || SYMBOL_CLASS (sym) == LOC_STATIC) && SYMBOL_SECTION (sym) >= 0) { SYMBOL_VALUE_ADDRESS (sym) += |