diff options
author | jkh <jkh@FreeBSD.org> | 1994-01-12 23:16:19 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-01-12 23:16:19 +0000 |
commit | 29f81b79b81baa41b5fe2e51fa7420bf4d5def01 (patch) | |
tree | 3120f874f1f5b5157f5e65c9f2748b6b3804abaa /gnu/usr.bin/ld | |
parent | e4fbf3f6710e99031030efc443a766e334b7d924 (diff) | |
download | FreeBSD-src-29f81b79b81baa41b5fe2e51fa7420bf4d5def01.zip FreeBSD-src-29f81b79b81baa41b5fe2e51fa7420bf4d5def01.tar.gz |
1. Fix bug where duplicate symbol warnings were suppressed. This often
caued ld to `exit silently', to general confusion.
2. Add Gary Jennejohn's fix to support debugging of shared libraries.
Diffstat (limited to 'gnu/usr.bin/ld')
-rw-r--r-- | gnu/usr.bin/ld/rtld/rtld.c | 4 | ||||
-rw-r--r-- | gnu/usr.bin/ld/warnings.c | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/gnu/usr.bin/ld/rtld/rtld.c b/gnu/usr.bin/ld/rtld/rtld.c index 422646f..c7978ac 100644 --- a/gnu/usr.bin/ld/rtld/rtld.c +++ b/gnu/usr.bin/ld/rtld/rtld.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: rtld.c,v 1.11 1993/12/11 21:06:00 jkh Exp $ + * $Id: rtld.c,v 1.12 1993/12/22 23:28:35 jkh Exp $ */ #include <machine/vmparam.h> @@ -242,7 +242,7 @@ struct link_dynamic *dp; if (link_map_head) ldp->ldd_sym_loaded = 1; } - + crtp->crt_dp->ld_un.ld_2->ld_loaded = link_map_head; /* Close our file descriptor */ (void)close(crtp->crt_ldfd); } diff --git a/gnu/usr.bin/ld/warnings.c b/gnu/usr.bin/ld/warnings.c index 66628de..210be24 100644 --- a/gnu/usr.bin/ld/warnings.c +++ b/gnu/usr.bin/ld/warnings.c @@ -1,5 +1,5 @@ /* - * $Id: warnings.c,v 1.3 1993/12/11 11:58:30 jkh Exp $ + * $Id: warnings.c,v 1.4 1993/12/22 23:28:12 jkh Exp $ */ #include <sys/param.h> @@ -649,10 +649,6 @@ do_file_warnings (entry, outfile) continue; } - if (undefined_global_sym_count == 0) - /* No undefined symbols in rel files */ - continue; - dont_allow_symbol_name = 0; if (list_multiple_defs && g->multiply_defined) { |