source: trunk/libs/newlib/src/config/asmcfi.m4 @ 564

Last change on this file since 564 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 474 bytes
RevLine 
[444]1;; Cribbed from libffi
2
3AC_DEFUN([GCC_AS_CFI_PSEUDO_OP],
4[AC_CACHE_CHECK([assembler .cfi pseudo-op support],
5    gcc_cv_as_cfi_pseudo_op, [
6    gcc_cv_as_cfi_pseudo_op=unknown
7    AC_TRY_COMPILE([asm (".cfi_startproc\n\t.cfi_endproc");],,
8                   [gcc_cv_as_cfi_pseudo_op=yes],
9                   [gcc_cv_as_cfi_pseudo_op=no])
10 ])
11 if test "x$gcc_cv_as_cfi_pseudo_op" = xyes; then
12    AC_DEFINE(HAVE_AS_CFI_PSEUDO_OP, 1,
13              [Define if your assembler supports .cfi_* directives.])
14 fi
15])
Note: See TracBrowser for help on using the repository browser.