Use local symbol for offset.

Small global symbols confuse ddb which matches them against small
unrelated displacements and makes the disassembly ugly.

Reported by:	bde
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2018-02-16 13:32:46 +00:00
parent 7b394c1066
commit 13cad9af82

View File

@ -175,11 +175,11 @@
.endm
.macro MOVE_STACKS qw
offset=0
.L.offset=0
.rept \qw
movq offset(%rsp),%rdx
movq %rdx,offset(%rax)
offset=offset+8
movq .L.offset(%rsp),%rdx
movq %rdx,.L.offset(%rax)
.L.offset=.L.offset+8
.endr
.endm