This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, FRV, libgcc]: Move CRT_GET_RFIB_DATA to libgcc


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]