delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/20/23:26:06

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3E03ECC8.5000605@ece.gatech.edu>
Date: Fri, 20 Dec 2002 23:23:36 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Binutils <binutils AT sources DOT redhat DOT com>, cygwin AT cygwin DOT com,
Ralf Habacker
<Ralf DOT Habacker AT freenet DOT de>
Subject: [PATCH] exclude runtime-pseudo-reloc symbols from auto-export

--------------000902020907010902020304
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

I don't think these symbols should be auto-exported by DLLs; they are 
internal, and are added (if the platform supports it) to every DLL and 
EXE.  Since everybody has their own copy, there's no need for any DLL to 
export them.

Ralf?

2002-12-20  Charles Wilson  <cwilson AT ece DOT gatech DOT edu>

	* pe-dll.c (autofilter_symbollist): add do_pseudo_reloc
	and _pei386_runtime_relocator to the exclude list.

--Chuck

--------------000902020907010902020304
Content-Type: text/plain;
 name="exclude_reloc.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="exclude_reloc.patch"

Index: pe-dll.c
===================================================================
RCS file: /cvs/src/src/ld/pe-dll.c,v
retrieving revision 1.50
diff -u -r1.50 pe-dll.c
--- pe-dll.c	16 Dec 2002 18:02:14 -0000	1.50
+++ pe-dll.c	21 Dec 2002 04:18:43 -0000
@@ -223,6 +223,8 @@
   { "_cygwin_crt0_common AT 8", 21 },
   { "_cygwin_noncygwin_dll_entry AT 12", 30 },
   { "impure_ptr", 10 },
+  { "_pei386_runtime_relocator", 25 },
+  { "do_pseudo_reloc", 15 },
   { NULL, 0 }
 };
 


--------------000902020907010902020304
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
--------------000902020907010902020304--

- Raw text -


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