public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <ian@zembu.com>
To: snowball3@bigfoot.com
Cc: binutils@sourceware.cygnus.com
Subject: Re: patch for i386go32.c
Date: Mon, 09 Aug 1999 20:08:00 -0000	[thread overview]
Message-ID: <19990810030743.6431.qmail@daffy.airs.com> (raw)
In-Reply-To: <199908092259.WAA62234@out4.ibm.net>

   From: "Mark E." <snowball3@bigfoot.com>
   Date: Mon, 9 Aug 1999 18:59:38 -0400

   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 <snowball3@bigfoot.com>

   * 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});}
       }

I checked this in.

However, I'll note that none of the other targets see the need to
define __EH_FRAME_{BEGIN,END}__, or to add the LONG(0).  That's
because other targets use the gcc crtbegin/crtend support.  Why not
make DJGPP work like other gcc targets?

Ian

  reply	other threads:[~1999-08-09 20:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-09 15:59 Mark E.
1999-08-09 20:08 ` Ian Lance Taylor [this message]
1999-08-10  6:22   ` Mark E.
1999-08-10  9:58     ` pavenis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19990810030743.6431.qmail@daffy.airs.com \
    --to=ian@zembu.com \
    --cc=binutils@sourceware.cygnus.com \
    --cc=snowball3@bigfoot.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).