Home | History | Annotate | Download | only in bfd

Lines Matching defs:inote

1759   Elf_Internal_Note inote;
1802 inote.type = H_GET_32 (abfd, enote->type);
1803 inote.namesz = H_GET_32 (abfd, enote->namesz);
1804 inote.namedata = enote->name;
1805 inote.descsz = H_GET_32 (abfd, enote->descsz);
1806 inote.descdata = inote.namedata + BFD_ALIGN (inote.namesz, 4);
1809 if (inote.descsz <= 0
1810 || inote.type != NT_GNU_BUILD_ID
1811 || inote.namesz != 4 /* sizeof "GNU" */
1812 || !startswith (inote.namedata, "GNU")
1813 || inote.descsz > 0x7ffffffe
1814 || size < (12 + BFD_ALIGN (inote.namesz, 4) + inote.descsz))
1821 build_id = bfd_alloc (abfd, sizeof (struct bfd_build_id) + inote.descsz);
1828 build_id->size = inote.descsz;
1829 memcpy (build_id->data, inote.descdata, inote.descsz);