<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
ok, well I got it to work. Using the new ability to loop over the data multiple<br>times easily in the backend. Though the frontend or middle end could make the transform,<br>if all backends want the data in a better order.<br><br> - Jay<br><br><hr id="stopSpelling">From: hosking@cs.purdue.edu<br>Date: Fri, 19 Nov 2010 09:43:03 -0500<br>To: jay.krell@cornell.edu<br>CC: m3devel@elegosoft.com<br>Subject: Re: [M3devel] bind_segment vs. declare_segment?<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">declare_segment doesn't have the size because it is unknown at the time of the declaration, which comes before the module is compiled.<div>Only as the module is compiled does the size become known, with Bind_segment emitted at the end.<br><div><br>
<br><div><div>On Nov 19, 2010, at 5:01 AM, Jay K wrote:</div><br class="ecxApple-interchange-newline"><blockquote><span class="ecxApple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;"><div class="ecxhmmessage" style="font-size: 10pt; font-family: Tahoma;">I'm not looking at m3front. I should.<br><br>Why does declare_segment not have the size?<br><br>I'm going to just live with whatever the frontend does for now.<br>Make an extra pass to find the bind_segments, so that when<br>I do things "for real", declare_segment can set the size correctly.<br><br>Later I'll do better -- making the segment contain fields.<br>So that globals become debuggable, in stock gdb (as big records).<br><br>But first I want configure enable-checking to work.<br>(with one exception, the static link stuff..)<br><br> - Jay<br><br><br><br><br></div></span></blockquote></div><br></div></div> </body>
</html>