Jivin Mike Frysinger lays it down ...
> Since the nios2 port is the only one to use the get_gp_value() function,
> stick it behind a TARGET_nios2 ifdef.
> 
> Signed-off-by: Mike Frysinger <vap...@gentoo.org>

Applied,

Thanks,
Davidm


> ---
>  elf2flt.c |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git a/elf2flt.c b/elf2flt.c
> index a950ff7..9ff0299 100644
> --- a/elf2flt.c
> +++ b/elf2flt.c
> @@ -281,6 +281,7 @@ get_symbol_offset(char *name, asection *sec, asymbol 
> **symbol_table, long number
>  
>  
>  
> +#ifdef TARGET_nios2
>  long
>  get_gp_value(asymbol **symbol_table, long number_of_symbols)
>  {
> @@ -291,7 +292,8 @@ get_gp_value(asymbol **symbol_table, long 
> number_of_symbols)
>    }
>    return -1;
>  }
> - 
> +#endif
> +
>  
>  
>  int32_t
> -- 
> 1.6.2.5
> 
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
> 

-- 
David McCullough,  david_mccullo...@securecomputing.com,  Ph:+61 734352815
McAfee - SnapGear  http://www.snapgear.com                http://www.uCdot.org
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to