diff options
author | nate <nate@FreeBSD.org> | 1994-12-23 22:31:35 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1994-12-23 22:31:35 +0000 |
commit | 7f56eb7b93f7774321c3f5924447d96ffcb858b9 (patch) | |
tree | 44d4ecee16a0e6d497426a41a2bdd4542c4c3342 /gnu/usr.bin/ld/symbol.c | |
parent | 92495f8331471c4b72fe0037463cdac16b87b02e (diff) | |
download | FreeBSD-src-7f56eb7b93f7774321c3f5924447d96ffcb858b9.zip FreeBSD-src-7f56eb7b93f7774321c3f5924447d96ffcb858b9.tar.gz |
Updated to recent version of Paul K.'s shlib code. This code has better
warning handling and allows for link-time warnings with a modified
version of gas.
Note: Not all of the newer bits were updated such as some of the non-x86
machine-dependant code is relevant to FreeBSD right now.
Obtained from: NetBSD
Diffstat (limited to 'gnu/usr.bin/ld/symbol.c')
-rw-r--r-- | gnu/usr.bin/ld/symbol.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/ld/symbol.c b/gnu/usr.bin/ld/symbol.c index f355b3e..c07637e 100644 --- a/gnu/usr.bin/ld/symbol.c +++ b/gnu/usr.bin/ld/symbol.c @@ -1,5 +1,5 @@ /* - * $Id: symbol.c,v 1.4 1994/02/13 20:41:46 jkh Exp $ - symbol table routines + * $Id: symbol.c,v 1.5 1994/06/15 22:39:56 rich Exp $ - symbol table routines */ /* Create the symbol table entries for `etext', `edata' and `end'. */ @@ -126,7 +126,7 @@ getsym(key) bp->aux = 0; bp->sorefs = 0; bp->so_defined = 0; - bp->def_nlist = 0; + bp->def_lsp = 0; bp->jmpslot_offset = -1; bp->gotslot_offset = -1; bp->flags = 0; @@ -144,15 +144,15 @@ getsym(key) symbol * getsym_soft (key) - char *key; + char *key; { register int hashval; register symbol *bp; - /* Determine which bucket. */ + /* Determine which bucket. */ hashval = hash_string(key) % SYMTABSIZE; - /* Search the bucket. */ + /* Search the bucket. */ for (bp = symtab[hashval]; bp; bp = bp->link) if (strcmp(key, bp->name) == 0) return bp; |