aboutsummaryrefslogtreecommitdiff
path: root/gdb/elfread.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-01-28 16:25:25 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-01-28 16:25:25 +0000
commit9fdb3f7aad80699becae8d400d181a2b924fb0a5 (patch)
tree9e88ae9cbfb39d1fd0af4392525a3ac8fe309bac /gdb/elfread.c
parent0b233d31dfe5919025acff17491ea0ee70491cdc (diff)
downloadgdb-9fdb3f7aad80699becae8d400d181a2b924fb0a5.zip
gdb-9fdb3f7aad80699becae8d400d181a2b924fb0a5.tar.gz
gdb-9fdb3f7aad80699becae8d400d181a2b924fb0a5.tar.bz2
* config/pa/tm-hppa.h: Define macro SMASH_TEXT_ADDRESS.
* elfread.c (record_minimal_symbol_and_info), dwarfread.c (process_dies), paread.c (pa_symtab_read): Use it.
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r--gdb/elfread.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c
index 9b5b34c..5e8292c 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -190,6 +190,9 @@ record_minimal_symbol_and_info (name, address, ms_type, info, objfile)
case mst_text:
case mst_file_text:
section = SECT_OFF_TEXT;
+#ifdef SMASH_TEXT_ADDRESS
+ SMASH_TEXT_ADDRESS (address);
+#endif
break;
case mst_data:
case mst_file_data: