From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mark E." To: binutils@sourceware.cygnus.com Subject: g++ init_priority support for DJGPP Date: Tue, 11 Jul 2000 13:34:00 -0000 Message-id: <396B4C38.32258.35D212@localhost> X-SW-Source: 2000-07/msg00166.html Hi folks: Adding support for the init_priority attribute in g++ for DJGPP is just a matter of a relatively trivial change to the linker script: ld/Changelog: 2000-07-11 Mark Elbrecht * scripttempl/i386go32.sc: Support the g++ attribute init_priority in gcc 2.95.2 and later. Index: src/ld/scripttempl/i386go32.sc =================================================================== RCS file: /cvs/src/src/ld/scripttempl/i386go32.sc,v retrieving revision 1.4 diff -c -p -r1.4 i386go32.sc *** i386go32.sc 2000/02/28 03:55:16 1.4 --- i386go32.sc 2000/07/11 19:47:11 *************** EXE=${CONSTRUCTING+${RELOCATING+-exe}} *** 5,12 **** # These are substituted in as variables in order to get '}' in a shell # conditional expansion. ! CTOR='.ctor : { *(.ctor) }' ! DTOR='.dtor : { *(.dtor) }' cat <