diff options
author | nickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2015-11-13 15:56:26 +0000 |
---|---|---|
committer | nickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2015-11-13 15:56:26 +0000 |
commit | 2d201d8eeefc5bdef254d107af4702f1e00c962b (patch) | |
tree | e8a8a8f06bd88f28260c88e33bd6d4971de15b65 /compiler/ogbase.pas | |
parent | 42e6fb0686e4aac2ad2be1d311adf32986d9e78a (diff) | |
download | fpc-2d201d8eeefc5bdef254d107af4702f1e00c962b.tar.gz |
* RELOC_ABSOLUTE32 made different than RELOC_ABSOLUTE on i8086 (and fixed all
the i8086 bugs, related to code that assumes that they are the same)
+ also added RELOC_RELATIVE32 on i8086
* RELOC_ABSOLUTE32 and RELOC_RELATIVE32 are not yet implemented in the OMF
object writer and linker (and currently produce an internal error), but will
be implemented in the future, as the OMF format supports both 16-bit and
32-bit relocations
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@32311 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/ogbase.pas')
-rw-r--r-- | compiler/ogbase.pas | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/ogbase.pas b/compiler/ogbase.pas index 0c30751a7c..acaabcdca6 100644 --- a/compiler/ogbase.pas +++ b/compiler/ogbase.pas @@ -67,6 +67,8 @@ interface RELOC_PLT32, {$endif i386} {$ifdef i8086} + RELOC_ABSOLUTE32, + RELOC_RELATIVE32, RELOC_FARPTR, RELOC_SEG, RELOC_SEGREL, @@ -102,7 +104,7 @@ interface RELOC_RAW ); -{$ifndef x86_64} +{$if not defined(x86_64) and not defined(i8086)} const RELOC_ABSOLUTE32 = RELOC_ABSOLUTE; {$endif x86_64} |