summaryrefslogtreecommitdiff
path: root/packages/glibc-ports/2.13/630-mips_shn_undef-hack.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-08-24 23:24:09 (GMT)
committerGitHub <noreply@github.com>2017-08-24 23:24:09 (GMT)
commit1b3ed29eb9add1b9bc9773fe2565cc5af09810a8 (patch)
tree1a2693774071358985340fbbc70c3fb4fc5ba928 /packages/glibc-ports/2.13/630-mips_shn_undef-hack.patch
parent8e8417226d5cdd90896df2c585ad03a995e5e9a1 (diff)
parent961ea1938204e4fc9199c2ff5933caaa1e3d0710 (diff)
Merge pull request #810 from stilor/fix-patching-ports
Fix patching ports
Diffstat (limited to 'packages/glibc-ports/2.13/630-mips_shn_undef-hack.patch')
-rw-r--r--packages/glibc-ports/2.13/630-mips_shn_undef-hack.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/packages/glibc-ports/2.13/630-mips_shn_undef-hack.patch b/packages/glibc-ports/2.13/630-mips_shn_undef-hack.patch
deleted file mode 100644
index 791d76c..0000000
--- a/packages/glibc-ports/2.13/630-mips_shn_undef-hack.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -durN glibc-2.13.orig/elf/dl-lookup.c glibc-2.13/elf/dl-lookup.c
---- glibc-2.13.orig/elf/dl-lookup.c 2009-03-30 23:14:32.000000000 +0200
-+++ glibc-2.13/elf/dl-lookup.c 2009-11-13 00:51:36.000000000 +0100
-@@ -301,6 +301,12 @@
- /* FALLTHROUGH */
- case STB_GLOBAL:
- success:
-+#ifdef __mips__
-+ /* HACK: MIPS marks its lazy evaluation stubs with SHN_UNDEF
-+ symbols, we skip them. */
-+ if (sym->st_shndx == SHN_UNDEF)
-+ break;
-+#endif
- /* Global definition. Just what we need. */
- result->s = sym;
- result->m = (struct link_map *) map;