This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [arm-8-branch] Add Linaro version string and macros
- From: Ramana Radhakrishnan <ramana dot gcc at googlemail dot com>
- To: Yvan Roux <yvan dot roux at linaro dot org>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 10 Aug 2018 12:45:49 +0100
- Subject: Re: [arm-8-branch] Add Linaro version string and macros
- References: <CAD57uCfzSK8=2sDxQo4gMen_wws8GnKrJNq+ocbbT8trwYph6A@mail.gmail.com>
On Fri, Aug 10, 2018 at 11:09 AM, Yvan Roux <yvan.roux@linaro.org> wrote:
> Hi,
>
> This patch adds Linaro version string and release macros to ARM GCC 8
> vendor branch.
>
> Ok to commit?
>
Ok if no regressions. (I'm assuming you've built and eyeballed that
the pre-processor macros are being produced). (I have a patch to
www-docs for this branch that I'm writing up and should try and get
out today. Though it would be nice to have tests for these if
possible.
regards
Ramana
> Thanks
> Yvan
>
> gcc/ChangeLog
> 2018-08-10 Yvan Roux <yvan.roux@linaro.org>
>
> * LINARO-VERSION: New file.
> * configure.ac: Add Linaro version string.
> * configure: Regenerate.
> * Makefile.in (LINAROVER, LINAROVER_C, LINAROVER_S): Define.
> (CFLAGS-cppbuiltin.o): Add LINAROVER macro definition.
> (cppbuiltin.o): Depend on $(LINAROVER).
> * cppbuiltin.c (parse_linarover): New.
> (define_GNUC__): Define __LINARO_RELEASE__ and __LINARO_SPIN__ macros.