[PATCH] Add missing trailing newline to PE warning message.

Peter Rosin peda@lysator.liu.se
Mon Sep 8 13:13:00 GMT 2008


Hi!

This is only a buglet, but I have failed to get myself to ignore it, so
here I go...

During linking on Cygwin, I get messages like this:



/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: 
warning: auto-importing has been activated without --enable-auto-import 
specified on the command line.
This should work unless it involves constant data structures referencing 
symbols from auto-imported DLLs.Info: resolving _foo by linking to 
__imp__foo (auto-import)
Info: resolving _bar by linking to __imp__bar (auto-import)
Info: resolving _baz by linking to __imp__baz (auto-import)



I want a newline between "DLLs." and "Info:", so I prepared the
attached patch for ld.

Cheers,
Peter


2008-09-08  Peter Rosin  <peda@lysator.liu.se>  (tiny change)

	* emultempl/pe.em (pe_find_data_imports): Add trailing newline
	to warning message.
	* emultempl/pep.em (pep_find_data_imports): Likewise.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newline-in-warning.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20080908/4024b93f/attachment.ksh>


More information about the Binutils mailing list