projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fcd644
)
Release builds generate different strangely formatted export names
author
Magnus Hagander
<magnus@hagander.net>
Thu, 3 May 2007 14:04:03 +0000
(14:04 +0000)
committer
Magnus Hagander
<magnus@hagander.net>
Thu, 3 May 2007 14:04:03 +0000
(14:04 +0000)
for local symbols, that shouldn't be exported. This patch excludes them,
cutting down about 10,000 exported symbols and decreasing the binary size
by 20%.
src/tools/msvc/gendef.pl
patch
|
blob
|
blame
|
history
diff --git
a/src/tools/msvc/gendef.pl
b/src/tools/msvc/gendef.pl
index d1f9bc04d6cfee2cb2c04d22a9022cc6350fcb99..6ca6ea885698b3ae6183af05e4f89aac4ce189bd 100644
(file)
--- a/
src/tools/msvc/gendef.pl
+++ b/
src/tools/msvc/gendef.pl
@@
-36,6
+36,7
@@
while (<$ARGV[0]/*.obj>)
next if $pieces[6] =~ /NULL_THUNK_DATA$/;
next if $pieces[6] =~ /^__IMPORT_DESCRIPTOR/;
next if $pieces[6] =~ /^__NULL_IMPORT/;
+ next if $pieces[6] =~ /^\?\?_C/;
push @def, $pieces[6];
}