RE: [Linux-ia64] [Patch] Fix in process.c

From: Siddha, Suresh B <suresh.b.siddha_at_intel.com>
Date: 2003-01-18 14:39:13
> 
> >>>>> On Fri, 17 Jan 2003 19:04:55 -0800, "Siddha, Suresh B" 
> <suresh.b.siddha@intel.com> said:
> 
>   Suresh> hi David, Type of "ia64_ret_from_clone" is declared
>   Suresh> differently here(char as against function) and we end up
>   Suresh> linking object files with different types for the
>   Suresh> symbol(which the linker will not like).
> 
>   Suresh> Current C-code is assuming gcc specific behaviour(gcc does
>   Suresh> not fix the type for extern variables, leaves it to the
>   Suresh> linker).
> 
> I understand that.  What I'm saying is that GCC does the sane thing.
> There's got to be a way to get the address of a label without having
> to materialize a function pointer.
> 
> 	--david
> 

We can do that through the linker script vmlinux.lds.S.

thanks,
suresh
Received on Fri Jan 17 19:39:16 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:11 EST