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]

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


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?

[1] https://gcc.gnu.org/ml/gcc-patches/2015-01/msg02126.html

Uros.

Attachment: f.diff.txt
Description: Text document


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