• Home
  • Raw
  • Download

Lines Matching refs:SHF_ALLOC

1366 	    || (relshdr->sh_flags & SHF_ALLOC) != 0)  in check_one_reloc()
1433 || (relshdr->sh_flags & SHF_ALLOC) != 0) in check_one_reloc()
2311 if ((shdr->sh_flags & SHF_ALLOC) == 0) in check_hash()
3593 { ".bss", 5, SHT_NOBITS, exact, SHF_ALLOC | SHF_WRITE, 0 },
3595 { ".data", 6, SHT_PROGBITS, exact, SHF_ALLOC | SHF_WRITE, 0 },
3596 { ".data1", 7, SHT_PROGBITS, exact, SHF_ALLOC | SHF_WRITE, 0 },
3599 { ".dynamic", 9, SHT_DYNAMIC, atleast, SHF_ALLOC, SHF_WRITE },
3600 { ".dynstr", 8, SHT_STRTAB, exact, SHF_ALLOC, 0 },
3601 { ".dynsym", 8, SHT_DYNSYM, exact, SHF_ALLOC, 0 },
3602 { ".fini", 6, SHT_PROGBITS, exact, SHF_ALLOC | SHF_EXECINSTR, 0 },
3603 { ".fini_array", 12, SHT_FINI_ARRAY, exact, SHF_ALLOC | SHF_WRITE, 0 },
3605 { ".hash", 6, SHT_HASH, exact, SHF_ALLOC, 0 },
3606 { ".init", 6, SHT_PROGBITS, exact, SHF_ALLOC | SHF_EXECINSTR, 0 },
3607 { ".init_array", 12, SHT_INIT_ARRAY, exact, SHF_ALLOC | SHF_WRITE, 0 },
3608 { ".interp", 8, SHT_PROGBITS, atleast, 0, SHF_ALLOC }, // XXX more tests?
3610 { ".note", 6, SHT_NOTE, atleast, 0, SHF_ALLOC },
3612 { ".preinit_array", 15, SHT_PREINIT_ARRAY, exact, SHF_ALLOC | SHF_WRITE, 0 },
3613 { ".rela", 5, SHT_RELA, atleast, 0, SHF_ALLOC | SHF_INFO_LINK }, // XXX more tests
3614 { ".rel", 4, SHT_REL, atleast, 0, SHF_ALLOC | SHF_INFO_LINK }, // XXX more tests
3615 { ".rodata", 8, SHT_PROGBITS, atleast, SHF_ALLOC, SHF_MERGE | SHF_STRINGS },
3616 { ".rodata1", 9, SHT_PROGBITS, atleast, SHF_ALLOC, SHF_MERGE | SHF_STRINGS },
3618 { ".strtab", 8, SHT_STRTAB, atleast, 0, SHF_ALLOC }, // XXX more tests
3619 { ".symtab", 8, SHT_SYMTAB, atleast, 0, SHF_ALLOC }, // XXX more tests
3620 { ".symtab_shndx", 14, SHT_SYMTAB_SHNDX, atleast, 0, SHF_ALLOC }, // XXX more tests
3621 { ".tbss", 6, SHT_NOBITS, exact, SHF_ALLOC | SHF_WRITE | SHF_TLS, 0 },
3622 { ".tdata", 7, SHT_PROGBITS, exact, SHF_ALLOC | SHF_WRITE | SHF_TLS, 0 },
3623 { ".tdata1", 8, SHT_PROGBITS, exact, SHF_ALLOC | SHF_WRITE | SHF_TLS, 0 },
3624 { ".text", 6, SHT_PROGBITS, exact, SHF_ALLOC | SHF_EXECINSTR, 0 },
3627 { ".gnu.version", 13, SHT_GNU_versym, exact, SHF_ALLOC, 0 },
3628 { ".gnu.version_d", 15, SHT_GNU_verdef, exact, SHF_ALLOC, 0 },
3629 { ".gnu.version_r", 15, SHT_GNU_verneed, exact, SHF_ALLOC, 0 },
3802 if ((shdr->sh_flags & SHF_ALLOC) != 0 in check_sections()
3807 else if ((shdr->sh_flags & SHF_ALLOC) == 0 in check_sections()
3834 if ((shdr->sh_flags & SHF_ALLOC) != 0 in check_sections()
3839 else if ((shdr->sh_flags & SHF_ALLOC) == 0 in check_sections()
3879 #define ALL_SH_FLAGS (SHF_WRITE | SHF_ALLOC | SHF_EXECINSTR | SHF_MERGE \ in check_sections()
3914 if (shdr->sh_flags & SHF_ALLOC) in check_sections()
3989 if (ehdr->e_type != ET_REL && (shdr->sh_flags & SHF_ALLOC) != 0 in check_sections()
4608 else if (shdr != NULL && (shdr->sh_flags & SHF_ALLOC) == 0) in check_program_header()