ld -r segfaults && make bootstrap fix for i586-cygwin32

Mikey jeffdbREMOVETHIS@goodnet.com
Wed Feb 24 00:03:00 GMT 1999


in .../src/ld/emultempl/pe-em line 446

     opened, so registering the symbol as undefined will make a
     difference.  */
+  if (!link_info.relocateable)
    ldlang_add_undef (entry_symbol);
}


otherwise ld -r segfaults every time

I don't know preciscly where in the config files to fix this but in Makefile it would have to be

cmp --ignore-initial=137 ld2.exe ld3.exe

and -lc needs to be replaced with -lcygwin -lkernel32



More information about the Gas2 mailing list