Jivin Mike Frysinger lays it down ...
> From: Jie Zhang <jie.zh...@analog.com>
> 
> If there is no bss section, set bss_vma to the end of data.
> 
> Signed-off-by: Jie Zhang <jie.zh...@analog.com>
> Signed-off-by: Mike Frysinger <vap...@gentoo.org>

Applied,

Thanks,
Davidm

> ---
>  elf2flt.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/elf2flt.c b/elf2flt.c
> index 546305f..289d542 100644
> --- a/elf2flt.c
> +++ b/elf2flt.c
> @@ -2022,6 +2022,9 @@ int main(int argc, char *argv[])
>       exit(2);
>        }
>  
> +  if (bss_vma == ~0)
> +    bss_vma = data_vma + data_len;
> +
>    /* Put common symbols in bss.  */
>    bss_len += add_com_to_bss(symbol_table, number_of_symbols, bss_len);
>  
> -- 
> 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