From: Jan-Benedict G. <jb...@lu...> - 2004-02-23 12:27:50
|
On Mon, 2004-02-23 03:16:35 -0800, ai...@us... <airlied@u= sers.sourceforge.net> wrote in message <E1A...@sc...>: > --- dl-machine.h 16 Jan 2004 14:55:44 -0000 1.7 > +++ dl-machine.h 23 Feb 2004 11:16:32 -0000 1.8 > @@ -186,7 +190,18 @@ > The C function `_dl_start' is the real entry point; > its return value is the user program's entry point. */ > =20 > -#define RTLD_START=20 > +#define RTLD_START asm ("\ > + .text\n\ > + .globl _start\n\ > +_start:\n\ > + .word 0x0101\n\ > + calls $0,_dl_start\n\ > + .globl _dl_start_user\n\ > + .type _dl_start_user,@function Missing '\n\' here? ^^^ > +_dl_start_user:\n\ > + .word 0x0000\n\ > + .size _dl_start_user, . - _dl_start_user\n \ > + .previous"); I've cut'n'pasted this into my glibc-current tree (which of course doesn't yet work). MfG, JBG --=20 Jan-Benedict Glaw jb...@lu... . +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg fuer einen Freien Staat voll Freier B=FCrger" | im Internet! | im Ira= k! ret =3D do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TC= PA)); |