Lines Matching defs:note
125 // (Note: fields got reordered for 64 bit)
149 // (Note: fields got reordered for 64 bit)
161 char *note = map+sh_offset;
163 // An ELF note is a sequence of entries, each consisting of an
172 n_namesz = elf_int(note, 4);
173 n_descsz = elf_int(note+4, 4);
174 n_type = elf_int(note+8, 4);
177 if (n_namesz==4 && !memcmp(note+12, "GNU", 4)) {
181 for (j = 0; j < n_descsz; ++j) printf("%02x", note[16 + j]);
183 } else if (n_namesz==8 && !memcmp(note+12, "Android", 8)) {
184 if (n_type==1 /*.android.note.ident*/) {
186 printf(", for Android %d", (int)elf_int(note+20, 4));
188 printf(", built by NDK %.64s (%.64s)", note+24, note+24+64);
192 note += notesz;