[Bug ld/6744] --export-dynamic does nothing for Cygwin .exe's

2009-03-23 Thread yselkowitz at cygwin dot com
--- Additional Comments From yselkowitz at cygwin dot com 2009-03-24 06:45 --- > It would certainly be technically correct if libtool chose to use --e-a-s > rather than --e-d when linking for a cygwin target, since it's the target- > specific equivalent. Good point, changing libtool wo

[Bug ld/6744] --export-dynamic does nothing for Cygwin .exe's

2009-03-23 Thread dave dot korn dot cygwin at gmail dot com
--- Additional Comments From dave dot korn dot cygwin at gmail dot com 2009-03-24 04:07 --- (In reply to comment #3) > (In reply to comment #2) > > --export-dynamic is an ELF format option, and --export-all-symbols is the PE > > equivalent. > > Dave, thanks for looking at this. The ld

[Bug ld/6744] --export-dynamic does nothing for Cygwin .exe's

2009-03-23 Thread yselkowitz at cygwin dot com
--- Additional Comments From yselkowitz at cygwin dot com 2009-03-24 02:02 --- (In reply to comment #2) > --export-dynamic is an ELF format option, and --export-all-symbols is the PE > equivalent. Dave, thanks for looking at this. The ld texinfo docs say nothing about --export-dynamic

[Bug gas/9966] "as -alm" gives wrong listing when reading from STDIN

2009-03-23 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2009-03-24 01:05 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug gas/9966] "as -alm" gives wrong listing when reading from STDIN

2009-03-23 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-03-24 01:04 --- Subject: Bug 9966 CVSROOT:/cvs/src Module name:src Changes by: h...@sourceware.org 2009-03-24 01:04:26 Modified files: gas: ChangeLog listing.c read.c Log messa

[Bug gas/9966] "as -alm" gives wrong listing when reading from STDIN

2009-03-23 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2009-03-23 17:44 --- A patch is posted at http://sourceware.org/ml/binutils/2009-03/msg00431.html -- What|Removed |Added -

[Bug binutils/9983] Wrong disassembly printed by 'objdump' for i386 'sete' instruction beginning with '0f 94'

2009-03-23 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2009-03-23 14:23 --- see objdump --help, -w option -- What|Removed |Added Status|NEW

[Bug binutils/9982] Wrong disassembly printed by 'objdump' for i386 instruction beginning with '81 bd'

2009-03-23 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2009-03-23 14:22 --- objdump is a better interpreter of x86 opcodes than most humans -- What|Removed |Added

[Bug ld/977] ld test weak fails on cygwin

2009-03-23 Thread dave dot korn dot cygwin at gmail dot com
--- Additional Comments From dave dot korn dot cygwin at gmail dot com 2009-03-23 13:20 --- (In reply to comment #6) > Still there, I guess: Yep, there was a big thread about it at http://sourceware.org/ml/binutils/2009-03/threads.html#00314 I'm drawing up a plan to support ELF-styl

[Bug gas/2606] --enable-targets=all causes build failure on cygwin

2009-03-23 Thread dave dot korn dot cygwin at gmail dot com
--- Additional Comments From dave dot korn dot cygwin at gmail dot com 2009-03-23 13:16 --- I looked at this some time ago. The main problem is that the COFF and PE object formats are intertangled and full of #ifdefs that mean it's not possible to combine them at present; the error you

[Bug ld/6744] --export-dynamic does nothing for Cygwin .exe's

2009-03-23 Thread dave dot korn dot cygwin at gmail dot com
--- Additional Comments From dave dot korn dot cygwin at gmail dot com 2009-03-23 13:12 --- --export-dynamic is an ELF format option, and --export-all-symbols is the PE equivalent. We could reasonably make --export-dynamic a synonym for PE, I expect. -- What|Removed

[Bug ld/9987] ld-gc testsuite errors on cygwin

2009-03-23 Thread dave dot korn dot cygwin at gmail dot com
--- Additional Comments From dave dot korn dot cygwin at gmail dot com 2009-03-23 12:58 --- GC is only implemented OOTB for Elf targets, and also apparently for XCOFF, from where it might be possible to backport the support to plain COFF and PE. -- What|Removed

[Bug ld/9987] New: ld-gc testsuite errors on cygwin

2009-03-23 Thread christian dot joensson at gmail dot com
The ld-gc testsuite tests ERROR: /usr/local/src/trunk/src/ld/testsuite/ld-gc/gc.c: compilation failed UNRESOLVED: Check --gc-section FAIL: Check --gc-section/-q FAIL: Check --gc-section/-r/-e FAIL: Check --gc-section/-r/-u fail on cygwin... this is the collected output of ld-gc tests' log file:

[Bug ld/977] ld test weak fails on cygwin

2009-03-23 Thread christian dot joensson at gmail dot com
--- Additional Comments From christian dot joensson at gmail dot com 2009-03-23 12:24 --- Still there, I guess: testcase /usr/local/src/trunk/src/ld/testsuite/ld-scripts/sizeof.exp completed in 3 seconds Running /usr/local/src/trunk/src/ld/testsuite/ld-scripts/sort.exp ... testcase /us

[Bug binutils/9984] New: strings' man page should mention if --encoding supports UTF-8 or not

2009-03-23 Thread jidanni at jidanni dot org
strings' man page, at `--encoding=ENCODING' should mention utf-8: say if it is or is not implemented, so as to not leave the user wondering. -- Summary: strings' man page should mention if --encoding supports UTF-8 or not Product: binutils Vers

[Bug binutils/9983] New: Wrong disassembly printed by 'objdump' for i386 'sete' instruction beginning with '0f 94'

2009-03-23 Thread yuri at tsoft dot com
I spotted then following lines in objdump output: 4: 0f 94 84 24 20 10 00sete 0x1020(%esp) b: 00 Instruction 'sete 0x1020(%esp)' is correct, but the following 00 byte still belongs to 'sete' instruction. I believe that the correct fix for all such issues is to make 'as' and 'obj

[Bug libc/9843] relocation R_386_GOTOFF against undefined hidden symbol '_begin' can not be used when making a shared object

2009-03-23 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2009-03-23 08:52 --- Anything with the following patch: 2009-01-29 Andrew Stubbs * elf/Makefile (ld.so): Adjust the sed script to insert _begin in to newer linker scripts. Current mainline CVS of course h

[Bug binutils/9982] New: Wrong disassembly printed by 'objdump' for i386 instruction beginning with '81 bd'

2009-03-23 Thread yuri at tsoft dot com
I spotted the following line in the objdump output: 81 bd 38 08 0c 2e 01 cmpl $0xd74e201,0x2e0c0838(%ebp) Instruction is: 81 /7 id CMP r/m32,imm32 Mod in bd is 10b, RM in bd is 101b therefore 38 is SIB byte. Instruction should be: cmpl (%edi+%eax+0xd74e201),imm32 -- Summar