nickysn
|
22a7dfa231
* stack segment moved outside of dgroup in the i8086 far data memory models, so
|
11 tahun lalu |
nickysn
|
2dc8839af5
* set class=data to all data segments/sections on i8086
|
11 tahun lalu |
sergei
|
c28271ab99
* NASM writer: don't force 'near' size for all non-far branches and calls, it disables NASM's capability to optimize branches into short form where possible, and thus only increases size of generated code.
|
11 tahun lalu |
nickysn
|
73d7f2aa18
* let the compiler generate the stack segment in i8086 near data memory models
|
11 tahun lalu |
nickysn
|
3cc8ff11e3
+ generate the stack segment for i8086 far data memory models from within fpc
|
11 tahun lalu |
nickysn
|
efb3cfcbc7
- don't write the default unit code section in the beginning of each asm file,
|
11 tahun lalu |
nickysn
|
597f110eb9
+ added support for units with code larger than 64kb in the far code i8086
|
11 tahun lalu |
florian
|
6fd98d604a
* compilation fixed
|
11 tahun lalu |
pierre
|
816dfa69c1
Avoid new line after lock prefix for nasm
|
11 tahun lalu |
pierre
|
e0744b9759
Fix section output for user section in smart mode
|
11 tahun lalu |
nickysn
|
17a8c03e41
* declare the group dgroup even in i8086 far data memory models
|
11 tahun lalu |
Jonas Maebe
|
80863a8361
* fixed warning/compilation
|
11 tahun lalu |
sergei
|
9c54cdc85d
* x86: Cleaned out addr_far,addr_far_ref used to encode far calls/jumps. NASM (and FPC x86 assembler based on it) already have opsize=S_FAR for this purpose.
|
11 tahun lalu |
sergei
|
f69e6ec389
* Some fixes to NASM writer:
|
11 tahun lalu |
nickysn
|
c00b56ae49
* added the -w-orphan-labels parameter to all tasminfo instances for nasm.
|
11 tahun lalu |
pierre
|
045f161012
Separate out nasm assembler for i8086, i386 and x86_64 cpus, also separte based on target object format
|
11 tahun lalu |
nickysn
|
39c54bf077
* handle ait_varloc in the nasm writer. This allows compiling the system unit
|
12 tahun lalu |
nickysn
|
2d45ea43af
* use the 'wait' prefix (on the same line as the instruction), instead of
|
12 tahun lalu |
nickysn
|
0020a2ed10
+ when targeting the i8087, emit FWAIT prefix manually for the 8087 instructions
|
12 tahun lalu |
nickysn
|
9f979eb5c6
* put the i8086-msdos dwarf debug sections in USE32 class=DWARF segments because
|
12 tahun lalu |
nickysn
|
e6a4435330
+ support the aitconst_XXbit_unaligned const types in the NASM asm writer. This
|
12 tahun lalu |
nickysn
|
661e11ecb8
* on i8086 added section .fpc to the group 'dgroup'. This fixes a bug that caused the bss section to not be left out from the executable in tiny model, which caused, ironically, tiny model executables to be larger than the small model executables
|
12 tahun lalu |
nickysn
|
f9d0caa7c7
* pass the option -w-orphan-labels to nasm to avoid the spurious warnings about labels without a trailing colon and without an instruction on the same line
|
12 tahun lalu |
nickysn
|
511b1f37c1
* write the segment of aitconst_farptr on a separate line to avoid long symbol truncation, due to line length limit; this fixes compilation of sysutils in the medium memory model
|
12 tahun lalu |
nickysn
|
9dbbffba61
+ added trefaddr.addr_seg for referencing the segment of a symbol
|
12 tahun lalu |
nickysn
|
e4a1230356
+ added support for far pointer constants in the assembly output
|
12 tahun lalu |
nickysn
|
604b7c9deb
+ added cg.a_call_ref_near and a_call_ref_far
|
12 tahun lalu |
nickysn
|
3631198b34
+ declare the text segment with class=code in the nasm header for far code memory models also
|
12 tahun lalu |
nickysn
|
9a6c242f97
+ emit proper far calls/jmps for addr_far in the nasm assembly output
|
12 tahun lalu |
nickysn
|
3280514d2b
* in i8086 far code models, put the code in a section called module_name+'_TEXT', so each unit gets a separate code segment
|
12 tahun lalu |