diff options
author | Conrad Meyer <cem@FreeBSD.org> | 2020-12-05 00:33:28 +0000 |
---|---|---|
committer | Conrad Meyer <cem@FreeBSD.org> | 2020-12-05 00:33:28 +0000 |
commit | 78599c32efed3247d165302a1fbe8d9203e38974 (patch) | |
tree | aaac03f469bc1e5e6145584338bb8ef7e3d55fd2 /lib/libc/powerpc64 | |
parent | ac4dd4cd957016b9c5b7897f3c70efdd4e306407 (diff) |
Add CFI start/end proc directives to arm64, i386, and ppc
Follow-up to r353959 and r368070: do the same for other architectures.
arm32 already seems to use its own .fnstart/.fnend directives, which
appear to be ARM-specific variants of the same thing. Likewise, MIPS
uses .frame directives.
Reviewed by: arichardson
Differential Revision: https://reviews.freebsd.org/D27387
Notes
Notes:
svn path=/head/; revision=368354
Diffstat (limited to 'lib/libc/powerpc64')
-rw-r--r-- | lib/libc/powerpc64/SYS.h | 6 | ||||
-rw-r--r-- | lib/libc/powerpc64/sys/cerror.S | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/powerpc64/SYS.h b/lib/libc/powerpc64/SYS.h index cc1c268adf29..9ca5af4b70ed 100644 --- a/lib/libc/powerpc64/SYS.h +++ b/lib/libc/powerpc64/SYS.h @@ -74,7 +74,8 @@ ENTRY(__sys_##name); \ addi %r1,%r1,48; \ ld %r0,16(%r1); \ mtlr %r0; \ - blr; + blr; \ +END(__sys_##name) #define RSYSCALL(name) \ .text; \ @@ -93,4 +94,5 @@ ENTRY(__sys_##name); \ addi %r1,%r1,48; \ ld %r0,16(%r1); \ mtlr %r0; \ - blr; + blr; \ +END(__sys_##name) diff --git a/lib/libc/powerpc64/sys/cerror.S b/lib/libc/powerpc64/sys/cerror.S index 515d7e541cab..3362c9fdf046 100644 --- a/lib/libc/powerpc64/sys/cerror.S +++ b/lib/libc/powerpc64/sys/cerror.S @@ -56,5 +56,6 @@ ENTRY_NOPROF(HIDENAME(cerror)) li %r3,-1 li %r4,-1 blr +END(HIDENAME(cerror)) .section .note.GNU-stack,"",%progbits |