/linux-2.6.39/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-2.6.39/arch/m68k/kernel/ |
D | module_no.c | 44 Elf32_Rel *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate() local 50 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate() 53 + rel[i].r_offset; in apply_relocate() 57 + ELF32_R_SYM(rel[i].r_info); in apply_relocate() 59 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate() 70 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate() 84 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() [all …]
|
D | module_mm.c | 52 Elf32_Rel *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate() local 58 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate() 61 + rel[i].r_offset; in apply_relocate() 65 + ELF32_R_SYM(rel[i].r_info); in apply_relocate() 67 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate() 78 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate() 92 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local 98 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 101 + rel[i].r_offset; in apply_relocate_add() 105 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add() [all …]
|
/linux-2.6.39/arch/x86/kernel/ |
D | module.c | 70 Elf32_Rel *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate() local 76 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate() 79 + rel[i].r_offset; in apply_relocate() 83 + ELF32_R_SYM(rel[i].r_info); in apply_relocate() 85 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate() 96 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate() 121 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local 128 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 131 + rel[i].r_offset; in apply_relocate_add() 136 + ELF64_R_SYM(rel[i].r_info); in apply_relocate_add() [all …]
|
/linux-2.6.39/arch/mn10300/kernel/ |
D | module.c | 107 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local 116 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 119 + rel[i].r_offset; in apply_relocate_add() 124 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add() 127 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add() 130 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add() 140 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add() 145 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add() 190 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add() 196 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
|
/linux-2.6.39/arch/unicore32/kernel/ |
D | module.c | 60 Elf32_Rel *rel = (void *)relsec->sh_addr; in apply_relocate() local 63 for (i = 0; i < relsec->sh_size / sizeof(Elf32_Rel); i++, rel++) { in apply_relocate() 68 offset = ELF32_R_SYM(rel->r_info); in apply_relocate() 79 if (rel->r_offset < 0 || rel->r_offset > in apply_relocate() 83 module->name, relindex, i, rel->r_offset, in apply_relocate() 88 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate() 90 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate() 125 module->name, ELF32_R_TYPE(rel->r_info)); in apply_relocate()
|
/linux-2.6.39/arch/score/kernel/ |
D | module.c | 54 Elf32_Rel *rel = (void *)relsec->sh_addr; in apply_relocate() local 57 for (i = 0; i < relsec->sh_size / sizeof(Elf32_Rel); i++, rel++) { in apply_relocate() 62 r_offset = ELF32_R_SYM(rel->r_info); in apply_relocate() 72 if ((rel->r_offset < 0) || in apply_relocate() 73 (rel->r_offset > dstsec->sh_size - sizeof(u32))) { in apply_relocate() 76 me->name, relindex, i, rel->r_offset, in apply_relocate() 81 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate() 82 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate() 137 me->name, ELF32_R_TYPE(rel->r_info)); in apply_relocate()
|
/linux-2.6.39/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-2.6.39/arch/sh/kernel/ |
D | module.c | 68 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local 76 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 79 + rel[i].r_offset; in apply_relocate_add() 83 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add() 84 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add() 95 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add() 127 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
|
/linux-2.6.39/arch/tile/kernel/ |
D | module.c | 152 Elf_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local 159 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 162 + rel[i].r_offset; in apply_relocate_add() 168 + ELF_R_SYM(rel[i].r_info); in apply_relocate_add() 169 value = sym->st_value + rel[i].r_addend; in apply_relocate_add() 171 switch (ELF_R_TYPE(rel[i].r_info)) { in apply_relocate_add() 228 sym->st_value + rel[i].r_addend, in apply_relocate_add() 229 rel[i].r_offset, location); in apply_relocate_add() 240 me->name, (int) ELF_R_TYPE(rel[i].r_info)); in apply_relocate_add()
|
/linux-2.6.39/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-2.6.39/arch/arm/kernel/ |
D | module.c | 73 Elf32_Rel *rel = (void *)relsec->sh_addr; in apply_relocate() local 76 for (i = 0; i < relsec->sh_size / sizeof(Elf32_Rel); i++, rel++) { in apply_relocate() 85 offset = ELF32_R_SYM(rel->r_info); in apply_relocate() 95 if (rel->r_offset < 0 || rel->r_offset > dstsec->sh_size - sizeof(u32)) { in apply_relocate() 98 rel->r_offset, dstsec->sh_size); in apply_relocate() 102 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate() 104 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate() 126 ELF32_R_TYPE(rel->r_info), loc, in apply_relocate() 158 if (ELF32_R_TYPE(rel->r_info) == R_ARM_MOVT_ABS) in apply_relocate() 202 ELF32_R_TYPE(rel->r_info), loc, in apply_relocate() [all …]
|
/linux-2.6.39/arch/sparc/kernel/ |
D | module.c | 128 Elf_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local 133 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 138 + rel[i].r_offset; in apply_relocate_add() 148 + ELF_R_SYM(rel[i].r_info); in apply_relocate_add() 149 v = sym->st_value + rel[i].r_addend; in apply_relocate_add() 151 switch (ELF_R_TYPE(rel[i].r_info) & 0xff) { in apply_relocate_add() 178 (ELF_R_TYPE(rel[i].r_info) >> 8)) in apply_relocate_add() 215 (int) (ELF_R_TYPE(rel[i].r_info) & 0xff)); in apply_relocate_add()
|
/linux-2.6.39/arch/x86/boot/compressed/ |
D | relocs.c | 389 Elf32_Rel *rel = &sec->reltab[j]; in read_relocs() local 390 rel->r_offset = elf32_to_cpu(rel->r_offset); in read_relocs() 391 rel->r_info = elf32_to_cpu(rel->r_info); in read_relocs() 453 Elf32_Rel *rel; in print_absolute_relocs() local 456 rel = &sec->reltab[j]; in print_absolute_relocs() 457 sym = &sh_symtab[ELF32_R_SYM(rel->r_info)]; in print_absolute_relocs() 488 rel->r_offset, in print_absolute_relocs() 489 rel->r_info, in print_absolute_relocs() 490 rel_type(ELF32_R_TYPE(rel->r_info)), in print_absolute_relocs() 500 static void walk_relocs(void (*visit)(Elf32_Rel *rel, Elf32_Sym *sym)) in walk_relocs() argument [all …]
|
/linux-2.6.39/arch/blackfin/kernel/ |
D | module.c | 177 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local 184 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 187 rel[i].r_offset; in apply_relocate_add() 192 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add() 194 value += rel[i].r_addend; in apply_relocate_add() 199 ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add() 205 location, value, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add() 207 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add() 225 ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add() 230 ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
|
/linux-2.6.39/arch/mips/kernel/ |
D | module.c | 283 Elf_Mips_Rel *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate() local 293 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate() 296 + rel[i].r_offset; in apply_relocate() 299 + ELF_MIPS_R_SYM(rel[i]); in apply_relocate() 311 res = reloc_handlers_rel[ELF_MIPS_R_TYPE(rel[i])](me, location, v); in apply_relocate() 323 Elf_Mips_Rela *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add() local 333 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 336 + rel[i].r_offset; in apply_relocate_add() 339 + ELF_MIPS_R_SYM(rel[i]); in apply_relocate_add() 349 v = sym->st_value + rel[i].r_addend; in apply_relocate_add() [all …]
|
D | vpe.c | 363 int rel; in apply_r_mips_gprel16() local 366 rel = (int)v - gp_addr; in apply_r_mips_gprel16() 371 rel = (int)(short)((int)v + gp_offs + in apply_r_mips_gprel16() 375 if( (rel > 32768) || (rel < -32768) ) { in apply_r_mips_gprel16() 378 rel); in apply_r_mips_gprel16() 382 *location = (*location & 0xffff0000) | (rel & 0xffff); in apply_r_mips_gprel16() 390 int rel; in apply_r_mips_pc16() local 391 rel = (((unsigned int)v - (unsigned int)location)); in apply_r_mips_pc16() 392 rel >>= 2; // because the offset is in _instructions_ not bytes. in apply_r_mips_pc16() 393 rel -= 1; // and one instruction less due to the branch delay slot. in apply_r_mips_pc16() [all …]
|
/linux-2.6.39/arch/avr32/kernel/ |
D | module.c | 161 Elf32_Rela *rel = (void *)relsec->sh_addr; in apply_relocate_add() local 165 for (i = 0; i < relsec->sh_size / sizeof(Elf32_Rela); i++, rel++) { in apply_relocate_add() 172 location = (void *)dstsec->sh_addr + rel->r_offset; in apply_relocate_add() 173 sym = (Elf32_Sym *)symsec->sh_addr + ELF32_R_SYM(rel->r_info); in apply_relocate_add() 174 relocation = sym->st_value + rel->r_addend; in apply_relocate_add() 176 info = module->arch.syminfo + ELF32_R_SYM(rel->r_info); in apply_relocate_add() 179 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate_add() 200 switch (ELF32_R_TYPE(rel->r_info)) { in apply_relocate_add() 285 rel->r_offset, relocation); in apply_relocate_add() 294 module->name, ELF32_R_TYPE(rel->r_info)); in apply_relocate_add()
|
/linux-2.6.39/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-2.6.39/arch/m32r/kernel/ |
D | module.c | 105 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local 117 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 120 + rel[i].r_offset; in apply_relocate_add() 124 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add() 125 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add() 128 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add() 225 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
|
/linux-2.6.39/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-2.6.39/arch/parisc/kernel/ |
D | module.c | 555 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local 568 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 571 + rel[i].r_offset; in apply_relocate_add() 576 + ELF32_R_SYM(rel[i].r_info); in apply_relocate_add() 586 addend = rel[i].r_addend; in apply_relocate_add() 589 #define r(t) ELF32_R_TYPE(rel[i].r_info)==t ? #t : in apply_relocate_add() 606 switch (ELF32_R_TYPE(rel[i].r_info)) { in apply_relocate_add() 676 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add() 692 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() local 704 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() [all …]
|
/linux-2.6.39/arch/ia64/sn/kernel/ |
D | pio_phys.S | 47 st8.rel [r32]=r33 63 st8.rel [r32]=r33 64 (p9) st8.rel [r34]=r35
|
/linux-2.6.39/arch/xtensa/include/asm/ |
D | flat.h | 9 #define flat_get_relocate_addr(rel) (rel) argument
|