/toolchain/binutils/binutils-2.25/binutils/ |
D | coffgrok.c | 136 head->sections = all; in do_sections_p1() 138 for (idx = 0, section = abfd->sections; section; section = section->next, idx++) in do_sections_p1() 155 head->sections[i].name = (char *) (section->name); in do_sections_p1() 156 head->sections[i].code = section->flags & SEC_CODE; in do_sections_p1() 157 head->sections[i].data = section->flags & SEC_DATA; in do_sections_p1() 159 head->sections[i].data = 1; in do_sections_p1() 160 head->sections[i].address = section->lma; in do_sections_p1() 161 head->sections[i].size = bfd_get_section_size (section); in do_sections_p1() 162 head->sections[i].number = idx; in do_sections_p1() 163 head->sections[i].nrelocs = section->reloc_count; in do_sections_p1() [all …]
|
D | embedspu.sh | 124 …sections=`${READELF} -S ${INFILE} | sed -n -e 's, *\[ *\([0-9]*\)\] *[^ ]* *PROGBITS *\([0-9a-f]*\… 125 sections=`echo ${sections}` 156 split ("'"${sections}"'", s, " "); \ 188 split ("'"${sections}"'", s, " "); \
|
/toolchain/binutils/binutils-2.25/ld/scripttempl/ |
D | xstormy16.sc | 23 # OTHER_GOT_SECTIONS - sections just after .got and .sdata. 28 # combination of .init sections. 30 # combination of .fini sections. 32 # When adding sections, do note that the names of some sections are used 36 # Many sections come in three flavours. There is the 'real' section, 38 # sections, generated by -ffunction-sections and -fdata-sections in GCC, 39 # and useful for --gc-sections, which for a variable "foo" might be 40 # ".data.foo". Then there are the linkonce sections, for which the linker 54 # Each of these can also have corresponding .rel.* and .rela.* sections. 116 if gld -r is used and the intermediate file has sections starting [all …]
|
D | elf_chaos.sc | 9 # NO_SMALL_DATA - no .sbss/.sbss2/.sdata/.sdata2 sections if not 27 # OTHER_GOT_SECTIONS - sections just after .got. 28 # OTHER_SDATA_SECTIONS - sections just after .sdata. 40 # combination of .init sections. 42 # combination of .fini sections. 46 # When adding sections, do note that the names of some sections are used 50 # Many sections come in three flavours. There is the 'real' section, 52 # sections, generated by -ffunction-sections and -fdata-sections in GCC, 53 # and useful for --gc-sections, which for a variable "foo" might be 54 # ".data.foo". Then there are the linkonce sections, for which the linker [all …]
|
D | iq2000.sc | 24 # OTHER_GOT_SECTIONS - sections just after .got. 25 # OTHER_SDATA_SECTIONS - sections just after .sdata. 37 # combination of .init sections. 39 # combination of .fini sections. 41 # When adding sections, do note that the names of some sections are used 45 # Many sections come in three flavours. There is the 'real' section, 47 # sections, generated by -ffunction-sections and -fdata-sections in GCC, 48 # and useful for --gc-sections, which for a variable "foo" might be 49 # ".data.foo". Then there are the linkonce sections, for which the linker 63 # Each of these can also have corresponding .rel.* and .rela.* sections. [all …]
|
D | elf32sh-symbian.sc | 25 # OTHER_GOT_SECTIONS - sections just after .got. 26 # OTHER_SDATA_SECTIONS - sections just after .sdata. 38 # combination of .init sections. 40 # combination of .fini sections. 44 # When adding sections, do note that the names of some sections are used 48 # Many sections come in three flavours. There is the 'real' section, 50 # sections, generated by -ffunction-sections and -fdata-sections in GCC, 51 # and useful for --gc-sections, which for a variable "foo" might be 52 # ".data.foo". Then there are the linkonce sections, for which the linker 69 # Each of these can also have corresponding .rel.* and .rela.* sections. [all …]
|
D | elfxtensa.sc | 9 # NO_SMALL_DATA - no .sbss/.sbss2/.sdata/.sdata2 sections if not 35 # writeable data sections. 37 # OTHER_GOT_SECTIONS - sections just after .got. 38 # OTHER_SDATA_SECTIONS - sections just after .sdata. 44 # NO_REL_RELOCS - Don't include .rel.* sections in script 45 # NO_RELA_RELOCS - Don't include .rela.* sections in script 46 # NON_ALLOC_DYN - Place dynamic sections after data segment. 54 # combination of .init sections. 56 # combination of .fini sections. 67 # When adding sections, do note that the names of some sections are used [all …]
|
D | mep.sc | 9 # NO_SMALL_DATA - no .sbss/.sbss2/.sdata/.sdata2 sections if not 34 # OTHER_GOT_SECTIONS - sections just after .got. 35 # OTHER_SDATA_SECTIONS - sections just after .sdata. 48 # combination of .init sections. 50 # combination of .fini sections. 58 # When adding sections, do note that the names of some sections are used 62 # Many sections come in three flavours. There is the 'real' section, 64 # sections, generated by -ffunction-sections and -fdata-sections in GCC, 65 # and useful for --gc-sections, which for a variable "foo" might be 66 # ".data.foo". Then there are the linkonce sections, for which the linker [all …]
|
D | elf.sc | 9 # NO_SMALL_DATA - no .sbss/.sbss2/.sdata/.sdata2 sections if not 36 # writeable data sections. 38 # OTHER_GOT_SECTIONS - sections just after .got. 39 # OTHER_SDATA_SECTIONS - sections just after .sdata. 46 # NO_REL_RELOCS - Don't include .rel.* sections in script 47 # NO_RELA_RELOCS - Don't include .rela.* sections in script 48 # NON_ALLOC_DYN - Place dynamic sections after data segment. 56 # combination of .init sections. 58 # combination of .fini sections. 63 # SEPARATE_CODE - if set, .text and similar sections containing [all …]
|
D | elf64hppa.sc | 9 # NO_SMALL_DATA - no .sbss/.sbss2/.sdata/.sdata2 sections if not 35 # writeable data sections. 37 # OTHER_GOT_SECTIONS - sections just after .got. 38 # OTHER_SDATA_SECTIONS - sections just after .sdata. 44 # NO_REL_RELOCS - Don't include .rel.* sections in script 45 # NO_RELA_RELOCS - Don't include .rela.* sections in script 46 # NON_ALLOC_DYN - Place dynamic sections after data segment. 54 # combination of .init sections. 56 # combination of .fini sections. 67 # When adding sections, do note that the names of some sections are used [all …]
|
D | elf32cr16.sc | 35 /* Many sections come in three flavours. There is the 'real' section, 37 sections, generated by -ffunction-sections and -fdata-sections in GCC, 38 and useful for --gc-sections, which for a variable "foo" might be 39 ".data.foo". Then there are the linkonce sections, for which the linker 135 /* You may change the sizes of the following sections to fit the actual
|
D | elf32crx.sc | 37 /* Many sections come in three flavours. There is the 'real' section, 39 sections, generated by -ffunction-sections and -fdata-sections in GCC, 40 and useful for --gc-sections, which for a variable "foo" might be 41 ".data.foo". Then there are the linkonce sections, for which the linker 139 /* You may change the sizes of the following sections to fit the actual
|
D | epiphany_4x4.sc | 9 # NO_SMALL_DATA - no .sbss/.sbss2/.sdata/.sdata2 sections if not 35 # writeable data sections. 37 # OTHER_GOT_SECTIONS - sections just after .got. 38 # OTHER_SDATA_SECTIONS - sections just after .sdata. 44 # NO_REL_RELOCS - Don't include .rel.* sections in script 45 # NO_RELA_RELOCS - Don't include .rela.* sections in script 46 # NON_ALLOC_DYN - Place dynamic sections after data segment. 54 # combination of .init sections. 56 # combination of .fini sections. 67 # When adding sections, do note that the names of some sections are used [all …]
|
/toolchain/binutils/binutils-2.25/ld/emultempl/ |
D | sh64elf.em | 44 options here, and we can access input sections in the order in which 63 /* FIXME: Look through incoming sections with .cranges 89 section flags right for output sections that *don't* need a 101 for (isec = f->the_bfd->sections; 108 einfo (_("%P: Sorry, turning off relaxing: SHmedia sections present.\n")); 122 for (osec = link_info.output_bfd->sections; 135 /* Omit excluded or garbage-collected sections. */ 153 for (isec = f->the_bfd->sections; 173 /* Check that all input sections have the same contents-type flags 180 for (isec = f->the_bfd->sections; [all …]
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-scripts/ |
D | dynamic-sections.d | 2 # ld: -T dynamic-sections.t 3 # name: dynamic sections 4 # source: dynamic-sections-1.s 5 # source: dynamic-sections-2.s
|
/toolchain/binutils/binutils-2.25/bfd/ |
D | simple.c | 106 struct saved_output_info *sections; member 133 output_info = &saved_offsets->sections[section->index]; in simple_save_output_info() 155 output_info = &saved_offsets->sections[section->index]; in simple_restore_output_info() 247 saved_offsets.sections = malloc (sizeof (*saved_offsets.sections) in bfd_simple_get_relocated_section_contents() 249 if (saved_offsets.sections == NULL) in bfd_simple_get_relocated_section_contents() 280 free (saved_offsets.sections); in bfd_simple_get_relocated_section_contents()
|
D | elf-nacl.c | 40 if (seg->sections[i]->flags & SEC_CODE) in segment_executable() 55 if (seg->count == 0 || seg->sections[0]->lma % minpagesize < sizeof_headers) in segment_eligible_for_headers() 59 if ((seg->sections[i]->flags & (SEC_CODE|SEC_READONLY)) != SEC_READONLY) in segment_eligible_for_headers() 107 && seg->sections[0]->vma % bed->minpagesize == 0) in nacl_modify_segment_map() 109 asection *lastsec = seg->sections[seg->count - 1]; in nacl_modify_segment_map() 169 newseg->sections[newseg->count++] = sec; in nacl_modify_segment_map() 328 && seg->sections[seg->count - 1]->owner == NULL) in nacl_final_write_processing() 334 asection *sec = seg->sections[seg->count - 1]; in nacl_final_write_processing()
|
D | aout-adobe.c | 285 for (sect = abfd->sections; sect; sect = sect->next) in aout_adobe_write_object_contents() 316 for (sect = abfd->sections; sect; sect = sect->next) in aout_adobe_write_object_contents() 320 for (sect = abfd->sections; sect; sect = sect->next) in aout_adobe_write_object_contents() 324 for (sect = abfd->sections; sect; sect = sect->next) in aout_adobe_write_object_contents() 347 for (sect = abfd->sections; sect; sect = sect->next) in aout_adobe_write_object_contents() 356 for (sect = abfd->sections; sect; sect = sect->next) in aout_adobe_write_object_contents() 382 for (sect = abfd->sections; sect; sect = sect->next) in aout_adobe_set_section_contents() 392 for (sect = abfd->sections; sect; sect = sect->next) in aout_adobe_set_section_contents() 402 for (sect = abfd->sections; sect; sect = sect->next) in aout_adobe_set_section_contents()
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-gc/ |
D | noent.d | 1 # name: --gc-sections -r without -e 2 # ld: --gc-sections -r 3 # error: gc-sections requires either an entry or an undefined symbol
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-shared/ |
D | elf-offset.ld | 3 /* Read-only sections, merged into text segment: */ 70 /* .gnu.warning sections are handled specially by elf32.em. */ 115 /* We want the small data sections together, so single-instruction offsets 130 .bss section disappears because there are no input sections. */ 136 /* Stabs debugging sections. */ 144 /* DWARF debug sections. 145 Symbols in the DWARF debugging sections are relative to the beginning
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-elfvsb/ |
D | elf-offset.ld | 3 /* Read-only sections, merged into text segment: */ 72 /* .gnu.warning sections are handled specially by elf32.em. */ 118 /* We want the small data sections together, so single-instruction offsets 133 .bss section disappears because there are no input sections. */ 139 /* Stabs debugging sections. */ 147 /* DWARF debug sections. 148 Symbols in the DWARF debugging sections are relative to the beginning
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-elf/ |
D | group9b.d | 2 #ld: -r --gc-sections --entry bar 9 # well with unique group sections under ld -r. 16 COMDAT group section \[[ 0-9]+\] `.group' \[bar\] contains 1 sections:
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-arm/ |
D | arm-dyn.ld | 1 /* Script for -z combreloc: combine and sort reloc sections */ 8 /* Read-only sections, merged into text segment: */ 57 /* .gnu.warning sections are handled specially by elf32.em. */ 83 /* Thread Local Storage sections */ 151 .bss section disappears because there are no input sections. */ 158 /* Stabs debugging sections. */ 166 /* DWARF debug sections. 167 Symbols in the DWARF debugging sections are relative to the beginning
|
D | arm-no-rel-plt.ld | 1 /* Script for -z combreloc: combine and sort reloc sections */ 6 /* Read-only sections, merged into text segment: */ 69 /* .gnu.warning sections are handled specially by elf32.em. */ 90 /* These sections are generated by the Sun/Oracle C++ compiler. */ 100 /* Thread Local Storage sections */ 174 .bss section disappears because there are no input sections. 183 /* Stabs debugging sections. */ 191 /* DWARF debug sections. 192 Symbols in the DWARF debugging sections are relative to the beginning
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-mips-elf/ |
D | mips-dyn.ld | 1 /* Script for -z combreloc: combine and sort reloc sections */ 11 /* Read-only sections, merged into text segment: */ 71 /* .gnu.warning sections are handled specially by elf32.em. */ 95 /* Thread Local Storage sections */ 151 /* We want the small data sections together, so single-instruction offsets 181 .bss section disappears because there are no input sections. */ 187 /* Stabs debugging sections. */ 195 /* DWARF debug sections. 196 Symbols in the DWARF debugging sections are relative to the beginning
|