Re: is casting of function descriptor assignments for ia64 ONLY a good idea?

2002-01-03 Thread Keith Owens
On Wed, 2 Jan 2002 21:46:35 -0800, Piet/Pete Delaney <[EMAIL PROTECTED]> wrote: >SUMMARY: > > Keith Owens just pointed out that ia64 function descriptor assignments MUST be >cast: > >pointer = ((unsigned long *)(&my_printf))[0]) > >

Re: Calling functions via function descriptors saved with cast needed for ia64 code. Illegal Instruction.

2002-01-03 Thread Keith Owens
On Thu, 3 Jan 2002 00:18:33 -0800, Piet/Pete Delaney <[EMAIL PROTECTED]> wrote: >On Wed, Jan 02, 2002 at 09:46:35PM -0800, Piet/Pete Delaney wrote: >$2 = { > fprintf_func = 0x4006cfb0 , <-- Pointer to >function seems to be ok That is exactly what you are not supposed to do.