From 71d718e0e4961c5f5377717404253e20389cb618 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Sat, 3 Oct 1998 14:47:54 +0000 Subject: [PATCH] PROJECTS: Remove template friends. * PROJECTS: Remove template friends. * collect2.c (sort_ids): Remove unused variable. * tm.texi (MATH_LIBRARY): Document. (NEED_MATH_LIBRARY): Remove. From-SVN: r22792 --- gcc/ChangeLog | 7 +++++++ gcc/PROJECTS | 2 -- gcc/collect2.c | 1 - gcc/tm.texi | 15 +++++++-------- 4 files changed, 14 insertions(+), 11 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0e46fb717d6..b83b90ea06e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,12 @@ Sat Oct 3 14:42:19 1998 Jason Merrill + * PROJECTS: Remove template friends. + + * collect2.c (sort_ids): Remove unused variable. + + * tm.texi (MATH_LIBRARY): Document. + (NEED_MATH_LIBRARY): Remove. + * varasm.c (assemble_start_function, assemble_variable, weak_finish, assemble_alias): Do ASM_GLOBALIZE_LABEL for weak symbols, too. diff --git a/gcc/PROJECTS b/gcc/PROJECTS index 2c2111a2a6e..d5b53404521 100644 --- a/gcc/PROJECTS +++ b/gcc/PROJECTS @@ -1,5 +1,3 @@ -C++ template friend functions (mmitchell@usa.net) - Haifa scheduler (haifa-sched.c, loop.[ch], unroll.[ch], genattrtab.c): (contact law@cygnus.com before starting any serious haifa work) diff --git a/gcc/collect2.c b/gcc/collect2.c index 7d2a5705eec..bc2ef843009 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -1783,7 +1783,6 @@ sort_ids (head_ptr) element to insert. id_ptr iterates through the already sorted elements looking for the place to insert id. */ struct id *id, *id_next, **id_ptr; - int i; id = head_ptr->first; diff --git a/gcc/tm.texi b/gcc/tm.texi index d0dee150668..cf11d7b5aff 100644 --- a/gcc/tm.texi +++ b/gcc/tm.texi @@ -7591,12 +7591,11 @@ You need only define this macro if the target holds values larger than @code{word_mode} in general purpose registers. Most targets should not define this macro. -@findex NEED_MATH_LIBRARY -@item NEED_MATH_LIBRARY -Define this macro as a C expression that is nonzero if @code{g++} should -automatically link in the math library or to zero if @code{g++} should not -automatically link in the math library. - -You need only define this macro if the target does not always need the math -library linked into C++ programs. +@findex MATH_LIBRARY +@item MATH_LIBRARY +Define this macro as a C string constant for the linker argument to link +in the system math library, or @samp{""} if the target does not have a +separate math library. + +You need only define this macro if the default of @samp{"-lm"} is wrong. @end table -- 2.30.2