summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHenrik Gramner <henrik@gramner.com>2016-01-18 00:21:50 +0100
committerAnton Khirnov <anton@khirnov.net>2016-01-23 20:44:25 +0100
commit002c47798da0c43a053822c8041144798d49ed84 (patch)
tree1c37928a611f921b4d696442aae84a851f80aa76 /tests
parentfd6ecac38eb382d1ed41c2ceafa052a3eb6593fc (diff)
x86inc: Avoid creating unnecessary local labels
The REP_RET workaround is only needed on old AMD cpus, and the labels clutter up the symbol table and confuse debugging/profiling tools, so use EQU to create SHN_ABS symbols instead of creating local labels. Furthermore, skip the workaround completely in functions that definitely won't run on such cpus. Note that EQU is just creating a local label when using nasm instead of yasm. This is probably a bug, but at least it doesn't break anything. Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions