Skip to content

Instantly share code, notes, and snippets.

@hraban
Created July 2, 2012 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hraban/3033687 to your computer and use it in GitHub Desktop.
Save hraban/3033687 to your computer and use it in GitHub Desktop.
.file "test.c"
.text
.p2align 4,,15
.globl my_test
.type my_test, @function
my_test:
.LFB11:
.cfi_startproc
subq $8, %rsp
.cfi_def_cfa_offset 16
call func1
call func1
addq $8, %rsp
ret
.cfi_endproc
.LFE11:
.size my_test, .-my_test
.ident "GCC: (Debian 4.4.5-8) 4.4.5"
.section .note.GNU-stack,"",@progbits
#include "NS.h"
int
my_test(void)
{
NS.func1();
func1();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment