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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [aclocal/] [i386-gas-code16.m4] - Blame information for rev 609

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

Line No. Rev Author Line
1 30 unneback
dnl
2
dnl  $Id: i386-gas-code16.m4,v 1.2 2001-09-27 11:59:11 chris Exp $
3
dnl
4
 
5
dnl check for i386 gas supporting 16 bit mode
6
dnl     - binutils 2.9.1.0.7 and higher
7
 
8
AC_DEFUN(RTEMS_I386_GAS_CODE16,
9
[ if test "${target_cpu}" = "i386"; then
10
    AC_CACHE_CHECK([for 16 bit mode assembler support],
11
      rtems_cv_prog_gas_code16,
12
      [cat > conftest.s << EOF
13
         .code16
14
         data32
15
         addr32
16
         lgdt 0
17
EOF
18
      if AC_TRY_COMMAND($AS_FOR_TARGET -o conftest.o conftest.s); then
19
        rtems_cv_prog_gas_code16=yes
20
      else
21
        rtems_cv_prog_gas_code16=no
22
      fi])
23
    RTEMS_GAS_CODE16="$rtems_cv_prog_gas_code16"
24
  fi
25
  AC_SUBST(RTEMS_GAS_CODE16)
26
])
27
 

powered by: WebSVN 2.1.0

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