OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [config/] [asmcfi.m4] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 722 jeremybenn
;; Cribbed from libffi
2
 
3
AC_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
])

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.