summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2007-05-03 21:26:52 +0000
committerBenedikt Boehm <hollow@gentoo.org>2007-05-03 21:26:52 +0000
commitf9c033d1cbc8fd7e362094042aa8642969c495eb (patch)
tree7db8669c97b267f0938d4247f32673cf8c633383 /dev-libs/dietlibc/files
parentrerun the autotools stuff for newer versions of automake (bug #160238) (diff)
downloadhistorical-f9c033d1cbc8fd7e362094042aa8642969c495eb.tar.gz
historical-f9c033d1cbc8fd7e362094042aa8642969c495eb.tar.bz2
historical-f9c033d1cbc8fd7e362094042aa8642969c495eb.zip
add pre release for new SSP stuff; remove old cruft where possible
Package-Manager: portage-2.1.2.5
Diffstat (limited to 'dev-libs/dietlibc/files')
-rw-r--r--dev-libs/dietlibc/files/0.25-gcc34.patch93
-rw-r--r--dev-libs/dietlibc/files/digest-dietlibc-0.253
-rw-r--r--dev-libs/dietlibc/files/digest-dietlibc-0.293
-rw-r--r--dev-libs/dietlibc/files/digest-dietlibc-0.31_pre200705036
-rw-r--r--dev-libs/dietlibc/files/gcc-33.patch13
5 files changed, 6 insertions, 112 deletions
diff --git a/dev-libs/dietlibc/files/0.25-gcc34.patch b/dev-libs/dietlibc/files/0.25-gcc34.patch
deleted file mode 100644
index 1b66e0bfc087..000000000000
--- a/dev-libs/dietlibc/files/0.25-gcc34.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-diff -r -u dietlibc-0.24.orig/include/sys/cdefs.h dietlibc-0.24/include/sys/cdefs.h
---- dietlibc-0.24.orig/include/sys/cdefs.h 2003-10-08 02:44:25.000000000 +0300
-+++ dietlibc-0.24/include/sys/cdefs.h 2004-05-14 16:54:00.315533488 +0300
-@@ -62,5 +62,10 @@
- #define __attribute_dontuse__
- #define __deprecated__
- #endif
--
-+#ifdef __i386__
-+/* regparm exists only on i386 */
-+#define FASTCALL(n) __attribute__((regparm(n)))
-+#else
-+#define FASTCALL(n)
-+#endif
- #endif
-diff -r -u dietlibc-0.24.orig/lib/alloc.c dietlibc-0.24/lib/alloc.c
---- dietlibc-0.24.orig/lib/alloc.c 2003-11-07 19:22:33.000000000 +0200
-+++ dietlibc-0.24/lib/alloc.c 2004-05-14 16:56:57.104657456 +0300
-@@ -44,14 +44,8 @@
-
- /* a simple mmap :) */
-
--#ifdef __i386__
--/* regparm exists only on i386 */
--static void *do_mmap(size_t size) __attribute__((regparm(1)));
--static size_t get_index(size_t _size) __attribute__((regparm(1)));
--static void* __small_malloc(size_t _size) __attribute__((regparm(1)));
--#endif
-
--static void *do_mmap(size_t size) {
-+static FASTCALL(1) void *do_mmap(size_t size) {
- return mmap(0, size, PROT_READ|PROT_WRITE, MAP_ANONYMOUS|MAP_PRIVATE, -1, (size_t)0);
- }
-
-@@ -70,7 +64,7 @@
-
- static inline int __ind_shift() { return (MEM_BLOCK_SIZE==4096)?4:5; }
-
--static size_t get_index(size_t _size) {
-+static FASTCALL(1) size_t get_index(size_t _size) {
- register size_t idx=0;
- if (_size) {
- register size_t size=((_size-1)&(MEM_BLOCK_SIZE-1))>>__ind_shift();
-@@ -80,9 +74,7 @@
- }
-
- /* small mem */
--static void __small_free(void*_ptr,size_t _size) __attribute__((regparm(2)));
--
--static void __small_free(void*_ptr,size_t _size) {
-+static FASTCALL(2) void __small_free(void*_ptr,size_t _size) {
- __alloc_t* ptr=BLOCK_START(_ptr);
- size_t size=_size;
- size_t idx=get_index(size);
-@@ -93,7 +85,7 @@
- __small_mem[idx]=ptr;
- }
-
--static void* __small_malloc(size_t _size) {
-+static FASTCALL(1) void* __small_malloc(size_t _size) {
- __alloc_t *ptr;
- size_t size=_size;
- size_t idx;
-diff -r -u dietlibc-0.24.orig/libpthread/pthread_internal.c dietlibc-0.24/libpthread/pthread_internal.c
---- dietlibc-0.24.orig/libpthread/pthread_internal.c 2003-11-04 18:06:58.000000000 +0200
-+++ dietlibc-0.24/libpthread/pthread_internal.c 2004-05-14 16:59:44.030280904 +0300
-@@ -49,10 +49,7 @@
- static inline unsigned long hash_tid(int tid) { return (tid&(NR_BUCKETS-1)); }
-
- /* O(1) */
--#if defined(__i386__)
--static void __thread_add_tid_(_pthread_descr*root,_pthread_descr thread) __attribute__((regparm(2)));
--#endif
--static void __thread_add_tid_(_pthread_descr*root,_pthread_descr thread) {
-+static FASTCALL(2) void __thread_add_tid_(_pthread_descr*root,_pthread_descr thread) {
- _pthread_descr tmp=*root;
- thread->prev=root;
- thread->next=tmp;
-@@ -76,12 +73,12 @@
- /* find thread by thread-id O(n) (LOCK struct if found) */
- /* O(n*) linear to the number of thread in the same bucket */
- #if defined(__i386__)
--static _pthread_descr __thread_find_(int pid) __attribute__((regparm(1)));
-+static FASTCALL(1) _pthread_descr __thread_find_(int pid);
- _pthread_descr __thread_find(int pid) { return __thread_find_(pid); }
- #else
- _pthread_descr __thread_find(int pid) __attribute__((alias("__thread_find_")));
- #endif
--static _pthread_descr __thread_find_(int pid) {
-+static FASTCALL(1) _pthread_descr __thread_find_(int pid) {
- _pthread_descr cur;
- if (__thread_started==PTHREAD_ONCE_INIT) { /* uninitialised */
- LOCK(&_main_thread);
diff --git a/dev-libs/dietlibc/files/digest-dietlibc-0.25 b/dev-libs/dietlibc/files/digest-dietlibc-0.25
deleted file mode 100644
index 49d03ac0d4ea..000000000000
--- a/dev-libs/dietlibc/files/digest-dietlibc-0.25
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 a24c99d65b7443d17d0b15b74a1b39a0 dietlibc-0.25.tar.bz2 509606
-RMD160 8f6c301b524d5758697d875b5de16e9e0f6ba199 dietlibc-0.25.tar.bz2 509606
-SHA256 413bbd04d88cf13786df5073315eede915d658c52c960e11797e59c8b5072d53 dietlibc-0.25.tar.bz2 509606
diff --git a/dev-libs/dietlibc/files/digest-dietlibc-0.29 b/dev-libs/dietlibc/files/digest-dietlibc-0.29
deleted file mode 100644
index 5f0632090bbe..000000000000
--- a/dev-libs/dietlibc/files/digest-dietlibc-0.29
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 16d31dd7b5f9124e8ea8280c3f646e13 dietlibc-0.29.tar.bz2 555075
-RMD160 be78077abe892bbabeb38b30f430a5982e3c9c3b dietlibc-0.29.tar.bz2 555075
-SHA256 41df3b5d07d5de1dcf712eda3ddd27bc9843c9413e8cecefced09db873cf18db dietlibc-0.29.tar.bz2 555075
diff --git a/dev-libs/dietlibc/files/digest-dietlibc-0.31_pre20070503 b/dev-libs/dietlibc/files/digest-dietlibc-0.31_pre20070503
new file mode 100644
index 000000000000..2ea2fb878405
--- /dev/null
+++ b/dev-libs/dietlibc/files/digest-dietlibc-0.31_pre20070503
@@ -0,0 +1,6 @@
+MD5 16e695e032ea2c957f4227cb169ac2ca dietlibc-0.31_pre20070503.tar.bz2 564475
+RMD160 e8b3a8c5cc337f85104679bf920fe82d3ee115cc dietlibc-0.31_pre20070503.tar.bz2 564475
+SHA256 988e04fd628ed90b259e08489cd86e1fa705e83632a145bd05197935c9c9b7f9 dietlibc-0.31_pre20070503.tar.bz2 564475
+MD5 56487dbb8875bf8a2360228e3172f8fe dietlibc-patches-0.31_pre20070503.tar.bz2 26838
+RMD160 f3f85d514a117fb1b8e8f73801e1332b33f9224d dietlibc-patches-0.31_pre20070503.tar.bz2 26838
+SHA256 00aeabb7bb41807e577a1e08095270f5f660139b369d078ca8ee697ca6795012 dietlibc-patches-0.31_pre20070503.tar.bz2 26838
diff --git a/dev-libs/dietlibc/files/gcc-33.patch b/dev-libs/dietlibc/files/gcc-33.patch
deleted file mode 100644
index 1ff6127f24b1..000000000000
--- a/dev-libs/dietlibc/files/gcc-33.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- diet.c 2003-10-10 15:17:46.000000000 +0200
-+++ diet.c 2004-02-15 19:03:01.000000000 +0100
-@@ -26,8 +26,8 @@
-
- static const char* Os[] = {
- "i386","-Os","-mpreferred-stack-boundary=2",
-- "-malign-functions=1","-malign-jumps=1",
-- "-malign-loops=1","-fomit-frame-pointer",0,
-+ "-falign-functions","-falign-jumps",
-+ "-falign-loops","-fomit-frame-pointer",0,
- "x86_64","-Os","-fno-omit-frame-pointer",0,
- "sparc","-Os","-mcpu=supersparc",0,
- "sparc64","-Os","-m64",0,