diff options
author | Ned Ludd <solar@gentoo.org> | 2004-08-07 23:30:19 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2004-08-07 23:30:19 +0000 |
commit | 7c52e89716cf9dde2aacc8716d491da59aefa970 (patch) | |
tree | 2ef0dbba9c5831c6f5f473c3c759f5b35773335d /dev-libs/dietlibc/files/dietlibc-0.26-ssp.patch | |
parent | Typo in DESCRIPTION, #59717 (Manifest recommit) (diff) | |
download | gentoo-2-7c52e89716cf9dde2aacc8716d491da59aefa970.tar.gz gentoo-2-7c52e89716cf9dde2aacc8716d491da59aefa970.tar.bz2 gentoo-2-7c52e89716cf9dde2aacc8716d491da59aefa970.zip |
Made dietlibc propolice/ssp aware on arches sparc/sparc64/x86_64/i386. Also made feeble attempt to version bump to 0.27 but that failed something fierce
Diffstat (limited to 'dev-libs/dietlibc/files/dietlibc-0.26-ssp.patch')
-rw-r--r-- | dev-libs/dietlibc/files/dietlibc-0.26-ssp.patch | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/dev-libs/dietlibc/files/dietlibc-0.26-ssp.patch b/dev-libs/dietlibc/files/dietlibc-0.26-ssp.patch new file mode 100644 index 000000000000..865f133a5b52 --- /dev/null +++ b/dev-libs/dietlibc/files/dietlibc-0.26-ssp.patch @@ -0,0 +1,54 @@ +diff -Nrup dietlibc-0.26.orig/i386/start.S dietlibc-0.26/i386/start.S +--- dietlibc-0.26.orig/i386/start.S 2003-04-17 09:55:39.000000000 -0400 ++++ dietlibc-0.26/i386/start.S 2004-08-07 18:50:52.000000000 -0400 +@@ -50,7 +50,9 @@ _start: + PUT_VAR %edi, __vsyscall, %edx + 1: + #endif +- ++#ifdef __dietlibc__ ++ call __guard_setup ++#endif + #ifdef WANT_DYNAMIC + call _dyn_start + #else +diff -Nrup dietlibc-0.26.orig/sparc/start.S dietlibc-0.26/sparc/start.S +--- dietlibc-0.26.orig/sparc/start.S 2003-08-22 08:16:23.000000000 -0400 ++++ dietlibc-0.26/sparc/start.S 2004-08-07 18:55:26.000000000 -0400 +@@ -29,6 +29,9 @@ _start: + be NULL. */ + + /* Let libc do the rest of the initialization, and call main. */ ++#ifdef __dietlibc__ ++ call __guard_setup ++#endif + #ifdef WANT_DYNAMIC + call dyn_start + #else +diff -Nrup dietlibc-0.26.orig/sparc64/start.S dietlibc-0.26/sparc64/start.S +--- dietlibc-0.26.orig/sparc64/start.S 2003-08-22 08:16:23.000000000 -0400 ++++ dietlibc-0.26/sparc64/start.S 2004-08-07 18:55:36.000000000 -0400 +@@ -29,6 +29,9 @@ _start: + be NULL. */ + + /* Let libc do the rest of the initialization, and call main. */ ++#ifdef __dietlibc__ ++ call __guard_setup ++#endif + #ifdef WANT_DYNAMIC + call dyn_start + #else +diff -Nrup dietlibc-0.26.orig/x86_64/start.S dietlibc-0.26/x86_64/start.S +--- dietlibc-0.26.orig/x86_64/start.S 2003-02-05 09:29:19.000000000 -0500 ++++ dietlibc-0.26/x86_64/start.S 2004-08-07 18:52:39.000000000 -0400 +@@ -35,6 +35,10 @@ _start: + popq %rdi + #endif + ++#ifdef __dietlibc__ ++ call __guard_setup ++#endif ++ + #ifdef WANT_DYNAMIC + call _dyn_start + #else |