<div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">&gt; I don&#39;t understand this message. What do I need to put there in order to get the base address of TOC placed there?<br>
Perhaps DC.L TOC[TC0] - Data_Start + Data_Base_Address? Data_Start is the label that ends up at 0x00100000 and Data_Base_Address is 0x00100000. Haven&#39;t tested it.</blockquote><div><br></div><div>PPCAsm says that neither Data_Start nor Data_Base_Address are known so I&#39;m stuck for now.</div><div><br></div><div>I copied the TOC definition DC.L TOC[TC0] from transition vectors. It seems to emit the TOC base address just fine from inside a CSECT [DS] section. But the executable code is wrapped in a CSECT [PR] section so it doesn&#39;t work there as expected. TOC[TC0] seems to return an offset but I need the absolute address of TOC.</div><div><br></div><div>Where can I ask for help on this? Code examples are difficult to find, PPCAsm doc is brief and I&#39;m bad at reading between the lines...</div></div></div>