Re: [PATCH] fix zbarebox linking with new ld

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 06, 2019 at 07:12:13PM +0800, 张忠山 wrote:
> Signed-off-by: 张忠山 <zzs213@xxxxxxx>
> ---
>  arch/arm/pbl/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/pbl/Makefile b/arch/arm/pbl/Makefile
> index 347df6424..f897166e5 100644
> --- a/arch/arm/pbl/Makefile
> +++ b/arch/arm/pbl/Makefile
> @@ -31,7 +31,7 @@ $(obj)/zbarebox.S: $(obj)/zbarebox FORCE
>  	$(call if_changed,disasm)
>  
>  PBL_CPPFLAGS		+= -fdata-sections -ffunction-sections
> -LDFLAGS_zbarebox	:= -Map $(obj)/zbarebox.map --gc-sections
> +LDFLAGS_zbarebox	:= -Map $(obj)/zbarebox.map --gc-sections --no-dynamic-linker
>  ifdef CONFIG_PBL_RELOCATABLE
>  LDFLAGS_zbarebox += -pie
>  else
> -- 
> 2.20.1
> 
> 
> -- 
> Best Regards,
> zzs
> _______________________________________________
> barebox mailing list
> barebox@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/barebox

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux