delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/01/01:00:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49FA81C0.5050502@cwilson.fastmail.fm>
Date: Fri, 01 May 2009 00:59:44 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: gcc4: goodbye const struct problems?
References: <49FA7053 DOT 1050706 AT users DOT sourceforge DOT net>
In-Reply-To: <49FA7053.1050706@users.sourceforge.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Yaakov (Cygwin/X) wrote:
> With 1.7, gcc4, and the same binutils, I no longer see the const struct
> .rdata issues that we had with some packages with 1.5 and gcc3.  Is that
> to be expected, what changed to cause this to occur, and can I rely on
> this for the future?

See full explanation here:
http://sourceware.org/ml/binutils/2009-02/msg00341.html

short version: we now use the "alternative" linker script (which merges
.rdata into .data unconditionally) by default. Later plan is to
incorporate Kai Teitz's pseudo-reloc v2 support. But in either case, the
const struct stuff should no longer cause any heartburn.

--
Chuck

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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