public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: "Dmitry Timoshkov" <dmitry@baikal.ru>
To: <binutils@sources.redhat.com>
Subject: PATCH for 2.12: Support for decorated stdcall names in dlltool
Date: Fri, 01 Mar 2002 01:26:00 -0000	[thread overview]
Message-ID: <00a001c1c103$5bc20870$d7823bd5@dmitry> (raw)

[-- Attachment #1: Type: text/plain, Size: 454 bytes --]

Hello.

I'm sending this patch once more time in the hope that it will
find its path into the upcoming 2.12 release. This patch has been
approved by DJ Delorie but unfortunately it hadn't been applied
for some unexplained reason.

Some background: this patch allows to create PE import libraries
without '@' decorations in the exported names. For more information
please see the thread "Stdcall support in binutils"/May 2001 in ml.

Thanks.

-- 
Dmitry.

[-- Attachment #2: dlltool.c.diff --]
[-- Type: application/octet-stream, Size: 445 bytes --]

--- binutils/src/binutils/dlltool.c	Wed Jan 23 16:12:56 2002
+++ binutils/src/binutils/dlltool.c	Fri Mar 01 09:12:00 2002
@@ -1865,7 +1865,7 @@
 	if (!exp->noname || show_allnames)
 	  {
 	    fprintf (f, "n%d:	%s	\"%s\"\n",
-		     exp->ordinal, ASM_TEXT, exp->name);
+		     exp->ordinal, ASM_TEXT, xlate (exp->name));
 	    if (exp->forward != 0)
 	      fprintf (f, "f%d:	%s	\"%s\"\n",
 		       exp->forward, ASM_TEXT, exp->internal_name);

             reply	other threads:[~2002-03-01  9:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-01  1:26 Dmitry Timoshkov [this message]
2002-03-01  7:35 ` Nick Clifton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='00a001c1c103$5bc20870$d7823bd5@dmitry' \
    --to=dmitry@baikal.ru \
    --cc=binutils@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).