search for: end_sect

Displaying 7 results from an estimated 7 matches for "end_sect".

Did you mean: end_sector
2012 Jun 12
4
[LLVMdev] Questions about llvm/Object/COFF.h
So, I'm trying to use this file to look inside COFF files. Got the header. OK. Now I want to look at the sections. Look, there's a section iterator. I can use that! So, I write: for (llvm::object::section_iterator iter = Obj.begin_sections (); iter != Obj.end_sections(); ++iter ) and it doesn't compile. There's no ++ for section iterators. Apparently, you're supposed to write. for (llvm::object::section_iterator iter = Obj.begin_sections (); iter != Obj.end_sections(); iter.increment(ec)) Srsly? [ And - how do I go from a section_iterator to...
2012 Jun 12
0
[LLVMdev] Questions about llvm/Object/COFF.h
...trying to use this file to look inside COFF files. > Got the header. OK. > > Now I want to look at the sections. > Look, there's a section iterator. I can use that! > > So, I write: > for (llvm::object::section_iterator iter = Obj.begin_sections (); > iter != Obj.end_sections(); ++iter ) > > and it doesn't compile. There's no ++ for section iterators. > Apparently, you're supposed to write. > for (llvm::object::section_iterator iter = Obj.begin_sections (); > iter != Obj.end_sections(); iter.increment(ec)) > Srsly? > [ And - h...
2012 Jun 12
0
[LLVMdev] Questions about llvm/Object/COFF.h
...#39;m trying to use this file to look inside COFF files. > Got the header. OK. > > Now I want to look at the sections. > Look, there's a section iterator. I can use that! > > So, I write: >        for (llvm::object::section_iterator iter = Obj.begin_sections (); iter != Obj.end_sections(); ++iter ) > > and it doesn't compile. There's no ++ for section iterators. > Apparently, you're supposed to write. >        for (llvm::object::section_iterator iter = Obj.begin_sections (); iter != Obj.end_sections(); iter.increment(ec)) > Srsly? > [ And - how do...
2012 Jun 13
1
[LLVMdev] Questions about llvm/Object/COFF.h
...side COFF files. > > Got the header. OK. > > > > Now I want to look at the sections. > > Look, there's a section iterator. I can use that! > > > > So, I write: > > for (llvm::object::section_iterator iter = Obj.begin_sections (); > iter != Obj.end_sections(); ++iter ) > > > > and it doesn't compile. There's no ++ for section iterators. > > Apparently, you're supposed to write. > > for (llvm::object::section_iterator iter = Obj.begin_sections (); > iter != Obj.end_sections(); iter.increment(ec)) > &...
2007 Oct 17
3
Adding a "boot from local hard disk" option to syslinux menu, booted from USB
...tinfo ) { /* Actually read the boot sector */ /* Pick the first buffer that isn't already in use */ boot_sector = (char *)(((unsigned long)partinfo + 511) & ~511); sprintf(logs, "partinfo: active_flag %d, start_head %d, start_sect %d, start_cyl %d, ostype %d, end_head %d, end_sect %d, end_cyl %d, start_lba %d, length %d, boot_sector %s\n", partinfo->active_flag, partinfo->start_head, partinfo->start_sect, partinfo->start_cyl, partinfo->ostype, partinfo->end_head, partinfo->end_sect, partinfo->end_cyl, partinfo->start_lba, partinfo->length,...
2015 Jan 26
2
[LLVMdev] [llvm] r188726 - Adding PIC support for ELF on x86_64 platforms
...e Symbol value and the target symbol offset // to check if this .opd entry refers to the symbol the relocation // points to. - if (Rel.Addend != (intptr_t)TargetSymbolOffset) + if (Rel.Addend != (int64_t)TargetSymbolOffset) continue; section_iterator tsi(Obj.end_sections()); @@ -757,17 +783,19 @@ void RuntimeDyldELF::resolveSystemZReloc void RuntimeDyldELF::resolveRelocation(const RelocationEntry &RE, uint64_t Value) { const SectionEntry &Section = Sections[RE.SectionID]; - return resolveRelocation(Section, R...
2013 Feb 06
0
[LLVMdev] [llvm] r174463 - Initial support for DWARF CFI parsing and dumping in LLVM
...: >> - IsLittleEndian(Obj->isLittleEndian()) { >> + IsLittleEndian(Obj->isLittleEndian()), >> + AddressSize(Obj->getBytesInAddress()) { >> error_code ec; >> for (object::section_iterator i = Obj->begin_sections(), >> e = Obj->end_sections(); >> @@ -459,6 +485,8 @@ DWARFContextInMemory::DWARFContextInMemo >> LineSection = data; >> else if (name == "debug_aranges") >> ARangeSection = data; >> + else if (name == "debug_frame") >> + DebugFrameSecti...