The Sun Studio's equivalent of GCC's
-ffreestanding -mcmodel=kernel -mno-red-zone
is
-xmodel=kernel
Sherry
On Sat, Feb 07, 2009 at 06:11:30PM -0800, Garrett D'Amore wrote:
> Andrew C. Henle wrote:
> >> Joachim Worringen wrote:
> >>
> >>> Greeting,
> >>>
> >>> using Sun cc (cc: Sun C
Andrew C. Henle wrote:
>> Joachim Worringen wrote:
>>
>>> Greeting,
>>>
>>> using Sun cc (cc: Sun C 5.9 SunOS_i386 Patch
>>>
>> 124868-01 2007/07/12), I
>>
>>> compile my kernel module with -fast. This results
>>>
>> in memset(9F) calls
>>
>>> appearing as _memset cal
> Joachim Worringen wrote:
> > Greeting,
> >
> > using Sun cc (cc: Sun C 5.9 SunOS_i386 Patch
> 124868-01 2007/07/12), I
> > compile my kernel module with -fast. This results
> in memset(9F) calls
> > appearing as _memset calls in the object file,
> which can not be resolved
> > on a SXCE 106 k
Sherry Moore wrote:
> Hi Piotr,
>
> We walk the stack from the base (thr.t_stkbase) to the top thr.t_stk
> one frame at a time (a frame is a frame pointer and a pc).
> struct rwindow {
> uintptr_t rw_fp;
> uintptr_t rw_pc;
> };
>
> If we can't reach the top