44cfb8c
--- ld/NEWS.jj	2007-05-11 11:24:08.000000000 -0400
44cfb8c
+++ ld/NEWS	2007-06-12 05:04:49.000000000 -0400
dc18033
@@ -1,7 +1,4 @@
dc18033
 -*- text -*-
dc18033
-* ELF: Support environment variables, LD_SYMBOLIC for -Bsymbolic and
dc18033
-  LD_SYMBOLIC_FUNCTIONS for -Bsymbolic-functions.
dc18033
-
44cfb8c
 * -l:foo now searches the library path for a filename called foo,
44cfb8c
   without converting it to libfoo.a or libfoo.so.
44cfb8c
 
44cfb8c
--- ld/ld.texinfo.jj	2007-05-11 11:24:08.000000000 -0400
44cfb8c
+++ ld/ld.texinfo	2007-06-12 05:04:33.000000000 -0400
44cfb8c
@@ -1147,21 +1147,14 @@ When creating a shared library, bind ref
dc18033
 definition within the shared library, if any.  Normally, it is possible
dc18033
 for a program linked against a shared library to override the definition
dc18033
 within the shared library.  This option is only meaningful on ELF
dc18033
-platforms which support shared libraries.  If @option{-Bsymbolic} is not
dc18033
-used when linking a shared library, the linker will also turn on this
dc18033
-option if the environment variable @code{LD_SYMBOLIC} is set.
dc18033
+platforms which support shared libraries.
dc18033
 
dc18033
 @kindex -Bsymbolic-functions
dc18033
 @item -Bsymbolic-functions
dc18033
 When creating a shared library, bind references to global function
dc18033
 symbols to the definition within the shared library, if any. 
dc18033
 This option is only meaningful on ELF platforms which support shared
dc18033
-libraries.  If @option{-Bsymbolic-functions} is not used when linking a
dc18033
-shared library, the linker will also turn on this option if the
dc18033
-environment variable @code{LD_SYMBOLIC_FUNCTIONS} is set.  When
dc18033
-both environment variables @code{LD_SYMBOLIC} and
dc18033
-@code{LD_SYMBOLIC_FUNCTIONS} are set, @code{LD_SYMBOLIC} will take
dc18033
-precedent.
dc18033
+libraries.
dc18033
 
dc18033
 @kindex --dynamic-list=@var{dynamic-list-file}
dc18033
 @item --dynamic-list=@var{dynamic-list-file}
44cfb8c
--- ld/ldmain.c.jj	2007-05-11 11:24:08.000000000 -0400
44cfb8c
+++ ld/ldmain.c	2007-06-12 05:05:48.000000000 -0400
44cfb8c
@@ -254,11 +254,6 @@ main (int argc, char **argv)
44cfb8c
   command_line.warn_search_mismatch = TRUE;
dc18033
   command_line.check_section_addresses = TRUE;
44cfb8c
 
dc18033
-  if (getenv ("LD_SYMBOLIC") != NULL)
dc18033
-    command_line.symbolic = symbolic;
dc18033
-  else if (getenv ("LD_SYMBOLIC_FUNCTIONS") != NULL)
dc18033
-    command_line.symbolic = symbolic_functions;
44cfb8c
-
44cfb8c
   /* We initialize DEMANGLING based on the environment variable
44cfb8c
      COLLECT_NO_DEMANGLE.  The gcc collect2 program will demangle the
44cfb8c
      output of the linker, unless COLLECT_NO_DEMANGLE is set in the