Browse Source

+ some code for PIC support added

florian 22 years ago
parent
commit
a8374188bc
1 changed files with 10 additions and 1 deletions
  1. 10 1
      rtl/i386/i386.inc

+ 10 - 1
rtl/i386/i386.inc

@@ -21,6 +21,12 @@
                                Primitives
                                Primitives
 ****************************************************************************}
 ****************************************************************************}
 
 
+function geteipasebx : pointer;assembler;[public,alias:'FPC_GETEIPINEBX'];
+asm
+  movl (%esp),%ebx
+  ret
+end;
+
 {$define FPC_SYSTEM_HAS_MOVE}
 {$define FPC_SYSTEM_HAS_MOVE}
 procedure Move(const source;var dest;count:longint);assembler;
 procedure Move(const source;var dest;count:longint);assembler;
 var
 var
@@ -1313,7 +1319,10 @@ end;
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.47  2003-09-14 11:34:13  peter
+  Revision 1.48  2003-10-14 00:57:48  florian
+    + some code for PIC support added
+
+  Revision 1.47  2003/09/14 11:34:13  peter
     * moved int64 asm code to int64p.inc
     * moved int64 asm code to int64p.inc
     * save ebx,esi
     * save ebx,esi