X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbfdlink.h;h=ec97679e6f1de2a15202f33b3e153d02813b79ea;hb=95a515681272fa3a79624279c1579cce14ad61c0;hp=84b9dd7a0a0edf35c7d8bc9cfebe7a2802ae32ce;hpb=b1bc1394df596eaaecca0c2ae89eb4fb2c204927;p=deliverable%2Fbinutils-gdb.git diff --git a/include/bfdlink.h b/include/bfdlink.h index 84b9dd7a0a..ec97679e6f 100644 --- a/include/bfdlink.h +++ b/include/bfdlink.h @@ -270,8 +270,7 @@ enum report_method allowed to set the value. */ RM_NOT_YET_SET = 0, RM_IGNORE, - RM_GENERATE_WARNING, - RM_GENERATE_ERROR + RM_DIAGNOSE, }; typedef enum {with_flags, without_flags} flag_type; @@ -373,7 +372,7 @@ struct bfd_link_info 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. */ + whether to include an object from an archive. */ ENUM_BITFIELD (bfd_link_common_skip_ar_symbols) common_skip_ar_symbols : 2; /* What to do with unresolved symbols in an object file. @@ -387,6 +386,9 @@ struct bfd_link_info The same defaults apply. */ ENUM_BITFIELD (report_method) unresolved_syms_in_shared_libs : 2; + /* TRUE if unresolved symbols are to be warned, rather than errored. */ + unsigned int warn_unresolved_syms: 1; + /* TRUE if shared objects should be linked directly, not shared. */ unsigned int static_link: 1;