diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-12 16:55:32 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-12 16:55:32 +0000 |
commit | 260edbc2caedd55298a64621088983551dfd208c (patch) | |
tree | a7be0a7b754f6be73edb8474d8b4837ec39da3cf /gdb/coffread.c | |
parent | c1afe53dd0ad0474a838e84cd0d98f8830c3d9ef (diff) | |
download | gdb-260edbc2caedd55298a64621088983551dfd208c.zip gdb-260edbc2caedd55298a64621088983551dfd208c.tar.gz gdb-260edbc2caedd55298a64621088983551dfd208c.tar.bz2 |
2007-06-12 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (SMASH_TEXT_ADDRESS): Replace by
gdbarch_smash_text_address.
* somread.c (som_symtab_read): Likewise.
* elfread.c (record_minimal_symbol): Likewise.
* dbxread.c (process_one_symbol): Likewise.
* coffread.c (coff_symtab_read): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r-- | gdb/coffread.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c index 5b4e52a..b6f1fea 100644 --- a/gdb/coffread.c +++ b/gdb/coffread.c @@ -910,7 +910,8 @@ coff_symtab_read (long symtab_offset, unsigned int nsyms, cs->c_sclass == C_EXT || cs->c_sclass == C_THUMBEXTFUNC || cs->c_sclass == C_THUMBEXT ? mst_text : mst_file_text; - tmpaddr = SMASH_TEXT_ADDRESS (tmpaddr); + tmpaddr = gdbarch_smash_text_address + (current_gdbarch, tmpaddr); } else if (bfd_section->flags & SEC_ALLOC && bfd_section->flags & SEC_LOAD) |