This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: libiberty addition (for binutils): unlink_if_ordinary
- From: "Jan Beulich" <JBeulich at novell dot com>
- To: <gcc-patches at gcc dot gnu dot org>
- Cc: <binutils at sources dot redhat dot com>
- Date: Wed, 02 Mar 2005 09:46:42 +0100
- Subject: Re: libiberty addition (for binutils): unlink_if_ordinary
>>> 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