[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] windom and gcc4



Miro Kropacek wrote:
 if( ldg->close) (*ldg->close)();
       Mfree( ((BASPAG *)ldg->baspag)->p_env);
       Mfree( ldg->baspag);
       ldg->baspag = NULL;

Beware...
As all system calls, Mfree() will be inlined.
Does ldg->close() respect the GCC ABI, clobbering only d0/d1/a0/a1 ? I hope...

One should trace the assembler code for this to check everything is OK.

--
Vincent Rivière