CVS commit: src/external/gpl3/gcc/dist/gcc/config/arm

"Kalvis Duckmanton" <[email protected]> Thu, 6 Aug 2026 04:29:14 +0000
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	kalvisd
Date:		Thu Aug  6 04:29:14 UTC 2026

Modified Files:
	src/external/gpl3/gcc/dist/gcc/config/arm: arm.cc arm.h arm.md

Log Message:
gcc/arm: For -mtp=soft, ensure stack alignment in leaf functions using
thread local storage.

For each function compiled, record whether it accesses thread-local
storage.  When laying out the stack frame for a leaf function, if the
function needs to use a C runtime subroutine to retrieve the thread
pointer, make sure that the stack pointer is aligned appropriately.

PR lib/57638: thread local storage broken on evbarm (armv5)

Upstream bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126394

ok skrll@ riastradh@


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/dist/gcc/config/arm/arm.cc
cvs rdiff -u -r1.26 -r1.27 src/external/gpl3/gcc/dist/gcc/config/arm/arm.h
cvs rdiff -u -r1.23 -r1.24 src/external/gpl3/gcc/dist/gcc/config/arm/arm.md

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.