/linux-3.4.99/arch/um/kernel/ |
D | dyn.lds.S | 31 .rel.init : { *(.rel.init) } 33 .rel.text : { *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) } 35 .rel.fini : { *(.rel.fini) } 37 .rel.rodata : { *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*) } 39 .rel.data : { *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*) } 41 .rel.tdata : { *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*) } 43 .rel.tbss : { *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*) } 45 .rel.ctors : { *(.rel.ctors) } 47 .rel.dtors : { *(.rel.dtors) } 49 .rel.got : { *(.rel.got) } [all …]
|
D | uml.lds.S | 50 .rel.plt : { 51 *(.rel.plt) 53 *(.rel.iplt)
|
/linux-3.4.99/arch/m68k/kernel/ |
D | module.c | 29 Elf32_Rel *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate() local 35 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate() 38 + rel[i].r_offset; in apply_relocate() 42 + ELF32_R_SYM(rel[i].r_info); in apply_relocate() 44 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate() 55 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate() 69 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local 75 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 78 + rel[i].r_offset; in apply_relocate_add() 82 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add() [all …]
|
/linux-3.4.99/arch/x86/kernel/ |
D | module.c | 55 Elf32_Rel *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate() local 61 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate() 64 + rel[i].r_offset; in apply_relocate() 68 + ELF32_R_SYM(rel[i].r_info); in apply_relocate() 70 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate() 81 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate() 95 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local 102 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 105 + rel[i].r_offset; in apply_relocate_add() 110 + ELF64_R_SYM(rel[i].r_info); in apply_relocate_add() [all …]
|
/linux-3.4.99/arch/mn10300/kernel/ |
D | module.c | 63 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local 72 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 75 + rel[i].r_offset; in apply_relocate_add() 80 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add() 83 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add() 86 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add() 96 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add() 101 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add() 146 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add() 152 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
|
/linux-3.4.99/arch/unicore32/kernel/ |
D | module.c | 47 Elf32_Rel *rel = (void *)relsec->sh_addr; in apply_relocate() local 50 for (i = 0; i < relsec->sh_size / sizeof(Elf32_Rel); i++, rel++) { in apply_relocate() 55 offset = ELF32_R_SYM(rel->r_info); in apply_relocate() 66 if (rel->r_offset < 0 || rel->r_offset > in apply_relocate() 70 module->name, relindex, i, rel->r_offset, in apply_relocate() 75 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate() 77 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate() 112 module->name, ELF32_R_TYPE(rel->r_info)); in apply_relocate()
|
/linux-3.4.99/arch/score/kernel/ |
D | module.c | 37 Elf32_Rel *rel = (void *)relsec->sh_addr; in apply_relocate() local 40 for (i = 0; i < relsec->sh_size / sizeof(Elf32_Rel); i++, rel++) { in apply_relocate() 45 r_offset = ELF32_R_SYM(rel->r_info); in apply_relocate() 55 if ((rel->r_offset < 0) || in apply_relocate() 56 (rel->r_offset > dstsec->sh_size - sizeof(u32))) { in apply_relocate() 59 me->name, relindex, i, rel->r_offset, in apply_relocate() 64 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate() 65 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate() 120 me->name, ELF32_R_TYPE(rel->r_info)); in apply_relocate()
|
/linux-3.4.99/arch/openrisc/kernel/ |
D | module.c | 27 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local 34 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 37 + rel[i].r_offset; in apply_relocate_add() 42 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add() 43 value = sym->st_value + rel[i].r_addend; in apply_relocate_add() 45 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add() 66 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
|
/linux-3.4.99/arch/mips/include/asm/ |
D | module.h | 45 #define ELF_MIPS_R_SYM(rel) ELF32_R_SYM(rel.r_info) argument 46 #define ELF_MIPS_R_TYPE(rel) ELF32_R_TYPE(rel.r_info) argument 60 #define ELF_MIPS_R_SYM(rel) (rel.r_sym) argument 61 #define ELF_MIPS_R_TYPE(rel) (rel.r_type) argument
|
/linux-3.4.99/arch/sh/kernel/ |
D | module.c | 44 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local 52 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 55 + rel[i].r_offset; in apply_relocate_add() 59 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add() 60 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add() 71 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add() 105 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
|
/linux-3.4.99/arch/tile/kernel/ |
D | module.c | 141 Elf_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local 148 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 151 + rel[i].r_offset; in apply_relocate_add() 157 + ELF_R_SYM(rel[i].r_info); in apply_relocate_add() 158 value = sym->st_value + rel[i].r_addend; in apply_relocate_add() 160 switch (ELF_R_TYPE(rel[i].r_info)) { in apply_relocate_add() 217 sym->st_value + rel[i].r_addend, in apply_relocate_add() 218 rel[i].r_offset, location); in apply_relocate_add() 229 me->name, (int) ELF_R_TYPE(rel[i].r_info)); in apply_relocate_add()
|
/linux-3.4.99/arch/c6x/kernel/ |
D | module.c | 51 Elf32_Rela *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add() local 61 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 64 + rel[i].r_offset - offset; in apply_relocate_add() 69 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add() 72 v = sym->st_value + rel[i].r_addend; in apply_relocate_add() 74 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add() 117 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
|
/linux-3.4.99/arch/arm/kernel/ |
D | module.c | 55 Elf32_Rel *rel = (void *)relsec->sh_addr; in apply_relocate() local 58 for (i = 0; i < relsec->sh_size / sizeof(Elf32_Rel); i++, rel++) { in apply_relocate() 67 offset = ELF32_R_SYM(rel->r_info); in apply_relocate() 77 if (rel->r_offset < 0 || rel->r_offset > dstsec->sh_size - sizeof(u32)) { in apply_relocate() 80 rel->r_offset, dstsec->sh_size); in apply_relocate() 84 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate() 86 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate() 108 ELF32_R_TYPE(rel->r_info), loc, in apply_relocate() 140 if (ELF32_R_TYPE(rel->r_info) == R_ARM_MOVT_ABS) in apply_relocate() 193 ELF32_R_TYPE(rel->r_info), loc, in apply_relocate() [all …]
|
/linux-3.4.99/arch/mips/mm/ |
D | uasm.c | 535 uasm_r_mips_pc16(struct uasm_reloc **rel, u32 *addr, int lid) in uasm_r_mips_pc16() argument 537 (*rel)->addr = addr; in uasm_r_mips_pc16() 538 (*rel)->type = R_MIPS_PC16; in uasm_r_mips_pc16() 539 (*rel)->lab = lid; in uasm_r_mips_pc16() 540 (*rel)++; in uasm_r_mips_pc16() 545 __resolve_relocs(struct uasm_reloc *rel, struct uasm_label *lab) in __resolve_relocs() argument 548 long raddr = (long)rel->addr; in __resolve_relocs() 550 switch (rel->type) { in __resolve_relocs() 552 *rel->addr |= build_bimm(laddr - (raddr + 4)); in __resolve_relocs() 557 rel->type); in __resolve_relocs() [all …]
|
/linux-3.4.99/arch/x86/tools/ |
D | relocs.c | 442 Elf32_Rel *rel = &sec->reltab[j]; in read_relocs() local 443 rel->r_offset = elf32_to_cpu(rel->r_offset); in read_relocs() 444 rel->r_info = elf32_to_cpu(rel->r_info); in read_relocs() 504 Elf32_Rel *rel; in print_absolute_relocs() local 507 rel = &sec->reltab[j]; in print_absolute_relocs() 508 sym = &sh_symtab[ELF32_R_SYM(rel->r_info)]; in print_absolute_relocs() 539 rel->r_offset, in print_absolute_relocs() 540 rel->r_info, in print_absolute_relocs() 541 rel_type(ELF32_R_TYPE(rel->r_info)), in print_absolute_relocs() 551 static void walk_relocs(void (*visit)(Elf32_Rel *rel, Elf32_Sym *sym), in walk_relocs() argument [all …]
|
/linux-3.4.99/arch/sparc/kernel/ |
D | module.c | 114 Elf_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local 119 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 124 + rel[i].r_offset; in apply_relocate_add() 134 + ELF_R_SYM(rel[i].r_info); in apply_relocate_add() 135 v = sym->st_value + rel[i].r_addend; in apply_relocate_add() 137 switch (ELF_R_TYPE(rel[i].r_info) & 0xff) { in apply_relocate_add() 164 (ELF_R_TYPE(rel[i].r_info) >> 8)) in apply_relocate_add() 201 (int) (ELF_R_TYPE(rel[i].r_info) & 0xff)); in apply_relocate_add()
|
/linux-3.4.99/arch/blackfin/kernel/ |
D | module.c | 156 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local 163 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 166 rel[i].r_offset; in apply_relocate_add() 171 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add() 173 value += rel[i].r_addend; in apply_relocate_add() 178 ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add() 184 location, value, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add() 186 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add() 204 ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add() 209 ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
|
/linux-3.4.99/arch/mips/kernel/ |
D | module.c | 266 Elf_Mips_Rel *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate() local 276 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate() 279 + rel[i].r_offset; in apply_relocate() 282 + ELF_MIPS_R_SYM(rel[i]); in apply_relocate() 294 res = reloc_handlers_rel[ELF_MIPS_R_TYPE(rel[i])](me, location, v); in apply_relocate() 306 Elf_Mips_Rela *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add() local 316 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 319 + rel[i].r_offset; in apply_relocate_add() 322 + ELF_MIPS_R_SYM(rel[i]); in apply_relocate_add() 332 v = sym->st_value + rel[i].r_addend; in apply_relocate_add() [all …]
|
D | vpe.c | 361 int rel; in apply_r_mips_gprel16() local 364 rel = (int)v - gp_addr; in apply_r_mips_gprel16() 369 rel = (int)(short)((int)v + gp_offs + in apply_r_mips_gprel16() 373 if( (rel > 32768) || (rel < -32768) ) { in apply_r_mips_gprel16() 376 rel); in apply_r_mips_gprel16() 380 *location = (*location & 0xffff0000) | (rel & 0xffff); in apply_r_mips_gprel16() 388 int rel; in apply_r_mips_pc16() local 389 rel = (((unsigned int)v - (unsigned int)location)); in apply_r_mips_pc16() 390 rel >>= 2; // because the offset is in _instructions_ not bytes. in apply_r_mips_pc16() 391 rel -= 1; // and one instruction less due to the branch delay slot. in apply_r_mips_pc16() [all …]
|
/linux-3.4.99/arch/avr32/kernel/ |
D | module.c | 154 Elf32_Rela *rel = (void *)relsec->sh_addr; in apply_relocate_add() local 158 for (i = 0; i < relsec->sh_size / sizeof(Elf32_Rela); i++, rel++) { in apply_relocate_add() 165 location = (void *)dstsec->sh_addr + rel->r_offset; in apply_relocate_add() 166 sym = (Elf32_Sym *)symsec->sh_addr + ELF32_R_SYM(rel->r_info); in apply_relocate_add() 167 relocation = sym->st_value + rel->r_addend; in apply_relocate_add() 169 info = module->arch.syminfo + ELF32_R_SYM(rel->r_info); in apply_relocate_add() 172 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate_add() 193 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate_add() 278 rel->r_offset, relocation); in apply_relocate_add() 287 module->name, ELF32_R_TYPE(rel->r_info)); in apply_relocate_add()
|
/linux-3.4.99/arch/m32r/kernel/ |
D | module.c | 78 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local 90 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 93 + rel[i].r_offset; in apply_relocate_add() 97 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add() 98 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add() 101 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add() 198 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
|
/linux-3.4.99/arch/h8300/include/asm/ |
D | flat.h | 20 #define flat_get_relocate_addr(rel) (rel) argument 23 #define flat_put_addr_at_rp(rp, addr, rel) \ argument
|
/linux-3.4.99/drivers/bluetooth/ |
D | hci_bcsp.c | 62 struct sk_buff_head rel; /* Reliable packets queue */ member 163 skb_queue_tail(&bcsp->rel, skb); in bcsp_enqueue() 185 int rel, i; in bcsp_prepare_pkt() local 190 rel = 1; /* reliable channel */ in bcsp_prepare_pkt() 194 rel = 1; /* reliable channel */ in bcsp_prepare_pkt() 198 rel = 0; /* unreliable channel */ in bcsp_prepare_pkt() 202 rel = 0; /* unreliable channel */ in bcsp_prepare_pkt() 206 rel = 0; /* unreliable channel */ in bcsp_prepare_pkt() 244 if (rel) { in bcsp_prepare_pkt() 311 if (bcsp->unack.qlen < BCSP_TXWINSIZE && (skb = skb_dequeue(&bcsp->rel)) != NULL) { in bcsp_dequeue() [all …]
|
/linux-3.4.99/arch/parisc/kernel/ |
D | module.c | 551 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local 564 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 567 + rel[i].r_offset; in apply_relocate_add() 572 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add() 582 addend = rel[i].r_addend; in apply_relocate_add() 585 #define r(t) ELF32_R_TYPE(rel[i].r_info)==t ? #t : in apply_relocate_add() 602 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add() 672 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add() 688 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local 700 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() [all …]
|
/linux-3.4.99/arch/ia64/sn/kernel/ |
D | pio_phys.S | 47 st8.rel [r32]=r33 63 st8.rel [r32]=r33 64 (p9) st8.rel [r34]=r35
|