From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9947 invoked by alias); 22 Oct 2003 17:16:03 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Reply-To: cygwin-xfree@cygwin.com Received: (qmail 9937 invoked from network); 22 Oct 2003 17:16:02 -0000 Received: from unknown (HELO extern11.lif.de) (149.233.74.11) by sources.redhat.com with SMTP; 22 Oct 2003 17:16:02 -0000 Received: from dns132.serv1.tessag.com ([10.71.4.21]) by extern11.lif.de with ESMTP id h9MHG1n13018 for ; Wed, 22 Oct 2003 19:16:01 +0200 (MET DST) Received: from scan132.serv1.tessag.com (scan132.serv1.tessag.com [10.71.5.132]) by dns132.serv1.tessag.com (8.9.3 (PHNE_28761)/8.9.3) with SMTP id TAA06457 for ; Wed, 22 Oct 2003 19:16:00 +0200 (METDST) Received: from 10.71.2.115 by scan132.serv1.tessag.com (InterScan E-Mail VirusWall NT); Wed, 22 Oct 2003 19:15:30 +0200 Received: from BRAMSCHE1 [10.68.28.144] by mail.hq.sag-el.com (SMTPD32-5.05) id AC26EEE013E; Wed, 22 Oct 2003 19:19:34 +0200 From: "Ralf Habacker" To: Subject: AW: AW: cygwin.rules - Enabling shared libXt finally? Date: Wed, 22 Oct 2003 17:16:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <3F95EA46.4000109@cwilson.fastmail.fm> X-SW-Source: 2003-10/txt/msg00270.txt.bz2 List-Id: No, there is no functional changes. I only want to make sure, that no c function in Intrinsic.c can use the symbol _y (in c 'y'), so this patch renames it to __$XtInherit, which isn't usable for c functions. BTW: I was very in rush while doing the last patch, which may fails to be applied. The symbol which has to be patched is _y and not _$$y like done in the previous patch. I've added an updated patch. Ralf --- Initialize-old.c 2003-10-21 20:21:18.000000000 +0200 +++ Initialize.c 2003-10-21 20:23:25.000000000 +0200 @@ -236,8 +236,8 @@ asm (".data\n\ .globl __XtInherit \n\ - __XtInherit: jmp *_y \n\ - _y: .long ___XtInherit \n\ + __XtInherit: jmp *__$XtInherit \n\ + __$XtInherit: .long ___XtInherit \n\ .text \n"); #define _XtInherit __XtInherit Ralf > > Errm, this isn't going to change the public interface is it? That is, > if Harold releases another libXt with this change, would that break the > recently re-compiled and released lesstif, etc etc? > > -- > Chuck > > Ralf Habacker wrote: > > >>Not sure I understand. What should be changed in the current > version of > >>the Xt code? > > > > > > only note 1, chaning the label. The second note is only for > completeness. > > > > > > > >>Attached are my curent xc/lib/Xt/[Initialize.c|IntrinsicP.h] files. > >>Please send a diff against these if anything should be changed. Note > >>that these are intentionally from the 4.3 branch. > >> > > > > --- Initialize-old.c 2003-10-21 20:21:18.000000000 +0200 > > +++ Initialize.c 2003-10-21 20:23:25.000000000 +0200 > > @@ -236,8 +236,8 @@ > > > > asm (".data\n\ > > .globl __XtInherit \n\ > > - __XtInherit: jmp *_$$y \n\ > > - _$$y: .long ___XtInherit \n\ > > + __XtInherit: jmp *__$XtInherit \n\ > > + __$XtInherit: .long ___XtInherit \n\ > > .text \n"); > > > > #define _XtInherit __XtInherit > >