mbox series

[0/3] aarch64: Clean warnings in libgcc

Message ID 20241003194450.1052220-1-christophe.lyon@linaro.org
Headers show
Series aarch64: Clean warnings in libgcc | expand

Message

Christophe Lyon Oct. 3, 2024, 7:44 p.m. UTC
These patches fix several warnings which appeared when building libgcc
for aarch64.

* Patch 1 fixes a redefinition of macro 'L' in lse.S after a recent
  patch.

* Patch 2 adds prototypes to avoid a warning emitted because we build
  with -Wmissing-prototypes.

* Patch 3 adds support for -Werror in configure/Makefile, so that it
  will now be enabled when the top-level configure is invoked with
  --enable-werror, or when doing a bootstrap.  The patch only affects
  aarch64 to avoid breaking bootstrap for other architectures.

Thanks,

Christophe

Christophe Lyon (3):
  aarch64: libgcc: Cleanup warnings in lse.S
  aarch64: libgcc: add prototypes in cpuinfo
  aarch64: libgcc: Add -Werror support

 libgcc/Makefile.in              |  1 +
 libgcc/config/aarch64/cpuinfo.c |  2 ++
 libgcc/config/aarch64/lse.S     |  4 ++++
 libgcc/config/aarch64/t-aarch64 |  1 +
 libgcc/configure                | 31 +++++++++++++++++++++++++++++++
 libgcc/configure.ac             |  5 +++++
 6 files changed, 44 insertions(+)