summaryrefslogtreecommitdiff
path: root/include/bfdlink.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bfdlink.h')
-rw-r--r--include/bfdlink.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/bfdlink.h b/include/bfdlink.h
index 9b849aa761e..0ac209718de 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;