From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mark E." To: binutils@sourceware.cygnus.com Subject: patch for i386go32.c Date: Mon, 09 Aug 1999 15:59:00 -0000 Message-id: <199908092259.WAA62234@out4.ibm.net> X-SW-Source: 1999-08/msg00070.html Hello Ian, While testing the data alignment changes, I noticed that i386go32.sc (ugh) doesn't have any code to handle C++ EH like DJGPP's own linker script does. ld/ChangeLog: 1999-08-09 Mark Elbrecht * scripttempl/i386go32.sc: Update to handle C++ exceptions. *** scripttempl/i386go32.sc.orig Tue Aug 3 12:12:48 1999 --- scripttempl/i386go32.sc Mon Aug 9 18:29:44 1999 *************** SECTIONS *** 33,38 **** --- 33,43 ---- djgpp_last_dtor = . ;} *(.data) ${RELOCATING+*(.gnu.linkonce.d*)} + ${RELOCATING+*(.gcc_exc*) + ___EH_FRAME_BEGIN__ = . ; + *(.eh_fram*) + ___EH_FRAME_END__ = . ; + LONG(0)}; ${RELOCATING+edata = . ; _edata = .}; ${RELOCATING+. = ALIGN(${SEGMENT_SIZE});} } --- Mark Elbrecht, snowball3@bigfoot.com http://snowball.frogspace.net/