Mail Archives: cygwin-developers/1998/07/06/23:22:54

From: law AT cygnus DOT com (Jeffrey A Law)
Subject: Re: Declare function types correctly for cygwin32
6 Jul 1998 23:22:54 -0700 :
Message-ID: <>
References: <199807022251 DOT SAA27079 AT subrogation DOT cygnus DOT com>
Reply-To: law AT cygnus DOT com
To: Ian Lance Taylor <ian AT cygnus DOT com>
Cc: egcs-patches AT cygnus DOT com, cygwin32-developers AT cygnus DOT com

  In message <199807022251 DOT SAA27079 AT subrogation DOT cygnus DOT com>you write:
  > The Microsoft Windows linker requires that the n_type field of each
  > symbol which represents a function be set to indicate that the symbol
  > is a function.  This includes undefined symbols used for external
  > called functions.  The Microsoft documentation indicates that type is
  > used to support incremental linking.
  > The appended patch modifies the cygwin32 toolchain to emit this
  > information.  This changes gcc to emit .type directives as needed for
  > cygwin32.  This is based on similar patches to the Irix 5 port to
  > declare all external function symbols.
  > Ian
  > Thu Jul  2 18:47:12 1998  Ian Lance Taylor  <ian AT cygnus DOT com>
  > 	* i386/cygwin32.h: Add some declaration of external functions.
  > 	(ASM_FILE_END): Define.
  > 	* i386/winnt.c (i386_pe_declare_function_type): New function.
  > 	(struct extern_list, extern_head): Define.
  > 	(i386_pe_record_external_function): New function.
  > 	(i386_pe_asm_file_end): New function.
Thanks.  Installed.

- Raw text -

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