Diff for /dietlibc/dyn_stop.c between versions 1.5 and 1.6

version 1.5, 2003/08/23 16:12:47 version 1.6, 2005/05/13 18:39:32
Line 1 Line 1
 #include "dietfeatures.h"  #include "dietfeatures.h"
   
 #ifdef WANT_DYNAMIC  #ifdef WANT_DYNAMIC
   #include <sys/cdefs.h>
   #include <endian.h>
   
 typedef void(*structor)(void);  typedef void(*structor)(void);
   
 __attribute__((section(".ctors")))  __attribute__((section(".ctors")))
   __attribute_used
 static structor __CTOR_END__[1]={((structor)0)};  static structor __CTOR_END__[1]={((structor)0)};
   
 __attribute__((section(".dtors")))  __attribute__((section(".dtors")))
   __attribute_used
 static structor __DTOR_END__[1]={((structor)0)};  static structor __DTOR_END__[1]={((structor)0)};
   
   __attribute__((section (".eh_frame")))
   __attribute_used
   #if __WORDSIZE == 32
   const char __FRAME_END__[4] = { 0, 0, 0, 0 };
   #else
   const char __FRAME_END__[8] = { 0, 0, 0, 0, 0, 0, 0, 0 };
   #endif
   
 static void __do_global_ctors_aux(void)  static void __do_global_ctors_aux(void)
 {  {
   structor *cf=__DTOR_END__;    /* ugly trick to prevent warning */    structor *cf=__DTOR_END__;    /* ugly trick to prevent warning */

Removed from v.1.5  
changed lines
  Added in v.1.6


LinuxTV legacy CVS <linuxtv.org/cvs>