File ld/emultempl/spuelf.em makes usage of fork and exec to call programms.
Included patch changes to use libiberty's pex_one instead.
fork and exec is not available on all host platforms supported by GNU
toolchain. I found this bug when trying to building mingw32 hosted toolchain.
--- src-patch
When binutils is configured with -enable-targets=all, "./ld-new -m elf64_sparc"
used to work without installation. Now on Linux/x86-64, I got
[...@gnu-6 ld]$ file x.o
x.o: ELF 64-bit MSB relocatable, SPARC V9, relaxed memory ordering, version 1
(SYSV), not stripped
[...@gnu-6 ld]$ ./ld-new -m elf
Hi,
When the same address is pointed to by many symbols, it seems gprof does
everything to make the right choice for the symbol name to use ... except
filling the Sym structure correctly. Here is a patch.
diff --git a/gprof/corefile.c b/gprof/corefile.c
--- a/gprof/corefile.c
+++ b/gprof/core