Index: include/bfdlink.h |
diff --git a/include/bfdlink.h b/include/bfdlink.h |
index d900b4783fdb5262f79b77d50a678560670c8a4d..1ac0738230a842ec5275e1b481ba602abb3e8cbc 100644 |
--- a/include/bfdlink.h |
+++ b/include/bfdlink.h |
@@ -416,6 +416,28 @@ struct bfd_link_info |
/* Separator between archive and filename in linker script filespecs. */ |
char path_separator; |
+ /* Default stack size. Zero means default (often zero itself), -1 |
+ means explicitly zero-sized. */ |
+ bfd_signed_vma stacksize; |
+ |
+ /* Enable or disable target specific optimizations. |
+ |
+ Not all targets have optimizations to enable. |
+ |
+ Normally these optimizations are disabled by default but some targets |
+ prefer to enable them by default. So this field is a tri-state variable. |
+ The values are: |
+ |
+ zero: Enable the optimizations (either from --relax being specified on |
+ the command line or the backend's before_allocation emulation function. |
+ |
+ positive: The user has requested that these optimizations be disabled. |
+ (Via the --no-relax command line option). |
+ |
+ negative: The optimizations are disabled. (Set when initializing the |
+ args_type structure in ldmain.c:main. */ |
+ signed int disable_target_specific_optimizations; |
+ |
/* Function callbacks. */ |
const struct bfd_link_callbacks *callbacks; |
@@ -435,6 +457,10 @@ struct bfd_link_info |
option). If this is NULL, no symbols are being wrapped. */ |
struct bfd_hash_table *wrap_hash; |
+ /* Hash table of symbols which may be left unresolved during |
+ a link. If this is NULL, no symbols can be left unresolved. */ |
+ struct bfd_hash_table *ignore_hash; |
+ |
/* The output BFD. */ |
bfd *output_bfd; |
@@ -443,9 +469,6 @@ struct bfd_link_info |
bfd *input_bfds; |
bfd **input_bfds_tail; |
- /* Non-NULL if .note.gnu.build-id section should be created. */ |
- char *emit_note_gnu_build_id; |
- |
/* If a symbol should be created for each input BFD, this is section |
where those symbols should be placed. It must be a section in |
the output BFD. It may be NULL, in which case no such symbols |