Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Subject: Re: binutils 20021107-2
From: Robert Collins <rbcollins@cygwin.com>
To: Charles Wilson <cwilson@ece.gatech.edu>
Cc: cygwin@cygwin.com
In-Reply-To: <3DCD5AE1.4000708@ece.gatech.edu>
References: <20021109105904.24937.qmail@web21405.mail.yahoo.com>
	<1036844910.31190.0.camel@lifelesswks> <3DCD4623.8070800@ece.gatech.edu>
	<3DCD4691.1070601@ece.gatech.edu> <20021109181030.GB16969@redhat.com>
	<3DCD520A.6090504@ece.gatech.edu> <3DCD5420.5000406@ece.gatech.edu>
	<20021109183512.GA17700@redhat.com>  <3DCD5AE1.4000708@ece.gatech.edu>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature";
	boundary="=-kQb01juDz5S/p4TTAGKB"
Date: 10 Nov 2002 10:45:48 +1100
Message-Id: <1036885550.31961.18.camel@lifelesswks>
Mime-Version: 1.0

--=-kQb01juDz5S/p4TTAGKB
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2002-11-10 at 05:58, Charles Wilson wrote:
> Christopher Faylor wrote:
>=20
>=20
> > Shouldn't there be a few more entries in this list, like libmingwex,
> > libmingwthrd, libmsvcrt (maybe).  I don't know if any of those librarie=
s
> > have globals that could be erroneously exported but doesn't it pay to
> > be safe?
>=20
>=20
> libmingwex -- maybe.  I dunno -- that's for Danny and/or Earnie to say.=20
>   You really only need library-name based protection for static libs;=20
> symbols in import libs are protected from re-export by symbol-exclude=20
> lists (_nm_*,__imp__*, etc).  libmsvcrt, libmingwthrd -- no (because=20
> they are implibs).

A light just went on. We could use a "exclude system archive" flag -
dont' export symbols originating from libraries in /usr/local/lib/* or
/usr/lib/* ( and possibly the gcc lib dir as well - although I think
that is a spec thing, as it's gcc's decision to have the library given a
certain name).

Whaddya think?

Rob


--=20
---
GPG key available at: http://users.bigpond.net.au/robertc/keys.txt.
---

--=-kQb01juDz5S/p4TTAGKB
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQA9zZ4sI5+kQ8LJcoIRAqLsAJ4xacqeSpdsjjhAhZpioRsNtMqF9wCfdoGW
wGPuZm4VfkGGo9XSKmMwG7c=
=cQu5
-----END PGP SIGNATURE-----

--=-kQb01juDz5S/p4TTAGKB--

