Go to file
Alan Modra 56e29facc4 [POWER10] __morestack calls from pcrel code
Compiling gcc/testsuite/gcc.dg/split-*.c and others with -mcpu=power10
and linking with a non-pcrel libgcc results in crashes due to the
power10 pcrel code not having r2 set for the generic-morestack.c
functions called from __morestack.  There is also a problem when
non-pcrel code calls a pcrel libgcc.  See the patch comments.

A similar situation theoretically occurs with ELFv1 multi-toc
executables, when __morestack might be located in a different toc
group to its caller.  This patch makes no attempt to fix that, since
the gold linker does not support multi-toc (gold is needed for proper
support of -fsplit-stack code) nor does gcc emit __morestack calls
that support multi-toc.

	* config/rs6000/morestack.S (R2_SAVE): Define.
	(__morestack): Save and restore r2.  Set up r2 for called
	functions.

(cherry picked from commit cd6ca96f5d)
2022-02-13 20:45:15 +10:30
config Daily bump. 2021-12-17 00:17:18 +00:00
contrib Daily bump. 2022-01-28 00:17:24 +00:00
fixincludes Update ChangeLog and version files for release 2021-04-08 11:56:48 +00:00
gcc [RS6000] Adjust gcc asm for power10 2022-02-13 20:45:15 +10:30
gnattools Update ChangeLog and version files for release 2021-04-08 11:56:48 +00:00
gotools Update ChangeLog and version files for release 2021-04-08 11:56:48 +00:00
include Update ChangeLog and version files for release 2021-04-08 11:56:48 +00:00
INSTALL
intl Daily bump. 2021-04-21 00:17:12 +00:00
libada Update ChangeLog and version files for release 2021-04-08 11:56:48 +00:00
libatomic Update ChangeLog and version files for release 2021-04-08 11:56:48 +00:00
libbacktrace Update ChangeLog and version files for release 2021-04-08 11:56:48 +00:00
libcc1 Update ChangeLog and version files for release 2021-04-08 11:56:48 +00:00
libcpp Daily bump. 2021-05-08 00:17:17 +00:00
libdecnumber Update ChangeLog and version files for release 2021-04-08 11:56:48 +00:00
libffi Update ChangeLog and version files for release 2021-04-08 11:56:48 +00:00
libgcc [POWER10] __morestack calls from pcrel code 2022-02-13 20:45:15 +10:30
libgfortran Daily bump. 2021-12-28 00:17:27 +00:00
libgo runtime: cast SIGSTKSZ to uintptr 2021-03-08 16:16:50 -08:00
libgomp Daily bump. 2021-05-07 00:17:21 +00:00
libhsail-rt Update ChangeLog and version files for release 2021-04-08 11:56:48 +00:00
libiberty Update ChangeLog and version files for release 2021-04-08 11:56:48 +00:00
libitm [RS6000] Adjust gcc asm for power10 2022-02-13 20:45:15 +10:30
libobjc Update ChangeLog and version files for release 2021-04-08 11:56:48 +00:00
liboffloadmic Update ChangeLog and version files for release 2021-04-08 11:56:48 +00:00
libphobos Daily bump. 2021-12-22 00:17:22 +00:00
libquadmath Update ChangeLog and version files for release 2021-04-08 11:56:48 +00:00
libsanitizer Daily bump. 2022-01-20 00:17:47 +00:00
libssp Update ChangeLog and version files for release 2021-04-08 11:56:48 +00:00
libstdc++-v3 Daily bump. 2022-01-06 00:17:23 +00:00
libvtv Update ChangeLog and version files for release 2021-04-08 11:56:48 +00:00
lto-plugin Update ChangeLog and version files for release 2021-04-08 11:56:48 +00:00
maintainer-scripts Daily bump. 2021-04-09 00:17:46 +00:00
zlib Update ChangeLog and version files for release 2021-04-08 11:56:48 +00:00
.dir-locals.el
.gitattributes Add *.md diff=md. 2020-01-15 14:29:53 +01:00
.gitignore Add .clang-tidy to git ignored. 2020-11-25 09:00:08 +01:00
ABOUT-NLS
ar-lib
ChangeLog Update ChangeLog and version files for release 2021-04-08 11:56:48 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in MSP430: Add -fno-exceptions multilib 2019-12-11 19:19:50 +00:00
config.guess Update config.sub and config.guess. 2019-09-09 11:14:32 +02:00
config.rpath
config.sub Update config.sub and config.guess. 2019-09-09 11:14:32 +02:00
configure configure: Fix in-tree building of GMP on BSD [PR97302] 2020-10-06 11:51:03 +02:00
configure.ac configure: Fix in-tree building of GMP on BSD [PR97302] 2020-10-06 11:51:03 +02:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4 Darwin : Update libtool and dependencies for Darwin20 [PR97865] 2021-01-03 09:15:55 +00:00
lt~obsolete.m4
ltgcc.m4
ltmain.sh Do not use HAVE_DOS_BASED_FILE_SYSTEM for Cygwin. 2020-04-17 09:22:51 +02:00
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS MAINTAINERS: add myself for write after approval 2020-04-22 09:39:44 +02:00
Makefile.def Merge top-level configury changes from gdb 2020-04-09 06:52:55 -06:00
Makefile.in Merge top-level configury changes from gdb 2020-04-09 06:52:55 -06:00
Makefile.tpl Makefile.tpl (HOST_EXPORTS): Add CXX_FOR_BUILD. 2019-08-23 15:37:22 -06:00
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
README
symlink-tree
test-driver
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.