[PowerPC] Save a dword in the powerpc64 signal trampoline

In r291668, an instruction was added to sigcode64.S without the nop pad at
the end being taken out.

Due to alignment, this means that a dword is being wasted on the shared
page for no reason.

Take out this nop, and add some comments while I'm here.

Reviewed by:	jhibbits
Sponsored by:	Tag1 Consulting, Inc.
Differential Revision:	https://reviews.freebsd.org/D23055
This commit is contained in:
Brandon Bergren 2020-01-17 23:41:35 +00:00
parent 2d482628aa
commit eabe020579
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356856

View File

@ -63,9 +63,13 @@ CNAME(sigcode64_elfv2):
addi 3,1,112+SF_UC /* restore sp, and get &frame->sf_uc */
li 0,SYS_sigreturn
sc /* sigreturn(scp) */
/*
* If we get back to here, it means sigreturn failed.
* As such, we are now stuck in the wrong context.
* Exit immediately without touching the stack.
*/
li 0,SYS_exit
sc /* exit(errno) */
nop /* align to doubleword */
endsigcode64:
.data