summaryrefslogtreecommitdiffstats
path: root/rules/host-patchelf.in
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2019-05-07 15:09:07 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-05-08 16:27:53 +0200
commitd6a7e45b8e4a1e59ba3a40592e21554f923c2404 (patch)
tree65269e8c0db826ee9c60a5292009b5553574792c /rules/host-patchelf.in
parente229cbcc5cc4f9d21ae128ab0e92e1b83684b8de (diff)
downloadptxdist-d6a7e45b8e4a1e59ba3a40592e21554f923c2404.tar.gz
ptxdist-d6a7e45b8e4a1e59ba3a40592e21554f923c2404.tar.xz
host-patchelf: new package
PatchELF is a simple utility for modifying existing ELF executables and libraries. It comes handy when dealing with existing binary tools with strange NEEDED or without RUNPATH in the ELF header. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-patchelf.in')
-rw-r--r--rules/host-patchelf.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/rules/host-patchelf.in b/rules/host-patchelf.in
new file mode 100644
index 000000000..31c42953c
--- /dev/null
+++ b/rules/host-patchelf.in
@@ -0,0 +1,15 @@
+## SECTION=hosttools_noprompt
+## SECTION=hosttools_platform
+
+config HOST_PATCHELF
+ tristate
+ default y if ALLYES
+ help
+ PatchELF is a simple utility for modifying existing ELF
+ executables and libraries. In particular, it can do the
+ following:
+ * Change the dynamic loader ("ELF interpreter") of
+ executables
+ * Change the RPATH of executables and libraries
+ * Remove declared dependencies on dynamic libraries
+ (DT_NEEDED entries)