git: pg: Add missing dummy stack frames for mcount for x86_64.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Fri Jul 21 23:37:57 PDT 2017


commit b04b1f71ccd861598c290aad06bbeb3e71070f31
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sun Jul 2 13:41:19 2017 +0300

    pg: Add missing dummy stack frames for mcount for x86_64.
    
    Safer to do it in a single place than miss one in assembly function.
    Fixes segfaults for c++ runtime library with profiled libc(strcmp.S).
    
    Affects only -pg compilations.

Summary of changes:
 sys/cpu/x86_64/include/asm.h | 4 ++++
 1 file changed, 4 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b04b1f71ccd861598c290aad06bbeb3e71070f31


-- 
DragonFly BSD source repository


More information about the Commits mailing list