www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/07/28/15:22:43

Message-Id: <199907281922.TAA36390@out5.ibm.net>
From: "Mark E." <snowball3 AT bigfoot DOT com>
To: djgpp-workers AT delorie DOT com
Date: Wed, 28 Jul 1999 15:22:39 -0400
MIME-Version: 1.0
Subject: patch for djgpp.djl
X-mailer: Pegasus Mail for Win32 (v3.11)
Reply-To: djgpp-workers AT delorie DOT com

To whom it may concern,
As of the 21st, binutils uses long section names with DJGPP. This may be why Andris 
was having problems with C++ exceptions, if it happened on or after the 21st. This 
means some changes need to be made to djgpp.djl because we can no longer count on 
section names being truncated to 8 characters. Since we're using djgpp.djl and not 
the linker scripts included in Binutils, the following changes should be made to 
djgpp.djl:

*** djgpp.djm	Sun Jul 12 22:53:46 1998
--- djgpp.djl	Wed Jul 28 15:15:30 1999
*************** SECTIONS
*** 4,9 ****
--- 4,11 ----
  {
    .text  0x1000+SIZEOF_HEADERS : {
      *(.text)
+     *(.gnu.linkonce.t*)
+     *(.gnu.linkonce.r*)
      etext  =  . ; _etext = .;
      . = ALIGN(0x200);
    }
*************** SECTIONS
*** 15,23 ****
      *(.dtor)
      djgpp_last_dtor = . ;
      *(.data)
!     *(.gcc_exc)
      ___EH_FRAME_BEGIN__ = . ;
!     *(.eh_fram)
      ___EH_FRAME_END__ = . ;
      LONG(0)
       edata  =  . ; _edata = .;
--- 17,26 ----
      *(.dtor)
      djgpp_last_dtor = . ;
      *(.data)
!     *(.gnu.linkonce.d*)
!     *(.gcc_exc*)
      ___EH_FRAME_BEGIN__ = . ;
!     *(.eh_fram*)
      ___EH_FRAME_END__ = . ;
      LONG(0)
       edata  =  . ; _edata = .;

--- 
Mark Elbrecht, snowball3 AT bigfoot DOT com
http://snowball.frogspace.net/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019