[Bug ld/11939] ld segfault in bfd_hash_allocate

2010-08-25 Thread hjl dot tools at gmail dot com
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-08-25 20:36 --- Subject: Bug 11939 CVSROOT:/cvs/src Module name:src Changes by: h...@sourceware.org 2010-08-25 20:35:59 Modified files: bfd: ChangeLog elflink.c Log message:

[Bug ld/11939] ld segfault in bfd_hash_allocate

2010-08-25 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-08-25 18:29 --- Created an attachment (id=4950) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4950&action=view) A kludge This is a kludge. -- http://sourceware.org/bugzilla/show_bug.cgi?id=11939 --- You a

[Bug ld/11939] ld segfault in bfd_hash_allocate

2010-08-25 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-08-25 18:02 --- There is a fundamental problem in ld: 1. Different formats, ELF, COFF, XCOFF, ... have different linker hash table and its entry. 2. It works as long as input and output have the same format. 3. When input

[Bug ld/11946] Invalid memory access in ELF before_allocation

2010-08-25 Thread hjl dot tools at gmail dot com
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-08-25 16:57 --- Subject: Bug 11946 CVSROOT:/cvs/src Module name:src Changes by: h...@sourceware.org 2010-08-25 16:57:32 Modified files: ld : ChangeLog ld/emultempl : e

[Bug ld/11946] New: Invalid memory access in ELF before_allocation

2010-08-25 Thread hjl dot tools at gmail dot com
[...@gnu-6 pr11939]$ cat x.s [...@gnu-6 pr11939]$ as -o x.o x.s [...@gnu-6 pr11939]$ valgrind --tool=memcheck ld x.o -b binary binary ==23971== Memcheck, a memory error detector ==23971== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==23971== Using Valgrind-3.5.0 and LibVEX; re

[Bug ld/11944] elf_object_id (abfd) == elf_hash_table_id (htab) dosn't work on all targets

2010-08-25 Thread hjl dot tools at gmail dot com
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-08-25 14:54 --- Subject: Bug 11944 CVSROOT:/cvs/src Module name:src Changes by: h...@sourceware.org 2010-08-25 14:53:46 Modified files: bfd: ChangeLog elf-bfd.h elf-m10300.c elf.