Re: LEON2 and C++ exception handling

2017-08-14 Thread Chris Johns
On 14/08/2017 23:08, Mike Looijmans wrote: > > Bit of searching and comparing exectables reveiled that the ".eh_frame" > segment > was missing in the ROM images. Turned out to be a typo in the link script. > > And indeed, it works properly now. Thank you for your help! > There is also the 'rte

Re: LEON2 and C++ exception handling

2017-08-14 Thread Mike Looijmans
On 14-08-17 09:35, Chris Johns wrote: On 14/8/17 4:04 pm, Mike Looijmans wrote: On 12-08-17 03:29, Chris Johns wrote: On 11/8/17 10:14 pm, Mike Looijmans wrote: Is there maybe some other entry/register/variable that my boot code needs to pass to RTEMS? Exceptions need valid tables registere

Re: LEON2 and C++ exception handling

2017-08-14 Thread Chris Johns
On 14/8/17 4:04 pm, Mike Looijmans wrote: > On 12-08-17 03:29, Chris Johns wrote: >> On 11/8/17 10:14 pm, Mike Looijmans wrote: >>> Is there maybe some other >>> entry/register/variable that my boot code needs to pass to RTEMS? >> >> Exceptions need valid tables registered with the unwinder to work

Re: LEON2 and C++ exception handling

2017-08-13 Thread Mike Looijmans
On 12-08-17 03:29, Chris Johns wrote: On 11/8/17 10:14 pm, Mike Looijmans wrote: Is there maybe some other entry/register/variable that my boot code needs to pass to RTEMS? Exceptions need valid tables registered with the unwinder to work or you end up in the terminate call. The SPARC archit