/titanic_50/usr/src/cmd/sgs/librtld/sparc/ |
H A D | _relocate.c | 42 Rela *rel = vrel; in undo_reloc() local 44 Xword rtype = ELF_R_TYPE(rel->r_info, M_MACH); in undo_reloc() 102 Rela *rel = vrel; in clear_reloc() local 104 rel->r_offset = 0; in clear_reloc() 105 rel->r_info = ELF_R_INFO(0, R_SPARC_NONE); in clear_reloc() 106 rel->r_addend = 0; in clear_reloc() 117 Rela *rel = vrel; in apply_reloc() local 118 Xword type = ELF_R_TYPE(rel->r_info, M_MACH); in apply_reloc() 119 Xword value = reloc->r_value + rel->r_addend; in apply_reloc() 129 addr = (uintptr_t)oaddr - rel->r_offset; in apply_reloc() [all …]
|
/titanic_50/usr/src/cmd/sgs/librtld/sparcv9/ |
H A D | _relocate.c | 42 Rela *rel = vrel; in undo_reloc() local 44 Xword rtype = ELF_R_TYPE(rel->r_info, M_MACH); in undo_reloc() 102 Rela *rel = vrel; in clear_reloc() local 104 rel->r_offset = 0; in clear_reloc() 105 rel->r_info = ELF_R_INFO(0, R_SPARC_NONE); in clear_reloc() 106 rel->r_addend = 0; in clear_reloc() 117 Rela *rel = vrel; in apply_reloc() local 118 Xword type = ELF_R_TYPE(rel->r_info, M_MACH); in apply_reloc() 119 Xword value = reloc->r_value + rel->r_addend; in apply_reloc() 129 addr = (uintptr_t)oaddr - rel->r_offset; in apply_reloc() [all …]
|
/titanic_50/usr/src/cmd/sgs/librtld/amd64/ |
H A D | _relocate.c | 42 Rela *rel = vrel; in undo_reloc() local 43 Xword rtype = ELF_R_TYPE(rel->r_info, M_MACH); in undo_reloc() 112 Rela *rel = vrel; in clear_reloc() local 114 rel->r_offset = 0; in clear_reloc() 115 rel->r_info = ELF_R_INFO(0, R_AMD64_NONE); in clear_reloc() 116 rel->r_addend = 0; in clear_reloc() 127 Rela *rel = vrel; in apply_reloc() local 128 Xword type = ELF_R_TYPE(rel->r_info, M_MACH); in apply_reloc() 129 Xword value = reloc->r_value + rel->r_addend; in apply_reloc() 139 addr = (uintptr_t)oaddr - rel->r_offset; in apply_reloc() [all …]
|
/titanic_50/usr/src/cmd/sgs/librtld/common/ |
H A D | relocate.c | 56 Rel *rel; in count_reloc() local 69 rel = (Rel *)_cache->c_data->d_buf; in count_reloc() 93 rel = (Rel *)((uintptr_t)rel + ent)) { in count_reloc() 96 uchar_t type = (uchar_t)ELF_R_TYPE(rel->r_info, M_MACH); in count_reloc() 98 ulong_t offset = rel->r_offset + addr; in count_reloc() 101 ulong_t rsymndx = ELF_R_SYM(rel->r_info); in count_reloc() 427 Rel *rel; local 437 rel = (Rel *)_icache->c_data->d_buf; 446 rel = (Rel *)((uintptr_t)rel + ent)) { 449 uchar_t type = (uchar_t)ELF_R_TYPE(rel->r_info, M_MACH); [all …]
|
/titanic_50/usr/src/cmd/sgs/librtld/i386/ |
H A D | _relocate.c | 41 Rel *rel = vrel; in undo_reloc() local 47 switch (ELF_R_TYPE(rel->r_info, M_MACH)) { in undo_reloc() 105 Rel *rel = vrel; in clear_reloc() local 107 rel->r_offset = 0; in clear_reloc() 108 rel->r_info = ELF_R_INFO(0, R_386_NONE); in clear_reloc() 119 Rel *rel = vrel; in apply_reloc() local 120 Xword type = ELF_R_TYPE(rel->r_info, M_MACH); in apply_reloc() 130 addr = (uintptr_t)oaddr - rel->r_offset; in apply_reloc() 132 (void) elf_plt_write((uintptr_t)addr, vaddr, rel, in apply_reloc()
|
/titanic_50/usr/src/cmd/rpcgen/ |
H A D | rpc_parse.c | 152 if (decp->rel == REL_POINTER && in check_self_reference() 176 if (decp->rel != REL_POINTER && decp->rel != REL_ALIAS) in is_self_reference() 179 current.rel = decp->rel; in is_self_reference() 222 if (decp->rel == REL_POINTER && dp->def.ty.rel != REL_ALIAS) in is_self_reference() 224 if (decp->rel == REL_ALIAS && in is_self_reference() 225 (dp->def.ty.rel != REL_ALIAS && in is_self_reference() 226 dp->def.ty.rel != REL_POINTER)) in is_self_reference() 228 if (decp->rel != REL_ALIAS && decp->rel != REL_POINTER) in is_self_reference() 236 if (decp->rel == REL_ALIAS) in is_self_reference() 237 decp->rel = dp->def.ty.rel; in is_self_reference() [all …]
|
H A D | rpc_cout.c | 151 !isvectordef(def->def.ty.old_type, def->def.ty.rel)); in print_header() 222 print_ifstat(int indent, char *prefix, char *type, relation rel, in print_ifstat() argument 227 switch (rel) { in print_ifstat() 335 if (isvectordef(cs->type, cs->rel)) in emit_union() 341 print_ifstat(2, cs->prefix, cs->type, cs->rel, in emit_union() 355 if (isvectordef(dflt->type, dflt->rel)) in emit_union() 362 print_ifstat(2, dflt->prefix, dflt->type, dflt->rel, in emit_union() 441 (dc->rel == REL_ALIAS || dc->rel == REL_VECTOR)) { in inline_type() 520 if (dl->decl.rel == REL_ALIAS) in inline_struct() 582 if (dl->decl.rel == REL_VECTOR) { in check_inline() [all …]
|
H A D | rpc_util.c | 136 switch (def->def.ty.rel) { in fixit() 193 isvectordef(char *type, relation rel) in isvectordef() argument 198 switch (rel) { in isvectordef() 210 rel = def->def.ty.rel; in isvectordef()
|
H A D | rpc_hout.c | 100 !isvectordef(def->def.ty.old_type, def->def.ty.rel)); in print_datadef() 392 if (!newstyle || (dl->decl.rel == REL_POINTER)) in parglist() 443 relation rel = def->def.ty.rel; in ptypedef() local 449 rel = REL_POINTER; in ptypedef() 461 switch (rel) { in ptypedef() 511 switch (dec->rel) { in pdeclaration()
|
H A D | rpc_parse.h | 73 relation rel; member 94 relation rel; member
|
/titanic_50/usr/src/cmd/sgs/rtld/sparcv9/ |
H A D | sparc_elf.c | 148 Rela *rel = (Rela *)rptr; in elf_plt_write() local 154 pltaddr = addr + rel->r_offset; in elf_plt_write() 155 vpltaddr = vaddr + rel->r_offset; in elf_plt_write() 160 (uintptr_t)rel->r_addend - vaddr; in elf_plt_write() 681 Rela rel; in bindpltpad() local 707 rel.r_offset = pltoff; in bindpltpad() 708 rel.r_info = 0; in bindpltpad() 709 rel.r_addend = 0; in bindpltpad() 720 (void) elf_plt_write(ADDR(lmp), ADDR(lmp), &rel, value, 0); in bindpltpad() 754 Rela *rel; in elf_reloc() local [all …]
|
/titanic_50/usr/src/cmd/sgs/rtld/common/ |
H A D | mapfile-order-gcc | 46 # .data.rel sections from pics/debugdata.o go to data segment 48 IS_NAME = .data.rel; 52 # Put .data.rel sections from pics/debugdata.o ahead of any other 53 # .data.rel input sections in the .data.rel output section. 56 # Put .data.rel output section at top of data segment 57 OS_ORDER = .data.rel;
|
/titanic_50/usr/src/lib/libm/common/m9x/ |
H A D | nexttowardf.c | 75 enum fcc_type rel; in __nexttowardf() local 88 rel = _Q_cmp(&lx, &y); in __nexttowardf() 89 if (rel == fcc_unordered) in __nexttowardf() 92 if (rel == fcc_equal) { in __nexttowardf() 101 if (rel == fcc_less) { in __nexttowardf()
|
H A D | nexttoward.c | 86 enum fcc_type rel; in __nexttoward() local 99 rel = _Q_cmp(&lx, &y); in __nexttoward() 100 if (rel == fcc_unordered) in __nexttoward() 103 if (rel == fcc_equal) { in __nexttoward() 112 if (rel == fcc_less) { in __nexttoward()
|
/titanic_50/usr/src/cmd/sgs/rtld/i386/ |
H A D | i386_elf.c | 373 Rel *rel; in elf_reloc() local 546 rel = (Rel *)relbgn; in elf_reloc() 554 if (noplt && ((ulong_t)rel >= pltbgn) && in elf_reloc() 555 ((ulong_t)rel < pltend)) { in elf_reloc() 573 elf_reloc_bad(lmp, (void *)rel, rtype, roffset, in elf_reloc() 589 if (sip && is_sym_deferred((ulong_t)rel, basebgn, lmp, in elf_reloc() 619 rel, rtype, 0, roffset, 0)) == 0) { in elf_reloc() 700 rel, binfo)) in elf_reloc() 793 symdef, rel, rtype, name, roffset, in elf_reloc() 816 M_REL_SHT_TYPE, rel, NULL, 0, name)); in elf_reloc() [all …]
|
/titanic_50/usr/src/cmd/sgs/rtld/sparc/ |
H A D | sparc_elf.c | 116 Rela *rel = (Rela *)rptr; in elf_plt_write() local 120 pltaddr = addr + rel->r_offset; in elf_plt_write() 121 vpltaddr = vaddr + rel->r_offset; in elf_plt_write() 546 Rela *rel; in elf_reloc() local 678 rel = (Rela *)relbgn; in elf_reloc() 686 if (noplt && ((ulong_t)rel >= pltbgn) && in elf_reloc() 687 ((ulong_t)rel < pltend)) { in elf_reloc() 706 elf_reloc_bad(lmp, (void *)rel, rtype, roffset, in elf_reloc() 744 if (sip && is_sym_deferred((ulong_t)rel, basebgn, lmp, in elf_reloc() 774 rel, rtype, 0, roffset, 0)) == 0) { in elf_reloc() [all …]
|
/titanic_50/usr/src/cmd/sgs/rtld/amd64/ |
H A D | amd64_elf.c | 395 Rela *rel; in elf_reloc() local 569 rel = (Rela *)relbgn; in elf_reloc() 577 if (noplt && ((ulong_t)rel >= pltbgn) && in elf_reloc() 578 ((ulong_t)rel < pltend)) { in elf_reloc() 596 elf_reloc_bad(lmp, (void *)rel, rtype, roffset, in elf_reloc() 612 if (sip && is_sym_deferred((ulong_t)rel, basebgn, lmp, in elf_reloc() 643 rel, rtype, 0, roffset, 0)) == 0) { in elf_reloc() 724 rel, binfo)) in elf_reloc() 818 symdef, rel, rtype, name, roffset, in elf_reloc() 841 M_REL_SHT_TYPE, rel, NULL, 0, name)); in elf_reloc() [all …]
|
/titanic_50/usr/src/ucbcmd/expr/ |
H A D | expr.y | 70 | expr EQ expr = { $$ = rel(EQ, $1, $3); } 71 | expr GT expr = { $$ = rel(GT, $1, $3); } 72 | expr GEQ expr = { $$ = rel(GEQ, $1, $3); } 73 | expr LT expr = { $$ = rel(LT, $1, $3); } 74 | expr LEQ expr = { $$ = rel(LEQ, $1, $3); } 75 | expr NEQ expr = { $$ = rel(NEQ, $1, $3); } 141 rel(int oper, char *r1, char *r2) in rel() function
|
/titanic_50/usr/src/lib/libdtrace/common/ |
H A D | dt_link.c | 120 Elf32_Rela *rel; in prepare_elf32() local 122 Elf32_Rel *rel; in prepare_elf32() local 181 rel = dep->de_rel; in prepare_elf32() 217 rel->r_offset = s->dofs_offset + in prepare_elf32() 219 rel->r_info = ELF32_R_INFO(count + dep->de_global, in prepare_elf32() 226 rel->r_offset = s->dofs_offset + in prepare_elf32() 228 rel->r_info = ELF32_R_INFO(count + dep->de_global, in prepare_elf32() 241 rel++; in prepare_elf32() 299 Elf64_Rela *rel; in prepare_elf64() local 357 rel = dep->de_rel; in prepare_elf64() [all …]
|
/titanic_50/usr/src/cmd/pginfo/ |
H A D | pginfo.pl | 356 foreach my $rel (@relationships) { 357 my @pg_rel = grep { $p->sh_name($_) eq $rel } 360 $pgs_by_relationship{$rel} = \@pg_rel; 364 foreach my $rel (@relationships) { 365 printf "%-${max_sharename_len}s", $rel; 367 my @pgs = @{$pgs_by_relationship{$rel}};
|
/titanic_50/usr/src/uts/common/cpr/ |
H A D | cpr_dump.c | 725 pfn_t rel; in cpr_setbit() local 731 rel = ppn - dp->cbd_spfn; in cpr_setbit() 732 if ((clr = isclr(bitmap, rel)) != 0) in cpr_setbit() 733 setbit(bitmap, rel); in cpr_setbit() 750 pfn_t rel; in cpr_clrbit() local 756 rel = ppn - dp->cbd_spfn; in cpr_clrbit() 757 if ((set = isset(bitmap, rel)) != 0) in cpr_clrbit() 758 clrbit(bitmap, rel); in cpr_clrbit() 783 pfn_t rel; in cpr_isset() local 788 rel = ppn - dp->cbd_spfn; in cpr_isset() [all …]
|
/titanic_50/usr/src/cmd/zinject/ |
H A D | translate.c | 95 const char *rel; in parse_pathname() local 151 rel = fullpath + strlen(mp.mnt_mountp); in parse_pathname() 152 if (rel[0] == '/') in parse_pathname() 153 rel++; in parse_pathname() 154 (void) strcpy(relpath, rel); in parse_pathname()
|
/titanic_50/usr/src/cmd/sgs/liblddbg/common/ |
H A D | got.c | 133 Rel *rel; in Elf_got_entry() local 156 rel = (Rel *)reloc; in Elf_got_entry() 158 ELF_R_TYPE(rel->r_info, mach), 0, &inv_buf); in Elf_got_entry()
|
/titanic_50/usr/src/psm/stand/cpr/sparcv9/sun4u/ |
H A D | bitmap.c | 64 int rel, rval = 0; in cb_bitop() local 71 rel = ppn - dp->cbd_spfn; in cb_bitop() 73 setbit(bitmap, rel); in cb_bitop() 75 rval = isset(bitmap, rel); in cb_bitop() 77 rval = isclr(bitmap, rel); in cb_bitop()
|
/titanic_50/usr/src/lib/libc/amd64/unwind/ |
H A D | eh_frame.c | 218 int rel = (enc >> 4) & 0xf; in get_table_ent_val() local 272 switch (rel) { in get_table_ent_val()
|