From: Fred Fish Date: Wed, 15 Jan 1992 18:01:42 +0000 (+0000) Subject: Only compile in solib_add_common_symbols for non-SVR4 (SunOS) shared libs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f4352410f5c942a37ebad229a84b7eadadb2c3a;p=binutils-gdb.git Only compile in solib_add_common_symbols for non-SVR4 (SunOS) shared libs. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ff9b7bc745d..674901988b7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/solib.c b/gdb/solib.c index e2ef6282681..276a5b8992b 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -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