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 ff9b7bc745d77101aa7bd04d077fd6bc7ef445a7..674901988b744f0a70b3f81ce47e1f2d6687411d 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 e2ef62826819420778e323e3d9f21af51cc2d195..276a5b8992b34a245bd3bb7bb3987c83aa675ac5 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