Home
last modified time | relevance | path

Searched refs:asect (Results 1 – 25 of 85) sorted by relevance

1234

/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/
H A Dnetbsd-core.c60 asection *asect; in netbsd_core_file_p() local
129 asect = bfd_make_section_anyway (abfd, sname); in netbsd_core_file_p()
130 if (asect == NULL) in netbsd_core_file_p()
133 asect->flags = flags; in netbsd_core_file_p()
134 asect->size = coreseg.c_size; in netbsd_core_file_p()
135 asect->vma = coreseg.c_addr; in netbsd_core_file_p()
136 asect->filepos = offset; in netbsd_core_file_p()
137 asect->alignment_power = 2; in netbsd_core_file_p()
159 asect->size = wcookie_offset; in netbsd_core_file_p()
162 asect = bfd_make_section_anyway (abfd, ".wcookie"); in netbsd_core_file_p()
[all …]
H A Dcisco-core.c95 sec_ptr asect; local
244 asect = bfd_make_section_anyway (abfd, ".data");
245 if (asect == NULL)
247 asect->flags = SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS;
249 asect->size = statbuf.st_size;
250 asect->vma = rambase;
251 asect->filepos = 0;
256 asect = bfd_make_section_anyway (abfd, ".crash");
257 if (asect == NULL)
259 asect->flags = SEC_HAS_CONTENTS;
[all …]
H A Dhpux-core.c118 asection *asect; in make_bfd_asection() local
127 asect = bfd_make_section_anyway (abfd, newname); in make_bfd_asection()
128 if (!asect) in make_bfd_asection()
131 asect->flags = flags; in make_bfd_asection()
132 asect->size = size; in make_bfd_asection()
133 asect->vma = vma; in make_bfd_asection()
134 asect->filepos = bfd_tell (abfd); in make_bfd_asection()
135 asect->alignment_power = alignment_power; in make_bfd_asection()
137 return asect; in make_bfd_asection()
317 asection *asect = bfd_sections_find_if (abfd, thread_section_p, NULL); in hpux_core_core_file_p() local
[all …]
H A Dlynx-core.c67 asection *asect; local
76 asect = bfd_make_section (abfd, newname);
77 if (!asect)
80 asect->flags = flags;
81 asect->size = size;
82 asect->vma = vma;
83 asect->filepos = filepos;
84 asect->alignment_power = 2;
86 return asect;
H A Dosf-core.c68 asection *asect; local
70 asect = bfd_make_section_anyway (abfd, name);
71 if (!asect)
74 asect->flags = flags;
75 asect->size = size;
76 asect->vma = vma;
77 asect->filepos = filepos;
78 asect->alignment_power = 8;
80 return asect;
H A Dirix-core.c153 asection *asect; in make_bfd_asection() local
155 asect = bfd_make_section_anyway (abfd, name); in make_bfd_asection()
156 if (!asect) in make_bfd_asection()
159 asect->flags = flags; in make_bfd_asection()
160 asect->size = size; in make_bfd_asection()
161 asect->vma = vma; in make_bfd_asection()
162 asect->filepos = filepos; in make_bfd_asection()
163 asect->alignment_power = 4; in make_bfd_asection()
165 return asect; in make_bfd_asection()
H A Delf64-sparc.c54 elf64_sparc_slurp_one_reloc_table (bfd *abfd, asection *asect, in elf64_sparc_slurp_one_reloc_table() argument
76 relents = asect->relocation + canon_reloc_count (asect); in elf64_sparc_slurp_one_reloc_table()
98 relent->address = rela.r_offset - asect->vma; in elf64_sparc_slurp_one_reloc_table()
132 canon_reloc_count (asect) += relent - relents; in elf64_sparc_slurp_one_reloc_table()
148 elf64_sparc_slurp_reloc_table (bfd *abfd, asection *asect, in elf64_sparc_slurp_reloc_table() argument
151 struct bfd_elf_section_data * const d = elf_section_data (asect); in elf64_sparc_slurp_reloc_table()
156 if (asect->relocation != NULL) in elf64_sparc_slurp_reloc_table()
161 if ((asect->flags & SEC_RELOC) == 0 in elf64_sparc_slurp_reloc_table()
162 || asect->reloc_count == 0) in elf64_sparc_slurp_reloc_table()
168 BFD_ASSERT (asect->rel_filepos == rel_hdr->sh_offset in elf64_sparc_slurp_reloc_table()
[all …]
H A Dhppabsd-core.c91 asection *asect; local
93 asect = bfd_make_section (abfd, name);
94 if (!asect)
97 asect->flags = flags;
98 asect->size = size;
99 asect->filepos = offset;
100 asect->alignment_power = alignment_power;
102 return asect;
H A Dsco5-core.c64 asection *asect; local
66 asect = bfd_make_section_anyway (abfd, name);
67 if (!asect)
69 asect->flags = flags;
70 asect->size = size;
71 asect->vma = vma;
72 asect->filepos = filepos;
73 asect->alignment_power = 2;
75 return asect;
H A Drs6000-core.c295 asection *asect; in make_bfd_asection() local
297 asect = bfd_make_section_anyway (abfd, name); in make_bfd_asection()
298 if (!asect) in make_bfd_asection()
301 asect->flags = flags; in make_bfd_asection()
302 asect->size = size; in make_bfd_asection()
303 asect->vma = vma; in make_bfd_asection()
304 asect->filepos = filepos; in make_bfd_asection()
305 asect->alignment_power = 8; in make_bfd_asection()
307 return asect; in make_bfd_asection()
H A Di386lynx.c400 NAME(lynx,slurp_reloc_table) (abfd, asect, symbols)
402 sec_ptr asect; variable
411 if (asect->relocation)
414 if (asect->flags & SEC_CONSTRUCTOR)
417 if (asect == obj_datasec (abfd))
423 if (asect == obj_textsec (abfd))
433 if (bfd_seek (abfd, asect->rel_filepos, SEEK_SET) != 0)
485 asect->relocation = reloc_cache;
486 asect->reloc_count = count;
H A Dhp300hpux.c723 MY (slurp_reloc_table) (abfd, asect, symbols)
725 sec_ptr asect; variable
737 if (asect->relocation)
740 if (asect->flags & SEC_CONSTRUCTOR)
743 if (asect == obj_datasec (abfd))
749 if (asect == obj_textsec (abfd))
759 if (bfd_seek (abfd, asect->rel_filepos, SEEK_SET) != 0)
794 asect->relocation = reloc_cache;
795 asect->reloc_count = count;
/openbsd-src/gnu/usr.bin/binutils/bfd/
H A Dnetbsd-core.c71 asection *asect; local
140 asect = bfd_make_section_anyway (abfd, sname);
141 if (asect == NULL)
144 asect->flags = flags;
145 asect->_raw_size = coreseg.c_size;
146 asect->vma = coreseg.c_addr;
147 asect->filepos = offset;
148 asect->alignment_power = 2;
170 asect->_raw_size = wcookie_offset;
173 asect = bfd_make_section_anyway (abfd, ".wcookie");
[all …]
H A Dcisco-core.c95 sec_ptr asect; local
244 asect = bfd_make_section_anyway (abfd, ".data");
245 if (asect == NULL)
247 asect->flags = SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS;
249 asect->_raw_size = statbuf.st_size;
250 asect->vma = rambase;
251 asect->filepos = 0;
256 asect = bfd_make_section_anyway (abfd, ".crash");
257 if (asect == NULL)
259 asect->flags = SEC_HAS_CONTENTS;
[all …]
H A Dlynx-core.c64 asection *asect; local
73 asect = bfd_make_section (abfd, newname);
74 if (!asect)
77 asect->flags = flags;
78 asect->_raw_size = _raw_size;
79 asect->vma = vma;
80 asect->filepos = filepos;
81 asect->alignment_power = 2;
83 return asect;
H A Dosf-core.c67 asection *asect; local
69 asect = bfd_make_section_anyway (abfd, name);
70 if (!asect)
73 asect->flags = flags;
74 asect->_raw_size = _raw_size;
75 asect->vma = vma;
76 asect->filepos = filepos;
77 asect->alignment_power = 8;
79 return asect;
H A Dhpux-core.c126 asection *asect; local
135 asect = bfd_make_section_anyway (abfd, newname);
136 if (!asect)
139 asect->flags = flags;
140 asect->_raw_size = _raw_size;
141 asect->vma = vma;
142 asect->filepos = bfd_tell (abfd);
143 asect->alignment_power = alignment_power;
145 return asect;
H A Dirix-core.c172 asection *asect; local
174 asect = bfd_make_section_anyway (abfd, name);
175 if (!asect)
178 asect->flags = flags;
179 asect->_raw_size = _raw_size;
180 asect->vma = vma;
181 asect->filepos = filepos;
182 asect->alignment_power = 4;
184 return asect;
H A Dhppabsd-core.c92 asection *asect; local
94 asect = bfd_make_section (abfd, name);
95 if (!asect)
98 asect->flags = flags;
99 asect->_raw_size = _raw_size;
100 asect->filepos = offset;
101 asect->alignment_power = alignment_power;
103 return asect;
H A Dsco5-core.c63 asection *asect; local
65 asect = bfd_make_section_anyway (abfd, name);
66 if (!asect)
68 asect->flags = flags;
69 asect->_raw_size = _raw_size;
70 asect->vma = vma;
71 asect->filepos = filepos;
72 asect->alignment_power = 2;
74 return asect;
H A Di386lynx.c400 NAME(lynx,slurp_reloc_table) (abfd, asect, symbols)
402 sec_ptr asect; variable
411 if (asect->relocation)
414 if (asect->flags & SEC_CONSTRUCTOR)
417 if (asect == obj_datasec (abfd))
423 if (asect == obj_textsec (abfd))
433 if (bfd_seek (abfd, asect->rel_filepos, SEEK_SET) != 0)
485 asect->relocation = reloc_cache;
486 asect->reloc_count = count;
H A Drs6000-core.c288 asection *asect; local
290 asect = bfd_make_section_anyway (abfd, name);
291 if (!asect)
294 asect->flags = flags;
295 asect->_raw_size = _raw_size;
296 asect->vma = vma;
297 asect->filepos = filepos;
298 asect->alignment_power = 8;
300 return asect;
H A Dhp300hpux.c723 MY (slurp_reloc_table) (abfd, asect, symbols)
725 sec_ptr asect; variable
737 if (asect->relocation)
740 if (asect->flags & SEC_CONSTRUCTOR)
743 if (asect == obj_datasec (abfd))
749 if (asect == obj_textsec (abfd))
759 if (bfd_seek (abfd, asect->rel_filepos, SEEK_SET) != 0)
794 asect->relocation = reloc_cache;
795 asect->reloc_count = count;
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Dbfd-target.c37 add_to_section_table (struct bfd *abfd, struct bfd_section *asect, in add_to_section_table() argument
44 aflag = bfd_get_section_flags (abfd, asect); in add_to_section_table()
47 if (bfd_section_size (abfd, asect) == 0) in add_to_section_table()
50 pp->end->the_bfd_section = asect; in add_to_section_table()
51 pp->end->addr = bfd_section_vma (abfd, asect); in add_to_section_table()
52 pp->end->endaddr = pp->end->addr + bfd_section_size (abfd, asect); in add_to_section_table()
H A Dmaint.c319 asection *asect, in print_bfd_section_info() argument
322 flagword flags = bfd_get_section_flags (abfd, asect); in print_bfd_section_info()
323 const char *name = bfd_section_name (abfd, asect); in print_bfd_section_info()
331 addr = bfd_section_vma (abfd, asect); in print_bfd_section_info()
332 endaddr = addr + bfd_section_size (abfd, asect); in print_bfd_section_info()
333 maint_print_section_info (name, flags, addr, endaddr, asect->filepos); in print_bfd_section_info()
339 struct obj_section *asect, in print_objfile_section_info() argument
342 flagword flags = bfd_get_section_flags (abfd, asect->the_bfd_section); in print_objfile_section_info()
343 const char *name = bfd_section_name (abfd, asect->the_bfd_section); in print_objfile_section_info()
349 maint_print_section_info (name, flags, asect->addr, asect->endaddr, in print_objfile_section_info()
[all …]

1234