Lines Matching refs:class
69 * not a full ELF header, but only the class-independent prefix that we need.
228 * - ELFCLASS of resulting object (class)
229 * - Whether user specified class of the linker (ldclass)
254 uchar_t ldclass = ELFCLASSNONE, class = ELFCLASSNONE, ar_class;
262 * class/machine of the output object. We examine the options
282 * Use the 64-bit linker regardless of the class
294 * the object is of the wrong class, we have an error condition.
306 class = ELFCLASS32;
312 class = ELFCLASS64;
348 * Continue to look for the first ELF object to determine the class of
372 * If we've already determined the object class and
378 * class/machine decision.
380 if ((class != ELFCLASSNONE) && (mach32 != EM_NONE))
410 if (class == ELFCLASSNONE) {
411 class = hdr.ehdr.e_ident[EI_CLASS];
412 if ((class != ELFCLASS32) &&
413 (class != ELFCLASS64))
414 class = ELFCLASSNONE;
427 * asked for an inconsistant class/machine
454 * ELFCLASS of output object: If we did not establish a class from a
455 * command option, or from the first plain object, then use the class
458 if (class == ELFCLASSNONE)
459 class = ar_found ? ar_class : ELFCLASS32;
460 *class_ret = class;
471 *mach = (class == ELFCLASS64) ? mach64 : mach32;
476 *mach = (class == ELFCLASS64) ? M_MACH_64 : M_MACH_32;
664 uchar_t class, ldclass, checkclass;
689 * - object class
690 * - link-editor class
693 if (process_args(argc, argv, &class, &ldclass, &mach))
719 if (class == ELFCLASS64)