4.104.114.84.95
Last change
on this file since ba748523 was
2e0fd427,
checked in by Joel Sherrill <joel.sherrill@…>, on 11/02/00 at 15:44:04
|
2000-11-02 Ralf Corsepius <corsepiu@…>
- aclocal/*: Replace with contents of macros/*.m4
- macros/: Remove.
- aclocal/ar-s.m4 aclocal/tool-prefix.m4: Remove.
- Makefile.am: Reflect changes to aclocal/ and macros/.
|
-
Property mode set to
100644
|
File size:
738 bytes
|
Line | |
---|
1 | dnl |
---|
2 | dnl $Id$ |
---|
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 "${host_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 -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 | if test x"${RTEMS_GAS_CODE16}" = x"yes"; |
---|
27 | then |
---|
28 | AC_DEFINE_UNQUOTED(NEW_GAS,1,[if using 16 bit mode assembler support]) |
---|
29 | fi |
---|
30 | ]) |
---|
31 | |
---|
Note: See
TracBrowser
for help on using the repository browser.