Lines Matching defs:note
1351 const Elf_Note *note;
1355 for (note = (const Elf_Note *)note_start; (Elf_Addr)note < note_end;
1356 note = (const Elf_Note *)((const char *)(note + 1) +
1357 roundup2(note->n_namesz, sizeof(Elf32_Addr)) +
1358 roundup2(note->n_descsz, sizeof(Elf32_Addr)))) {
1359 if (note->n_namesz != sizeof(NOTE_FREEBSD_VENDOR) ||
1360 note->n_descsz != sizeof(int32_t))
1362 if (note->n_type != ABI_NOTETYPE &&
1363 note->n_type != CRT_NOINIT_NOTETYPE)
1365 note_name = (const char *)(note + 1);
1369 switch (note->n_type) {
1371 /* FreeBSD osrel note */
1372 p = (uintptr_t)(note + 1);
1373 p += roundup2(note->n_namesz, sizeof(Elf32_Addr));
1375 dbg("note osrel %d", obj->osrel);
1378 /* FreeBSD 'crt does not call init' note */
1380 dbg("note crt_no_init");