[rtems commit] bsp/pc386: Remove support for obsolete Binutils

Sebastian Huber sebh at rtems.org
Tue Sep 15 13:14:53 UTC 2020


Module:    rtems
Branch:    master
Commit:    2a4ccc4f8d699ac87cfa057ec887855377d702c1
Changeset: http://git.rtems.org/rtems/commit/?id=2a4ccc4f8d699ac87cfa057ec887855377d702c1

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Sep 15 15:07:25 2020 +0200

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 024c1f7..3f947b2 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 <bspopts.h>
-
 /*---------------------------------------------------------------------------+
 | 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:



More information about the vc mailing list