libiberty addition (for binutils): unlink_if_ordinary

Jan Beulich JBeulich@novell.com
Wed Mar 2 08:46:00 GMT 2005


>>> Hans-Peter Nilsson <hp@bitrange.com> 02.03.05 01:11:44 >>>
>On Wed, 26 Jan 2005, Jan Beulich wrote:
>> libiberty/
>> 2005-01-26  Jan Beulich  <jbeulich@novell.com>
>>
>> 	* Makefile.in (CFILES): Add unlink-if-ordinary.c
>> 	(REQUIRED_OFILES): Add unlink-if-ordinary.o.
>> 	Add dependencies and rule for unlink-if-ordinary.o.
>> 	* unlink-if-ordinary.c: New.
>
>This caused a GCC warning regression: 2 new warnings for lstat
>not being declared (once when compiled for host
>i686-pc-linux-gnu, once for target cris-axis-elf).  I suggest
>the usual configure hoops be added.

Hmm, I can't see such when building binutils on i686-pc-linux-gnu. And
the logic to deal with lstat availability was taken from elsewhere in
binutils, too.

Jan



More information about the Binutils mailing list