Searched refs:sec (Results 1 - 25 of 678) sorted by relevance

1234567891011>>

/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D20000728-1.c2 long sec; long usec; member in struct:clock
12 if (foo == clock_old.sec && 0 == clock_old.usec);
H A D20010320-1.c1 typedef struct sec { struct
5 struct sec *next;
/openbsd-current/regress/sbin/isakmpd/exchange/
H A Drun.pl36 $conaddr, $sec, $tick, $action, $template, $data, $next,
61 my ($sec, $usec) = unpack ("ll", $tv);
62 $sec % 86400 + $usec / 1000000;
65 $sec = &getsec;
79 $next = $sec + $tick * $tickfac;
82 print STDERR "waiting ", $next - $sec, " secs\n";
83 select undef, undef, undef, $next - $sec
84 while ($sec = &getsec) < $next;
89 $sec = &getsec;
90 printf (STDERR "waiting for data or the %.3f sec timeou
[all...]
/openbsd-current/gnu/llvm/lld/ELF/
H A DMarkLive.cpp53 void enqueue(InputSectionBase *sec, uint64_t offset);
58 void resolveReloc(InputSectionBase &sec, RelTy &rel, bool fromFDE);
76 static uint64_t getAddend(InputSectionBase &sec, argument
78 return target->getImplicitAddend(sec.content().begin() + rel.r_offset,
83 static uint64_t getAddend(InputSectionBase &sec, argument
90 void MarkLive<ELFT>::resolveReloc(InputSectionBase &sec, RelTy &rel, argument
92 Symbol &sym = sec.getFile<ELFT>()->getRelocTargetSym(rel);
104 offset += getAddend<ELFT>(sec, rel);
124 for (InputSectionBase *sec : cNamedSections.lookup(sym.getName()))
125 enqueue(sec,
163 isReserved(InputSectionBase *sec) argument
183 enqueue(InputSectionBase *sec, uint64_t offset) argument
304 InputSectionBase &sec = *queue.pop_back_val(); local
[all...]
H A DDWARF.cpp32 for (auto [i, sec] : llvm::enumerate(obj->getSections())) {
33 if (!sec)
37 StringSwitch<LLDDWARFSection *>(sec->name)
47 m->Data = toStringRef(sec->contentMaybeDecompress());
48 m->sec = sec;
52 if (sec->name == ".debug_abbrev")
53 abbrevSection = toStringRef(sec->contentMaybeDecompress());
54 else if (sec->name == ".debug_str")
55 strSection = toStringRef(sec
105 findAux(const InputSectionBase &sec, uint64_t pos, ArrayRef<RelTy> rels) const argument
137 auto &sec = static_cast<const LLDDWARFSection &>(s); local
[all...]
H A DLinkerScript.cpp115 if (sec)
116 return alignToPowerOf2(sec->getOutputSection()->addr + sec->getOffset(val),
122 return sec ? sec->getOutputSection()->addr + sec->getOffset(0) : 0;
129 if (alignment == 1 && !sec)
137 OutputDesc *sec; local
140 sec = secRef;
142 sec
221 SectionBase *sec = value.isAbsolute() ? nullptr : value.sec; local
356 const OutputSection &sec = cast<OutputDesc>(cmd)->osec; local
512 InputSectionBase *sec = sections[i]; local
739 auto *sec = cast<InputSection>(isec); local
910 findMemoryRegion(OutputSection *sec, MemoryRegion *hint) argument
959 assignOffsets(OutputSection *sec) argument
1085 isDiscardable(const OutputSection &sec) argument
1119 maybePropagatePhdrs(OutputSection &sec, SmallVector<StringRef, 0> &phdrs) argument
1158 auto *sec = &cast<OutputDesc>(cmd)->osec; local
1211 OutputSection *sec = &osd->osec; local
[all...]
H A DWriter.cpp116 for (OutputSection *sec : outputSections)
117 if (removed.count(sec->ptLoad))
118 sec->ptLoad = nullptr;
145 static Defined *addOptionalRegular(StringRef name, SectionBase *sec, argument
152 /*size=*/0, sec});
275 InputSection *sec = createInterpSection(); local
276 sec->partition = i;
277 ctx.inputSections.push_back(sec);
281 auto add = [](SyntheticSection &sec) { ctx.inputSections.push_back(&sec); };
672 SectionBase *sec = d->section; local
755 isRelroSection(const OutputSection *sec) argument
1002 add(OutputSection *sec) argument
1043 InputSection *sec = in.gotPlt.get(); local
1158 OutputSection *sec = &cast<OutputDesc>(*e)->osec; local
1612 finalizeSynthetic(SyntheticSection *sec) argument
1874 OutputSection *sec = findSection(".sdata"); local
2239 needsPtLoad(OutputSection *sec) argument
2700 OutputSection *sec; member in struct:__anon5::SectionOffset
[all...]
/openbsd-current/gnu/usr.bin/binutils-2.17/bfd/
H A Daix5ppc-core.c53 asection *sec; local
120 sec = bfd_make_section_anyway (abfd, ".stack");
121 if (NULL == sec)
124 sec->flags = SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS;
125 sec->size = core.c_size;
126 sec->vma = core.c_stackorg;
127 sec->filepos = core.c_stack;
130 sec = bfd_make_section_anyway (abfd, ".reg");
131 if (NULL == sec)
134 sec
[all...]
H A Delf32-sh64-com.c187 sh64_get_contents_type (asection *sec, bfd_vma addr, sh64_elf_crange *rangep) argument
192 if (bfd_get_flavour (sec->owner) == bfd_target_elf_flavour
193 && elf_elfheader (sec->owner)->e_type == ET_EXEC)
195 rangep->cr_addr = bfd_get_section_vma (sec->owner, sec);
196 rangep->cr_size = sec->size;
204 if ((elf_section_data (sec)->this_hdr.sh_flags
208 = ((bfd_get_section_flags (sec->owner, sec) & SEC_CODE) != 0
215 if ((elf_section_data (sec)
240 sh64_address_is_shmedia(asection *sec, bfd_vma addr) argument
[all...]
H A Dmerge.c88 asection *sec; member in struct:sec_merge_sec_info
292 asection *sec = secinfo->sec; local
295 int alignment_power = sec->output_section->alignment_power;
327 off = sec->size - off;
346 _bfd_add_merge_section (bfd *abfd, void **psinfo, asection *sec, argument
355 || (sec->flags & SEC_MERGE) == 0)
358 if (sec->size == 0
359 || (sec->flags & SEC_EXCLUDE) != 0
360 || sec
445 asection *sec = secinfo->sec; local
778 _bfd_write_merged_section(bfd *output_bfd, asection *sec, void *psecinfo) argument
809 asection *sec = *psec; local
[all...]
H A Delf-vxworks.c173 asection *sec = (*rel_hash)->root.u.def.section; local
175 elf_section_data (sec->output_section)->this_idx;
180 irela[j].r_addend += sec->output_offset;
200 asection * sec; local
203 sec = bfd_get_section_by_name (abfd, ".rel.plt.unloaded");
204 if (!sec)
205 sec = bfd_get_section_by_name (abfd, ".rela.plt.unloaded");
206 if (!sec)
208 d = elf_section_data (sec);
210 sec
[all...]
H A Delf32-sh64.h85 #define sh64_elf_section_data(sec) \
86 ((struct _sh64_elf_section_data *) elf_section_data (sec))
/openbsd-current/usr.bin/mandoc/
H A Dmandoc_xr.h20 char *sec; member in struct:mandoc_xr
/openbsd-current/gnu/usr.bin/binutils/gdb/
H A Dsymfile-mem.c65 struct bfd_section *sec; local
93 for (sec = nbfd->sections; sec != NULL; sec = sec->next)
94 if ((bfd_get_section_flags (nbfd, sec) & (SEC_ALLOC|SEC_LOAD)) != 0)
96 sai->other[i].addr = bfd_get_section_vma (nbfd, sec) + loadbase;
97 sai->other[i].name = (char *) bfd_get_section_name (nbfd, sec);
98 sai->other[i].sectindex = sec->index;
/openbsd-current/gnu/usr.bin/binutils/bfd/
H A Daix5ppc-core.c58 asection *sec; local
123 sec = bfd_make_section_anyway (abfd, ".stack");
124 if (NULL == sec)
127 sec->flags = SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS;
128 sec->_raw_size = core.c_size;
129 sec->vma = core.c_stackorg;
130 sec->filepos = core.c_stack;
133 sec = bfd_make_section_anyway (abfd, ".reg");
134 if (NULL == sec)
137 sec
[all...]
H A Delf32-sh64-com.c193 sh64_get_contents_type (asection *sec, bfd_vma addr, sh64_elf_crange *rangep) argument
198 if (bfd_get_flavour (sec->owner) == bfd_target_elf_flavour
199 && elf_elfheader (sec->owner)->e_type == ET_EXEC)
201 rangep->cr_addr = bfd_get_section_vma (sec->owner, sec);
202 rangep->cr_size = bfd_section_size (sec->owner, sec);
210 if ((elf_section_data (sec)->this_hdr.sh_flags
214 = ((bfd_get_section_flags (sec->owner, sec)
246 sh64_address_is_shmedia(asection *sec, bfd_vma addr) argument
[all...]
H A Delf-eh-frame.c210 (bfd *abfd, struct bfd_link_info *info, asection *sec,
227 if (sec->_raw_size == 0)
233 if ((sec->output_section != NULL
234 && bfd_is_abs_section (sec->output_section)))
246 ehbuf = bfd_malloc (sec->_raw_size);
250 if (! bfd_get_section_contents (abfd, sec, ehbuf, 0, sec->_raw_size))
253 if (sec->_raw_size >= 4
264 if (sec->_raw_size != (unsigned int) sec
209 _bfd_elf_discard_section_eh_frame(bfd *abfd, struct bfd_link_info *info, asection *sec, bfd_boolean (*reloc_symbol_deleted_p) (bfd_vma, void *), struct elf_reloc_cookie *cookie) argument
677 asection *sec; local
747 _bfd_elf_eh_frame_section_offset(bfd *output_bfd ATTRIBUTE_UNUSED, asection *sec, bfd_vma offset) argument
805 _bfd_elf_write_section_eh_frame(bfd *abfd, struct bfd_link_info *info, asection *sec, bfd_byte *contents) argument
1124 asection *sec; local
[all...]
H A Delf32-ip2k.c361 ip2k_nominal_page_bits (abfd, sec, addr, contents)
363 asection *sec;
367 bfd_vma page = PAGENO (BASEADDR (sec) + addr);
373 if (PAGENO (BASEADDR (sec)) == page)
380 while (PAGENO (BASEADDR (sec) + addr - 2) == page)
390 if (ip2k_is_switch_table_128 (abfd, sec, addr, contents) != -1)
394 if (ip2k_is_switch_table_256 (abfd, sec, addr, contents) != -1)
416 ip2k_test_page_insn (abfd, sec, irel, misc)
418 asection *sec;
434 ip2k_nominal_page_bits (abfd, sec, ire
1508 asection * sec; local
[all...]
H A Delf32-sh64.h85 #define sh64_elf_section_data(sec) \
86 ((struct _sh64_elf_section_data *) elf_section_data (sec))
H A Dmerge.c87 asection *sec; member in struct:sec_merge_sec_info
294 asection *sec = secinfo->sec; local
297 int alignment_power = bfd_get_section_alignment (abfd, sec->output_section);
335 _bfd_merge_section (bfd *abfd, void **psinfo, asection *sec, void **psecinfo) argument
342 if (sec->_raw_size == 0
343 || (sec->flags & SEC_EXCLUDE)
344 || (sec->flags & SEC_MERGE) == 0
345 || sec->entsize == 0)
348 if ((sec
429 asection *sec = secinfo->sec; local
757 _bfd_write_merged_section(bfd *output_bfd, asection *sec, void *psecinfo) argument
788 asection *sec = *psec; local
[all...]
/openbsd-current/gnu/usr.bin/perl/dist/Devel-PPPort/
H A DRealPPPort_xs.PL39 my $sec;
45 for $sec (keys %SECTION) {
46 if (exists $spec->{$sec}) {
48 if (exists $SECTION{$sec}{header}) {
49 my $header = $SECTION{$sec}{header};
51 $SECTION{$sec}{code} .= $header . "\n";
53 $SECTION{$sec}{code} .= $spec->{$sec} . "\n";
60 for $sec (keys %SECTION) {
61 my $code = $SECTION{$sec}{cod
[all...]
/openbsd-current/usr.sbin/tcpdump/
H A Dprint-timed.c56 long sec, usec; local
79 sec = EXTRACT_32BITS(&tsp->tsp_time.tv_sec);
85 if (sec < 0 && usec != 0) {
86 sec++;
87 if (sec == 0)
91 printf("%ld.%06ld", sec, usec);
/openbsd-current/gnu/usr.bin/binutils/gas/config/
H A Dobj-ecoff.c107 asection **sec; local
149 for (sec = &stdoutput->sections; *sec != (asection *) NULL; )
152 if (!strcmp ((*sec)->name, names[i]))
154 secs[i] = *sec;
155 bfd_section_list_remove (stdoutput, sec);
160 bfd_set_section_vma (stdoutput, *sec, addr);
161 addr += bfd_section_size (stdoutput, *sec);
162 sec = &(*sec)
[all...]
/openbsd-current/regress/sbin/isakmpd/dh/
H A Ddhtest.c48 char sec[DH_MAXSZ], sec2[DH_MAXSZ]; local
68 dh_create_shared(group, sec, buf2);
71 if (memcmp (sec, sec2, len)) {
/openbsd-current/lib/librpcsvc/
H A Dspray.x56 unsigned int sec;

Completed in 303 milliseconds

1234567891011>>