<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
<title></title>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
</head>
<body>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">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>:</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt"><br />
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">program world;</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">begin</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">writeln('Hello, world!');</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">end.</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt"><br />
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">These are the issues:</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">1) substitution of the .rodata with the .data section;</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">2) avoiding of a double assignement of the LastSecType in the ait_section:;</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">3) correction of the #0 character - with the db reserve operator, and placing
of the string in a single line;</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">4) insert of the global key for the label of the string for the r/o section;</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Regards, Marco Borsari.</span></font></div>
</body>
</html>