if (kxld_sym_is_indirect(sym)) {
sym->alias = strtab + src->n_value;
}
-
+
rval = KERN_SUCCESS;
finish:
init_predicates(sym, N_ABS | N_EXT, 0);
sym->is_resolved = TRUE;
+
}
/*******************************************************************************
}
/* Set the C++-specific fields */
- if ((streq_safe(CXX_PREFIX, sym->name, const_strlen(CXX_PREFIX)))) {
+ if (!strncmp(CXX_PREFIX, sym->name, const_strlen(CXX_PREFIX))) {
sym->is_cxx = 1;
if (streq_safe(sym->name, METACLASS_VTABLE_PREFIX,
}
str = (char *) (strtab + *stroff);
+
strlcpy(str, sym->name, strsize - *stroff);
*stroff += bytes;
+
rval = KERN_SUCCESS;
finish:
sym->type |= N_PEXT;
sym->is_external = FALSE;
}
-