Home
last modified time | relevance | path

Searched refs:sect (Results 1 – 25 of 94) sorted by relevance

1234

/toolchain/binutils/binutils-2.25/bfd/
Daout-adobe.c77 asection *sect; in aout_adobe_callback() local
133 sect = bfd_make_section_with_flags (abfd, section_name, flags); in aout_adobe_callback()
136 while (!sect) in aout_adobe_callback()
142 sect = bfd_make_section_with_flags (abfd, try_again, flags); in aout_adobe_callback()
146 if (sect->name == try_again) in aout_adobe_callback()
148 amt = strlen (sect->name); in aout_adobe_callback()
152 strcpy (newname, sect->name); in aout_adobe_callback()
153 sect->name = newname; in aout_adobe_callback()
157 sect->size = ((ext->e_size[0] << 8) in aout_adobe_callback()
160 sect->vma = H_GET_32 (abfd, ext->e_virtbase); in aout_adobe_callback()
[all …]
Dopncls.c1170 asection *sect; in bfd_get_debug_link_info() local
1179 sect = bfd_get_section_by_name (abfd, GNU_DEBUGLINK); in bfd_get_debug_link_info()
1181 if (sect == NULL) in bfd_get_debug_link_info()
1184 if (!bfd_malloc_and_get_section (abfd, sect, &contents)) in bfd_get_debug_link_info()
1194 crc_offset = strnlen (name, bfd_get_section_size (sect)) + 1; in bfd_get_debug_link_info()
1196 if (crc_offset >= bfd_get_section_size (sect)) in bfd_get_debug_link_info()
1227 asection *sect; in bfd_get_alt_debug_link_info() local
1236 sect = bfd_get_section_by_name (abfd, GNU_DEBUGALTLINK); in bfd_get_alt_debug_link_info()
1238 if (sect == NULL) in bfd_get_alt_debug_link_info()
1241 if (!bfd_malloc_and_get_section (abfd, sect, & contents)) in bfd_get_alt_debug_link_info()
[all …]
Dsection.c1350 asection *sect; in bfd_map_over_sections() local
1353 for (sect = abfd->sections; sect != NULL; i++, sect = sect->next) in bfd_map_over_sections()
1354 (*operation) (abfd, sect, user_storage); in bfd_map_over_sections()
1386 asection *sect; in bfd_sections_find_if() local
1388 for (sect = abfd->sections; sect != NULL; sect = sect->next) in bfd_sections_find_if()
1389 if ((*operation) (abfd, sect, user_storage)) in bfd_sections_find_if()
1392 return sect; in bfd_sections_find_if()
Dcoff-tic54x.c86 bfd_ticoff_set_section_load_page (asection *sect, in bfd_ticoff_set_section_load_page() argument
89 sect->lma = (sect->lma & ADDR_MASK) | PG_TO_FLAG(page); in bfd_ticoff_set_section_load_page()
93 bfd_ticoff_get_section_load_page (asection *sect) in bfd_ticoff_get_section_load_page() argument
98 if (sect == bfd_com_section_ptr) in bfd_ticoff_get_section_load_page()
101 else if (bfd_is_und_section (sect) in bfd_ticoff_get_section_load_page()
102 || bfd_is_abs_section (sect) in bfd_ticoff_get_section_load_page()
103 || bfd_is_ind_section (sect)) in bfd_ticoff_get_section_load_page()
107 page = FLAG_TO_PG (sect->lma); in bfd_ticoff_get_section_load_page()
Ddwarf2.c3083 asection *sect; in place_sections() local
3085 for (sect = abfd->sections; sect != NULL; sect = sect->next) in place_sections()
3089 if ((sect->output_section != NULL in place_sections()
3090 && sect->output_section != sect in place_sections()
3091 && (sect->flags & SEC_DEBUGGING) == 0) in place_sections()
3092 || sect->vma != 0) in place_sections()
3095 is_debug_info = (strcmp (sect->name, debug_info_name) == 0 in place_sections()
3096 || CONST_STRNEQ (sect->name, GNU_LINKONCE_INFO)); in place_sections()
3098 if (!((sect->flags & SEC_ALLOC) != 0 && abfd == orig_bfd) in place_sections()
3126 asection *sect; in place_sections() local
[all …]
Delf.c5177 asection *sect = m->sections[i]; in assign_file_positions_for_non_load_sections() local
5178 Elf_Internal_Shdr *hdr = &elf_section_data (sect)->this_hdr; in assign_file_positions_for_non_load_sections()
5181 p->p_filesz = (sect->filepos - m->sections[0]->filepos in assign_file_positions_for_non_load_sections()
8061 elfcore_maybe_make_sect (bfd *abfd, char *name, asection *sect) in elfcore_maybe_make_sect() argument
8068 sect2 = bfd_make_section_with_flags (abfd, name, sect->flags); in elfcore_maybe_make_sect()
8072 sect2->size = sect->size; in elfcore_maybe_make_sect()
8073 sect2->filepos = sect->filepos; in elfcore_maybe_make_sect()
8074 sect2->alignment_power = sect->alignment_power; in elfcore_maybe_make_sect()
8094 asection *sect; in _bfd_elfcore_make_pseudosection() local
8105 sect = bfd_make_section_anyway_with_flags (abfd, threaded_name, in _bfd_elfcore_make_pseudosection()
[all …]
/toolchain/binutils/binutils-2.25/etc/
Dtexi2pod.pl115 $sect = $1;
118 /^\@c\s+man\s+begin\s+([A-Z]+)/ and $sect = $1, $output = 1, next;
120 $sects{$sect} = "" unless exists $sects{$sect};
121 $sects{$sect} .= postprocess($section);
343 for $sect (qw(NAME SYNOPSIS DESCRIPTION OPTIONS ENVIRONMENT FILES
345 if(exists $sects{$sect}) {
346 $head = $sect;
349 print scalar unmunge ($sects{$sect});
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-m68hc11/
Dfar-hc11.s7 .sect .text
45 .sect .bank1,"ax"
56 .sect .bank2,"ax"
66 .sect .bank3,"ax"
76 .sect .text
102 .sect .page0
Dfar-hc12.s7 .sect .text
39 .sect .bank1,"ax"
50 .sect .bank2,"ax"
60 .sect .bank3,"ax"
70 .sect .text
Dbug-1403.s4 .sect .text
13 .sect .page0
17 .sect .text.toto
Dbug-3331.s4 .sect .text
17 .sect .page0
21 .sect .data
Dxgate1.s3 .sect .text
17 .sect .data
Dbug-1417.s4 .sect .text
19 .sect .page0
Dadj-brset.s3 .sect .text
43 .sect .page0
Drelax-direct.s4 .sect .text
73 .sect .page0
Dadj-jump.s3 .sect .text
66 .sect .page0
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/xgate/
Dinsns.s4 .sect .text
38 .sect .data
40 .sect .bss
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/tic54x/
Dsections.s3 * .bss, .data, .sect, .text, .usect
60 .sect "vectors"
65 .sect clink
69 .sect "blksect" ; (DATA)
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/m68hc11/
Dinsns.s4 .sect .text
60 .sect .data
62 .sect .bss
/toolchain/binutils/binutils-2.25/gas/config/
Dtc-nds32.h62 #define md_allow_local_subtract(lhs,rhs,sect) nds32_allow_local_subtract (lhs, rhs, sect) argument
84 #define MD_PCREL_FROM_SECTION(fix, sect) nds32_pcrel_from_section (fix, sect) argument
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-scripts/
Dscriptm.t2 sect .text = $100 ; .text start address
3 sect .data = 1000h ; .data start address
/toolchain/binutils/binutils-2.25/binutils/
Dstrings.c330 strings_a_section (bfd *abfd, asection *sect, void *arg) in strings_a_section() argument
337 if ((sect->flags & DATA_FLAGS) != DATA_FLAGS) in strings_a_section()
340 sectsize = bfd_get_section_size (sect); in strings_a_section()
368 if (bfd_get_section_contents (abfd, sect, mem, (file_ptr) 0, sectsize)) in strings_a_section()
372 print_strings (filename_and_sizep->filename, NULL, sect->filepos, in strings_a_section()
/toolchain/binutils/binutils-2.25/libiberty/
Dsimple-object-mach-o.c1050 unsigned int sect; in simple_object_mach_o_write_segment() local
1099 for (section = sobj->sections, sect = 0; section != NULL; in simple_object_mach_o_write_segment()
1100 section = section->next, sect++) in simple_object_mach_o_write_segment()
1102 index[sect*4+2] = name_offset; in simple_object_mach_o_write_segment()
1103 index[sect*4+3] = strlen (section->name) + 1; in simple_object_mach_o_write_segment()
1120 for (section = sobj->sections, sect = 0; in simple_object_mach_o_write_segment()
1121 section != NULL; section = section->next, sect++) in simple_object_mach_o_write_segment()
1159 index[sect*4+0] = (unsigned int) offset; in simple_object_mach_o_write_segment()
1160 index[sect*4+1] = secsize; in simple_object_mach_o_write_segment()
1162 memcpy (snames + index[sect * 4 + 2], section->name, in simple_object_mach_o_write_segment()
[all …]
/toolchain/binutils/binutils-2.25/gold/
Ddwp.cc637 write_contributions(const Section& sect);
1609 Section sect(section_name, align); in add_output_section() local
1610 this->sections_.push_back(sect); in add_output_section()
1844 Section& sect = this->sections_[i]; in finalize() local
1846 if (sect.offset > 0 || sect.size == 0) in finalize()
1849 file_offset = align_offset(file_offset, sect.align); in finalize()
1850 sect.offset = file_offset; in finalize()
1851 this->write_contributions(sect); in finalize()
1852 this->next_file_offset_ = file_offset + sect.size; in finalize()
1911 Section& sect = this->sections_[i]; in finalize() local
[all …]
Dincremental.cc611 typename Input_entry_reader::Input_section_info sect = in do_reserve_layout() local
613 if (sect.output_shndx == 0 || sect.sh_offset == -1) in do_reserve_layout()
615 Output_section* os = this->section_map_[sect.output_shndx]; in do_reserve_layout()
617 os->reserve(sect.sh_offset, sect.sh_size); in do_reserve_layout()
2046 typename Input_entry_reader::Input_section_info sect = in do_layout() local
2049 incremental_inputs->report_input_section(this, i, sect.name, in do_layout()
2050 sect.sh_size); in do_layout()
2051 if (sect.output_shndx == 0 || sect.sh_offset == -1) in do_layout()
2053 Output_section* os = this->ibase_->output_section(sect.output_shndx); in do_layout()
2056 this->section_offsets()[i] = static_cast<Address>(sect.sh_offset); in do_layout()
[all …]

1234