Lines Matching defs:note
305 warnx("NT_FREEBSD_FEATURE_CTL note not found");
369 Elf_Note note;
376 * and has a note for feature control.
394 if (read(fd, ¬e, sizeof(note)) <
395 (ssize_t)sizeof(note)) {
396 warnx("elf note header too short");
399 read_total += sizeof(note);
402 note.n_namesz = bswap32(note.n_namesz);
403 note.n_descsz = bswap32(note.n_descsz);
404 note.n_type = bswap32(note.n_type);
411 namesz = roundup2(note.n_namesz, 4);
417 descsz = roundup2(note.n_descsz, 4);
419 warnx("elf note name too short");
425 if (note.n_namesz != 8 ||
427 note.n_type != NT_FREEBSD_FEATURE_CTL) {
428 /* Not the right note. Skip the description */
439 if (note.n_descsz < sizeof(uint32_t)) {
450 if (note.n_descsz > sizeof(uint32_t))
451 warnx("Feature note is bigger than expected");
454 warnx("feature note data too short");
467 warnx("NT_FREEBSD_FEATURE_CTL note not found");