Added new autoconf test for i386 code16/code32 support. The guts of the

test were suggested by Ian Taylor <ian@airs.com> and Joel did the
hard part of putting it in aclocal and editting all the offending
Makefiles and source code which could use this feature.
This commit is contained in:
Joel Sherrill
1998-09-30 20:58:39 +00:00
parent 2405b76726
commit 2c3840b563
8 changed files with 241 additions and 130 deletions

View File

@@ -7,6 +7,7 @@ srcdir = @srcdir@
VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
RTEMS_GAS_CODE16 = @RTEMS_GAS_CODE16@
PGMS=${ARCH}/start.o
@@ -32,7 +33,9 @@ include $(RTEMS_ROOT)/make/leaf.cfg
# (OPTIONAL) Add local stuff here using +=
#
DEFINES +=
ifeq ($(RTEMS_GAS_CODE16),yes)
DEFINES += -DNEXT_GAS
endif
CPPFLAGS +=
CFLAGS +=

View File

@@ -40,12 +40,9 @@ changes:
#include "80386ex.inc"
/*
* Needed for binutils 2.9.1.0.7 and higher
* #define NEXT_GAS
* NEXT_GAS Needed for binutils 2.9.1.0.7 and higher
*/
#define NEXT_GAS
EXTERN (boot_card) /* exits to bspstart */
EXTERN (stack_start) /* defined in startup/linkcmds */
EXTERN (Clock_exit)

View File

@@ -37,7 +37,7 @@ include $(RTEMS_ROOT)/make/leaf.cfg
#
#DEFINES += -DPRINTON
DEFINES += -I$(srcdir)
DEFINES += -I$(srcdir)
CPPFLAGS +=
CFLAGS += -g

View File

@@ -7,6 +7,7 @@ srcdir = @srcdir@
VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
RTEMS_GAS_CODE16 = @RTEMS_GAS_CODE16@
PGMS=${ARCH}/start.o ${ARCH}/start16.bin
@@ -32,7 +33,9 @@ include $(RTEMS_ROOT)/make/leaf.cfg
# (OPTIONAL) Add local stuff here using +=
#
DEFINES +=
ifeq ($(RTEMS_GAS_CODE16),yes)
DEFINES += -DNEXT_GAS
endif
CPPFLAGS +=
CFLAGS +=