+2014-12-13 Joel Brobecker <brobecker@adacore.com>
+
+ * compile/compile-object-load.c (link_callbacks_multiple_definition)
+ (link_callbacks_warning, link_callbacks_einfo): Remove trailing
+ newline at end of warning message.
+
2014-12-13 Joel Brobecker <brobecker@adacore.com>
* acx_configure_dir.m4 (ACX_CONFIGURE_DIR): Add support for
if (link_info->allow_multiple_definition)
return TRUE;
- warning (_("Compiled module \"%s\": multiple symbol definitions: %s\n"),
+ warning (_("Compiled module \"%s\": multiple symbol definitions: %s"),
bfd_get_filename (abfd), h->root.string);
return FALSE;
}
const char *symbol, bfd *abfd, asection *section,
bfd_vma address)
{
- warning (_("Compiled module \"%s\" section \"%s\": warning: %s\n"),
+ warning (_("Compiled module \"%s\" section \"%s\": warning: %s"),
bfd_get_filename (abfd), bfd_get_section_name (abfd, section),
xwarning);
/* Maybe permit running as a module? */
va_end (ap);
cleanups = make_cleanup (xfree, str);
- warning (_("Compile module: warning: %s\n"), str);
+ warning (_("Compile module: warning: %s"), str);
do_cleanups (cleanups);
}