From: H.J. Lu Date: Wed, 1 Mar 2000 19:38:01 +0000 (+0000) Subject: 2000-03-01 H.J. Lu X-Git-Tag: gdb_5_0-2000-04-10-branchpoint~385 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c086cbc69a2c63671f2a684e5ff8f166bc5d5de2;p=platform%2Fupstream%2Fbinutils.git 2000-03-01 H.J. Lu * bfdlink.h (bfd_link_callbacks): Add a boolean arg to the undefined_symbol callback. --- diff --git a/include/ChangeLog b/include/ChangeLog index b34f2fd..0d0ebf3 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2000-03-01 H.J. Lu + + * bfdlink.h (bfd_link_callbacks): Add a boolean arg to + the undefined_symbol callback. + 2000-02-23 Linas Vepstas * dis-asm.h (print_insn_i370): Declare. diff --git a/include/bfdlink.h b/include/bfdlink.h index f7f113c..bb827a3 100644 --- a/include/bfdlink.h +++ b/include/bfdlink.h @@ -329,10 +329,13 @@ struct bfd_link_callbacks /* A function which is called when a relocation is attempted against an undefined symbol. NAME is the symbol which is undefined. ABFD, SECTION and ADDRESS identify the location from which the - reference is made. In some cases SECTION may be NULL. */ + reference is made. FATAL indicates whether an undefined symbol is + a fatal error or not. In some cases SECTION may be NULL. */ boolean (*undefined_symbol) PARAMS ((struct bfd_link_info *, const char *name, bfd *abfd, - asection *section, bfd_vma address)); + asection *section, + bfd_vma address, + boolean fatal)); /* A function which is called when a reloc overflow occurs. NAME is the name of the symbol or section the reloc is against, RELOC_NAME is the name of the relocation, and ADDEND is any