CVS commit: [netbsd-11] src/sys/arch/arm/include

"Martin Husemann" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	martin
Date:		Thu Apr  2 19:12:03 UTC 2026

Modified Files:
	src/sys/arch/arm/include [netbsd-11]: asm.h profile.h

Log Message:
Pull up following revision(s) (requested by skrll in ticket #230):

	sys/arch/arm/include/profile.h: revision 1.20
	sys/arch/arm/include/asm.h: revision 1.40
	sys/arch/arm/include/profile.h: revision 1.21
	sys/arch/arm/include/profile.h: revision 1.19

arm: fix profile support

gcc on arm has defaulted to arm/bpabi.h over arm/netbsd-elf.h since
external/gpl3/gcc/dist/gcc/config.gcc:1.70
date: 2021-06-15 09:22:23 +0100
which has meant that profiling expects __gnu_mcount_nc

This commit provides __gnu_mcount_nc and ditches non-EABI support (and
arm26 support)

Fix the armv4 builds
... but use the riht register for returns.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.39.2.1 src/sys/arch/arm/include/asm.h
cvs rdiff -u -r1.18 -r1.18.42.1 src/sys/arch/arm/include/profile.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.