init priority for cygwin

DJ Delorie dj@redhat.com
Tue Jan 15 21:36:00 GMT 2002


This seemed like an obvious addition...

2002-01-15  DJ Delorie  <dj@redhat.com>

	* scripttempl/pe.sc: Add support for constructor priorities.

Index: scripttempl/pe.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/pe.sc,v
retrieving revision 1.4
diff -p -3 -r1.4 pe.sc
*** pe.sc	2000/02/24 17:53:12	1.4
--- pe.sc	2002/01/16 01:45:38
*************** SECTIONS
*** 54,62 ****
      *(.glue_7t)
      *(.glue_7)
      ${CONSTRUCTING+ ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; 
! 			LONG (-1); *(.ctors); *(.ctor); LONG (0); }
      ${CONSTRUCTING+ ___DTOR_LIST__ = .; __DTOR_LIST__ = . ; 
! 			LONG (-1); *(.dtors); *(.dtor);  LONG (0); }
      ${RELOCATING+ *(.fini)}
      /* ??? Why is .gcc_exc here?  */
      ${RELOCATING+ *(.gcc_exc)}
--- 54,62 ----
      *(.glue_7t)
      *(.glue_7)
      ${CONSTRUCTING+ ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; 
! 			LONG (-1); *(SORT(.ctors.*)); *(.ctors); *(.ctor); LONG (0); }
      ${CONSTRUCTING+ ___DTOR_LIST__ = .; __DTOR_LIST__ = . ; 
! 			LONG (-1); *(SORT(.dtors.*)); *(.dtors); *(.dtor);  LONG (0); }
      ${RELOCATING+ *(.fini)}
      /* ??? Why is .gcc_exc here?  */
      ${RELOCATING+ *(.gcc_exc)}



More information about the Binutils mailing list