This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Fix broken dlltool --kill-at
- From: Danny Smith <danny_smith_0000 at yahoo dot co dot nz>
- To: binutils <binutils at sources dot redhat dot com>
- Date: Sat, 4 Sep 2004 15:10:41 +1200 (NZST)
- Subject: Fix broken dlltool --kill-at
This fixes the broken -kill-at while still honouring a
user-specified internal name.
Using -kill-at on a
def file with
foo@4 = foo@4.
bar@4
would now ignore the -kill-at for foo, but honour it for bar
2004-09-04 Danny Smith <dannysmith@users.sourceforge.net>
* dlltool.c (make_one_lib): Test if internal_name was specified
by user before using it.
ndex: dlltool.c
===================================================================
RCS file: /cvs/src/src/binutils/dlltool.c,v
retrieving revision 1.52
diff -c -3 -p -r1.52 dlltool.c
*** dlltool.c 2 Sep 2004 15:55:36 -0000 1.52
--- dlltool.c 4 Sep 2004 03:03:14 -0000
*************** make_one_lib_file (export_type *exp, int
*** 2517,2524 ****
why it did that, and it does not match what I see
in programs compiled with the MS tools. */
int idx = exp->hint;
! char const * internal_name =
! exp->internal_name ? exp->internal_name : xlate (exp->name);
si->size = strlen (internal_name) + 3;
si->data = xmalloc (si->size);
--- 2517,2527 ----
why it did that, and it does not match what I see
in programs compiled with the MS tools. */
int idx = exp->hint;
! /* If the user has specified an internal name, use it.
! Ignore command line name translation options. */
! char const * internal_name
! = exp->internal_name != exp->name
! ? exp->internal_name : xlate (exp->name);
si->size = strlen (internal_name) + 3;
si->data = xmalloc (si->size);
Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com