[fpc-devel] Nasm under FPC Go32v2
borsa77 at libero.it
borsa77 at libero.it
Thu Dec 28 23:13:29 CET 2006
Hi, I prepared some modifications for the 2.0.4 version to the ag386nsm.pas=
file which fixes the output of the strings (bug id 7210, but the patch in =
attachement now works against the old one) under this assembler, try the fo=
llowing code before and after its application with the command line <fpc -a=
l -Anasmcoff worldcrash.pas>:
program worldcrash;
begin
writeln('Hello, world!');
end.
These are the issues:
- substitution of the .rodata with the .data section;
- avoiding of a double assignement of the LastSecType by the WriteSection, =
cosmetic;
- correction of the #0 character with the db reserve operator and placing o=
f the string in a single line, it is possible to clean;
- insert of the global key for the label of the string;
- correction of the skip of near sections in the cutobject, not related wit=
h the actual problem.
Regards, Marco Borsari.
------------------------------------------------------
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada28dic06
-------------- next part --------------
A non-text attachment was scrubbed...
Name: =3D?iso-8859-1?Q?nasm.diff?=3D
Type: application/octet-stream
Size: 3790 bytes
Desc: not available
Url : http://lists.freepascal.org/lists/fpc-devel/attachments/20061228/17c9=
d420/iso-8859-1Qnasm.obj
More information about the fpc-devel
mailing list