<html><head><base href="x-msg://636/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div class="hmmessage" 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>