aboutsummaryrefslogtreecommitdiff
path: root/system/prelink/README
diff options
context:
space:
mode:
authorOzan Türkyılmaz <ozan.turkyilmaz@gmail.com>2011-01-01 12:05:52 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-01-02 00:27:36 -0600
commitf9e5f10b3219cbe7cf9a2dbce9ae0194b2e9facf (patch)
tree9da2c28330e8a8fdc7b15a80cce5abfbcf44f3e3 /system/prelink/README
parentbee81b221f3034142a27f0678bf83fe5b6491bfa (diff)
system/prelink: Miscellaneous build fixes.
Added two helper scripts and a warning in the README. Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/prelink/README')
-rw-r--r--system/prelink/README33
1 files changed, 22 insertions, 11 deletions
diff --git a/system/prelink/README b/system/prelink/README
index f55bdb00ab474..8eaeeb26ab28d 100644
--- a/system/prelink/README
+++ b/system/prelink/README
@@ -1,13 +1,24 @@
-Prelink is a program that modifies ELF shared libraries and ELF dynamically
-linked binaries in such a way that the time needed for the dynamic linker to
-perform relocations at startup significantly decreases. Due to fewer
-relocations, the run-time memory consumption decreases as well (especially
-the number of unshareable pages). The prelinking information is only used
-at startup time if none of the dependent libraries have changed since
-prelinking; otherwise, programs are relocated normally.
+Prelink is a program that modifies ELF shared libraries and ELF
+dynamically linked binaries in such a way that the time needed for
+the dynamic linker to perform relocations at start-up significantly
+decreases. Due to fewer relocations, the run-time memory consumption
+decreases as well (especially the number of unsharable pages). The
+prelinking information is only used at start-up time if none of the
+dependent libraries have changed since prelinking; otherwise programs
+are relocated normally.
-There is a script in the prelink documentation directory that is suitable
-for a cron job. Before setting up a cron job, first run prelink on the
-system and then read the script and modify it as needed.
+This requires libelf which is available from slackbuilds.org.org
-This requires libelf.
+There's a script for prelink suitable for a cron job which can be found
+at /usr/doc/prelink-$VERSION. Before setting up a cron job, First run
+prelink on the system then read script and modify it if you think it's
+needed.
+
+WARNING: Non-prelinked binaries may cause SEGFAULT in prelinked
+systems using prelinked libraries. If some programs crashes with
+SEGFAULT while calling system libraries then run prelink on the
+programs in question. The prelink-all script ,which can be found in
+/usr/doc/prelink-$VERSION, can be used to prelink all system as a root.
+In same place as prelink-all script, there is a prelink-undo script to
+undo prelink system wide. Run it as root and it will undo the prelink
+system wide.