-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
glibc/*.patch: revert no-op changes done in 447edaa
I suppose the diff of the glibc-upgrade branch is a bit cleaner without including these unnecessary changes.
- Loading branch information
Showing
6 changed files
with
58 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
pkgs/development/libraries/glibc/dont-use-system-ld-so-preload.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From d9e6dd5631c8d97fd2d3128317c6352e34bf3ca7 Mon Sep 17 00:00:00 2001 | ||
From 3288c6da64add3b4561b8c10fff522027caea01c Mon Sep 17 00:00:00 2001 | ||
From: Nicholas Miell <[email protected]> | ||
Date: Sat, 17 Jun 2017 18:21:07 -0700 | ||
Subject: [PATCH] Align the stack on entry to __tls_get_addr() | ||
|
@@ -17,20 +17,19 @@ engine and available for purchase on Steam. | |
1 file changed, 4 insertions(+) | ||
|
||
diff --git a/elf/dl-tls.c b/elf/dl-tls.c | ||
index b425d661..b02c2afa 100644 | ||
index 5aba33b3fa..3f3cb917de 100644 | ||
--- a/elf/dl-tls.c | ||
+++ b/elf/dl-tls.c | ||
@@ -818,6 +818,10 @@ rtld_hidden_proto (__tls_get_addr) | ||
@@ -827,6 +827,10 @@ rtld_hidden_proto (__tls_get_addr) | ||
rtld_hidden_def (__tls_get_addr) | ||
#endif | ||
|
||
+#ifdef __x86_64__ | ||
+/* Old versions of gcc didn't align the stack. */ | ||
+__attribute__((force_align_arg_pointer)) | ||
+#endif | ||
/* The generic dynamic and local dynamic model cannot be used in | ||
statically linked applications. */ | ||
void * | ||
-- | ||
2.17.1 | ||
|
||
-- | ||
2.13.0 |
5 changes: 3 additions & 2 deletions
5
pkgs/development/libraries/glibc/fix_path_attribute_in_getconf.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- a/sysdeps/unix/confstr.h | ||
+++ b/sysdeps/unix/confstr.h | ||
diff -ubr glibc-2.17-orig/sysdeps/unix/confstr.h glibc-2.17/sysdeps/unix/confstr.h | ||
--- glibc-2.17-orig/sysdeps/unix/confstr.h 2013-06-03 22:01:44.829726968 +0200 | ||
+++ glibc-2.17/sysdeps/unix/confstr.h 2013-06-03 22:04:39.469376740 +0200 | ||
@@ -1 +1 @@ | ||
-#define CS_PATH "/bin:/usr/bin" | ||
+#define CS_PATH "/run/current-system/sw/bin:/bin:/usr/bin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters