Mail Archives: djgpp-workers/1999/08/19/09:32:04
> When I said in the past, that the __EH_??? stuff can be removed, then
> I have not meant to remove the LONG(0) !! This NEEDED! (at least with
> gcc 2.8.1 where I tried without the LONG(0) and got a crash when an
> exception was invoked).
Ouch. Here's a new version with the LONG(0) put back in (plus a small change to the
link once sections).
*** lib/djgpp.djm Fri Jul 30 03:50:40 1999
--- lib/djgpp.djl Thu Aug 19 08:31:56 1999
*************** SECTIONS
*** 4,11 ****
{
.text 0x1000+SIZEOF_HEADERS : {
*(.text)
! *(.gnu.linkonce.t*)
! *(.gnu.linkonce.r*)
etext = . ; _etext = .;
. = ALIGN(0x200);
}
--- 4,17 ----
{
.text 0x1000+SIZEOF_HEADERS : {
*(.text)
! *(.gnu.linkonce.t.*)
! *(.gnu.linkonce.r.*)
! gcc_init = .;
! *(.init)
! gcc_init_end = .;
! gcc_fini = .;
! *(.fini)
! gcc_fini_end = .;
etext = . ; _etext = .;
. = ALIGN(0x200);
}
*************** SECTIONS
*** 17,27 ****
*(.dtor)
djgpp_last_dtor = . ;
*(.data)
! *(.gnu.linkonce.d*)
*(.gcc_exc*)
- ___EH_FRAME_BEGIN__ = . ;
*(.eh_fram*)
- ___EH_FRAME_END__ = . ;
LONG(0)
edata = . ; _edata = .;
. = ALIGN(0x200);
--- 23,31 ----
*(.dtor)
djgpp_last_dtor = . ;
*(.data)
! *(.gnu.linkonce.d.*)
*(.gcc_exc*)
*(.eh_fram*)
LONG(0)
edata = . ; _edata = .;
. = ALIGN(0x200);
---
Mark Elbrecht, snowball3 AT bigfoot DOT com
http://snowball.frogspace.net/
- Raw text -