From ab576d8501cbde3aaa5ec4da594d6ea614f27195 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Wed, 27 Apr 2005 20:51:52 +0000 Subject: [PATCH] * solib-svr4.c (_initialize_svr4_solib) [SVR4_FETCH_LINK_MAP_OFFSETS]: Don't set non-existent variable svr4_legacy_fetch_link_map_offsets. --- gdb/ChangeLog | 4 ++++ gdb/solib-svr4.c | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c7d160d2c2c..f66c6395b22 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2005-04-27 Mark Kettenis + * solib-svr4.c (_initialize_svr4_solib) + [SVR4_FETCH_LINK_MAP_OFFSETS]: Don't set non-existent variable + svr4_legacy_fetch_link_map_offsets. + * sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets): Remove function. (sh_gdbarch_init): Remove redundant prototype. * sh-linux-tdep.c: New file. diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index 253be0a8469..a1e21b84949 100644 --- a/gdb/solib-svr4.c +++ b/gdb/solib-svr4.c @@ -1412,11 +1412,6 @@ _initialize_svr4_solib (void) { solib_svr4_data = gdbarch_data_register_pre_init (solib_svr4_init); - /* FIXME: Eliminate this ASAP. */ -#ifdef SVR4_FETCH_LINK_MAP_OFFSETS - svr4_legacy_fetch_link_map_offsets = SVR4_FETCH_LINK_MAP_OFFSETS; -#endif - svr4_so_ops.relocate_section_addresses = svr4_relocate_section_addresses; svr4_so_ops.free_so = svr4_free_so; svr4_so_ops.clear_solib = svr4_clear_solib; -- 2.30.2