diff --git a/winsup/cygwin/dllfixdbg b/winsup/cygwin/dllfixdbg index 70a496584..a2f1210fd 100755 --- a/winsup/cygwin/dllfixdbg +++ b/winsup/cygwin/dllfixdbg @@ -16,7 +16,7 @@ my @objcopy = ((shift)); my $dll = shift; my $dbg = shift; xit 0, @objcopy, '-R', '.gnu_debuglink_overlay', '--add-gnu-debuglink=/dev/null', '--only-keep-debug', $dll, $dbg; -xit 0, @objcopy, '-g', '--add-gnu-debuglink=' . $dbg, $dll; +xit 0, @objcopy, '-g', '--keep-section=.gnu_debuglink_overlay', '--add-gnu-debuglink=' . $dbg, $dll; open(OBJDUMP, '-|', "$objdump --headers $dll"); my %section; while () { diff --git a/winsup/cygwin/release/3.3.3 b/winsup/cygwin/release/3.3.3 index d04265181..2ad28d465 100644 --- a/winsup/cygwin/release/3.3.3 +++ b/winsup/cygwin/release/3.3.3 @@ -9,3 +9,6 @@ Bug Fixes fstatat and other ...at calls. "X:/" still is handled as absolute path. Addresses: https://cygwin.com/pipermail/cygwin/2021-November/249837.html + +- Fix showing DLL version info from native Windows tools. + Addresses: https://cygwin.com/pipermail/cygwin/2021-November/249867.html