* expr.c (make_expr_symbol): Fold FAKE_LABEL_NAME use into the
[deliverable/binutils-gdb.git] / include / bfdlink.h
index 3a5c92b1af7987ab9ddbdef54e4563b749cecdb7..89d916ee83b3d4aa4f5153a729637a16841781ac 100644 (file)
@@ -163,7 +163,7 @@ struct bfd_link_hash_table
   struct bfd_link_hash_entry *undefs;
   /* Entries are added to the tail of the undefs list.  */
   struct bfd_link_hash_entry *undefs_tail;
-  /* The type of the ink hash table.  */
+  /* The type of the link hash table.  */
   enum bfd_link_hash_table_type type;
 };
 
@@ -285,6 +285,12 @@ struct bfd_link_info
      should be created.  */
   unsigned int eh_frame_hdr: 1;
 
+  /* TRUE if global symbols in discarded sections should be stripped.  */
+  unsigned int strip_discarded: 1;
+
+  /* TRUE if relaxation is being finalized.  */
+  unsigned int relax_finalizing: 1;
+
   /* Which symbols to strip.  */
   enum bfd_link_strip strip;
 
@@ -478,6 +484,11 @@ struct bfd_link_callbacks
   bfd_boolean (*notice)
     PARAMS ((struct bfd_link_info *, const char *name,
             bfd *abfd, asection *section, bfd_vma address));
+  /* A function which is called for reporting a linker error. ID is the
+     error identifier. The remaining input is the same as einfo () in
+     ld.  */
+  bfd_boolean (*error_handler)
+    PARAMS ((int id, const char * fmt, ...));
 };
 \f
 /* The linker builds link_order structures which tell the code how to
This page took 0.025571 seconds and 4 git commands to generate.