Date: Fri, 9 Nov 2018 19:16:01 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r340298 - head/sys/arm/freescale/imx Message-ID: <201811091916.wA9JG1Xl052972@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811091916.wA9JG1Xl052972>