Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2007-06

Nasm under FPC

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

I reapplyied the old patch for the ag386nsm.pas file (bug id 7210: which fixes the output of the strings) to the trunk branch, you can find it in attachement. I tested it under Go32v2 with the following code before and after its application, using the command line <fpc -Anasmcoff world.pas>:

program world;
begin
writeln('Hello, world!');
end.
These are the issues:
1) substitution of the .rodata with the .data section;
2) avoiding of a double assignement of the LastSecType in the ait_section:;
3) correction of the #0 character - with the db reserve operator, and placing
of the string in a single line;
4) insert of the global key for the label of the string for the r/o section;
Regards, Marco Borsari.

The following section of this message contains a file attachment prepared for transmission using the Internet MIME message format. If you are using Pegasus Mail, or any other MIME-compliant system, you should be able to save it or view it from within your mailer. If you cannot, please ask your system administrator for assistance.

---- File information -----------
File: nasm.diff
Date: 13 Jun 2007, 12:49
Size: 2868 bytes.
Type: Unknown

Reply by email