From owner-svn-soc-all@FreeBSD.ORG Fri Aug 19 03:10:07 2011 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from socsvn.FreeBSD.org (unknown [IPv6:2001:4f8:fff6::2f]) by hub.freebsd.org (Postfix) with SMTP id 7EB511065672 for ; Fri, 19 Aug 2011 03:10:05 +0000 (UTC) (envelope-from xxp@FreeBSD.org) Received: by socsvn.FreeBSD.org (sSMTP sendmail emulation); Fri, 19 Aug 2011 03:10:05 +0000 Date: Fri, 19 Aug 2011 03:10:05 +0000 From: xxp@FreeBSD.org To: svn-soc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <20110819031005.7EB511065672@hub.freebsd.org> Cc: Subject: socsvn commit: r225256 - in soc2011/xxp/xxp-head: . sys/amd64/include X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2011 03:10:07 -0000 Author: xxp Date: Fri Aug 19 03:10:04 2011 New Revision: 225256 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=225256 Log: delete file log Deleted: soc2011/xxp/xxp-head/log Modified: soc2011/xxp/xxp-head/sys/amd64/include/asm.h Modified: soc2011/xxp/xxp-head/sys/amd64/include/asm.h ============================================================================== --- soc2011/xxp/xxp-head/sys/amd64/include/asm.h Fri Aug 19 02:37:13 2011 (r225255) +++ soc2011/xxp/xxp-head/sys/amd64/include/asm.h Fri Aug 19 03:10:04 2011 (r225256) @@ -59,25 +59,35 @@ #define _START_ENTRY .text; .p2align 4,0x90 #define _ENTRY(x) _START_ENTRY; \ - .globl CNAME(x); .type CNAME(x),@function; CNAME(x): + .globl CNAME(x); .type CNAME(x),@function; CNAME(x):; \ + cfi_startproc; #ifdef PROF #define ALTENTRY(x) _ENTRY(x); \ - pushq %rbp; movq %rsp,%rbp; \ + pushq %rbp;\ + cfi_adjust_cfa_offset(8); \ + movq %rsp,%rbp; \ + cfi_def_cfa_register(%rbp); \ call PIC_PLT(HIDENAME(mcount)); \ popq %rbp; \ + cfi_def_cfa(%rsp,4); \ jmp 9f #define ENTRY(x) _ENTRY(x); \ - pushq %rbp; movq %rsp,%rbp; \ + pushq %rbp; \ + cfi_adjust_cfa_offset(8); \ + movq %rsp,%rbp; \ + cfi_def_cfa_register(%rbp); \ call PIC_PLT(HIDENAME(mcount)); \ popq %rbp; \ + cfi_def_cfa(%rsp,4); \ 9: #else #define ALTENTRY(x) _ENTRY(x) #define ENTRY(x) _ENTRY(x) #endif -#define END(x) .size x, . - x +#define END(x) cfi_endproc; \ + .size x, . - x #define RCSID(x) .text; .asciz x