Lines Matching refs:sec_flags

515 sec_to_styp_flags (const char *sec_name, flagword sec_flags)
587 else if (sec_flags & SEC_CODE)
591 else if (sec_flags & SEC_DATA)
595 else if (sec_flags & SEC_READONLY)
603 else if (sec_flags & SEC_LOAD)
607 else if (sec_flags & SEC_ALLOC)
613 if (sec_flags & SEC_TIC54X_CLINK)
618 if (sec_flags & SEC_TIC54X_BLOCK)
623 if ((sec_flags & (SEC_NEVER_LOAD | SEC_COFF_SHARED_LIBRARY)) != 0)
639 sec_to_styp_flags (const char *sec_name, flagword sec_flags)
662 sec_flags = SEC_DEBUGGING | SEC_READONLY;
667 if ((sec_flags & SEC_CODE) != 0)
669 if ((sec_flags & (SEC_DATA | SEC_DEBUGGING)) != 0)
671 if ((sec_flags & SEC_ALLOC) != 0 && (sec_flags & SEC_LOAD) == 0)
676 if ((sec_flags & SEC_IS_COMMON) != 0)
678 if ((sec_flags & SEC_DEBUGGING) != 0)
680 if ((sec_flags & SEC_EXCLUDE) != 0 && !is_dbg)
682 if ((sec_flags & SEC_NEVER_LOAD) != 0 && !is_dbg)
686 if (sec_flags & SEC_LINK_ONCE)
691 if ((sec_flags & SEC_COFF_NOREAD) == 0)
693 if ((sec_flags & SEC_READONLY) == 0)
695 if (sec_flags & SEC_CODE)
697 if (sec_flags & SEC_COFF_SHARED)
721 flagword sec_flags = 0;
725 sec_flags |= SEC_TIC54X_BLOCK;
730 sec_flags |= SEC_TIC54X_CLINK;
735 sec_flags |= SEC_NEVER_LOAD;
742 if (sec_flags & SEC_NEVER_LOAD)
743 sec_flags |= SEC_CODE | SEC_COFF_SHARED_LIBRARY;
745 sec_flags |= SEC_CODE | SEC_LOAD | SEC_ALLOC;
749 if (sec_flags & SEC_NEVER_LOAD)
750 sec_flags |= SEC_DATA | SEC_COFF_SHARED_LIBRARY;
752 sec_flags |= SEC_DATA | SEC_LOAD | SEC_ALLOC;
757 if (sec_flags & SEC_NEVER_LOAD)
758 sec_flags |= SEC_ALLOC | SEC_COFF_SHARED_LIBRARY;
761 sec_flags |= SEC_ALLOC;
772 sec_flags |= SEC_DEBUGGING;
776 sec_flags = 0;
779 if (sec_flags & SEC_NEVER_LOAD)
780 sec_flags |= SEC_CODE | SEC_COFF_SHARED_LIBRARY;
782 sec_flags |= SEC_CODE | SEC_LOAD | SEC_ALLOC;
786 if (sec_flags & SEC_NEVER_LOAD)
787 sec_flags |= SEC_DATA | SEC_COFF_SHARED_LIBRARY;
789 sec_flags |= SEC_DATA | SEC_LOAD | SEC_ALLOC;
794 if (sec_flags & SEC_NEVER_LOAD)
795 sec_flags |= SEC_ALLOC | SEC_COFF_SHARED_LIBRARY;
798 sec_flags |= SEC_ALLOC;
811 sec_flags |= SEC_DEBUGGING;
820 sec_flags = SEC_LOAD | SEC_ALLOC | SEC_READONLY;
823 sec_flags |= SEC_ALLOC | SEC_LOAD;
827 sec_flags = (SEC_LOAD | SEC_ALLOC | SEC_READONLY);
832 sec_flags = (SEC_LOAD | SEC_ALLOC);
843 sec_flags |= SEC_LINK_ONCE | SEC_LINK_DUPLICATES_DISCARD;
849 * flags_ptr = sec_flags;
857 flagword sec_flags,
867 sec_flags |= SEC_LINK_ONCE;
887 return sec_flags;
1013 sec_flags |= SEC_LINK_DUPLICATES_ONE_ONLY;
1015 sec_flags &= ~SEC_LINK_ONCE;
1020 sec_flags |= SEC_LINK_DUPLICATES_DISCARD;
1024 sec_flags |= SEC_LINK_DUPLICATES_SAME_SIZE;
1029 sec_flags |= SEC_LINK_DUPLICATES_SAME_CONTENTS;
1042 sec_flags |= SEC_LINK_DUPLICATES_DISCARD;
1044 sec_flags &= ~SEC_LINK_ONCE;
1051 sec_flags |= SEC_LINK_DUPLICATES_DISCARD;
1111 return sec_flags;
1133 flagword sec_flags;
1145 sec_flags = SEC_READONLY;
1149 sec_flags |= SEC_COFF_NOREAD;
1179 sec_flags |= SEC_NEVER_LOAD;
1183 sec_flags &= ~SEC_COFF_NOREAD;
1202 sec_flags |= SEC_CODE;
1205 sec_flags &= ~ SEC_READONLY;
1219 sec_flags |= SEC_DEBUGGING | SEC_READONLY;
1223 sec_flags |= SEC_COFF_SHARED;
1227 sec_flags |= SEC_EXCLUDE;
1230 sec_flags |= SEC_CODE | SEC_ALLOC | SEC_LOAD;
1234 sec_flags |= SEC_DEBUGGING;
1236 sec_flags |= SEC_DATA | SEC_ALLOC | SEC_LOAD;
1239 sec_flags |= SEC_ALLOC;
1249 sec_flags |= SEC_DEBUGGING;
1254 sec_flags = handle_COMDAT (abfd, sec_flags, hdr, name, section);
1279 sec_flags |= SEC_LINK_ONCE | SEC_LINK_DUPLICATES_DISCARD;
1283 * flags_ptr = sec_flags;