diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2003-06-03 18:15:05 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2003-06-03 18:15:05 +0000 |
commit | 6f6f27f842f3e82a92d651fb02c5b51b7686dc74 (patch) | |
tree | b04e1eb55f80af1e4211b0cd12bda762a1b13a6a /include | |
parent | a3b6428fe79103e838aea22ef2acd6578178bf25 (diff) | |
download | gdb-6f6f27f842f3e82a92d651fb02c5b51b7686dc74.zip gdb-6f6f27f842f3e82a92d651fb02c5b51b7686dc74.tar.gz gdb-6f6f27f842f3e82a92d651fb02c5b51b7686dc74.tar.bz2 |
bfd/
2003-06-03 H.J. Lu <hongjiu.lu@intel.com>
* elflink.h (elf_link_input_bfd): Call linker error_handler
for discarded definitions.
include/
2003-06-03 H.J. Lu <hongjiu.lu@intel.com>
* bfdlink.h (LD_DEFINITION_IN_DISCARDED_SECTION): New.
ld/
2003-06-03 H.J. Lu <hongjiu.lu@intel.com>
* ldmisc.c: Include "bfdlink.h".
(error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION
and -LD_DEFINITION_IN_DISCARDED_SECTION.
* Makefile.am: Rebuild dependency.
* Makefile.in: Regenerated.
ld/testsuite/
2003-06-03 H.J. Lu <hongjiu.lu@intel.com>
* ld-discard/extern.d: Updated.
* ld-discard/start.d: Likewise.
* ld-discard/static.d: Likewise.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/bfdlink.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 41e67bc..96f1777 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2003-06-03 H.J. Lu <hongjiu.lu@intel.com> + + * bfdlink.h (LD_DEFINITION_IN_DISCARDED_SECTION): New. + 2003-05-30 Ulrich Drepper <drepper@redhat.com> Jakub Jelinek <jakub@redhat.com> diff --git a/include/bfdlink.h b/include/bfdlink.h index 61fcf96..d68fe11 100644 --- a/include/bfdlink.h +++ b/include/bfdlink.h @@ -495,6 +495,9 @@ struct bfd_link_callbacks ld. */ bfd_boolean (*error_handler) PARAMS ((int id, const char * fmt, ...)); + +/* Identifiers of linker error messages used by error_handler. */ +#define LD_DEFINITION_IN_DISCARDED_SECTION 1 }; /* The linker builds link_order structures which tell the code how to |