Reflect -fasynchronous-unwind-tables GCC default on POWER (#1550914)

This commit is contained in:
Florian Weimer 2018-05-02 11:55:12 +02:00
parent 6b620c91fb
commit f25f1b7627
3 changed files with 11 additions and 11 deletions

View File

@ -259,15 +259,12 @@ not), but their selection depends on the architecture:
handlers. It also makes performance and debugging tools more handlers. It also makes performance and debugging tools more
useful because unwind information is available without having to useful because unwind information is available without having to
install (and load) debugging ienformation. install (and load) debugging ienformation.
Asynchronous unwind tables are enabled for aarch64, i686, s390x, Asynchronous unwind tables are enabled for aarch64, i686, ppc64,
and x86_64. They are not needed on armhfp, ppc64 and ppc64le due ppc64le, s390x, and x86_64. They are not needed on armhfp due to
to architectural differences in stack management. On these architectural differences in stack management. On these
architectures, `-fexceptions` (see above) still enables regular architectures, `-fexceptions` (see above) still enables regular
unwind tables (or they are enabled by default even without this unwind tables (or they are enabled by default even without this
option). option).
* `-funwind-tables`: A subset of the unwind information restricted
to actual call sites. Used on ppc64, ppc64le. Also implied by
`-fexceptions`.
In addition, `redhat-rpm-config` re-selects the built-in default In addition, `redhat-rpm-config` re-selects the built-in default
tuning in the `gcc` package. These settings are: tuning in the `gcc` package. These settings are:

View File

@ -6,7 +6,7 @@
Summary: Red Hat specific rpm configuration files Summary: Red Hat specific rpm configuration files
Name: redhat-rpm-config Name: redhat-rpm-config
Version: 109 Version: 110
Release: 1%{?dist} Release: 1%{?dist}
# No version specified. # No version specified.
License: GPL+ License: GPL+
@ -184,6 +184,9 @@ install -p -m 755 -t %{buildroot}%{_rpmconfigdir} kmod.prov
%{_rpmconfigdir}/macros.d/macros.kmp %{_rpmconfigdir}/macros.d/macros.kmp
%changelog %changelog
* Wed May 2 2018 Florian Weimer <fweimer@redhat.com> - 110-1
- Reflect -fasynchronous-unwind-tables GCC default on POWER (#1550914)
* Wed May 2 2018 Florian Weimer <fweimer@redhat.com> - 109-1 * Wed May 2 2018 Florian Weimer <fweimer@redhat.com> - 109-1
- Use plain -fcf-protection compiler flag, without -mcet (#1570823) - Use plain -fcf-protection compiler flag, without -mcet (#1570823)

8
rpmrc
View File

@ -24,12 +24,12 @@ optflags: sparc64v %{__global_compiler_flags} -m64 -mcpu=niagara
optflags: m68k %{__global_compiler_flags} optflags: m68k %{__global_compiler_flags}
optflags: ppc %{__global_compiler_flags} -m32 -funwind-tables optflags: ppc %{__global_compiler_flags} -m32 -fasynchronous-unwind-tables
optflags: ppciseries %{__global_compiler_flags} -m32 optflags: ppciseries %{__global_compiler_flags} -m32
optflags: ppcpseries %{__global_compiler_flags} -m32 optflags: ppcpseries %{__global_compiler_flags} -m32
optflags: ppc64 %{__global_compiler_flags} -m64 -funwind-tables -fstack-clash-protection optflags: ppc64 %{__global_compiler_flags} -m64 -fasynchronous-unwind-tables -fstack-clash-protection
optflags: ppc64p7 %{__global_compiler_flags} -m64 -O3 -mcpu=power7 -mtune=power7 -funwind-tables -fstack-clash-protection optflags: ppc64p7 %{__global_compiler_flags} -m64 -O3 -mcpu=power7 -mtune=power7 -fasynchronous-unwind-tables -fstack-clash-protection
optflags: ppc64le %{__global_compiler_flags} -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection optflags: ppc64le %{__global_compiler_flags} -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection
optflags: ppc64iseries %{__global_compiler_flags} -m64 optflags: ppc64iseries %{__global_compiler_flags} -m64
optflags: ppc64pseries %{__global_compiler_flags} -m64 optflags: ppc64pseries %{__global_compiler_flags} -m64
optflags: ppc8260 %{__global_compiler_flags} -m32 optflags: ppc8260 %{__global_compiler_flags} -m32