<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 25, 2017 at 7:22 PM, Chris Johns <span dir="ltr"><<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 26/04/2017 10:19, Gedare Bloom wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
static void_func get_exception_handler(rtems_ve<wbr>ctor_number vector)<br>
{<br>
+ void **vbr;<br>
void_func *exception_table;<br>
<br>
- m68k_get_vbr(exception_table);<br>
+ m68k_get_vbr(vbr);<br>
+<br>
+ exception_table = (void_func *)vbr;<br>
<br>
</blockquote>
This looks strange. Can you achieve a similar effect with<br>
m68k_get_vbr( (void*)exception_table );<br>
<br>
</blockquote>
<br></span>
I think so. I prefer this.</blockquote><div><br></div><div>On this architectural variant, m68k_get_vbr() is a macro with an assignment.</div><div>This results in the LHS having a cast to get the destination which we had</div><div>to work through the code base removing during the gcc 3.4 days.</div><div><br></div><div>I tried it and it didn't work. YMMV</div><div><br></div><div>--joel</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888"><br>
<br>
Chris</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman<wbr>/listinfo/devel</a><br>
</div></div></blockquote></div><br></div></div>