diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/bfdlink.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/bfdlink.h b/include/bfdlink.h index 860811c2a78..eeea6ef7a97 100644 --- a/include/bfdlink.h +++ b/include/bfdlink.h @@ -42,6 +42,15 @@ enum bfd_link_discard discard_all /* Discard all locals. */ }; +/* Whether to generate ELF common symbols with the STT_COMMON type + during a relocatable link. */ +enum bfd_link_elf_stt_common +{ + unchanged, + elf_stt_common, + no_elf_stt_common +}; + /* Describes the type of hash table entry structure being used. Different hash table structure have different fields and so support different linking features. */ @@ -321,6 +330,9 @@ struct bfd_link_info /* Which local symbols to discard. */ ENUM_BITFIELD (bfd_link_discard) discard : 2; + /* Whether to generate ELF common symbols with the STT_COMMON type. */ + ENUM_BITFIELD (bfd_link_elf_stt_common) elf_stt_common : 2; + /* Criteria for skipping symbols when determining whether to include an object from an archive. */ ENUM_BITFIELD (bfd_link_common_skip_ar_symbols) common_skip_ar_symbols : 2; |