+ /* PT_LOAD and similar segments only have SHF_ALLOC sections. */ \
+ && !(((sec_hdr)->sh_flags & SHF_ALLOC) == 0 \
+ && ((segment)->p_type == PT_LOAD \
+ || (segment)->p_type == PT_DYNAMIC \
+ || (segment)->p_type == PT_GNU_EH_FRAME \
+ || (segment)->p_type == PT_GNU_STACK \
+ || (segment)->p_type == PT_GNU_RELRO \
+ || ((segment)->p_type >= PT_GNU_MBIND_LO \
+ && (segment)->p_type <= PT_GNU_MBIND_HI))) \