This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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