This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] fix PR target/46040, build failure on arm-linux-gnueabi
On 10 Dec 2010, at 20:02, "Nathan Froyd" <froydnj@codesourcery.com> wrote:
> On Fri, Dec 10, 2010 at 02:35:52PM +0000, Richard Earnshaw wrote:
>> So presumably the problem here is that we have two different files, both
>> of which have the common tail sequence arm/bpabi.h and that sometimes we
>> can't resolve this unambiguously.
>>
>> Wouldn't it be better just to rename the one in libgcc to
>> arm/bpabi-lib.h (or something similar)? Then we won't be depending so
>> much on the precise relative layout of the two subdirs.
>
> Like this? Testing in progress.
>
> -Nathan
>
> gcc/
> PR target/46040
> * config.gcc (arm*-*-linux-*eabi): Use bpabi-lib.h.
> (arm*-*-uclinux*eabi, arm*-*-eabi*): Likewise.
>
> libgcc/
> PR target/46040
> * config/arm/bpabi.h: Rename to...
> * config/arm/bpabi-lib.h: ...this.
>
> Index: config.gcc
>
Yes
OK if testing is successful.
R.