mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] fix zbarebox linking with new ld
@ 2019-03-06 11:12 张忠山
  2019-03-07  7:21 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: 张忠山 @ 2019-03-06 11:12 UTC (permalink / raw)
  To: barebox

Signed-off-by: 张忠山 <zzs213@126.com>
---
 arch/arm/pbl/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] fix zbarebox linking with new ld
  2019-03-06 11:12 [PATCH] fix zbarebox linking with new ld 张忠山
@ 2019-03-07  7:21 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2019-03-07  7:21 UTC (permalink / raw)
  To: 张忠山; +Cc: barebox

On Wed, Mar 06, 2019 at 07:12:13PM +0800, 张忠山 wrote:
> Signed-off-by: 张忠山 <zzs213@126.com>
> ---
>  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@lists.infradead.org
> 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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-07  7:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-06 11:12 [PATCH] fix zbarebox linking with new ld 张忠山
2019-03-07  7:21 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox