source: rtems/aclocal/i386-gas-code16.m4 @ 03d5706

4.104.114.84.9
Last change on this file since 03d5706 was 03d5706, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 12, 2000 at 12:52:12 PM

2000-09-12 Ralf Corsepius <corsepiu@…>

  • aclocal/enable-rtemsbsp.m4: Add RTEMS_ENABLE_BARE, AC_SUBST(BARE_CPU_MODEL),AC_SUBST(BARE_CPU_CFLAGS).
  • aclocal/i386-gas-code16.m4: AC_DEFINE NEW_GAS.
  • aclocal/target.m4: Cleanup comments
  • Automake/compile.am: Add DEFS support to keep building happy.
  • Property mode set to 100644
File size: 694 bytes
Line 
1dnl
2dnl  $Id$
3dnl
4
5dnl check for i386 gas supporting 16 bit mode
6dnl     - binutils 2.9.1.0.7 and higher
7
8AC_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
17EOF
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  AC_DEFINE_UNQUOTED(NEW_GAS,1,[if using 16 bit mode assembler support])
27])
28
Note: See TracBrowser for help on using the repository browser.