Only compile in solib_add_common_symbols for non-SVR4 (SunOS) shared libs.
authorFred Fish <fnf@specifix.com>
Wed, 15 Jan 1992 18:01:42 +0000 (18:01 +0000)
committerFred Fish <fnf@specifix.com>
Wed, 15 Jan 1992 18:01:42 +0000 (18:01 +0000)
gdb/ChangeLog
gdb/solib.c

index ff9b7bc..6749019 100644 (file)
@@ -1,3 +1,8 @@
+Wed Jan 15 09:56:16 1992  Fred Fish  (fnf at cygnus.com)
+
+       * solib.c (solib_add_common_symbols):  Only compile in when not
+       using SVR4 style shared libraries.
+
 Tue Jan 14 22:34:00 1992  Fred Fish  (fnf at cygnus.com)
 
        * dwarfread.c (locval):  Add offreg flag to indicate location
index e2ef628..276a5b8 100644 (file)
@@ -181,6 +181,8 @@ solib_map_sections (so)
 /* Read all dynamically loaded common symbol definitions from the inferior
    and add them to the misc_function_vector.  */
 
+#ifndef SVR4_SHARED_LIBS
+
 static void
 solib_add_common_symbols (rtc_symp)
     struct rtc_symb *rtc_symp;
@@ -229,6 +231,8 @@ solib_add_common_symbols (rtc_symp)
   condense_misc_bunches (1);
 }
 
+#endif /* SVR4_SHARED_LIBS */
+
 /*
 
 LOCAL FUNCTION