aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-svr4.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-05-16 14:07:56 +0000
committerDaniel Jacobowitz <drow@false.org>2007-05-16 14:07:56 +0000
commit7d522c902eb745c9d99e88d1c62c7bb4d23f4ddd (patch)
treebd64c8954b4630d7cfc96b2d6b2cea940315bdb5 /gdb/solib-svr4.c
parent5d51a2dbdbe9975039c68f7b571c46931783a775 (diff)
downloadgdb-7d522c902eb745c9d99e88d1c62c7bb4d23f4ddd.zip
gdb-7d522c902eb745c9d99e88d1c62c7bb4d23f4ddd.tar.gz
gdb-7d522c902eb745c9d99e88d1c62c7bb4d23f4ddd.tar.bz2
* config/mips/linux.mt (DEPRECATED_TM_FILE): Delete.
* config/mips/tm-linux.h: Delete. * mips-linux-tdep.c (mips_svr4_so_ops): New. (mips_linux_in_dynsym_resolve_code): Make static. Use svr4_in_dynsym_resolve_code. (mips_linux_init_abi): Initialize mips_svr4_so_ops. Call set_solib_ops. * solib-svr4.c (svr4_in_dynsym_resolve_code, svr4_so_ops): Make global. * solib-svr4.h (svr4_so_ops, svr4_in_dynsym_resolve_code): Declare. * Makefile.in (mips-linux-tdep.o): Update. * solib.c (set_solib_ops): New. (current_target_so_ops): Update comment. * solib.h (set_solib_ops): New prototype.
Diffstat (limited to 'gdb/solib-svr4.c')
-rw-r--r--gdb/solib-svr4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c
index 105ff33..7867d45 100644
--- a/gdb/solib-svr4.c
+++ b/gdb/solib-svr4.c
@@ -901,7 +901,7 @@ static CORE_ADDR interp_text_sect_high;
static CORE_ADDR interp_plt_sect_low;
static CORE_ADDR interp_plt_sect_high;
-static int
+int
svr4_in_dynsym_resolve_code (CORE_ADDR pc)
{
return ((pc >= interp_text_sect_low && pc < interp_text_sect_high)
@@ -1556,7 +1556,7 @@ svr4_lp64_fetch_link_map_offsets (void)
}
-static struct target_so_ops svr4_so_ops;
+struct target_so_ops svr4_so_ops;
extern initialize_file_ftype _initialize_svr4_solib; /* -Wmissing-prototypes */