diff options
author | Alexey Neyman <stilor@att.net> | 2017-12-02 23:30:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-02 23:30:38 (GMT) |
commit | d917a29865876b913fe2939ee2a0728145e8543a (patch) | |
tree | 4e048ed57988306696efa3c5b81a80d48030e913 /packages/glibc/2.12.1/0043-obstack-common.patch | |
parent | e832b9b220f90b11b893e2815ceb37ec2b708683 (diff) | |
parent | 98bc4decdeab1361bdc585c86591718fb08c8ffb (diff) |
Merge pull request #874 from stilor/renumber-update-patches
Renumber & update patches
Diffstat (limited to 'packages/glibc/2.12.1/0043-obstack-common.patch')
-rw-r--r-- | packages/glibc/2.12.1/0043-obstack-common.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/packages/glibc/2.12.1/0043-obstack-common.patch b/packages/glibc/2.12.1/0043-obstack-common.patch new file mode 100644 index 0000000..1993be2 --- /dev/null +++ b/packages/glibc/2.12.1/0043-obstack-common.patch @@ -0,0 +1,32 @@ +commit 39b1f6172a2f9ddc74a8f82d6e84dd13b22dbaf2 +Author: Peter Collingbourne <pcc@google.com> +Date: Wed May 15 20:28:08 2013 +0200 + + Move _obstack_compat out of common + + it is impossible to create an alias of a common symbol (as + compat_symbol does), because common symbols do not have a section or + an offset until linked. GNU as tolerates aliases of common symbols by + simply creating another common symbol, but other assemblers (notably + LLVM's integrated assembler) are less tolerant. + + 2013-05-15 Peter Collingbourne <pcc@google.com> + + * malloc/obstack.c (_obstack_compat): Add initializer. + - + +--- + malloc/obstack.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/malloc/obstack.c ++++ b/malloc/obstack.c +@@ -117,7 +117,7 @@ + /* A looong time ago (before 1994, anyway; we're not sure) this global variable + was used by non-GNU-C macros to avoid multiple evaluation. The GNU C + library still exports it because somebody might use it. */ +-struct obstack *_obstack_compat; ++struct obstack *_obstack_compat = 0; + compat_symbol (libc, _obstack_compat, _obstack, GLIBC_2_0); + # endif + # endif |