lkml.org 
[lkml]   [1996]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: objdump -k -q -o 0xC0100000 in 2.1.7
On Thu, 7 Nov 1996, Michael L. Galbraith wrote:

> I keep my system libs; libc, X-tree ... compiled with the latest/greatest
> experimental kernel headers for consistency sake. Yesterday, I recompiled
> libc-5.4.10 w. 2.1.7 headers. This broke everything net daemon wise (all).

=== Forwarded message follows ===

This is the patch for libc 5.4.11 which enables you to compile libc
5.4.11 under linux 2.1.x. It won't be needed for libc 5.4.12 or above.
The pre-compiled libc should run fine under linux 2.1.x.

H.J.
hjl@gnu.ai.mit.edu
--
Sun Nov 3 12:00:02 1996 H.J. Lu (hjl@gnu.ai.mit.edu)

* sysdeps/i386/hton.c: add support for linux 2.1.x.

Wed Oct 23 13:21:55 1996 Kars de Jong <jongk@cs.utwente.nl>

* sysdeps/linux/m68k/__brk.c:
* sysdeps/linux/m68k/__sbrk.c:
* sysdeps/pthreads/mit/linux/m68k/machdep.c: bug fixes.

Index: hton.c
===================================================================
RCS file: /home/work/cvs/linux/libc/sysdeps/i386/hton.c,v
retrieving revision 1.2
diff -c -r1.2 hton.c
*** linux/libc/sysdeps/i386/hton.c 1995/12/13 04:19:01 1.2
--- linux/libc/sysdeps/i386/hton.c 1996/11/03 19:55:06
***************
*** 1,5 ****
--- 1,13 ----
#include <ansidecl.h>
#include <netinet/in.h>
+ #ifdef __linux__
+ # include <linux/version.h>
+ # ifdef LINUX_VERSION_CODE
+ # if LINUX_VERSION_CODE >= 131328
+ # include <asm/byteorder.h>
+ # endif
+ # endif
+ #endif

#undef ntohl
#undef ntohs
--- linux/libc/sysdeps/linux/m68k/__brk.c~ Sat Oct 5 04:12:01 1996
+++ linux/libc/sysdeps/linux/m68k/__brk.c Wed Oct 23 13:15:31 1996
@@ -8,7 +8,7 @@

int __brk(void * end_data_seg)
{
- if (__init_brk (void) == 0)
+ if (__init_brk () == 0)
{
__asm__ volatile ("movel %2,%/d1\n\t"
"moveq %1,%/d0\n\t"
--- linux/libc/sysdeps/linux/m68k/__sbrk.c~ Sat Oct 5 04:12:01 1996
+++ linux/libc/sysdeps/linux/m68k/__sbrk.c Wed Oct 23 13:16:22 1996
@@ -9,7 +9,7 @@
void *
__sbrk(ptrdiff_t increment)
{
- if (__init_brk (void) == 0)
+ if (__init_brk () == 0)
{
register void * tmp asm ("%d1") = ___brk_addr+increment;
__asm__ volatile ("movel %1,%/d0\n\t"
--- linux/libc/sysdeps/pthreads/mit/linux/m68k/machdep.c~ Sat Oct 5 04:12:02 1996
+++ linux/libc/sysdeps/pthreads/mit/linux/m68k/machdep.c Wed Oct 23 13:30:13 1996
@@ -342,7 +342,7 @@
/* ==========================================================================
* machdep_sys_sendmsg()
*/
-int machdep_sys_sendmsg(int a, const struct msghdr * b, int c)
+int machdep_sys_sendmsg(int a, char * b, int c)
{
return(-ENOSYS);
}
@@ -358,7 +358,7 @@
/* ==========================================================================
* machdep_sys_recvmsg()
*/
-int machdep_sys_recvmsg(int a, struct msghdr * b, int c)
+int machdep_sys_recvmsg(int a, char * b, int c)
{
return(-ENOSYS);
}




\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.036 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site