diff options
author | Yao Qi <yao@codesourcery.com> | 2012-11-21 00:29:55 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-11-21 00:29:55 +0000 |
commit | 85ddcc7021c2709e1b2846277d9af37fe0c6ee80 (patch) | |
tree | e2f154c30144bd08eeb756ed557d1ecc162c81cd /gdb/somread.c | |
parent | 367d69d1bc48fc022cacc4d0c4a712b2f2079b1b (diff) | |
download | gdb-85ddcc7021c2709e1b2846277d9af37fe0c6ee80.zip gdb-85ddcc7021c2709e1b2846277d9af37fe0c6ee80.tar.gz gdb-85ddcc7021c2709e1b2846277d9af37fe0c6ee80.tar.bz2 |
gdb/
2012-11-21 Yao Qi <yao@codesourcery.com>
PR tdep/7438
* gdbarch.sh (smash_text_address): Remove.
* gdbarch.c, gdbarch.h: Regenerate.
* arm-tdep.c (arm_smash_text_address): Remove.
(arm_gdbarch_init): Don't call set_gdbarch_smash_text_address.
* hppa-tdep.c (hppa_smash_text_address): Remove.
(hppa_addr_bits_remove): Rename from hppa_smash_text_address.
(hppa_gdbarch_init): Don't call set_gdbarch_smash_text_address.
Caller update.
* coffread.c (coff_symtab_read): Caller update.
* dbxread.c (process_one_symbol): Likewise.
* elfread.c (record_minimal_symbol): Likewise.
* somread.c (som_symtab_read): Likewise.
Diffstat (limited to 'gdb/somread.c')
-rw-r--r-- | gdb/somread.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/somread.c b/gdb/somread.c index 19a15e2..aeeb992 100644 --- a/gdb/somread.c +++ b/gdb/somread.c @@ -121,7 +121,7 @@ som_symtab_read (bfd *abfd, struct objfile *objfile, symname = bufp->name.n_strx + stringtab; ms_type = mst_text; bufp->symbol_value += text_offset; - bufp->symbol_value = gdbarch_smash_text_address + bufp->symbol_value = gdbarch_addr_bits_remove (gdbarch, bufp->symbol_value); break; @@ -135,7 +135,7 @@ som_symtab_read (bfd *abfd, struct objfile *objfile, else ms_type = mst_text; bufp->symbol_value += text_offset; - bufp->symbol_value = gdbarch_smash_text_address + bufp->symbol_value = gdbarch_addr_bits_remove (gdbarch, bufp->symbol_value); break; @@ -143,7 +143,7 @@ som_symtab_read (bfd *abfd, struct objfile *objfile, symname = bufp->name.n_strx + stringtab; ms_type = mst_solib_trampoline; bufp->symbol_value += text_offset; - bufp->symbol_value = gdbarch_smash_text_address + bufp->symbol_value = gdbarch_addr_bits_remove (gdbarch, bufp->symbol_value); break; @@ -172,7 +172,7 @@ som_symtab_read (bfd *abfd, struct objfile *objfile, symname = bufp->name.n_strx + stringtab; ms_type = mst_file_text; bufp->symbol_value += text_offset; - bufp->symbol_value = gdbarch_smash_text_address + bufp->symbol_value = gdbarch_addr_bits_remove (gdbarch, bufp->symbol_value); check_strange_names: @@ -204,7 +204,7 @@ som_symtab_read (bfd *abfd, struct objfile *objfile, symname = bufp->name.n_strx + stringtab; ms_type = mst_file_text; bufp->symbol_value += text_offset; - bufp->symbol_value = gdbarch_smash_text_address + bufp->symbol_value = gdbarch_addr_bits_remove (gdbarch, bufp->symbol_value); break; @@ -216,7 +216,7 @@ som_symtab_read (bfd *abfd, struct objfile *objfile, we do for SS_UNIVERSAL and SS_EXTERNAL symbols above. */ ms_type = mst_file_text; bufp->symbol_value += text_offset; - bufp->symbol_value = gdbarch_smash_text_address + bufp->symbol_value = gdbarch_addr_bits_remove (gdbarch, bufp->symbol_value); break; @@ -224,7 +224,7 @@ som_symtab_read (bfd *abfd, struct objfile *objfile, symname = bufp->name.n_strx + stringtab; ms_type = mst_solib_trampoline; bufp->symbol_value += text_offset; - bufp->symbol_value = gdbarch_smash_text_address + bufp->symbol_value = gdbarch_addr_bits_remove (gdbarch, bufp->symbol_value); break; |