Home
last modified time | relevance | path

Searched refs:note (Results 1 – 25 of 451) sorted by relevance

12345678910>>...19

/dflybsd-src/contrib/binutils-2.34/bfd/
H A Delf.c9403 elfcore_make_auxv_note_section (bfd *abfd, Elf_Internal_Note *note, in elfcore_make_auxv_note_section() argument
9412 sect->size = note->descsz - offs; in elfcore_make_auxv_note_section()
9413 sect->filepos = note->descpos + offs; in elfcore_make_auxv_note_section()
9428 elfcore_grok_prstatus (bfd *abfd, Elf_Internal_Note *note) in elfcore_grok_prstatus() argument
9433 if (note->descsz == sizeof (prstatus_t)) in elfcore_grok_prstatus()
9439 memcpy (&prstat, note->descdata, sizeof (prstat)); in elfcore_grok_prstatus()
9461 else if (note->descsz == sizeof (prstatus32_t)) in elfcore_grok_prstatus()
9468 memcpy (&prstat, note->descdata, sizeof (prstat)); in elfcore_grok_prstatus()
9499 size, note->descpos + offset); in elfcore_grok_prstatus()
9507 Elf_Internal_Note *note) in elfcore_make_note_pseudosection() argument
[all …]
/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dcprop.c292 rtx note = find_reg_equal_equiv_note (insn); in hash_scan_set() local
293 if (note != 0 in hash_scan_set()
294 && REG_NOTE_KIND (note) == REG_EQUAL in hash_scan_set()
296 && cprop_constant_p (XEXP (note, 0))) in hash_scan_set()
297 src = XEXP (note, 0), set = gen_rtx_SET (dest, src); in hash_scan_set()
731 rtx note = find_reg_equal_equiv_note (insn); in try_replace_reg() local
742 || (note != 0 in try_replace_reg()
743 && REG_NOTE_KIND (note) == REG_EQUAL in try_replace_reg()
744 && (GET_CODE (XEXP (note, 0)) == CONST in try_replace_reg()
745 || CONSTANT_P (XEXP (note, 0))))) in try_replace_reg()
[all …]
H A Dregrename.c1637 rtx note; in build_def_use() local
1810 for (note = REG_NOTES (insn); note; note = XEXP (note, 1)) in build_def_use()
1811 if (REG_NOTE_KIND (note) == REG_INC in build_def_use()
1812 || REG_NOTE_KIND (note) == REG_FRAME_RELATED_EXPR) in build_def_use()
1813 scan_rtx (insn, &XEXP (note, 0), ALL_REGS, mark_read, in build_def_use()
1823 for (note = REG_NOTES (insn); note; note = XEXP (note, 1)) in build_def_use()
1824 if (REG_NOTE_KIND (note) == REG_DEAD in build_def_use()
1825 && !find_regno_note (insn, REG_UNUSED, REGNO (XEXP (note, 0)))) in build_def_use()
1828 GET_MODE (XEXP (note, 0)), in build_def_use()
1829 REGNO (XEXP (note, 0))); in build_def_use()
[all …]
H A Dcfgrtl.c97 can_delete_note_p (const rtx_note *note) in can_delete_note_p() argument
99 switch (NOTE_KIND (note)) in can_delete_note_p()
128 rtx note; in delete_insn() local
183 while ((note in delete_insn()
185 && LABEL_P (XEXP (note, 0))) in delete_insn()
187 LABEL_NUSES (XEXP (note, 0))--; in delete_insn()
188 remove_note (insn, note); in delete_insn()
193 while ((note = find_reg_note (insn, REG_LABEL_OPERAND, NULL_RTX)) != NULL_RTX in delete_insn()
194 && LABEL_P (XEXP (note, 0))) in delete_insn()
196 LABEL_NUSES (XEXP (note, 0))--; in delete_insn()
[all …]
H A Dreorg.c511 rtx note, next; in emit_delay_sequence() local
527 for (note = REG_NOTES (tem); note; note = next) in emit_delay_sequence()
529 next = XEXP (note, 1); in emit_delay_sequence()
530 switch (REG_NOTE_KIND (note)) in emit_delay_sequence()
535 remove_note (tem, note); in emit_delay_sequence()
541 if (LABEL_P (XEXP (note, 0))) in emit_delay_sequence()
542 LABEL_NUSES (XEXP (note, 0)) ++; in emit_delay_sequence()
644 rtx note = find_reg_note (insn, REG_CC_SETTER, NULL_RTX); in delete_scheduled_jump() local
649 if (note) in delete_scheduled_jump()
651 if (! FIND_REG_INC_NOTE (XEXP (note, 0), NULL_RTX) in delete_scheduled_jump()
[all …]
H A Djump.c224 rtx note, next; in init_label_info() local
226 for (note = REG_NOTES (insn); note; note = next) in init_label_info()
228 next = XEXP (note, 1); in init_label_info()
229 if (REG_NOTE_KIND (note) == REG_LABEL_OPERAND in init_label_info()
230 && ! reg_mentioned_p (XEXP (note, 0), PATTERN (insn))) in init_label_info()
231 remove_note (insn, note); in init_label_info()
1253 rtx note; in delete_related_insns() local
1313 for (note = REG_NOTES (insn); note; note = XEXP (note, 1)) in delete_related_insns()
1314 if ((REG_NOTE_KIND (note) == REG_LABEL_OPERAND in delete_related_insns()
1315 || REG_NOTE_KIND (note) == REG_LABEL_TARGET) in delete_related_insns()
[all …]
/dflybsd-src/contrib/gdb-7/gdb/
H A Dosabi.c381 check_note (bfd *abfd, asection *sect, char *note, unsigned int *sectsize, in check_note() argument
388 if (!bfd_get_section_contents (abfd, sect, note, 0, *sectsize)) in check_note()
407 if (bfd_h_get_32 (abfd, note) != (strlen (name) + 1) in check_note()
408 || strcmp (note + 12, name) != 0) in check_note()
412 if (bfd_h_get_32 (abfd, note + 4) != descsz) in check_note()
416 if (bfd_h_get_32 (abfd, note + 8) != type) in check_note()
430 char *note; in generic_elf_osabi_sniff_abi_tag_sections() local
444 note = alloca (sectsize); in generic_elf_osabi_sniff_abi_tag_sections()
450 if (check_note (abfd, sect, note, &sectsize, "GNU", 16, NT_GNU_ABI_TAG)) in generic_elf_osabi_sniff_abi_tag_sections()
452 unsigned int abi_tag = bfd_h_get_32 (abfd, note + 16); in generic_elf_osabi_sniff_abi_tag_sections()
[all …]
/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dcfgrtl.c89 can_delete_note_p (const_rtx note) in can_delete_note_p() argument
91 switch (NOTE_KIND (note)) in can_delete_note_p()
120 rtx note; in delete_insn() local
158 while ((note in delete_insn()
160 && LABEL_P (XEXP (note, 0))) in delete_insn()
162 LABEL_NUSES (XEXP (note, 0))--; in delete_insn()
163 remove_note (insn, note); in delete_insn()
168 while ((note = find_reg_note (insn, REG_LABEL_OPERAND, NULL_RTX)) != NULL_RTX in delete_insn()
169 && LABEL_P (XEXP (note, 0))) in delete_insn()
171 LABEL_NUSES (XEXP (note, 0))--; in delete_insn()
[all …]
H A Dcprop.c296 rtx note = find_reg_equal_equiv_note (insn); in hash_scan_set() local
297 if (note != 0 in hash_scan_set()
298 && REG_NOTE_KIND (note) == REG_EQUAL in hash_scan_set()
300 && cprop_constant_p (XEXP (note, 0))) in hash_scan_set()
301 src = XEXP (note, 0), set = gen_rtx_SET (VOIDmode, dest, src); in hash_scan_set()
738 rtx note = find_reg_equal_equiv_note (insn); in try_replace_reg() local
763 if (note != 0 && REG_NOTE_KIND (note) == REG_EQUAL) in try_replace_reg()
765 simplify_replace_rtx (XEXP (note, 0), from, to)); in try_replace_reg()
780 if (!success && note == 0 && set != 0 && REG_P (SET_DEST (set))) in try_replace_reg()
781 note = set_unique_reg_note (insn, REG_EQUAL, copy_rtx (src)); in try_replace_reg()
[all …]
H A Dira.c1873 rtx list, insn, note, constant, x; in find_reg_equiv_invariant_const() local
1882 note = find_reg_note (insn, REG_EQUIV, NULL_RTX); in find_reg_equiv_invariant_const()
1884 if (note == NULL_RTX) in find_reg_equiv_invariant_const()
1887 x = XEXP (note, 0); in find_reg_equiv_invariant_const()
2352 rtx note; in validate_equiv_mem() local
2385 for (note = REG_NOTES (insn); note; note = XEXP (note, 1)) in validate_equiv_mem()
2386 if ((REG_NOTE_KIND (note) == REG_INC in validate_equiv_mem()
2387 || REG_NOTE_KIND (note) == REG_DEAD) in validate_equiv_mem()
2388 && REG_P (XEXP (note, 0)) in validate_equiv_mem()
2389 && reg_overlap_mentioned_p (XEXP (note, 0), memref)) in validate_equiv_mem()
[all …]
H A Dreorg.c555 rtx note, next; in emit_delay_sequence() local
570 for (note = REG_NOTES (tem); note; note = next) in emit_delay_sequence()
572 next = XEXP (note, 1); in emit_delay_sequence()
573 switch (REG_NOTE_KIND (note)) in emit_delay_sequence()
578 remove_note (tem, note); in emit_delay_sequence()
584 if (LABEL_P (XEXP (note, 0))) in emit_delay_sequence()
585 LABEL_NUSES (XEXP (note, 0)) ++; in emit_delay_sequence()
716 rtx note = find_reg_note (insn, REG_CC_SETTER, NULL_RTX); in delete_scheduled_jump() local
721 if (note) in delete_scheduled_jump()
723 if (! FIND_REG_INC_NOTE (XEXP (note, 0), NULL_RTX) in delete_scheduled_jump()
[all …]
H A Dcombine-stack-adj.c305 rtx note, last_note; in maybe_move_args_size_note() local
307 note = find_reg_note (insn, REG_ARGS_SIZE, NULL_RTX); in maybe_move_args_size_note()
308 if (note == NULL) in maybe_move_args_size_note()
317 XEXP (last_note, 0) = XEXP (note, 0); in maybe_move_args_size_note()
320 add_reg_note (last, REG_ARGS_SIZE, XEXP (note, 0)); in maybe_move_args_size_note()
353 rtx note, test, next_candidate, prev_candidate; in force_move_args_size_note() local
363 note = find_reg_note (insn, REG_ARGS_SIZE, NULL_RTX); in force_move_args_size_note()
364 if (note == NULL) in force_move_args_size_note()
399 XEXP (tnote, 0) = XEXP (note, 0); in force_move_args_size_note()
422 add_reg_note (test, REG_ARGS_SIZE, XEXP (note, 0)); in force_move_args_size_note()
H A Djump.c191 rtx note, next; in init_label_info() local
193 for (note = REG_NOTES (insn); note; note = next) in init_label_info()
195 next = XEXP (note, 1); in init_label_info()
196 if (REG_NOTE_KIND (note) == REG_LABEL_OPERAND in init_label_info()
197 && ! reg_mentioned_p (XEXP (note, 0), PATTERN (insn))) in init_label_info()
198 remove_note (insn, note); in init_label_info()
1237 rtx note; in delete_related_insns() local
1316 for (note = REG_NOTES (insn); note; note = XEXP (note, 1)) in delete_related_insns()
1317 if ((REG_NOTE_KIND (note) == REG_LABEL_OPERAND in delete_related_insns()
1318 || REG_NOTE_KIND (note) == REG_LABEL_TARGET) in delete_related_insns()
[all …]
H A Dregrename.c1544 rtx note; in build_def_use() local
1713 for (note = REG_NOTES (insn); note; note = XEXP (note, 1)) in build_def_use()
1714 if (REG_NOTE_KIND (note) == REG_INC in build_def_use()
1715 || REG_NOTE_KIND (note) == REG_FRAME_RELATED_EXPR) in build_def_use()
1716 scan_rtx (insn, &XEXP (note, 0), ALL_REGS, mark_read, in build_def_use()
1720 for (note = REG_NOTES (insn); note; note = XEXP (note, 1)) in build_def_use()
1721 if (REG_NOTE_KIND (note) == REG_DEAD) in build_def_use()
1724 GET_MODE (XEXP (note, 0)), in build_def_use()
1725 REGNO (XEXP (note, 0))); in build_def_use()
1726 scan_rtx (insn, &XEXP (note, 0), NO_REGS, terminate_dead, in build_def_use()
[all …]
H A Dregmove.c200 rtx note = find_reg_note (insn, REG_DEAD, reg); in try_auto_increment() local
201 if (note) in try_auto_increment()
202 PUT_REG_NOTE_KIND (note, REG_UNUSED); in try_auto_increment()
235 rtx note; in optimize_reg_copy_1() local
279 if ((note = find_regno_note (p, REG_DEAD, sregno)) != 0 in optimize_reg_copy_1()
280 && GET_MODE (XEXP (note, 0)) == GET_MODE (src)) in optimize_reg_copy_1()
384 remove_note (p, note); in optimize_reg_copy_1()
385 XEXP (note, 1) = REG_NOTES (insn); in optimize_reg_copy_1()
386 REG_NOTES (insn) = note; in optimize_reg_copy_1()
469 rtx note; in optimize_reg_copy_2() local
[all …]
H A Dpredict.c393 rtx note; in rtl_predicted_by_p() local
396 for (note = REG_NOTES (BB_END (bb)); note; note = XEXP (note, 1)) in rtl_predicted_by_p()
397 if (REG_NOTE_KIND (note) == REG_BR_PRED in rtl_predicted_by_p()
398 && INTVAL (XEXP (XEXP (note, 0), 0)) == (int)predictor) in rtl_predicted_by_p()
468 br_prob_note_reliable_p (const_rtx note) in br_prob_note_reliable_p() argument
470 gcc_assert (REG_NOTE_KIND (note) == REG_BR_PROB); in br_prob_note_reliable_p()
471 return probability_reliable_p (INTVAL (XEXP (note, 0))); in br_prob_note_reliable_p()
621 rtx note; in invert_br_probabilities() local
623 for (note = REG_NOTES (insn); note; note = XEXP (note, 1)) in invert_br_probabilities()
624 if (REG_NOTE_KIND (note) == REG_BR_PROB) in invert_br_probabilities()
[all …]
/dflybsd-src/contrib/binutils-2.27/bfd/
H A Delf.c8753 elfcore_grok_prstatus (bfd *abfd, Elf_Internal_Note *note) in elfcore_grok_prstatus() argument
8758 if (note->descsz == sizeof (prstatus_t)) in elfcore_grok_prstatus()
8764 memcpy (&prstat, note->descdata, sizeof (prstat)); in elfcore_grok_prstatus()
8786 else if (note->descsz == sizeof (prstatus32_t)) in elfcore_grok_prstatus()
8793 memcpy (&prstat, note->descdata, sizeof (prstat)); in elfcore_grok_prstatus()
8824 size, note->descpos + offset); in elfcore_grok_prstatus()
8832 Elf_Internal_Note *note) in elfcore_make_note_pseudosection() argument
8835 note->descsz, note->descpos); in elfcore_make_note_pseudosection()
8843 elfcore_grok_prfpreg (bfd *abfd, Elf_Internal_Note *note) in elfcore_grok_prfpreg() argument
8845 return elfcore_make_note_pseudosection (abfd, ".reg2", note); in elfcore_grok_prfpreg()
[all …]
/dflybsd-src/usr.bin/dsynth/
H A Dconfig.c662 Elf_Note note; member
675 struct NoteTag note; in getElfInfo() local
690 while (n != sizeof(note) && in getElfInfo()
704 if (n + r > sizeof(note)) in getElfInfo()
705 r = sizeof(note) - n; in getElfInfo()
706 bcopy((char *)v, (char *)&note + n, r); in getElfInfo()
711 if (n != sizeof(note)) in getElfInfo()
713 if (strncmp(OperatingSystemName, note.osname1, sizeof(note.osname1))) { in getElfInfo()
715 path, (int)sizeof(note.osname1), in getElfInfo()
716 note.osname1, OperatingSystemName); in getElfInfo()
[all …]
/dflybsd-src/contrib/gdb-7/bfd/
H A Delf.c7999 elfcore_grok_prstatus (bfd *abfd, Elf_Internal_Note *note) in elfcore_grok_prstatus() argument
8004 if (note->descsz == sizeof (prstatus_t)) in elfcore_grok_prstatus()
8010 memcpy (&prstat, note->descdata, sizeof (prstat)); in elfcore_grok_prstatus()
8032 else if (note->descsz == sizeof (prstatus32_t)) in elfcore_grok_prstatus()
8039 memcpy (&prstat, note->descdata, sizeof (prstat)); in elfcore_grok_prstatus()
8070 size, note->descpos + offset); in elfcore_grok_prstatus()
8078 Elf_Internal_Note *note) in elfcore_make_note_pseudosection() argument
8081 note->descsz, note->descpos); in elfcore_make_note_pseudosection()
8089 elfcore_grok_prfpreg (bfd *abfd, Elf_Internal_Note *note) in elfcore_grok_prfpreg() argument
8091 return elfcore_make_note_pseudosection (abfd, ".reg2", note); in elfcore_grok_prfpreg()
[all …]
/dflybsd-src/contrib/binutils-2.34/binutils/
H A Dobjcopy.c1943 Elf_Internal_Note note; member
1993 return pnote->note.type == NT_GNU_BUILD_ATTRIBUTE_OPEN; in is_open_note()
1999 return pnote->note.type == NT_GNU_BUILD_ATTRIBUTE_FUNC; in is_func_note()
2005 return pnote->note.type == 0; in is_deleted_note()
2011 return (pnote->note.namesz > 4 in is_version_note()
2012 && pnote->note.namedata[0] == 'G' in is_version_note()
2013 && pnote->note.namedata[1] == 'A' in is_version_note()
2014 && pnote->note.namedata[2] == '$' in is_version_note()
2015 && pnote->note.namedata[3] == GNU_BUILD_ATTRIBUTE_VERSION); in is_version_note()
2038 int cmp = memcmp (pnote1->note.namedata + 3, in compare_gnu_build_notes()
[all …]
/dflybsd-src/crypto/openssh/
H A Dhostfile.h31 u_int note; /* caller-specific note/flag */ member
42 const char *, FILE *, u_int note);
103 u_int note; /* caller-specified note copied from arguments */ member
116 const char *host, const char *ip, u_int options, u_int note);
119 const char *host, const char *ip, u_int options, u_int note);
/dflybsd-src/share/examples/diskless/
H A DREADME.TEMPLATING85 /kernel* ( note 2 )
86 /dev ( note 3 )
87 /var ( note 4 )
88 /home ( note 4 )
92 /usr/home ( note 4 )
93 /usr/crash ( note 5 )
94 /usr/obj ( note 5 )
95 /usr/ports ( note 5 )
96 /usr/src ( note 5 )
97 /usr/local/crack ( note 5 )
[all …]
/dflybsd-src/sys/kern/
H A Dimgact_elf.c86 static boolean_t __elfN(bsd_trans_osrel)(const Elf_Note *note,
1518 Elf_Note note; in __elfN() local
1520 note.n_namesz = strlen(name) + 1; in __elfN()
1521 note.n_descsz = descsz; in __elfN()
1522 note.n_type = type; in __elfN()
1523 dst = target_reserve(target, sizeof(note), &error); in __elfN()
1525 bcopy(&note, dst, sizeof note); in __elfN()
1526 dst = target_reserve(target, note.n_namesz, &error); in __elfN()
1528 bcopy(name, dst, note.n_namesz); in __elfN()
1530 dst = target_reserve(target, note.n_descsz, &error); in __elfN()
[all …]
H A Dkern_checkpoint.c180 char *note; in elf_getnotes() local
194 note = kmalloc(notesz, M_TEMP, M_WAITOK); in elf_getnotes()
198 if ((error = read_check(fp, note, notesz)) != 0) in elf_getnotes()
200 error = elf_demarshalnotes(note, psinfo, status, fpregset, nthreads); in elf_getnotes()
212 if (note) in elf_getnotes()
213 kfree(note, M_TEMP); in elf_getnotes()
317 Elf_Note note; in elf_getnote() local
325 bcopy((char *)src + *off, &note, sizeof note); in elf_getnote()
328 *off, type, note.n_type)); in elf_getnote()
329 *off += sizeof note; in elf_getnote()
[all …]
/dflybsd-src/usr.bin/gcore/
H A Delfcore.c339 Elf_Note note; in elf_putnote() local
341 note.n_namesz = strlen(name) + 1; in elf_putnote()
342 note.n_descsz = descsz; in elf_putnote()
343 note.n_type = type; in elf_putnote()
345 bcopy(&note, (char *)dst + *off, sizeof note); in elf_putnote()
346 *off += sizeof note; in elf_putnote()
348 bcopy(name, (char *)dst + *off, note.n_namesz); in elf_putnote()
349 *off += roundup2(note.n_namesz, sizeof(Elf_Size)); in elf_putnote()
351 bcopy(desc, (char *)dst + *off, note.n_descsz); in elf_putnote()
352 *off += roundup2(note.n_descsz, sizeof(Elf_Size)); in elf_putnote()

12345678910>>...19