ld cannot be build for target SPU and particular hosts

2009-04-08 Thread Thilo Fischer
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

[Bug ld/10047] New: [Regression] ld-new -m XXX no longer works

2009-04-08 Thread hjl dot tools at gmail dot com
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

gprof not really looking at symbols attributes

2009-04-08 Thread phil
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