* elf-bfd.h (struct elf_backend_data
[deliverable/binutils-gdb.git] / bfd / elf-bfd.h
index 5761923cddaf17a3e5af22145837dd886b774df8..2fbff305e1b5ceb3ed291f06f734005d810bda7c 100644 (file)
@@ -745,8 +745,10 @@ struct elf_backend_data
      const char **name, flagword *flags, asection **sec, bfd_vma *value);
 
   /* If this field is not NULL, it is called by the elf_link_output_sym
-     phase of a link for each symbol which will appear in the object file.  */
-  bfd_boolean (*elf_backend_link_output_symbol_hook)
+     phase of a link for each symbol which will appear in the object file.
+     On error, this function returns 0.  1 is returned when the symbol
+     should be output, 2 is returned when the symbol should be discarded.  */
+  int (*elf_backend_link_output_symbol_hook)
     (struct bfd_link_info *info, const char *, Elf_Internal_Sym *,
      asection *, struct elf_link_hash_entry *);
 
This page took 0.032563 seconds and 4 git commands to generate.