[Bug gas/3607] GAS errors on valid code complaining missing .cfi_endproc

2006-12-01 Thread raj dot khem at gmail dot com
-- What|Removed |Added CC||jakub at redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=3607 --- You are receiving this ma

[Bug gas/3607] GAS errors on valid code complaining missing .cfi_endproc

2006-12-01 Thread raj dot khem at gmail dot com
--- Additional Comments From raj dot khem at gmail dot com 2006-12-01 22:34 --- Created an attachment (id=1446) --> (http://sourceware.org/bugzilla/attachment.cgi?id=1446&action=view) the patch that uncovers the reported issue This patch when applied on top of cvs sources produces the

[Bug gas/3607] GAS errors on valid code complaining missing .cfi_endproc

2006-12-01 Thread raj dot khem at gmail dot com
--- Additional Comments From raj dot khem at gmail dot com 2006-12-01 22:33 --- Hi Nick Yes its not reproducible with cvs binutils. I realised that after a while. Its one of the local patches I apply than this issue happens. This has been working. I debugged gas a bit. My patch ca

[Bug binutils/3631] New: bfd/archive64.c is compiled unconditionally even for 32-bit targets

2006-12-01 Thread uwe at NetBSD dot org
bfd/archive64.c is always compiled even for 32-bit targets that don't need it. configure sets bfd_libs to either bfd_libs='$(BFD64_LIBS) $(BFD32_LIBS)' or bfd_libs='$(BFD32_LIBS)' and that's propagated to the bfd/Makefile as BFD_LIBS = @bfd_libs@ but this make variable seems unus

[Bug binutils/3609] `objcopy --only-keep-debug` segfaults in current cvs

2006-12-01 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2006-12-01 16:47 --- Fixed. -- What|Removed |Added Status|REOPENED|RESOLVED Resolut

[Bug binutils/3609] `objcopy --only-keep-debug` segfaults in current cvs

2006-12-01 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2006-12-01 15:52 --- The fix is incorrect. The correct patch is posted at http://sourceware.org/ml/binutils/2006-12/msg00011.html -- What|Removed |Added

[Bug binutils/3609] `objcopy --only-keep-debug` segfaults in current cvs

2006-12-01 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2006-12-01 12:30 --- Hi Mike, A simple case of a pointer being used when it was NULL. I have applied the uploaded patch to fix this. Cheers Nick bfd/ChangeLog 2006-12-01 Nick Clifton <[EMAIL PROTECTED]> PR 3609

[Bug binutils/3609] `objcopy --only-keep-debug` segfaults in current cvs

2006-12-01 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2006-12-01 12:29 --- Hi Mike, A simple case of a pointer being used when it was NULL. I have applied the uploaded patch to fix this. Cheers Nick -- What|Removed |Added --

[Bug binutils/3609] `objcopy --only-keep-debug` segfaults in current cvs

2006-12-01 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2006-12-01 12:28 --- Created an attachment (id=1445) --> (http://sourceware.org/bugzilla/attachment.cgi?id=1445&action=view) Do not use the first_section pointer if it is null. -- http://sourceware.org/bugzilla/show_bug.cgi?id=3

[Bug gas/3607] GAS errors on valid code complaining missing .cfi_endproc

2006-12-01 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2006-12-01 12:18 --- Hi Khem, I could not reproduce this. I tried with these targets: x86_64-linux i686-pc-linux-gnu powerpc-eabisim(Changing "negl %eax" to "nop") They all assembled your test case correctly. Please could