* solib-svr4.c (_initialize_svr4_solib)

[SVR4_FETCH_LINK_MAP_OFFSETS]: Don't set non-existent variable
svr4_legacy_fetch_link_map_offsets.
This commit is contained in:
Mark Kettenis 2005-04-27 20:51:52 +00:00
parent ccf00f2179
commit ab576d8501
2 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,9 @@
2005-04-27 Mark Kettenis <kettenis@gnu.org> 2005-04-27 Mark Kettenis <kettenis@gnu.org>
* 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-tdep.c (sh_linux_svr4_fetch_link_map_offsets): Remove function.
(sh_gdbarch_init): Remove redundant prototype. (sh_gdbarch_init): Remove redundant prototype.
* sh-linux-tdep.c: New file. * sh-linux-tdep.c: New file.

View File

@ -1412,11 +1412,6 @@ _initialize_svr4_solib (void)
{ {
solib_svr4_data = gdbarch_data_register_pre_init (solib_svr4_init); 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.relocate_section_addresses = svr4_relocate_section_addresses;
svr4_so_ops.free_so = svr4_free_so; svr4_so_ops.free_so = svr4_free_so;
svr4_so_ops.clear_solib = svr4_clear_solib; svr4_so_ops.clear_solib = svr4_clear_solib;