From 2a4ccc4f8d699ac87cfa057ec887855377d702c1 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 15 Sep 2020 15:07:25 +0200 Subject: bsp/pc386: Remove support for obsolete Binutils Update #3818. --- bsps/i386/pc386/start/startAP.S | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/bsps/i386/pc386/start/startAP.S b/bsps/i386/pc386/start/startAP.S index 024c1f70fb..3f947b2a3a 100644 --- a/bsps/i386/pc386/start/startAP.S +++ b/bsps/i386/pc386/start/startAP.S @@ -35,9 +35,6 @@ * http://www.rtems.org/license/LICENSE. */ - -#include - /*---------------------------------------------------------------------------+ | Constants +----------------------------------------------------------------------------*/ @@ -49,13 +46,6 @@ .set HDROFF, 0x24 # offset into bin2boot header of start32 addr .set STACKOFF, 0x200-0x10 # offset to load into %esp, from start of image -/* #define NEW_GAS */ -#ifdef NEW_GAS - #define LJMPL ljmpl -#else - #define LJMPL ljmp -#endif - /*----------------------------------------------------------------------------+ | CODE section +----------------------------------------------------------------------------*/ @@ -95,7 +85,7 @@ setup_processor: movl %cr0, %eax orl $CR0_PE, %eax movl %eax, %cr0 # turn on protected mode - LJMPL $PROT_CODE_SEG, $start_32bit # flush prefetch queue, and reload %cs + ljmpl $PROT_CODE_SEG, $start_32bit # flush prefetch queue, and reload %cs .code32 start_32bit: -- cgit v1.2.3