]> xenbits.xensource.com Git - people/royger/xen.git/commit
kconfig: detect LD implementation
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 2 May 2022 06:50:39 +0000 (08:50 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 2 May 2022 06:50:39 +0000 (08:50 +0200)
commitc70c4b624f85f7d4e28c70a804a0a3f20d73092b
treeeb1477625b129569d6b691f850b95164c9fe8e99
parent3c245bc3a2f0597e2da2d5e12b5a9372c9360cea
kconfig: detect LD implementation

Detect GNU and LLVM ld implementations. This is required for further
patches that will introduce diverging behaviour depending on the
linker implementation in use.

Note that LLVM ld returns "compatible with GNU linkers" as part of the
version string, so be on the safe side and use '^' to only match at
the start of the line in case LLVM ever decides to change the text to
use "compatible with GNU ld" instead.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Michal Orzel <michal.orzel@arm.com>
Acked-by: Julien Grall <jgrall@amazon.com>
xen/Kconfig