diff --git a/gdb/solib-target.c b/gdb/solib-target.c index 4f0c0ec3b68..770028d9903 100644 --- a/gdb/solib-target.c +++ b/gdb/solib-target.c @@ -209,14 +209,6 @@ static const struct gdb_xml_element library_list_elements[] = { { NULL, NULL, NULL, GDB_XML_EF_NONE, NULL, NULL } }; -/* See solib-target.h. */ - -solib_ops_up -make_target_solib_ops () -{ - return std::make_unique (); -} - static std::vector solib_target_parse_libraries (const char *library) { @@ -393,3 +385,11 @@ target_solib_ops::in_dynsym_resolve_code (CORE_ADDR pc) const PLT entries (which may be import stubs). */ return in_plt_section (pc); } + +/* See solib-target.h. */ + +solib_ops_up +make_target_solib_ops () +{ + return std::make_unique (); +}