rust: arch/um: Use 'pie' relocation mode under UML
authorDavid Gow <davidgow@google.com>
Sat, 17 Dec 2022 04:44:34 +0000 (12:44 +0800)
committerRichard Weinberger <richard@nod.at>
Fri, 10 Feb 2023 20:27:32 +0000 (21:27 +0100)
commit905a77077573056d7af508f35373f66ed8b4a39e
treea2c95f825caf8f081b429e37d88b94770a726972
parentd5dbcfe7ee31ccea85a8cbf7ff84a2808d6c8f76
rust: arch/um: Use 'pie' relocation mode under UML

UML expects a position independent executable for some reason, so tell
rustc to generate pie objects. Otherwise we get a bunch of relocations
we can't deal with in libcore.

Signed-off-by: David Gow <davidgow@google.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/Makefile