https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51859
Sam James changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51859
--- Comment #6 from Markus Trippelsdorf ---
Clang handles it fine BTW:
markus@x4 /tmp % cat test.c
void foo() {}
markus@x4 /tmp % cat test_warp.c
extern void foo();
void __wrap_foo() { foo(); };
int main() {}
markus@x4 /tmp % gcc -Wl,--wrap=fo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51859
Andrew Pinski changed:
What|Removed |Added
CC||trippels at gcc dot gnu.org
--- Comment
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51859
--- Comment #4 from Richard Guenther 2012-01-18
10:08:39 UTC ---
*** Bug 51887 has been marked as a duplicate of this bug. ***
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51859
--- Comment #3 from Dmitry Gorbachev
2012-01-16 17:40:24 UTC ---
Created attachment 26344
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26344
Testcase #2 (mingw32 target)
`_bar' referenced in section `.text' of libfoobar.a(foo.o): defined
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51859
--- Comment #2 from Dmitry Gorbachev
2012-01-16 17:39:13 UTC ---
Created attachment 26343
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26343
Testcase
I also experienced this bug.
`_Unwind_Resume' referenced in section `.text' of
/tmp/ccs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51859
Richard Guenther changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|