diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2005-03-31 23:45:30 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2005-03-31 23:45:30 +0000 |
commit | c93625e2d24111a5d9e44ef5d2a13d92ed7313f6 (patch) | |
tree | 3525df9820274a2698755dd5ae4410c131dab685 | |
parent | 186993b45845f14288bdb57ea581914decd9b024 (diff) | |
download | gdb-c93625e2d24111a5d9e44ef5d2a13d92ed7313f6.zip gdb-c93625e2d24111a5d9e44ef5d2a13d92ed7313f6.tar.gz gdb-c93625e2d24111a5d9e44ef5d2a13d92ed7313f6.tar.bz2 |
2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (elf_link_input_bfd): Remove the extra `\n' in
error message.
(_bfd_elf_section_already_linked): Likewise.
-rw-r--r-- | bfd/ChangeLog | 12 | ||||
-rw-r--r-- | bfd/elflink.c | 14 |
2 files changed, 16 insertions, 10 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 44084c1..17505c6 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,12 +1,18 @@ +2005-03-31 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.c (elf_link_input_bfd): Remove the extra `\n' in + error message. + (_bfd_elf_section_already_linked): Likewise. + 2005-03-31 Jerome Guitton <guitton@gnat.com> * config.in: Regenerate. 2005-03-31 Jerome Guitton <guitton@gnat.com> - * bfd/config.in (HAVE_DECL_BASENAME): New configure macro. - * bfd/configure.in: Check for basename. - * bfd/configure: Regenerate. + * config.in (HAVE_DECL_BASENAME): New configure macro. + * configure.in: Check for basename. + * configure: Regenerate. 2005-03-30 Julian Brown <julian@codesourcery.com> diff --git a/bfd/elflink.c b/bfd/elflink.c index 9792137..8134834 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -7020,7 +7020,7 @@ elf_link_input_bfd (struct elf_final_link_info *finfo, bfd *input_bfd) { (*_bfd_error_handler) (_("`%s' referenced in section `%A' of %B: " - "defined in discarded section `%A' of %B\n"), + "defined in discarded section `%A' of %B"), o, input_bfd, sec, sec->owner, sym_name); } @@ -9640,21 +9640,21 @@ _bfd_elf_section_already_linked (bfd *abfd, struct bfd_section * sec) case SEC_LINK_DUPLICATES_ONE_ONLY: (*_bfd_error_handler) - (_("%B: ignoring duplicate section `%A'\n"), + (_("%B: ignoring duplicate section `%A'"), abfd, sec); break; case SEC_LINK_DUPLICATES_SAME_SIZE: if (sec->size != l->sec->size) (*_bfd_error_handler) - (_("%B: duplicate section `%A' has different size\n"), + (_("%B: duplicate section `%A' has different size"), abfd, sec); break; case SEC_LINK_DUPLICATES_SAME_CONTENTS: if (sec->size != l->sec->size) (*_bfd_error_handler) - (_("%B: duplicate section `%A' has different size\n"), + (_("%B: duplicate section `%A' has different size"), abfd, sec); else if (sec->size != 0) { @@ -9662,16 +9662,16 @@ _bfd_elf_section_already_linked (bfd *abfd, struct bfd_section * sec) if (!bfd_malloc_and_get_section (abfd, sec, &sec_contents)) (*_bfd_error_handler) - (_("%B: warning: could not read contents of section `%A'\n"), + (_("%B: warning: could not read contents of section `%A'"), abfd, sec); else if (!bfd_malloc_and_get_section (l->sec->owner, l->sec, &l_sec_contents)) (*_bfd_error_handler) - (_("%B: warning: could not read contents of section `%A'\n"), + (_("%B: warning: could not read contents of section `%A'"), l->sec->owner, l->sec); else if (memcmp (sec_contents, l_sec_contents, sec->size) != 0) (*_bfd_error_handler) - (_("%B: warning: duplicate section `%A' has different contents\n"), + (_("%B: warning: duplicate section `%A' has different contents"), abfd, sec); if (sec_contents) |