gcc/gcc/java/class.c if (HAVE_GAS_SHF_MERGE) should be false for windows target. However, it's definition is done by configure for _host_, and it ends up as true in auto-host.h if you cross compile
-- Summary: Building a cross linux->win32 incorrectly sets HAVE_GAS_SHF_MERGE true Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ovidr at users dot sourceforge dot net CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22330