Subject: CVS commit: gnusrc
To: None <source-changes@netbsd.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 01/07/2000 12:23:42
Module Name:	gnusrc
Committed By:	mycroft
Date:		Fri Jan  7 20:23:42 UTC 2000

Modified Files:
	gnusrc/gnu/usr.bin/ld/ld: ld.1 rrs.c

Log Message:
Fix two problems:
* On other systems, `-Bsymbolic' does not affect undefined (external) symbols
  at all.  We were generating invalid PLT slots in this case.
* Do not prebind symbols when `-r' is used; only do so if -Bsymbolic is used
  {or if we're in RRS_PARTIAL mode, but I'm not sure that's correct}.
  Otherwise, we could inadvertantly prebind symbols when using `-r' with PIC
  files; when the resulting .o file is then linked into a shared library, the
  library would not permit an executable to override its symbols as it's
  supposed to.


To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 gnusrc/gnu/usr.bin/ld/ld/ld.1
cvs rdiff -r1.29 -r1.30 gnusrc/gnu/usr.bin/ld/ld/rrs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.