Home
last modified time | relevance | path

Searched refs:seg (Results 1 – 25 of 178) sorted by relevance

12345678

/toolchain/binutils/binutils-2.25/bfd/
Delf-nacl.c30 segment_executable (struct elf_segment_map *seg) in segment_executable() argument
32 if (seg->p_flags_valid) in segment_executable()
33 return (seg->p_flags & PF_X) != 0; in segment_executable()
39 for (i = 0; i < seg->count; ++i) in segment_executable()
40 if (seg->sections[i]->flags & SEC_CODE) in segment_executable()
51 segment_eligible_for_headers (struct elf_segment_map *seg, in segment_eligible_for_headers() argument
55 if (seg->count == 0 || seg->sections[0]->lma % minpagesize < sizeof_headers) in segment_eligible_for_headers()
57 for (i = 0; i < seg->count; ++i) in segment_eligible_for_headers()
59 if ((seg->sections[i]->flags & (SEC_CODE|SEC_READONLY)) != SEC_READONLY) in segment_eligible_for_headers()
91 struct elf_segment_map *seg; in nacl_modify_segment_map() local
[all …]
Dmach-o.c301 const struct mach_o_segment_name_xlat *seg; in bfd_mach_o_section_data_for_mach_sect() local
307 for (seg = bed->segsec_names_xlat; seg->segname; seg++) in bfd_mach_o_section_data_for_mach_sect()
308 if (strncmp (seg->segname, segname, BFD_MACH_O_SEGNAME_SIZE) == 0) in bfd_mach_o_section_data_for_mach_sect()
309 for (sec = seg->sections; sec->mach_o_name; sec++) in bfd_mach_o_section_data_for_mach_sect()
315 for (seg = segsec_names_xlat; seg->segname; seg++) in bfd_mach_o_section_data_for_mach_sect()
316 if (strncmp (seg->segname, segname, BFD_MACH_O_SEGNAME_SIZE) == 0) in bfd_mach_o_section_data_for_mach_sect()
317 for (sec = seg->sections; sec->mach_o_name; sec++) in bfd_mach_o_section_data_for_mach_sect()
333 const struct mach_o_segment_name_xlat *seg; in bfd_mach_o_section_data_for_bfd_name() local
343 for (seg = bed->segsec_names_xlat; seg->segname; seg++) in bfd_mach_o_section_data_for_bfd_name()
344 for (sec = seg->sections; sec->bfd_name; sec++) in bfd_mach_o_section_data_for_bfd_name()
[all …]
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/m68hc11/
Dindexed12.s13 ldaa L2-L1,x ; -> ldaa 2,x (5-bit offset), text seg
14 adda L1-L2,y ; -> adda -2,y (5-bit offset), text seg
16 orab L7-L6,sp ; -> orab 8,sp (5-bit offset), text seg
17 anda L8-L7,sp ; -> anda 15,sp (5-bit offset), text seg
18 eora L7-L8,sp ; -> eora -15,sp (5-bit offset), text seg
19 eorb L7-L9,sp ; -> eorb -16,sp (5-bit offset), text seg
21 andb L9-L7,sp ; -> andb 16,sp (9-bit offset), text seg
22 staa L7-L10,x ; -> staa -17,x (9-bit offset), text seg
23 stab L11-L10,y ; -> stab 128,y (9-bit offset), text seg
24 stab L10-L11,y ; -> stab -128,y (9-bit offset), text seg
[all …]
Dindexed12.d24 ldaa L2\-L1,x ; \-> ldaa 2,x \(5\-bit offset\), text seg
26 adda L1\-L2,y ; \-> adda \-2,y \(5\-bit offset\), text seg
29 orab L7\-L6,sp ; \-> orab 8,sp \(5\-bit offset\), text seg
31 anda L8\-L7,sp ; \-> anda 15,sp \(5\-bit offset\), text seg
33 eora L7\-L8,sp ; \-> eora \-15,sp \(5\-bit offset\), text seg
35 eorb L7\-L9,sp ; \-> eorb \-16,sp \(5\-bit offset\), text seg
38 andb L9\-L7,sp ; \-> andb 16,sp \(9\-bit offset\), text seg
40 staa L7\-L10,x ; \-> staa \-17,x \(9\-bit offset\), text seg
42 stab L11\-L10,y ; \-> stab 128,y \(9\-bit offset\), text seg
44 stab L10\-L11,y ; \-> stab \-128,y \(9\-bit offset\), text seg
[all …]
/toolchain/binutils/binutils-2.25/gas/
Dstabs.c89 segT seg; in get_stab_string_offset() local
101 seg = subseg_new (stabstr_secname, 0); in get_stab_string_offset()
103 retval = seg_info (seg)->stabu.stab_string_size; in get_stab_string_offset()
109 retval = seg_info (seg)->stabu.stab_string_size = 1; in get_stab_string_offset()
110 bfd_set_section_flags (stdoutput, seg, SEC_READONLY | SEC_DEBUGGING); in get_stab_string_offset()
111 if (seg->name == stabstr_secname) in get_stab_string_offset()
112 seg->name = xstrdup (stabstr_secname); in get_stab_string_offset()
120 seg_info (seg)->stabu.stab_string_size += length + 1; in get_stab_string_offset()
305 segT seg; in s_stab_generic() local
320 seg = cached_sec; in s_stab_generic()
[all …]
Dsubsegs.c58 subseg_change (segT seg, int subseg) in subseg_change() argument
60 segment_info_type *seginfo = seg_info (seg); in subseg_change()
61 now_seg = seg; in subseg_change()
67 seginfo->bfd_section = seg; in subseg_change()
68 bfd_set_section_userdata (stdoutput, seg, seginfo); in subseg_change()
73 subseg_set_rest (segT seg, subsegT subseg) in subseg_set_rest() argument
88 subseg_change (seg, (int) subseg); in subseg_set_rest()
90 seginfo = seg_info (seg); in subseg_set_rest()
231 segT seg; in section_symbol() local
236 || ((seg = S_GET_SEGMENT (s)) != sec in section_symbol()
[all …]
Ddwarf2dbg.c201 segT seg; member
239 segT seg; member
304 get_line_subseg (segT seg, subsegT subseg, bfd_boolean create_p) in get_line_subseg() argument
306 struct line_seg *s = seg_info (seg)->dwarf2_line_seg; in get_line_subseg()
316 s->seg = seg; in get_line_subseg()
320 seg_info (seg)->dwarf2_line_seg = s; in get_line_subseg()
322 gas_assert (seg == s->seg); in get_line_subseg()
405 logicals[logicals_with_labels].seg = now_seg; in dwarf2_gen_line_info()
1015 first_frag_for_seg (segT seg) in first_frag_for_seg() argument
1017 return seg_info (seg)->frchainP->frch_root; in first_frag_for_seg()
[all …]
/toolchain/binutils/binutils-2.25/gas/config/
Dtc-i386-intel.c35 symbolS *seg; member
411 intel_state.seg = e->X_add_symbol; in i386_intel_simplify()
513 segT seg = S_GET_SEGMENT (e->X_add_symbol); in i386_intel_simplify() local
515 if (seg != absolute_section in i386_intel_simplify()
516 && seg != reg_section in i386_intel_simplify()
517 && seg != expr_section) in i386_intel_simplify()
549 intel_state.seg = NULL; in i386_intel_operand()
734 if (intel_state.seg) in i386_intel_operand()
741 if (!intel_state.seg) in i386_intel_operand()
753 else if (S_GET_SEGMENT (intel_state.seg) == reg_section) in i386_intel_operand()
[all …]
Dobj-som.c208 obj_som_init_stab_section (segT seg) in obj_som_init_stab_section() argument
232 obj_set_subsection_attributes (seg, space, 0x1f, 73, 0, 0, 0, 0); in obj_som_init_stab_section()
233 bfd_set_section_alignment (stdoutput, seg, 2); in obj_som_init_stab_section()
248 seg_info (seg)->stabu.p = p; in obj_som_init_stab_section()
254 seg = bfd_get_section_by_name (stdoutput, "$GDB_STRINGS$"); in obj_som_init_stab_section()
255 obj_set_subsection_attributes (seg, space, 0x1f, 72, 0, 0, 0, 0); in obj_som_init_stab_section()
256 bfd_set_section_alignment (stdoutput, seg, 2); in obj_som_init_stab_section()
Dobj-elf.h211 #define INIT_STAB_SECTION(seg) obj_elf_init_stab_section (seg) argument
221 #define INIT_STAB_SECTION(seg) \ argument
222 ((void) (ECOFF_DEBUGGING ? 0 : (obj_elf_init_stab_section (seg), 0)))
225 #define OBJ_PROCESS_STAB(seg, what, string, type, other, desc) \ argument
227 ecoff_stab ((seg), (what), (string), (type), (other), (desc))
Dtc-lm32.c278 md_section_align (asection *seg, valueT addr) in md_section_align() argument
280 int align = bfd_get_section_alignment (stdoutput, seg); in md_section_align()
398 asection *seg ATTRIBUTE_UNUSED) in md_estimate_size_before_relax()
413 md_apply_fix (fixS * fixP, valueT * valP, segT seg) in md_apply_fix() argument
419 gas_cgen_md_apply_fix (fixP, valP, seg); in md_apply_fix()
Dtc-avr.h123 #define TC_FORCE_RELOCATION_SUB_SAME(fix, seg) \ argument
124 (! SEG_NORMAL (seg) || avr_force_relocation (fix))
187 #define TC_VALIDATE_FIX_SUB(fix, seg) avr_validate_fix_sub (fix) argument
Dtc-i370.c1135 i370_elf_validate_fix (fixS *fixp, segT seg) in i370_elf_validate_fix() argument
1156 && strcmp (segment_name (seg), ".got2") != 0 in i370_elf_validate_fix()
1157 && strcmp (segment_name (seg), ".dtors") != 0 in i370_elf_validate_fix()
1158 && strcmp (segment_name (seg), ".ctors") != 0 in i370_elf_validate_fix()
1159 && strcmp (segment_name (seg), ".fixup") != 0 in i370_elf_validate_fix()
1160 && strcmp (segment_name (seg), ".stab") != 0 in i370_elf_validate_fix()
1161 && strcmp (segment_name (seg), ".gcc_except_table") != 0 in i370_elf_validate_fix()
1162 && strcmp (segment_name (seg), ".ex_shared") != 0) in i370_elf_validate_fix()
1164 if ((seg->flags & (SEC_READONLY | SEC_CODE)) != 0 in i370_elf_validate_fix()
2375 md_section_align (asection *seg, valueT addr) in md_section_align() argument
[all …]
Dobj-som.h68 #define INIT_STAB_SECTION(seg) obj_som_init_stab_section (seg) argument
Dtc-xc16x.c324 md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED) in md_apply_fix()
326 if (!strstr (seg->name,".debug")) in md_apply_fix()
338 gas_cgen_md_apply_fix (fixP, valP, seg); in md_apply_fix()
344 segT seg ATTRIBUTE_UNUSED, in md_convert_frag()
Dobj-coff-seh.c26 segT seg; member
46 get_pxdata_name (segT seg, const char *base_name) in get_pxdata_name() argument
51 name = bfd_get_section_name (stdoutput, seg); in get_pxdata_name()
74 alloc_pxdata_item (segT seg, int subseg, char *name) in alloc_pxdata_item() argument
80 r->seg = seg; in alloc_pxdata_item()
184 subseg_set (x_segcur->seg, subseg); in switch_xdata()
192 subseg_set (p_segcur->seg, p_segcur->subseg); in switch_pdata()
Dobj-ecoff.h67 #define OBJ_PROCESS_STAB(seg, what, string, type, other, desc) \ argument
68 ecoff_stab ((seg), (what), (string), (type), (other), (desc))
Dtc-cr16.h53 #define TC_LINKRELAX_FIXUP(seg) \ argument
54 ((seg->flags & (SEC_ALLOC | SEC_CODE)) == (SEC_ALLOC | SEC_CODE))
Dtc-crx.h54 #define TC_LINKRELAX_FIXUP(seg) (seg->flags & SEC_ALLOC) argument
/toolchain/binutils/binutils-2.25/binutils/
Dod-macho.c328 bfd_mach_o_segment_command *seg; in dump_section_map() local
335 seg = &cmd->command.segment; in dump_section_map()
337 printf ("[Segment %-16s ", seg->segname); in dump_section_map()
338 printf_vma (seg->vmaddr); in dump_section_map()
340 printf_vma (seg->vmaddr + seg->vmsize - 1); in dump_section_map()
342 disp_segment_prot (seg->initprot); in dump_section_map()
345 for (sec = seg->sect_head; sec != NULL; sec = sec->next) in dump_section_map()
408 bfd_mach_o_segment_command *seg = &cmd->command.segment; in dump_segment() local
411 printf (" name: %16s", *seg->segname ? seg->segname : "*none*"); in dump_segment()
412 printf (" nsects: %lu", seg->nsects); in dump_segment()
[all …]
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-xc16x/
Doffset.s4 jmps #seg:.12,#sof:.12
9 calls #seg:.13,#sof:.13
Doffset.d8 402: fa 00 08 04 jmps #seg:0x0,#sof:0x408
14 40c: da 00 10 04 calls #seg:0x0,#sof:0x410
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/i386/
Dx86-64-segovr.s5 .irp seg, ds, ss
7 mov %\seg:(%r\reg), %eax
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-elf/
Dseg.d2 #source: seg.s
3 #ld: -T seg.t -z max-page-size=0x1000
/toolchain/binutils/binutils-2.25/ld/
Dlexsup.c1633 segment_type *seg; in set_segment_start() local
1641 for (seg = segments; seg; seg = seg->next) in set_segment_start()
1642 if (strcmp (seg->name, name) == 0) in set_segment_start()
1644 seg->value = val; in set_segment_start()
1649 seg = (segment_type *) stat_alloc (sizeof (*seg)); in set_segment_start()
1650 seg->name = name; in set_segment_start()
1651 seg->value = val; in set_segment_start()
1652 seg->used = FALSE; in set_segment_start()
1654 seg->next = segments; in set_segment_start()
1655 segments = seg; in set_segment_start()
[all …]

12345678