svn commit: r340298 - head/sys/arm/freescale/imx

Ed Maste emaste at FreeBSD.org
Fri Nov 9 19:16:02 UTC 2018


Author: emaste
Date: Fri Nov  9 19:16:01 2018
New Revision: 340298
URL: https://svnweb.freebsd.org/changeset/base/340298

Log:
  use -m ${LD_EMULATION} for binary->elf link invocation
  
  r306041 changed ld invocations for converting binary files to kernel
  ELF objects to pass -m, but missed bespoke ld invocations in a pair of
  arm file configs (one of which has since been removed).
  
  This is needed to support some external toolchains and lld.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/arm/freescale/imx/files.imx6

Modified: head/sys/arm/freescale/imx/files.imx6
==============================================================================
--- head/sys/arm/freescale/imx/files.imx6	Fri Nov  9 18:56:40 2018	(r340297)
+++ head/sys/arm/freescale/imx/files.imx6	Fri Nov  9 19:16:01 2018	(r340298)
@@ -64,7 +64,7 @@ sdma_fw.c				optional sdma_fw		\
 	clean		"sdma_fw.c"
 sdma-imx6q-to1.fwo			optional sdma_fw		\
 	dependency	"sdma-imx6q-to1.bin"				\
-	compile-with	"${LD} -b binary -d -warn-common -r -d -o ${.TARGET} sdma-imx6q-to1.bin" \
+	compile-with	"${LD} -m ${LD_EMULATION} -b binary -d -warn-common -r -d -o ${.TARGET} sdma-imx6q-to1.bin" \
 	no-implicit-rule						\
 	clean		"sdma-imx6q-to1.fwo"
 sdma-imx6q-to1.bin			optional sdma_fw		\


More information about the svn-src-all mailing list