svn commit: r329365 - head/sys/amd64/include
Konstantin Belousov
kib at FreeBSD.org
Fri Feb 16 13:32:47 UTC 2018
Author: kib
Date: Fri Feb 16 13:32:46 2018
New Revision: 329365
URL: https://svnweb.freebsd.org/changeset/base/329365
Log:
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
Modified:
head/sys/amd64/include/asmacros.h
Modified: head/sys/amd64/include/asmacros.h
==============================================================================
--- head/sys/amd64/include/asmacros.h Fri Feb 16 07:02:14 2018 (r329364)
+++ head/sys/amd64/include/asmacros.h Fri Feb 16 13:32:46 2018 (r329365)
@@ -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
More information about the svn-src-all
mailing list