* mkimport: Specify .text for stub explicitly.

* speclib: Add a dummy '.idata$7' section referring to the dll associated with
the real import library.
This commit is contained in:
Christopher Faylor
2009-04-18 17:23:45 +00:00
parent 855762d6f4
commit b978c43ea0
3 changed files with 36 additions and 7 deletions

View File

@@ -54,6 +54,7 @@ for my $f (keys %text) {
$text{$f} = 1;
open my $as_fd, '|-', $as, '-o', "$dir/t-$f", "-";
print $as_fd <<EOF;
.text
.extern $imp_sym
.global $glob_sym
$glob_sym: