[Bug ld/2659] Problem with partial linking [Was: Assertion triggered in cofflink.c]

2006-06-23 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2006-06-23 08:45 --- Hi Anton, Sorry about the delay in getting back to you. I am a bit swamped at the moment. I am uploading a revised patch which I think should take care of this issue now. The problem appears to be the

[Bug ld/2659] Problem with partial linking [Was: Assertion triggered in cofflink.c]

2006-06-23 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2006-06-23 08:46 --- Created an attachment (id=1114) -- (http://sourceware.org/bugzilla/attachment.cgi?id=1114action=view) Improved check for missing aux entries. -- What|Removed |Added

[Bug gas/2756] m68k-linux still has #APP/#NO_APP issue

2006-06-23 Thread balkohen at gmail dot com
--- Additional Comments From balkohen at gmail dot com 2006-06-23 14:27 --- Here is a very stripped down localealias.c: #define __make_section_unallocated(section_string) \ asm (.section section_string \n\t.previous); #define __sec_comment \\n\t#\ #define libc_freeres_ptr(decl) \

[Bug ld/2729] ld terminated with signal 11 [Segmentation fault]

2006-06-23 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2006-06-23 14:30 --- Created an attachment (id=1116) -- (http://sourceware.org/bugzilla/attachment.cgi?id=1116action=view) Real version of previous patch -- What|Removed |Added

Re: [Bug ld/2729] ld terminated with signal 11 [Segmentation fault]

2006-06-23 Thread Nick Clifton
Hi Martin, Cope with missing .idata sections when building DataDictionary is this the complete patch? No. Bum. I sent you the wrong one. Sorry about that. I have uploaded the proper version this time. Cheers Nick ___ bug-binutils

[Bug ld/2729] ld terminated with signal 11 [Segmentation fault]

2006-06-23 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2006-06-23 14:31 --- Subject: Re: ld terminated with signal 11 [Segmentation fault] Hi Martin, Cope with missing .idata sections when building DataDictionary is this the complete patch? No. Bum. I sent you the wrong one.

[Bug binutils/2829] New: bad disassembly for 0xC7 /1 movl $___,

2006-06-23 Thread web-sources dot redhat dot com at jankratochvil dot net
John Reiser: On x86, the byte sequence {0xc7,0310,1,2,3,4} superficially looks like move immediate to r/m dword because of the opcode 0xC7. Actually, it is an illegal instruction because 0!=(070 mod_rm); namely, the 0310 should be 0300. Gdb disassembly should report illegal instruction, but

[Bug binutils/2829] bad disassembly for 0xC7 /1 movl $___,

2006-06-23 Thread web-sources dot redhat dot com at jankratochvil dot net
--- Additional Comments From web-sources dot redhat dot com at jankratochvil dot net 2006-06-23 15:07 --- Created an attachment (id=1117) -- (http://sourceware.org/bugzilla/attachment.cgi?id=1117action=view) libopcodes CVS version patch

[Bug ld/2834] New: Linker reports error X referenced in section '.rodata' of foo.o: defined in discarded section X of foo.o with g++ 3.3

2006-06-23 Thread hniksic at xemacs dot org
When I upgraded to binutils 2.16.91 20060413, I started seeing an error when compiling legacy C++ code with GCC 3.3. The error can be reproduced like this: // a.cc: #include boost/format.hpp std::string f1() { return boost::format(x).str(); } // b.cc: #include boost/format.hpp std::string

Re: [Bug ld/2809] New: ld incorrect applies LTOFF22X/LDXMOV relocations

2006-06-23 Thread James E Wilson
On Mon, 2006-06-19 at 23:49, cgray at cse dot unsw dot edu dot au wrote: ld on ia64 applies LTOFF22X and LDXMOV relocations at linktime, voilating the ABI. If you read the documentation for LTOFF22X and LDXMOV, it clearly says that they are link time optimizations. So there is no ABI

[Bug ld/2809] ld incorrect applies LTOFF22X/LDXMOV relocations

2006-06-23 Thread wilson at specifix dot com
--- Additional Comments From wilson at specifix dot com 2006-06-23 21:02 --- Subject: Re: New: ld incorrect applies LTOFF22X/LDXMOV relocations On Mon, 2006-06-19 at 23:49, cgray at cse dot unsw dot edu dot au wrote: ld on ia64 applies LTOFF22X and LDXMOV relocations at

Re: BUG elf32-i386 R_386_PC32 done wrong

2006-06-23 Thread doctor electron
Long, long ago, Ian Lance Taylor, a life form in far off space, emitted: doctor electron [EMAIL PROTECTED] writes: As author of the HotBasic compiler for Windows, in porting same to Linux, I find that ld does not properly link relative relocations (R_386_PC32) in correct elf32-i386 .o files.

[Bug ld/2729] ld terminated with signal 11 [Segmentation fault]

2006-06-23 Thread mkoeppe at gmx dot de
--- Additional Comments From mkoeppe at gmx dot de 2006-06-24 01:29 --- Hi Nick, thank you very much. Now it does apply and build, and the segfault is away. Unfortunately, linking is not yet successful, even with result=TRUE, due to missing symbols, namely .idata$4 and atexit. I now

[Bug ld/2729] ld terminated with signal 11 [Segmentation fault]

2006-06-23 Thread mkoeppe at gmx dot de
--- Additional Comments From mkoeppe at gmx dot de 2006-06-24 01:31 --- Created an attachment (id=1119) -- (http://sourceware.org/bugzilla/attachment.cgi?id=1119action=view) cref table from working interix ld -- http://sourceware.org/bugzilla/show_bug.cgi?id=2729 --- You are

[Bug ld/2729] ld terminated with signal 11 [Segmentation fault]

2006-06-23 Thread mkoeppe at gmx dot de
--- Additional Comments From mkoeppe at gmx dot de 2006-06-24 01:32 --- Created an attachment (id=1120) -- (http://sourceware.org/bugzilla/attachment.cgi?id=1120action=view) cref table from failing cross ld -- http://sourceware.org/bugzilla/show_bug.cgi?id=2729 --- You are

Re: BUG elf32-i386 R_386_PC32 done wrong

2006-06-23 Thread doctor electron
Long, long ago, Ian Lance Taylor, a life form in far off space, emitted: the four bytes affected by R_386_PC32 Dear Ian, I think a single statement edit would fix ld re rel relocs: The place where we read the four bytes affected now is the equivalent of x = [the four bytes] ...or... mov