[Bug binutils/2737] New: windres depends on host's endianness and bitness

2006-06-09 Thread raorn at altlinux dot ru
windres uses unsigned long for fwrite'ing 32-bit little-endian integers (DWORD). This breaks cross tools on 64-bit and/or bigendian hosts. When writing res file, resource header (write_res_header() from resres.c) is two 64-bit integers instead of 32 bit. There's also FIXME in code about that iss

[Bug binutils/2735] Segmentation fault in bfd.c during error handling

2006-06-09 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2006-06-09 13:36 --- Hi Asher, The problem appears to be that the .tcommon section has an alignment of 1 whereas the "matrix" symbol has an alignment of 4. The code to generate the warning message was not taking into account the

[Bug binutils/2735] Segmentation fault in bfd.c during error handling

2006-06-09 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2006-06-09 13:37 --- Created an attachment (id=1069) --> (http://sourceware.org/bugzilla/attachment.cgi?id=1069&action=view) Handle case where common alignment is deduced from section alginment and not another common defintion --

[Bug binutils/2735] Segmentation fault in bfd.c during error handling

2006-06-09 Thread langton at gcc dot gnu dot org
--- Additional Comments From langton at gcc dot gnu dot org 2006-06-09 23:59 --- Yes, this patch fixes the problem. Thanks! -- http://sourceware.org/bugzilla/show_bug.cgi?id=2735 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watchin

[Bug ld/2750] New: ld has problem with -shared, and GDB, SUN solaris 10 X86 (amd)

2006-06-09 Thread tan at absolute-eda dot com
the program I have work fine in older version of gcc,ld and GDB. However, with gdb 3.3+, it has the folowing behavior: if I link the exec called medusa, which has a capability to dynamically link in a library : medusa --lib=my.so where code in my.so calls some functions in medusa. if I link