* elfxx-ia64.c: (elfNN_ia64_modify_segment_map): Properly scan
[binutils-gdb.git] / gdb / solib-svr4.h
index c2ee1d3a505d4dced59f6b54a23ca3a7d71e1cac..8611dff8e6e1d58ab980bb840c81fa0385b33971 100644 (file)
@@ -64,8 +64,13 @@ struct link_map_offsets
     int l_name_size;
   };
 
-extern void set_solib_svr4_fetch_link_map_offsets (
-  struct link_map_offsets *(*func) (void));
+/* set_solib_svr4_fetch_link_map_offsets() is intended to be called by
+   a <arch>_gdbarch_init() function.  It is used to establish an
+   architecture specific link_map_offsets fetcher for the architecture
+   being defined.  */
+
+extern void set_solib_svr4_fetch_link_map_offsets
+  (struct gdbarch *gdbarch, struct link_map_offsets *(*func) (void));
 
 /* legacy_svr4_fetch_link_map_offsets_hook is a pointer to a function
    which is used to fetch link map offsets.  It will only be set