SOURCES: dietlibc-gcc4.patch - should be no longer needed, not sur...

Jakub Bogusz qboosh w pld-linux.org
Nie, 22 Maj 2005, 22:46:03 CEST


On Sun, May 22, 2005 at 10:09:42PM +0200, qboosh wrote:
> Author: qboosh                       Date: Sun May 22 20:09:42 2005 GMT
> Module: SOURCES                       Tag: HEAD
> ---- Log message:
> - should be no longer needed, not sure about these two (needs check)

Ktoś chętny do sprawdzenia budowanie dietlibc 0.29 bez tej łaty przy
użyciu gcc 4?

> ---- dietlibc-0.28/dyn_start.c.orig	2004-11-30 23:35:14.000000000 +0100
> -+++ dietlibc-0.28/dyn_start.c	2005-02-11 02:39:07.558115344 +0100
> -@@ -29,12 +29,10 @@
> - 
> - #ifndef __DYN_LIB_SHARED
> - /* pre main, post _start */
> --int _dyn_start(int argc, char **argv, char **envp, structor dl_init);
> -+static __attribute__((section(".init"))) void _init(void);
> -+int main(int argc, char **argv, char **envp);
> - int _dyn_start(int argc, char **argv, char **envp, structor dl_init)
> - {
> --  static __attribute__((section(".init"))) void _init(void);
> --  int main(int argc, char **argv, char **envp);
> --
> -   if (dl_init) atexit(dl_init);
> -   _init();
> -   atexit(_fini);

Tu jeszcze miałem wątpliwości - _init() zostało przeniesione, main() nie
- nie wiem co dokładnie przestało akceptować gcc 4.


-- 
Jakub Bogusz    http://qboosh.cs.net.pl/



Więcej informacji o liście dyskusyjnej pld-devel-pl