This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, FRV, libgcc]: Move CRT_GET_RFIB_DATA to libgcc
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 28 Apr 2015 11:25:08 +0200
- Subject: Re: [PATCH, FRV, libgcc]: Move CRT_GET_RFIB_DATA to libgcc
- Authentication-results: sourceware.org; auth=none
- References: <CAFULd4YgW1ke5fRxWa302HtmKBF4f7=5-v6vSNLy_MKhRYumUg at mail dot gmail dot com>
On Wed, Apr 22, 2015 at 1:11 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
> Hello!
>
> Attached patch moves CRT_GET_RFIB_DATA from gcc to libgcc in the same
> way as was recently done for x86 targets [1].
>
> The second patch is needed to successfully compile frv-elf libgcc,
> otherwise libgcc build fails in defaults.h, line 499 with "Unknown
> BITS_PER_UNIT" error.
>
> libgcc/ChangeLog:
>
> 2015-04-22 Uros Bizjak <ubizjak@gmail.com>
>
> * config/frv/elf-lib.h: New file.
> (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
> * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
> to tm_file.
>
> 2015-04-22 Uros Bizjak <ubizjak@gmail.com>
>
> * config/frv/frvbengin.c: Do not include defaults.h
> * config/frv/frvend.c: Ditto.
>
> gcc/ChangeLog:
>
> 2015-04-22 Uros Bizjak <ubizjak@gmail.com>
>
> * config/frv/frv.h (CRT_GET_RFIB_DATA): Move definition to
> libgcc/config/frv/elf-lib.h.
>
> Patch was tested by building frv-elf crosscompiler and multilib.
>
> OK for mainline?
Patch was approved privately by Jeff and committed to mainline as r222519.
Uros.