section 320 src/conf_post.h # define ATTRIBUTE_SECTION(name) __attribute__((section (name))) section 4575 src/pdumper.c HANDLE section = NULL; section 4602 src/pdumper.c section = CreateFileMapping (file, section 4608 src/pdumper.c if (!section) section 4627 src/pdumper.c ret = MapViewOfFileEx (section, section 4638 src/pdumper.c if (section && !CloseHandle (section)) section 170 src/unexaix.c struct scnhdr section[MAX_SECTIONS]; section 219 src/unexaix.c struct scnhdr *s = §ion[scns]; section 283 src/unexaix.c off_t ptr = section[0].s_scnptr; section 288 src/unexaix.c struct scnhdr *s = §ion[scns]; section 322 src/unexaix.c struct scnhdr *s = §ion[scns]; section 358 src/unexaix.c struct scnhdr *s = §ion[scns]; section 644 src/unexmacosx.c struct section *sectp; section 651 src/unexmacosx.c sectp = (struct section *) (scp + 1); section 714 src/unexmacosx.c struct section *sectp = (struct section *) (scp + 1); section 748 src/unexmacosx.c struct section *sectp; section 753 src/unexmacosx.c sectp = (struct section *) (scp + 1); section 790 src/unexmacosx.c struct section *sectp; section 809 src/unexmacosx.c sectp = (struct section *) (scp + 1); section 838 src/unexmacosx.c if (!unexec_write (header_offset, sectp, sizeof (struct section))) section 846 src/unexmacosx.c if (!unexec_write (header_offset, sectp, sizeof (struct section))) section 871 src/unexmacosx.c if (!unexec_write (header_offset, sectp, sizeof (struct section))) section 892 src/unexmacosx.c if (!unexec_write (header_offset, sectp, sizeof (struct section))) section 911 src/unexmacosx.c if (!unexec_write (header_offset, sectp, sizeof (struct section))) section 922 src/unexmacosx.c header_offset += sizeof (struct section); section 118 src/unexw32.c PIMAGE_SECTION_HEADER section; section 121 src/unexw32.c section = IMAGE_FIRST_SECTION (nt_header); section 125 src/unexw32.c if (strcmp ((char *)section->Name, name) == 0) section 126 src/unexw32.c return section; section 127 src/unexw32.c section++; section 138 src/unexw32.c PIMAGE_SECTION_HEADER section; section 141 src/unexw32.c section = IMAGE_FIRST_SECTION (nt_header); section 145 src/unexw32.c if (offset >= section->PointerToRawData section 146 src/unexw32.c && offset < section->PointerToRawData + section->SizeOfRawData) section 147 src/unexw32.c return section; section 148 src/unexw32.c section++; section 191 src/unexw32.c #define RVA_TO_OFFSET(rva, section) \ section 192 src/unexw32.c ((section)->PointerToRawData + ((DWORD_PTR)(rva) - (section)->VirtualAddress)) section 194 src/unexw32.c #define RVA_TO_SECTION_OFFSET(rva, section) \ section 195 src/unexw32.c ((DWORD_PTR)(rva) - (section)->VirtualAddress) section 207 src/unexw32.c #define OFFSET_TO_RVA(offset, section) \ section 208 src/unexw32.c ((section)->VirtualAddress + ((DWORD_PTR)(offset) - (section)->PointerToRawData)) section 210 src/unexw32.c #define RVA_TO_PTR(var,section,filedata) \ section 211 src/unexw32.c ((unsigned char *)(RVA_TO_OFFSET (var,section) + (filedata).file_base)) section 371 src/unexw32.c PIMAGE_SECTION_HEADER section; section 430 src/unexw32.c section = IMAGE_FIRST_SECTION (nt_header); section 438 src/unexw32.c (DWORD_PTR) section - (DWORD_PTR) nt_header, be_verbose); section 440 src/unexw32.c COPY_CHUNK ("Copying section table...", section, section 441 src/unexw32.c nt_header->FileHeader.NumberOfSections * sizeof (*section), section 454 src/unexw32.c sprintf (msg, "Copying raw data for %.8s...", section->Name); section 466 src/unexw32.c (msg, OFFSET_TO_PTR (section->PointerToRawData, p_infile), section 467 src/unexw32.c section->SizeOfRawData, be_verbose); section 472 src/unexw32.c if (section == data_section) section 480 src/unexw32.c if (section == bss_section) section 496 src/unexw32.c if (section == bss_section_static) section 516 src/unexw32.c section++; section 522 src/unexw32.c section--; section 523 src/unexw32.c while (section->PointerToRawData == 0); section 524 src/unexw32.c offset = ROUND_UP (section->PointerToRawData + section->SizeOfRawData, section 535 src/unexw32.c section = IMAGE_FIRST_SECTION (nt_header); section 567 src/unexw32.c section = rva_to_section (debug_dir.VirtualAddress, dst_nt_header); section 568 src/unexw32.c if (section) section 571 src/unexw32.c (RVA_TO_OFFSET (debug_dir.VirtualAddress, section) + p_outfile->file_base); section 68 src/w32proc.c #define RVA_TO_PTR(var,section,filedata) \ section 69 src/w32proc.c ((void *)((section)->PointerToRawData \ section 70 src/w32proc.c + ((DWORD_PTR)(var) - (section)->VirtualAddress) \ section 1681 src/w32proc.c PIMAGE_SECTION_HEADER section; section 1684 src/w32proc.c section = IMAGE_FIRST_SECTION (nt_header); section 1694 src/w32proc.c DWORD_PTR real_size = max (section->SizeOfRawData, section 1695 src/w32proc.c section->Misc.VirtualSize); section 1696 src/w32proc.c if (rva >= section->VirtualAddress section 1697 src/w32proc.c && rva < section->VirtualAddress + real_size) section 1698 src/w32proc.c return section; section 1699 src/w32proc.c section++; section 1822 src/w32proc.c IMAGE_SECTION_HEADER *section section 1824 src/w32proc.c if (!section) section 1828 src/w32proc.c RVA_TO_PTR (import_dir.VirtualAddress, section, section 1833 src/w32proc.c section = rva_to_section (imports->Name, nt_header); section 1834 src/w32proc.c if (!section) section 1837 src/w32proc.c char * dllname = RVA_TO_PTR (imports->Name, section, section 45 test/manual/etags/c-src/c.c char stack[10000] __attribute__ ((section ("STACK"))) = { 0 }; section 60 test/manual/etags/c-src/c.c extern void foobar (void) __attribute__ ((section ("bar")));