aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/bfdlink.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 57ea85e..7e69c42 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2016-12-16 fincs <fincs.alt1@gmail.com>
+
+ * bfdlink.h (struct bfd_link_info): Add gc_keep_exported.
+
2016-12-14 Maciej W. Rozycki <macro@imgtec.com>
* elf/mips.h (Elf_Internal_ABIFlags_v0): Also declare struct
diff --git a/include/bfdlink.h b/include/bfdlink.h
index 9b2194f..aea027b 100644
--- a/include/bfdlink.h
+++ b/include/bfdlink.h
@@ -328,6 +328,9 @@ struct bfd_link_info
/* TRUE if unreferenced sections should be removed. */
unsigned int gc_sections: 1;
+ /* TRUE if exported symbols should be kept during section gc. */
+ unsigned int gc_keep_exported: 1;
+
/* TRUE if every symbol should be reported back via the notice
callback. */
unsigned int notice_all: 1;