Home
last modified time | relevance | path

Searched refs:stub_bfd (Results 1 – 21 of 21) sorted by relevance

/toolchain/binutils/binutils-2.25/bfd/
Delf32-m68hc12.c522 bfd *stub_bfd; in m68hc12_elf_build_one_stub() local
539 stub_bfd = stub_sec->owner; in m68hc12_elf_build_one_stub()
554 bfd_put_8 (stub_bfd, 0xCD, loc); in m68hc12_elf_build_one_stub()
555 bfd_put_16 (stub_bfd, phys_addr, loc + 1); in m68hc12_elf_build_one_stub()
559 bfd_put_8 (stub_bfd, 0x4a, loc); in m68hc12_elf_build_one_stub()
560 bfd_put_16 (stub_bfd, htab->pinfo.trampoline_addr, loc + 1); in m68hc12_elf_build_one_stub()
561 bfd_put_8 (stub_bfd, phys_page, loc + 3); in m68hc12_elf_build_one_stub()
Delf32-m68hc11.c402 bfd *stub_bfd; in m68hc11_elf_build_one_stub() local
421 stub_bfd = stub_sec->owner; in m68hc11_elf_build_one_stub()
438 bfd_put_8 (stub_bfd, 0x37, loc); in m68hc11_elf_build_one_stub()
439 bfd_put_8 (stub_bfd, 0xC6, loc + 1); in m68hc11_elf_build_one_stub()
440 bfd_put_8 (stub_bfd, phys_page, loc + 2); in m68hc11_elf_build_one_stub()
444 bfd_put_8 (stub_bfd, 0x18, loc); in m68hc11_elf_build_one_stub()
445 bfd_put_8 (stub_bfd, 0xCE, loc + 1); in m68hc11_elf_build_one_stub()
446 bfd_put_16 (stub_bfd, phys_addr, loc + 2); in m68hc11_elf_build_one_stub()
450 bfd_put_8 (stub_bfd, 0x7E, loc); in m68hc11_elf_build_one_stub()
451 bfd_put_16 (stub_bfd, htab->pinfo.trampoline_addr, loc + 1); in m68hc11_elf_build_one_stub()
Delf32-hppa.c254 bfd *stub_bfd; member
563 s_name = bfd_alloc (htab->stub_bfd, len); in hppa_add_stub()
695 bfd *stub_bfd; in hppa_build_one_stub() local
717 stub_bfd = stub_sec->owner; in hppa_build_one_stub()
732 bfd_put_32 (stub_bfd, insn, loc); in hppa_build_one_stub()
736 bfd_put_32 (stub_bfd, insn, loc + 4); in hppa_build_one_stub()
752 bfd_put_32 (stub_bfd, (bfd_vma) BL_R1, loc); in hppa_build_one_stub()
755 bfd_put_32 (stub_bfd, insn, loc + 4); in hppa_build_one_stub()
759 bfd_put_32 (stub_bfd, insn, loc + 8); in hppa_build_one_stub()
782 bfd_put_32 (stub_bfd, insn, loc); in hppa_build_one_stub()
[all …]
Delf32-m68hc1x.c328 elf32_m68hc11_size_stubs (bfd *output_bfd, bfd *stub_bfd, in elf32_m68hc11_size_stubs() argument
344 htab->stub_bfd = stub_bfd; in elf32_m68hc11_size_stubs()
556 for (stub_sec = htab->stub_bfd->sections; in elf32_m68hc11_size_stubs()
599 m68hc11_elf_set_symbol (htab->stub_bfd, info, name, in m68hc11_elf_export_one_stub()
651 for (stub_sec = htab->stub_bfd->sections; in elf32_m68hc11_build_stubs()
659 stub_sec->contents = (unsigned char *) bfd_zalloc (htab->stub_bfd, size); in elf32_m68hc11_build_stubs()
Delf32-metag.c822 bfd *stub_bfd; member
1181 s_name = bfd_alloc (htab->stub_bfd, len); in metag_add_stub()
3627 bfd *stub_bfd; in metag_build_one_stub() local
3641 stub_bfd = stub_sec->owner; in metag_build_one_stub()
3658 bfd_put_32 (stub_bfd, ADDT_A0_3_CPC | (((sym_value >> 16) & 0xffff) << 3), in metag_build_one_stub()
3661 bfd_put_32 (stub_bfd, ADD_A0_3_A0_3 | ((sym_value & 0xffff) << 3), in metag_build_one_stub()
3664 bfd_put_32 (stub_bfd, MOV_PC_A0_3, loc + 8); in metag_build_one_stub()
3677 bfd_put_32 (stub_bfd, MOVT_A0_3 | (((sym_value >> 16) & 0xffff) << 3), in metag_build_one_stub()
3680 bfd_put_32 (stub_bfd, JUMP_A0_3 | ((sym_value & 0xffff) << 3), loc + 4); in metag_build_one_stub()
3951 elf_metag_size_stubs(bfd *output_bfd, bfd *stub_bfd, in elf_metag_size_stubs() argument
[all …]
Delf64-ppc.h25 bfd *stub_bfd; member
Delf32-xgate.h74 bfd *stub_bfd; member
Delf32-m68hc1x.h109 bfd *stub_bfd; member
Delf32-avr.c79 bfd *stub_bfd; member
2784 bfd *stub_bfd; in avr_build_one_stub() local
2810 stub_bfd = htab->stub_sec->owner; in avr_build_one_stub()
2826 bfd_put_16 (stub_bfd, jmp_insn, loc); in avr_build_one_stub()
2827 bfd_put_16 (stub_bfd, (bfd_vma) starget & 0xffff, loc + 2); in avr_build_one_stub()
2896 htab->stub_bfd = avr_stub_bfd; in elf32_avr_setup_params()
3310 for (stub_sec = htab->stub_bfd->sections; in elf32_avr_build_stubs()
3320 stub_sec->contents = bfd_zalloc (htab->stub_bfd, size); in elf32_avr_build_stubs()
Delfnn-aarch64.c1856 bfd *stub_bfd; member
2325 s_name = bfd_alloc (htab->stub_bfd, len); in _bfd_aarch64_create_stub_section()
2430 bfd *stub_bfd; in aarch64_build_one_stub() local
2449 stub_bfd = stub_sec->owner; in aarch64_build_one_stub()
2501 if (aarch64_relocate (AARCH64_R (ADR_PREL_PG_HI21), stub_bfd, stub_sec, in aarch64_build_one_stub()
2509 stub_bfd, in aarch64_build_one_stub()
2521 (AARCH64_R (PRELNN)), stub_bfd, stub_sec, in aarch64_build_one_stub()
2544 if (aarch64_relocate (AARCH64_R (JUMP26), stub_bfd, stub_sec, in aarch64_build_one_stub()
3217 for (section = htab->stub_bfd->sections; in _bfd_aarch64_resize_stubs()
3228 for (section = htab->stub_bfd->sections; in _bfd_aarch64_resize_stubs()
[all …]
Delf64-ppc.c4331 elf_elfheader (params->stub_bfd)->e_ident[EI_CLASS] = ELFCLASS64; in ppc64_elf_init_stub_bfd()
4339 htab->elf.dynobj = params->stub_bfd; in ppc64_elf_init_stub_bfd()
4465 s_name = bfd_alloc (htab->params->stub_bfd, len); in ppc_add_stub()
10224 bfd *obfd = htab->params->stub_bfd; in build_plt_stub()
10412 bfd *obfd = htab->params->stub_bfd; in build_tls_get_addr_stub()
10554 bfd_put_32 (htab->params->stub_bfd, STD_R2_0R1 + STK_TOC (htab), loc); in ppc_build_one_stub()
10560 bfd_put_32 (htab->params->stub_bfd, in ppc_build_one_stub()
10564 bfd_put_32 (htab->params->stub_bfd, ADDI_R2_R2 | PPC_LO (r2off), loc); in ppc_build_one_stub()
10568 bfd_put_32 (htab->params->stub_bfd, B_DOT | (off & 0x3fffffc), loc); in ppc_build_one_stub()
10593 hashes = elf_sym_hashes (htab->params->stub_bfd); in ppc_build_one_stub()
[all …]
Delf32-arm.c3053 bfd *stub_bfd; member
4010 s_name = (char *) bfd_alloc (htab->stub_bfd, len); in elf32_arm_create_or_find_stub_sec()
4168 bfd *stub_bfd; in arm_build_one_stub() local
4198 stub_bfd = stub_sec->owner; in arm_build_one_stub()
4224 bfd_put_16 (stub_bfd, data, loc + size); in arm_build_one_stub()
4230 bfd_put_16 (stub_bfd, in arm_build_one_stub()
4233 bfd_put_16 (stub_bfd, template_sequence[i].data & 0xffff, in arm_build_one_stub()
4244 bfd_put_32 (stub_bfd, template_sequence[i].data, in arm_build_one_stub()
4257 bfd_put_32 (stub_bfd, template_sequence[i].data, loc + size); in arm_build_one_stub()
4317 stub_bfd, info->output_bfd, stub_sec, stub_sec->contents, &rel, in arm_build_one_stub()
[all …]
Delf32-nios2.c927 bfd *stub_bfd; member
1337 s_name = bfd_alloc (htab->stub_bfd, len); in nios2_add_stub()
1751 nios2_elf32_size_stubs (bfd *output_bfd, bfd *stub_bfd, in nios2_elf32_size_stubs() argument
1761 htab->stub_bfd = stub_bfd; in nios2_elf32_size_stubs()
1981 for (stub_sec = htab->stub_bfd->sections; in nios2_elf32_size_stubs()
2013 for (stub_sec = htab->stub_bfd->sections; in nios2_elf32_build_stubs()
2026 stub_sec->contents = bfd_zalloc (htab->stub_bfd, size); in nios2_elf32_build_stubs()
Delf32-xgate.c562 bfd *stub_bfd ATTRIBUTE_UNUSED, in elf32_xgate_size_stubs()
DChangeLog2647 stub_bfd, add_stub_section, layout_sections_again, stub_group,
DChangeLog-20132822 stubs in stub_bfd.
DChangeLog-20082178 (elf32_arm_link_hash_table): Add stub_hash_table, stub_bfd,
DChangeLog-02032166 (ppc64_elf_size_stubs): Likewise. Remove stub_bfd param.
/toolchain/binutils/binutils-2.25/ld/emultempl/
Dmipself.em34 static bfd *stub_bfd;
154 stub_bfd = bfd_create ("linker stubs", link_info.output_bfd);
155 if (stub_bfd == NULL
156 || !bfd_set_arch_mach (stub_bfd,
163 stub_bfd->flags |= BFD_LINKER_CREATED;
164 stub_file->the_bfd = stub_bfd;
169 stub_sec = bfd_make_section_anyway (stub_bfd, stub_sec_name);
176 if (!bfd_set_section_flags (stub_bfd, stub_sec, flags))
Dppc64elf.em97 params.stub_bfd = stub_file->the_bfd;
/toolchain/binutils/binutils-2.25/ld/
DChangeLog-2008415 (stub_file, stub_bfd): New variables.