If you assemble and link the attached testcase thread-small.s on Cygwin
(probably on MinGW, too):
$ ld -v
GNU ld (GNU Binutils) 2.18.50.20080625
$ as --32 thread-small.s -o thread-small.o
$ ld -Bdynamic --dll-search-prefix=cyg -o thread.exe /usr/lib/crt0.o -
L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -L
--- Additional Comments From Moritz dot Kroll at gmx dot de 2009-03-04
16:04 ---
Created an attachment (id=3790)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=3790&action=view)
Testcase
--
http://sourceware.org/bugzilla/show_bug.cgi?id=9923
--- You are receiving this m
--- Additional Comments From Moritz dot Kroll at gmx dot de 2009-03-04
16:05 ---
Created an attachment (id=3791)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=3791&action=view)
Patch adding the bfd_link_hash_type check
--
http://sourceware.org/bugzilla/show_bug.cgi?id=9923
--- Additional Comments From amodra at bigpond dot net dot au 2009-03-04
22:50 ---
Your patch is correct, but there are a number of other symbol lookups in
peXXigen.c that similarly lack a test on symbol type. Please consider posting a
patch that fixes all of them to binut...@sourceware
--- Additional Comments From Moritz dot Kroll at gmx dot de 2009-03-04
23:24 ---
Created an attachment (id=3793)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=3793&action=view)
Patch adding all missing bfd_link_hash_type checks in peXXigen.c
OK, here's the patch for the remaini
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-03-05
01:05 ---
Subject: Bug 9923
CVSROOT:/cvs/src
Module name:src
Changes by: amo...@sourceware.org 2009-03-05 01:04:56
Modified files:
bfd: ChangeLog peXXigen.c
Log message:
--- Additional Comments From amodra at bigpond dot net dot au 2009-03-05
01:06 ---
patch applied
--
What|Removed |Added
Status|ASSIGNED|RESOL