Home | History | Annotate | Download | only in bfd

Lines Matching refs:output_bfd

38      bfd *output_bfd ATTRIBUTE_UNUSED,
53 bfd *output_bfd,
61 bfd_boolean relocatable = (output_bfd != NULL);
150 bfd *output_bfd,
158 bfd_boolean relocatable = (output_bfd != NULL);
222 bfd *output_bfd,
229 bfd_boolean relocatable = (output_bfd != NULL);
288 bfd *output_bfd,
296 bfd_boolean relocatable = (output_bfd != NULL);
1377 bfin_relocate_section (bfd * output_bfd,
1445 relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sec, rel);
1489 elf_hash_table (info)->dynobj = dynobj = output_bfd;
1531 bfd_put_32 (output_bfd, relocation,
1552 bfd_put_32 (output_bfd, relocation, sgot->contents + off);
1571 bfd_elf32_swap_reloca_out (output_bfd, &outrel, loc);
1599 && _bfd_elf_section_offset (output_bfd, info, input_section,
2077 _bfinfdpic_add_dyn_reloc (bfd *output_bfd, asection *sreloc, bfd_vma offset,
2090 bfd_elf32_swap_reloc_out (output_bfd, &outrel,
2113 _bfinfdpic_add_rofixup (bfd *output_bfd, asection *rofixup, bfd_vma offset,
2125 bfd_put_32 (output_bfd, offset, rofixup->contents + fixup_offset);
2144 _bfinfdpic_osec_to_segment (bfd *output_bfd, asection *osec)
2146 Elf_Internal_Phdr *p = _bfd_elf_find_segment_containing_section (output_bfd, osec);
2148 return (p != NULL) ? p - elf_tdata (output_bfd)->phdr : -1;
2152 _bfinfdpic_osec_readonly_p (bfd *output_bfd, asection *osec)
2154 unsigned seg = _bfinfdpic_osec_to_segment (output_bfd, osec);
2156 return ! (elf_tdata (output_bfd)->phdr[seg].p_flags & PF_W);
2164 bfd *output_bfd,
2228 _bfinfdpic_add_rofixup (output_bfd,
2237 _bfinfdpic_add_dyn_reloc (output_bfd, bfinfdpic_gotrel_section (info),
2239 (output_bfd, info,
2248 bfd_put_32 (output_bfd, ad,
2316 _bfinfdpic_add_rofixup (output_bfd,
2326 _bfinfdpic_add_dyn_reloc (output_bfd,
2329 (output_bfd, info,
2340 bfd_put_32 (output_bfd, ad,
2383 _bfinfdpic_add_rofixup (output_bfd,
2391 _bfinfdpic_add_rofixup (output_bfd,
2404 = _bfinfdpic_add_dyn_reloc (output_bfd,
2409 (output_bfd, info,
2446 (output_bfd, bfinfdpic_plt_section (info)->output_section);
2460 (output_bfd, sec->output_section);
2463 bfd_put_32 (output_bfd, lowword,
2467 bfd_put_32 (output_bfd, highword,
2487 bfd_put_32 (output_bfd,
2490 bfd_put_32 (output_bfd,
2501 bfd_put_32 (output_bfd,
2504 bfd_put_32 (output_bfd,
2507 bfd_put_16 (output_bfd, 0x5ad9, plt_code + 8);
2508 bfd_put_16 (output_bfd, 0x9159, plt_code + 10);
2509 bfd_put_16 (output_bfd, 0xac5b, plt_code + 12);
2513 bfd_put_16 (output_bfd, 0x0051, plt_code);
2523 bfd_put_32 (output_bfd, fd_lazy_rel_offset, lzplt_code);
2537 bfd_put_32 (output_bfd,
2540 bfd_put_16 (output_bfd, 0x0052, lzplt_code + 4);
2545 bfd_put_16 (output_bfd,
2588 bfinfdpic_relocate_section (bfd * output_bfd,
2609 isec_segment = _bfinfdpic_osec_to_segment (output_bfd,
2611 if (IS_FDPIC (output_bfd) && bfinfdpic_got_section (info))
2612 got_segment = _bfinfdpic_osec_to_segment (output_bfd,
2617 if (IS_FDPIC (output_bfd) && elf_hash_table (info)->dynamic_sections_created)
2618 plt_segment = _bfinfdpic_osec_to_segment (output_bfd,
2661 relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sec, rel);
2700 if (! IS_FDPIC (output_bfd))
2731 if (!_bfinfdpic_emit_got_relocs_plt_entries (picrel, output_bfd, info,
2748 && _bfd_elf_section_offset (output_bfd, info, input_section,
2764 if (! IS_FDPIC (output_bfd))
2782 ? _bfinfdpic_osec_to_segment (output_bfd, sec->output_section)
2808 ? _bfinfdpic_osec_to_segment (output_bfd, sec->output_section)
2880 if ((bfd_get_section_flags (output_bfd,
2884 if (_bfinfdpic_osec_readonly_p (output_bfd,
2896 (output_bfd, info,
2900 _bfinfdpic_add_rofixup (output_bfd,
2909 else if ((bfd_get_section_flags (output_bfd,
2915 if (_bfinfdpic_osec_readonly_p (output_bfd,
2925 offset = _bfd_elf_section_offset (output_bfd, info,
2929 _bfinfdpic_add_dyn_reloc (output_bfd,
2950 if (! IS_FDPIC (output_bfd))
2961 offset = _bfd_elf_section_offset (output_bfd, info,
3003 && (bfd_get_section_flags (output_bfd,
3007 if (_bfinfdpic_osec_readonly_p (output_bfd,
3021 _bfinfdpic_add_rofixup (output_bfd,
3031 (output_bfd,
3041 if ((bfd_get_section_flags (output_bfd,
3045 if (_bfinfdpic_osec_readonly_p (output_bfd,
3057 _bfinfdpic_add_dyn_reloc (output_bfd,
3079 bfd_put_32 (output_bfd,
3091 bfd_put_32 (output_bfd,
3094 : _bfinfdpic_osec_to_segment (output_bfd,
3106 ? _bfinfdpic_osec_to_segment (output_bfd, sec->output_section)
3111 if (check_segment[0] != check_segment[1] && IS_FDPIC (output_bfd))
3141 elf_elfheader (output_bfd)->e_flags |= EF_BFIN_PIC;
3172 if (! IS_FDPIC (output_bfd) || ! picrel->plt)
3367 _bfinfdpic_link_omit_section_dynsym (bfd *output_bfd ATTRIBUTE_UNUSED,
4080 _bfinfdpic_size_got_plt (bfd *output_bfd,
4153 * get_elf_backend_data (output_bfd)->s->sizeof_rel;
4181 gpinfop->g.lzplt / LZPLT_NORMAL_SIZE * get_elf_backend_data (output_bfd)->s->sizeof_rel;
4213 if (get_elf_backend_data (output_bfd)->want_got_sym)
4244 elf32_bfinfdpic_size_dynamic_sections (bfd *output_bfd,
4288 if (!_bfinfdpic_size_got_plt (output_bfd, &gpinfo))
4323 elf32_bfinfdpic_always_size_sections (bfd *output_bfd,
4327 && !bfd_elf_stack_segment_size (output_bfd, info,
4450 elf32_bfinfdpic_finish_dynamic_sections (bfd *output_bfd,
4471 _bfinfdpic_add_rofixup (output_bfd, bfinfdpic_gotfixup_section (info),
4517 bfd_elf32_swap_dyn_out (output_bfd, &dyn, dyncon);
4524 bfd_elf32_swap_dyn_out (output_bfd, &dyn, dyncon);
4529 bfd_elf32_swap_dyn_out (output_bfd, &dyn, dyncon);
4574 (bfd *output_bfd ATTRIBUTE_UNUSED,
5088 bfin_finish_dynamic_sections (bfd * output_bfd ATTRIBUTE_UNUSED,
5122 bfin_finish_dynamic_symbol (bfd * output_bfd,
5161 rela.r_addend = bfd_get_signed_32 (output_bfd,
5169 bfd_put_32 (output_bfd, (bfd_vma) 0,
5177 bfd_elf32_swap_reloca_out (output_bfd, &rela, loc);
5358 bfin_size_dynamic_sections (bfd * output_bfd ATTRIBUTE_UNUSED,