remove unneded patches for uClibc

This commit is contained in:
Stephan Raue 2009-08-05 18:54:45 +02:00
parent 4f5cea59cb
commit cc306e637e
2 changed files with 0 additions and 53 deletions

View File

@ -1,26 +0,0 @@
* When DEBUG=yes in config/options, allows creation of the file
/dlsym.log which contains all the symbols from libraries that
are accessed via dlopen()/dlsym()/dlclose() procedure (and so
the symbols are not directly accessible from the resulting binary).
Intended use is to create a file which can be sort|uniq'd into an
alphabetically-ordered list, so that libstrip can be used on those
libraries that are used by programs that use dlsym(), without
stripping out required symbols.
--- uClibc/ldso/libdl/libdl.c 2007-02-05 03:01:12.000000000 +0900
+++ uClibc/ldso/libdl/libdl.c 2007-02-05 03:05:10.000000000 +0900
@@ -406,6 +406,13 @@
#else
const char *name2 = name;
#endif
+#ifdef _DLSYM_TRACE_NAME
+ FILE *log = fopen("/dlsym.log", "a");
+
+ fprintf(log, "%s\n", name);
+ fflush(log);
+ fclose(log);
+#endif
handle = (struct dyn_elf *) vhandle;
/* First of all verify that we have a real handle

View File

@ -1,27 +0,0 @@
From 02b53aad4c970408cab2b76408dbac85e08f8ae9 Mon Sep 17 00:00:00 2001
From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Date: Sat, 01 Aug 2009 09:21:52 +0000
Subject: ioperm is not used internally, remove hidden_proto
Without a hidden_def we'd end up with __GI_ioperm which is wrong.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---
diff --git a/libc/sysdeps/linux/common/ioperm.c b/libc/sysdeps/linux/common/ioperm.c
index 64fc647..bca2fff 100644
--- a/libc/sysdeps/linux/common/ioperm.c
+++ b/libc/sysdeps/linux/common/ioperm.c
@@ -13,8 +13,10 @@
/* psm: can't #include <sys/io.h>, some archs miss it */
extern int ioperm(unsigned long __from, unsigned long __num, int __turn_on) __THROW;
+/* Not needed internally;
libc_hidden_proto(ioperm)
-
+*/
_syscall3(int, ioperm, unsigned long, from, unsigned long, num, int, turn_on)
+/*libc_hidden_def(ioperm)*/
#endif
--
cgit v0.8.2.1