This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] binutils/sstrip: mark as obsolete


# HG changeset patch
# User "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
# Date 1281555544 -7200
# Node ID a07dfd87957f1b58cc226a2e186815f282bc19fa
# Parent  72b3996ba3e66d20901682a2668e0b055495848e
binutils/sstrip: mark as obsolete

sstrip is causing more trouble and grief than tolerable.
It is broken at least on PPC. It does not build on non-ELF
systems (eg. mingw32, MacOS-X...). Plus, it is easy to
install.

Hide it behind OBSOLETE.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

diff --git a/config/binutils/sstrip.in b/config/binutils/sstrip.in
--- a/config/binutils/sstrip.in
+++ b/config/binutils/sstrip.in
@@ -1,17 +1,23 @@
 # Configuration file for sstrip tool facility
-# depends on ! BACKEND
+
+if OBSOLETE && ! BACKEND && ARCH_BINFMT_ELF
 
 comment "sstrip"
-    depends on ARCH_BINFMT_ELF
 
 config SSTRIP
     bool
-    prompt "sstrip"
-    depends on ARCH_BINFMT_ELF
+    prompt "sstrip (OBSOLETE)"
     help
       The sstrip utility, to maximise the striping of ELF binaries
       (executables and libraries).
       
-      Buildroot version, forked off the original from ELFkickers.  This one
-      is somewhat maintained by the buildroot guys.   
+      Buildroot version, forked off the original from ELFkickers.
+      This one is somewhat maintained by the buildroot guys.
       Supports big-endian systems.
+      
+      NOTE! Please read.
+        sstrip is now deprecated in crosstool-NG, as it has a few
+        shortcomings. For example: it breaks for PPC targets, it
+        does not build on non-ELF hosts (eg. mingw32, MacOS-X...).
+
+endif

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]