/openbsd/gnu/usr.bin/binutils-2.17/bfd/ |
H A D | nlm32-i386.c | 72 arelent *rel) in nlm_i386_read_reloc() argument 134 rel->address = val; in nlm_i386_read_reloc() 135 rel->addend = 0; in nlm_i386_read_reloc() 153 if (rel->addend != 0 in nlm_i386_write_import() 154 || rel->howto == NULL in nlm_i386_write_import() 166 sym = *rel->sym_ptr_ptr; in nlm_i386_write_import() 245 arelent *rel; in nlm_i386_mangle_relocs() local 249 rel = *rel_ptr_ptr; in nlm_i386_mangle_relocs() 278 && rel->howto != NULL in nlm_i386_mangle_relocs() 291 rel->addend = 0; in nlm_i386_mangle_relocs() [all …]
|
H A D | nlm32-ppc.c | 436 arelent *rel) in nlm_powerpc_read_reloc() argument 484 rel->addend = 0; in nlm_powerpc_read_reloc() 511 rel->address = l_vaddr; in nlm_powerpc_read_reloc() 541 arelent *rel) in nlm_powerpc_read_reloc() argument 590 rel->addend = 0; in nlm_powerpc_read_reloc() 668 if (rel->addend != 0 in nlm_powerpc_write_import() 675 || (rel->howto->src_mask != 0xffffffff && rel->addend != 0) in nlm_powerpc_write_import() 731 arelent *rel, in nlm_powerpc_write_reloc() argument 784 && rel->addend == 0)) in nlm_powerpc_write_reloc() 787 && rel->addend == 0)) in nlm_powerpc_write_reloc() [all …]
|
H A D | nlm32-alpha.c | 394 arelent *rel) in nlm_alpha_read_reloc() argument 433 rel->addend = 0; in nlm_alpha_read_reloc() 446 rel->addend = 0; in nlm_alpha_read_reloc() 452 rel->addend = 0; in nlm_alpha_read_reloc() 463 rel->addend = 0; in nlm_alpha_read_reloc() 494 rel->addend = 0; in nlm_alpha_read_reloc() 501 rel->addend += gp_value; in nlm_alpha_read_reloc() 559 rel->addend = 0; in nlm_alpha_read_reloc() 656 sym = *rel->sym_ptr_ptr; in nlm_alpha_write_import() 685 r_symndx = rel->addend; in nlm_alpha_write_import() [all …]
|
H A D | elf32-openrisc.c | 238 Elf_Internal_Rela *rel, in openrisc_final_link_relocate() argument 248 contents, rel->r_offset, in openrisc_final_link_relocate() 249 relocation, rel->r_addend); in openrisc_final_link_relocate() 254 contents, rel->r_offset, in openrisc_final_link_relocate() 255 relocation, rel->r_addend); in openrisc_final_link_relocate() 303 Elf_Internal_Rela *rel; in openrisc_elf_relocate_section() local 313 for (rel = relocs; rel < relend; rel++) in openrisc_elf_relocate_section() 363 contents, rel, relocation); in openrisc_elf_relocate_section() 417 Elf_Internal_Rela *rel, in openrisc_elf_gc_mark_hook() argument 471 const Elf_Internal_Rela *rel; in openrisc_elf_check_relocs() local [all …]
|
/openbsd/gnu/usr.bin/binutils/bfd/ |
H A D | nlm32-i386.c | 84 arelent *rel; 146 rel->address = val; 147 rel->addend = 0; 158 arelent *rel; 168 if (rel->addend != 0 181 sym = *rel->sym_ptr_ptr; 261 arelent *rel; local 265 rel = *rel_ptr_ptr; 294 && rel->howto != NULL 307 rel->addend = 0; [all …]
|
H A D | nlm32-ppc.c | 139 arelent *rel; 188 rel->address = val << 2; 189 rel->addend = 0; 555 arelent *rel; 605 rel->addend = 0; 632 rel->address = l_vaddr; 710 arelent *rel; 717 if (rel->addend != 0 724 || (rel->howto->src_mask != 0xffffffff && rel->addend != 0) 781 arelent *rel; [all …]
|
H A D | elf32-avr.c | 403 Elf_Internal_Rela *rel; 456 const Elf_Internal_Rela *rel; local 469 for (rel = relocs; rel < rel_end; rel++) 489 contents, rel, relocation) in avr_final_link_relocate() 494 Elf_Internal_Rela * rel; 504 contents += rel->r_offset; 506 srel += rel->r_addend; 507 srel -= rel->r_offset; 524 srel += rel->r_addend; 525 srel -= rel->r_offset; [all …]
|
H A D | nlm32-alpha.c | 416 arelent *rel; 455 rel->addend = 0; 468 rel->addend = 0; 474 rel->addend = 0; 485 rel->addend = 0; 516 rel->addend = 0; 523 rel->addend += gp_value; 581 rel->addend = 0; 676 arelent *rel; 684 sym = *rel->sym_ptr_ptr; [all …]
|
H A D | elf32-msp430.c | 225 Elf_Internal_Rela *rel; 292 for (rel = relocs; rel < rel_end; rel++) 317 Elf_Internal_Rela *rel; 329 srel += rel->r_addend; 330 srel -= rel->r_offset; 353 srel += rel->r_addend; 354 srel -= rel->r_offset; 368 srel += rel->r_addend; 369 srel -= rel->r_offset; 420 Elf_Internal_Rela *rel; local [all …]
|
/openbsd/gnu/usr.bin/binutils/ld/scripttempl/ |
H A D | elfd30v.sc | 61 .rel.text ${RELOCATING-0} : { *(.rel.text) *(.rel.gnu.linkonce.t*) } 63 .rel.data ${RELOCATING-0} : { *(.rel.data) *(.rel.gnu.linkonce.d*) } 65 .rel.rodata ${RELOCATING-0} : { *(.rel.rodata) *(.rel.gnu.linkonce.r*) } 67 .rel.stext ${RELOCATING-0} : { *(.rel.stest) } 77 .rel.sbss ${RELOCATING-0} : { *(.rel.sbss) } 79 .rel.ebss ${RELOCATING-0} : { *(.rel.ebss) } 85 .rel.got ${RELOCATING-0} : { *(.rel.got) } 91 .rel.init ${RELOCATING-0} : { *(.rel.init) } 93 .rel.fini ${RELOCATING-0} : { *(.rel.fini) } 95 .rel.bss ${RELOCATING-0} : { *(.rel.bss) } [all …]
|
H A D | elf32avr.sc | 23 .rel.init ${RELOCATING-0} : { *(.rel.init) } 25 .rel.text ${RELOCATING-0} : 27 *(.rel.text) 37 .rel.fini ${RELOCATING-0} : { *(.rel.fini) } 41 *(.rel.rodata) 53 *(.rel.data) 63 .rel.ctors ${RELOCATING-0} : { *(.rel.ctors) } 65 .rel.dtors ${RELOCATING-0} : { *(.rel.dtors) } 67 .rel.got ${RELOCATING-0} : { *(.rel.got) } 69 .rel.bss ${RELOCATING-0} : { *(.rel.bss) } [all …]
|
H A D | avr.sc | 23 .rel.init ${RELOCATING-0} : { *(.rel.init) } 25 .rel.text ${RELOCATING-0} : 27 *(.rel.text) 37 .rel.fini ${RELOCATING-0} : { *(.rel.fini) } 41 *(.rel.rodata) 53 *(.rel.data) 63 .rel.ctors ${RELOCATING-0} : { *(.rel.ctors) } 65 .rel.dtors ${RELOCATING-0} : { *(.rel.dtors) } 67 .rel.got ${RELOCATING-0} : { *(.rel.got) } 69 .rel.bss ${RELOCATING-0} : { *(.rel.bss) } [all …]
|
H A D | elf32msp430_3.sc | 23 .rel.init ${RELOCATING-0} : { *(.rel.init) } 25 .rel.text ${RELOCATING-0} : 27 *(.rel.text) 37 .rel.fini ${RELOCATING-0} : { *(.rel.fini) } 41 *(.rel.rodata) 53 *(.rel.data) 63 .rel.ctors ${RELOCATING-0} : { *(.rel.ctors) } 65 .rel.dtors ${RELOCATING-0} : { *(.rel.dtors) } 67 .rel.got ${RELOCATING-0} : { *(.rel.got) } 69 .rel.bss ${RELOCATING-0} : { *(.rel.bss) } [all …]
|
H A D | elf32msp430.sc | 47 .rel.init ${RELOCATING-0} : { *(.rel.init) } 49 .rel.text ${RELOCATING-0} : 51 *(.rel.text) 61 .rel.fini ${RELOCATING-0} : { *(.rel.fini) } 65 *(.rel.rodata) 77 *(.rel.data) 87 .rel.ctors ${RELOCATING-0} : { *(.rel.ctors) } 89 .rel.dtors ${RELOCATING-0} : { *(.rel.dtors) } 91 .rel.got ${RELOCATING-0} : { *(.rel.got) } 93 .rel.bss ${RELOCATING-0} : { *(.rel.bss) } [all …]
|
H A D | elfm68hc11.sc | 254 .rel.stext ${RELOCATING-0} : { *(.rel.stest) } 256 .rel.etext ${RELOCATING-0} : { *(.rel.etest) } 258 .rel.sdata ${RELOCATING-0} : { *(.rel.sdata) } 260 .rel.edata ${RELOCATING-0} : { *(.rel.edata) } 262 .rel.eit_v ${RELOCATING-0} : { *(.rel.eit_v) } 264 .rel.ebss ${RELOCATING-0} : { *(.rel.ebss) } 270 .rel.got ${RELOCATING-0} : { *(.rel.got) } 272 .rel.ctors ${RELOCATING-0} : { *(.rel.ctors) } 276 .rel.init ${RELOCATING-0} : { *(.rel.init) } 278 .rel.fini ${RELOCATING-0} : { *(.rel.fini) } [all …]
|
H A D | elfm68hc12.sc | 254 .rel.stext ${RELOCATING-0} : { *(.rel.stest) } 256 .rel.etext ${RELOCATING-0} : { *(.rel.etest) } 258 .rel.sdata ${RELOCATING-0} : { *(.rel.sdata) } 260 .rel.edata ${RELOCATING-0} : { *(.rel.edata) } 262 .rel.eit_v ${RELOCATING-0} : { *(.rel.eit_v) } 264 .rel.ebss ${RELOCATING-0} : { *(.rel.ebss) } 270 .rel.got ${RELOCATING-0} : { *(.rel.got) } 272 .rel.ctors ${RELOCATING-0} : { *(.rel.ctors) } 276 .rel.init ${RELOCATING-0} : { *(.rel.init) } 278 .rel.fini ${RELOCATING-0} : { *(.rel.fini) } [all …]
|
/openbsd/gnu/usr.bin/binutils-2.17/ld/scripttempl/ |
H A D | elfd30v.sc | 61 .rel.text ${RELOCATING-0} : { *(.rel.text) *(.rel.gnu.linkonce.t*) } 63 .rel.data ${RELOCATING-0} : { *(.rel.data) *(.rel.gnu.linkonce.d*) } 65 .rel.rodata ${RELOCATING-0} : { *(.rel.rodata) *(.rel.gnu.linkonce.r*) } 67 .rel.stext ${RELOCATING-0} : { *(.rel.stest) } 77 .rel.sbss ${RELOCATING-0} : { *(.rel.sbss) } 79 .rel.ebss ${RELOCATING-0} : { *(.rel.ebss) } 85 .rel.got ${RELOCATING-0} : { *(.rel.got) } 91 .rel.init ${RELOCATING-0} : { *(.rel.init) } 93 .rel.fini ${RELOCATING-0} : { *(.rel.fini) } 95 .rel.bss ${RELOCATING-0} : { *(.rel.bss) } [all …]
|
H A D | elf32msp430_3.sc | 23 .rel.init ${RELOCATING-0} : { *(.rel.init) } 25 .rel.text ${RELOCATING-0} : 27 *(.rel.text) 37 .rel.fini ${RELOCATING-0} : { *(.rel.fini) } 41 *(.rel.rodata) 53 *(.rel.data) 63 .rel.ctors ${RELOCATING-0} : { *(.rel.ctors) } 65 .rel.dtors ${RELOCATING-0} : { *(.rel.dtors) } 67 .rel.got ${RELOCATING-0} : { *(.rel.got) } 69 .rel.bss ${RELOCATING-0} : { *(.rel.bss) } [all …]
|
H A D | armbpabi.sc | 32 DATARELRO=".data.rel.ro : { *(.data.rel.ro.local) *(.data.rel.ro*) }" 57 …REL_SBSS=".rel.sbss ${RELOCATING-0} : { *(.rel.sbss${RELOCATING+ .rel.sbss.* .rel.gnu.linkonce… 374 .rel.text 0 : { *(.rel.text${RELOCATING+ .rel.text.* .rel.gnu.linkonce.t.*}) } 378 .rel.rodata 0 : { *(.rel.rodata${RELOCATING+ .rel.rodata.* .rel.gnu.linkonce.r.*}) } 381 .rel.data.rel.ro 0 : { *(.rel.data.rel.ro${RELOCATING+*}) } 382 .rela.data.rel.ro 0 : { *(.rel.data.rel.ro${RELOCATING+*}) } 383 .rel.data 0 : { *(.rel.data${RELOCATING+ .rel.data.* .rel.gnu.linkonce.d.*}) } 385 .rel.tdata 0 : { *(.rel.tdata${RELOCATING+ .rel.tdata.* .rel.gnu.linkonce.td.*}) } 387 .rel.tbss 0 : { *(.rel.tbss${RELOCATING+ .rel.tbss.* .rel.gnu.linkonce.tb.*}) } 397 .rel.bss 0 : { *(.rel.bss${RELOCATING+ .rel.bss.* .rel.gnu.linkonce.b.*}) } [all …]
|
H A D | elf32msp430.sc | 47 .rel.init ${RELOCATING-0} : { *(.rel.init) } 49 .rel.text ${RELOCATING-0} : 51 *(.rel.text) 61 .rel.fini ${RELOCATING-0} : { *(.rel.fini) } 65 *(.rel.rodata) 77 *(.rel.data) 87 .rel.ctors ${RELOCATING-0} : { *(.rel.ctors) } 89 .rel.dtors ${RELOCATING-0} : { *(.rel.dtors) } 91 .rel.got ${RELOCATING-0} : { *(.rel.got) } 93 .rel.bss ${RELOCATING-0} : { *(.rel.bss) } [all …]
|
H A D | elfm68hc11.sc | 254 .rel.stext ${RELOCATING-0} : { *(.rel.stest) } 256 .rel.etext ${RELOCATING-0} : { *(.rel.etest) } 258 .rel.sdata ${RELOCATING-0} : { *(.rel.sdata) } 260 .rel.edata ${RELOCATING-0} : { *(.rel.edata) } 262 .rel.eit_v ${RELOCATING-0} : { *(.rel.eit_v) } 264 .rel.ebss ${RELOCATING-0} : { *(.rel.ebss) } 270 .rel.got ${RELOCATING-0} : { *(.rel.got) } 272 .rel.ctors ${RELOCATING-0} : { *(.rel.ctors) } 276 .rel.init ${RELOCATING-0} : { *(.rel.init) } 278 .rel.fini ${RELOCATING-0} : { *(.rel.fini) } [all …]
|
H A D | elfm68hc12.sc | 254 .rel.stext ${RELOCATING-0} : { *(.rel.stest) } 256 .rel.etext ${RELOCATING-0} : { *(.rel.etest) } 258 .rel.sdata ${RELOCATING-0} : { *(.rel.sdata) } 260 .rel.edata ${RELOCATING-0} : { *(.rel.edata) } 262 .rel.eit_v ${RELOCATING-0} : { *(.rel.eit_v) } 264 .rel.ebss ${RELOCATING-0} : { *(.rel.ebss) } 270 .rel.got ${RELOCATING-0} : { *(.rel.got) } 272 .rel.ctors ${RELOCATING-0} : { *(.rel.ctors) } 276 .rel.init ${RELOCATING-0} : { *(.rel.init) } 278 .rel.fini ${RELOCATING-0} : { *(.rel.fini) } [all …]
|
/openbsd/gnu/llvm/lld/wasm/ |
H A D | InputChunks.cpp | 117 LLVM_DEBUG(dbgs() << " addend=" << rel.Addend << " index=" << rel.Index in relocate() 124 switch (rel.Type) { in relocate() 185 if (relocTypeHasAddend(rel.Type)) in writeRelocations() 216 switch (rel.Type) { in writeCompressedReloc() 236 switch (rel.Type) { in getRelocWidthPadded() 291 getRelocWidth(rel, file->calcNewValue(rel, tombstone, this)); in calculateSize() 292 lastRelocEnd = rel.Offset + getRelocWidthPadded(rel); in calculateSize() 331 lastRelocEnd = secStart + rel.Offset + getRelocWidthPadded(rel); in writeCompressed() 384 << " addend=" << rel.Addend << " index=" << rel.Index in generateRelocationCode() 399 bool is64 = relocIs64(rel.Type); in generateRelocationCode() [all …]
|
/openbsd/libexec/ld.so/arm/ |
H A D | ld.script | 49 .data.rel.ro : { *(.data.rel.ro.local*) *(.data.rel.ro*) } :data :relro 57 .rel.dyn : 59 *(.rel.text .rel.text.*) 60 *(.rel.rodata .rel.rodata.*) 61 *(.rel.data .rel.data.*) 62 *(.rel.got) 63 *(.rel.bss .rel.bss.*) 65 /* XXX .rel.plt is unused but cannot delete: ld.bfd zeros DT_RELASZ then! */ 66 .rel.plt : { *(.rel.plt) } :data
|
/openbsd/gnu/llvm/lld/ELF/Arch/ |
H A D | AVR.cpp | 97 switch (rel.type) { in relocate() 99 checkUInt(loc, val, 8, rel); in relocate() 109 checkAlignment(loc, val, 2, rel); in relocate() 114 checkUInt(loc, val, 32, rel); in relocate() 119 checkUInt(loc, val, 8, rel); in relocate() 175 checkUInt(loc, val, 7, rel); in relocate() 183 checkUInt(loc, val, 5, rel); in relocate() 187 checkUInt(loc, val, 6, rel); in relocate() 193 checkInt(loc, val, 7, rel); in relocate() 207 checkInt(loc, val, 6, rel); in relocate() [all …]
|