Avoid opening System.map just to check it, etc.

This commit is contained in:
albert
2002-10-02 12:10:39 +00:00
parent 7b1aebf7c4
commit e96d6b6141
8 changed files with 122 additions and 65 deletions

View File

@ -57,7 +57,7 @@ static format_node *do_one_spec(const char *spec, const char *override){
strcpy(thisnode->name, fs->head);
}
thisnode->pr = fs->pr;
thisnode->pad = fs->pad;
thisnode->need = fs->need;
thisnode->vendor = fs->vendor;
thisnode->flags = fs->flags;
thisnode->next = NULL;
@ -183,7 +183,7 @@ double_percent:
fnode->name = malloc(len+1);
strcpy(fnode->name, buf);
fnode->pr = NULL; /* checked for */
fnode->pad = 0;
fnode->need = 0;
fnode->vendor = AIX;
fnode->flags = 0;
fnode->next = NULL;
@ -669,7 +669,7 @@ static const char *generate_sysv_list(void){
fn->name = malloc(2);
strcpy(fn->name, ":");
fn->pr = NULL; /* checked for */
fn->pad = 0;
fn->need = 0;
fn->vendor = AIX; /* yes, for SGI weirdness */
fn->flags = 0;
fn->next = format_list;