aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mklibs/patches/006-uclibc_init.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mklibs/patches/006-uclibc_init.patch')
-rw-r--r--tools/mklibs/patches/006-uclibc_init.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/mklibs/patches/006-uclibc_init.patch b/tools/mklibs/patches/006-uclibc_init.patch
deleted file mode 100644
index 63b595607c..0000000000
--- a/tools/mklibs/patches/006-uclibc_init.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- a/src/mklibs
-+++ b/src/mklibs
-@@ -597,6 +597,11 @@ while 1:
- extra_post_obj.append(sysroot + libc_extras_dir + "/sofini.o")
- symbols.add(ProvidedSymbol('__dso_handle', None, None, True))
-
-+ if soname in ("libc.so.0"):
-+ symbols.add(ProvidedSymbol('__uClibc_init', None, None, True))
-+ symbols.add(ProvidedSymbol('__uClibc_fini', None, None, True))
-+ extra_flags.append("-Wl,-init,__uClibc_init")
-+
- map_file = find_pic_map(library)
- if map_file:
- extra_flags.append("-Wl,--version-script=" + map_file)