www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/08/10/13:32:46

Message-Id: <199908101723.RAA68970@out4.ibm.net>
From: "Mark E." <snowball3 AT bigfoot DOT com>
To: djgpp-workers AT delorie DOT com
Date: Tue, 10 Aug 1999 13:23:31 -0400
MIME-Version: 1.0
Subject: small patch for crt0.s
X-mailer: Pegasus Mail for Win32 (v3.11)
Reply-To: djgpp-workers AT delorie DOT com

gas built from the binutils CVS will not recognize .eh_fram as a g++ eh section now 
that long section names have been enabled. This changes .eh_fram to .eh_frame so it 
will be recognized. Current official versions of binutils truncate long names name 
anyway, so no harm is done in making this change.

*** src/libc/crt0/crt0.S.orig	Thu Jul 22 12:59:50 1999
--- src/libc/crt0/crt0.S	Tue Aug 10 13:11:24 1999
*************** but a placeholder of the same size does 
*** 60,66 ****
  _frame_struct:
          .long   0,0,0,0,0,0
          .long   0,0,0,0,0,0 /* DJ - more zeros, just in case */
! .section .eh_fram
  _CRT0_EH_FRAME_BEGIN_:
  
  	.data
--- 60,66 ----
  _frame_struct:
          .long   0,0,0,0,0,0
          .long   0,0,0,0,0,0 /* DJ - more zeros, just in case */
! .section .eh_frame
  _CRT0_EH_FRAME_BEGIN_:
  
  	.data

--- 
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