Re: cr16-elf tools error: no .eh_frame_hdr table will be created.
Hi Alan, Thank you very much for pointing the bug location. I will look into this. Thanks Swami Alan Modra wrote: On Mon, Jun 29, 2009 at 03:01:23PM +0530, M R Swami Reddy wrote: Hello, With binutils- 2.19.51.20090624, Iam getting below error message for c++ exceptions. === ld: error in test_eh.o(.eh_frame); no .eh_frame_hdr table will be created. You have a relocation on the length field of the CIE. RELOCATION RECORDS FOR [.eh_frame]: OFFSET TYPE VALUE R_CR16_SWITCH32 .LECIE1+0x0018 You should not have a relocation here. The length expression should be fully resolved in gas. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
Re: cr16-elf tools error: no .eh_frame_hdr table will be created.
On Mon, Jun 29, 2009 at 03:01:23PM +0530, M R Swami Reddy wrote: > Hello, > > With binutils- 2.19.51.20090624, Iam getting below error message for c++ > exceptions. > === > ld: error in test_eh.o(.eh_frame); no .eh_frame_hdr table will be created. > You have a relocation on the length field of the CIE. RELOCATION RECORDS FOR [.eh_frame]: OFFSET TYPE VALUE R_CR16_SWITCH32 .LECIE1+0x0018 You should not have a relocation here. The length expression should be fully resolved in gas. -- Alan Modra Australia Development Lab, IBM ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
cr16-elf tools error: no .eh_frame_hdr table will be created.
Hello, With binutils- 2.19.51.20090624, Iam getting below error message for c++ exceptions. === ld: error in test_eh.o(.eh_frame); no .eh_frame_hdr table will be created. Attached .s file to reproduce the issue. NOTE: If the "--traditional-format" option passed to linker, the above error not seen. With older version of binutils also, the above error message observed. Thanks Swami .file "test_eh.cc" .section.ctors,"aw",@progbits .align 4 .long __global__i__z3f...@c .section .text._ZNSt9exceptionC1Ev,"axG",@progbits,_ZNSt9exceptionC1Ev,comdat .align 4 .weak __ZNSt9exceptionC1Ev .type __ZNSt9exceptionC1Ev, @function __ZNSt9exceptionC1Ev: .LFB4: push$2, r13 .LCFI0: addd$-4, (sp) .LCFI1: movd(sp), (r13) stord (r3,r2), 0(r13) movd$__ztvst9exceptio...@l, (r3,r2) loadd 0(r13), (r1,r0) stord (r3,r2), 0(r1,r0) movd(r13), (sp) addd$4, (sp) .LCFI2: pop $2, r13 jump(ra) .LCFI3: .LFE4: .size __ZNSt9exceptionC1Ev, .-__ZNSt9exceptionC1Ev .globl ___gxx_personality_v0 .section.text .align 4 .type __Z41__static_initialization_and_destruction_0ii, @function __Z41__static_initialization_and_destruction_0ii: .LFB1398: push$2, r13, ra .LCFI4: addd$-4, (sp) .LCFI5: movd(sp), (r13) storw r2, 0(r13) storw r3, 2(r13) loadw 0(r13), r0 cmpw$1, r0 bne .L7 loadw 2(r13), r0 cmpw$-1, r0 bne .L7 movd$__zst8__ioi...@l, (r3,r2) bal (ra), __znst8ios_base4initc...@c movd$___dso_han...@l, (r1,r0) push$2,r0 .LCFI6: movd$0, (r5,r4) movd$___tc...@c, (r3,r2) .LCFI7: bal (ra), ___cxa_ate...@c addd$4, (sp) .LCFI8: .L7: movd(r13), (sp) addd$4, (sp) .LCFI9: popret $2, r13, ra .LCFI10: .LFE1398: .size __Z41__static_initialization_and_destruction_0ii, .-__Z41__static_initialization_and_destruction_0ii .align 4 .type __GLOBAL__I__Z3foov, @function __GLOBAL__I__Z3foov: .LFB1400: push$2, r13, ra .LCFI11: movd(sp), (r13) movw$-1, r3 movw$1, r2 bal (ra), __z41__static_initialization_and_destruction_...@c movd(r13), (sp) popret $2, r13, ra .LCFI12: .LFE1400: .size __GLOBAL__I__Z3foov, .-__GLOBAL__I__Z3foov .align 4 .type ___tcf_0, @function ___tcf_0: .LFB1399: push$2, r13, ra .LCFI13: addd$-4, (sp) .LCFI14: movd(sp), (r13) stord (r3,r2), 0(r13) movd$__zst8__ioi...@l, (r3,r2) bal (ra), __znst8ios_base4initd...@c movd(r13), (sp) addd$4, (sp) .LCFI15: popret $2, r13, ra .LCFI16: .LFE1399: .size ___tcf_0, .-___tcf_0 .section.rodata .align 2 .LC0: .string "Caught something in %s\n" .globl __Unwind_Resume .section.text .align 4 .globl __Z3foov .type __Z3foov, @function __Z3foov: .LFB1386: push$2, r13, ra push$4, r7 .LCFI17: addd$-4, (sp) .LCFI18: movd(sp), (r13) movd$4, (r3,r2) bal (ra), ___cxa_allocate_except...@c movd(r1,r0), (r8,r7) movd(r8,r7), (r1,r0) movd(r1,r0), (r3,r2) bal (ra), __znst9exceptionc...@c movd$__znst9exceptiond...@c, (r1,r0) push$2,r0 .LCFI19: movd$__ztist9except...@l, (r5,r4) movd(r8,r7), (r3,r2) .LEHB0: .LCFI20: bal (ra), ___cxa_th...@c .LEHE0: .LCFI21: .L18: stord (r8,r7), 0(r13) .L13: loadd 0(r13), (r3,r2) .LCFI22: bal (ra), ___cxa_begin_ca...@c movd$__zz3foove12__functio...@l, (r1,r0) push$2,r0 .LCFI23: movd$@l, (r1,r0) push$2,r0 .LCFI24: .LEHB1: .LCFI25: bal (ra), _pri...@c addd$8, (sp) .LCFI26: .LCFI27: bal (ra), ___cxa_reth...@c .LEHE1: .L17: stord (r8,r7), 0(r13) .L14: loadd 0(r13), (r8,r7) bal (ra), ___cxa_end_ca...@c stord (r8,r7), 0(r13) loadd 0(r13), (r3,r2) .LEHB2: bal (ra), __unwind_res...@c .LEHE2: .LFE1386: .size __Z3foov, .-__Z3foov .section.gcc_except_table,"aw",@progbits .align 4 .LLSDA1386: .byte 0xff .byte 0x0 .uleb128 .LLSDATT1386-.LLSDATTD1386 .LLSDATTD1386: .byte 0x1 .uleb128 .LLSDACSE1386-.LLSDACSB1386 .LLSDACSB1386: .uleb128 .LEHB0-.LFB1386 .uleb128 .LEHE0-.LEHB0 .uleb128 .L18-.LFB1386 .uleb128 0x1 .uleb128 .LEHB1-.LFB1386
[Bug binutils/10132] IMAGE_SCN_MEM_NOT_PAGED ignored in BFD
--- Additional Comments From hjl dot tools at gmail dot com 2009-06-29 14:08 --- Created an attachment (id=4028) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4028&action=view) A patch I have no idea if it is correct or not. -- http://sourceware.org/bugzilla/show_bug.cgi?id=10132 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/10255] no .eh_frame_hdr table will be created.
--- Additional Comments From MR dot Swami dot Reddy at nsc dot com 2009-06-29 09:55 --- Hello, Similar issue Igetting with cr16-elf tools? Is this patch taget specific? Thanks for any input. Thanks Swami -- http://sourceware.org/bugzilla/show_bug.cgi?id=10255 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/10288] "objdump -D --target=binary -m arm7tdmi" shows non-ARM7TDMI instructions
--- Additional Comments From nickc at redhat dot com 2009-06-29 08:35 --- Hi Chris, Right - I have checked in the patch as it stands at the moment (pr10288.patch.3). I will not close this PR though. I am going to look at the new problems you have raised today and, I hope, create a new PR. It was just annoying to have to keep such a large patch going, especially when it conflicts with PR 10297. Cheers Nick -- http://sourceware.org/bugzilla/show_bug.cgi?id=10288 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/10297] inconsistencies in objdump's presentation of undefined's and comments
--- Additional Comments From nickc at redhat dot com 2009-06-29 08:33 --- Hi Chris, Right, I have checked in the patch for this issue and I am going to close it for now. (Keeping track of two competeing PRs is annoying). If you wish you can of course re-open this PR, but I hope that will be happy with the current state of the disassembler. Cheers Nick -- What|Removed |Added Status|WAITING |RESOLVED Resolution||FIXED http://sourceware.org/bugzilla/show_bug.cgi?id=10297 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone who is. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/10288] "objdump -D --target=binary -m arm7tdmi" shows non-ARM7TDMI instructions
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-06-29 08:08 --- Subject: Bug 10288 CVSROOT:/cvs/src Module name:src Changes by: ni...@sourceware.org2009-06-29 08:08:15 Modified files: opcodes: ChangeLog arm-dis.c gas/testsuite : ChangeLog gas/testsuite/gas/arm: arch6zk.d arch7.d arm-it-auto-2.d arm-it-auto.d copro.d float.d fpa-mem.d group-reloc-ldc.d group-reloc-ldr.d iwmmxt.d maverick.d neon-omit.d svc.d thumb-eabi.d thumb.d thumb1_unified.d thumb2_add.d thumb2_relax.d thumb32.d vfp-neon-syntax.d vfp-neon-syntax_t2.d vfp1xD.d vfp1xD_t2.d vfpv3-const-conv.d xscale.d ld/testsuite : ChangeLog ld/testsuite/ld-arm: arm-app-abs32.d arm-app.d arm-lib-plt32.d arm-lib.d arm-pic-veneer.d armthumb-lib.d farcall-mixed-app-v5.d farcall-mixed-app.d farcall-mixed-lib.d group-relocs.d mixed-app-v5.d mixed-app.d mixed-lib.d thumb2-bl-undefweak.d Log message: PR 10288 * arm-dis.c (enum opcode_sentinels): New: Used to mark the boundary between variaant and generic coprocessor instuctions. (coprocessor): Use it. Fix architecture version of MCRR and MRRC instructions. (arm_opcdes): Fix patterns for STRB and STRH instructions. (print_insn_coprocessor): Check architecture and extension masks. Print a hexadecimal version of any decimal constant that is outside of the range of -16 to +32. (print_arm_address): Add a return value of the offset used in the adress, if it is worth printing a hexadecimal version of it. (print_insn_neon): Print a hexadecimal version of any decimal constant that is outside of the range of -16 to +32. (print_insn_arm): Likewise. (print_insn_thumb16): Likewise. (print_insn_thumb32): Likewise. PR 10297 * arm-dis.c (UNDEFINED_INSTRUCTION): New macro for a description of an undefined instruction. (arm_opcodes): Use it. (thumb_opcod): Use it. (thumb32_opc): Use it. Update expected disassembly regrexps in GAS and LD testsuites. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/opcodes/ChangeLog.diff?cvsroot=src&r1=1.1409&r2=1.1410 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/opcodes/arm-dis.c.diff?cvsroot=src&r1=1.98&r2=1.99 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1496&r2=1.1497 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/arch6zk.d.diff?cvsroot=src&r1=1.5&r2=1.6 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/arch7.d.diff?cvsroot=src&r1=1.4&r2=1.5 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/arm-it-auto-2.d.diff?cvsroot=src&r1=1.1&r2=1.2 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/arm-it-auto.d.diff?cvsroot=src&r1=1.1&r2=1.2 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/copro.d.diff?cvsroot=src&r1=1.8&r2=1.9 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/float.d.diff?cvsroot=src&r1=1.2&r2=1.3 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/fpa-mem.d.diff?cvsroot=src&r1=1.6&r2=1.7 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/group-reloc-ldc.d.diff?cvsroot=src&r1=1.4&r2=1.5 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/group-reloc-ldr.d.diff?cvsroot=src&r1=1.3&r2=1.4 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/iwmmxt.d.diff?cvsroot=src&r1=1.7&r2=1.8 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/maverick.d.diff?cvsroot=src&r1=1.7&r2=1.8 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/neon-omit.d.diff?cvsroot=src&r1=1.5&r2=1.6 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/svc.d.diff?cvsroot=src&r1=1.3&r2=1.4 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/thumb-eabi.d.diff?cvsroot=src&r1=1.1&r2=1.2 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/thumb.d.diff?cvsroot=src&r1=1.11&r2=1.12 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/thumb1_unified.d.diff?cvsroot=src&r1=1.1&r2=1.2 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/thumb2_add.d.diff?cvsroot=src&r1=1.4&r2=1.5 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/thumb2_relax.d.diff?cvsroot=src&r1=1.4&r2=1.5 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src
[Bug binutils/10297] inconsistencies in objdump's presentation of undefined's and comments
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-06-29 08:08 --- Subject: Bug 10297 CVSROOT:/cvs/src Module name:src Changes by: ni...@sourceware.org2009-06-29 08:08:15 Modified files: opcodes: ChangeLog arm-dis.c gas/testsuite : ChangeLog gas/testsuite/gas/arm: arch6zk.d arch7.d arm-it-auto-2.d arm-it-auto.d copro.d float.d fpa-mem.d group-reloc-ldc.d group-reloc-ldr.d iwmmxt.d maverick.d neon-omit.d svc.d thumb-eabi.d thumb.d thumb1_unified.d thumb2_add.d thumb2_relax.d thumb32.d vfp-neon-syntax.d vfp-neon-syntax_t2.d vfp1xD.d vfp1xD_t2.d vfpv3-const-conv.d xscale.d ld/testsuite : ChangeLog ld/testsuite/ld-arm: arm-app-abs32.d arm-app.d arm-lib-plt32.d arm-lib.d arm-pic-veneer.d armthumb-lib.d farcall-mixed-app-v5.d farcall-mixed-app.d farcall-mixed-lib.d group-relocs.d mixed-app-v5.d mixed-app.d mixed-lib.d thumb2-bl-undefweak.d Log message: PR 10288 * arm-dis.c (enum opcode_sentinels): New: Used to mark the boundary between variaant and generic coprocessor instuctions. (coprocessor): Use it. Fix architecture version of MCRR and MRRC instructions. (arm_opcdes): Fix patterns for STRB and STRH instructions. (print_insn_coprocessor): Check architecture and extension masks. Print a hexadecimal version of any decimal constant that is outside of the range of -16 to +32. (print_arm_address): Add a return value of the offset used in the adress, if it is worth printing a hexadecimal version of it. (print_insn_neon): Print a hexadecimal version of any decimal constant that is outside of the range of -16 to +32. (print_insn_arm): Likewise. (print_insn_thumb16): Likewise. (print_insn_thumb32): Likewise. PR 10297 * arm-dis.c (UNDEFINED_INSTRUCTION): New macro for a description of an undefined instruction. (arm_opcodes): Use it. (thumb_opcod): Use it. (thumb32_opc): Use it. Update expected disassembly regrexps in GAS and LD testsuites. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/opcodes/ChangeLog.diff?cvsroot=src&r1=1.1409&r2=1.1410 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/opcodes/arm-dis.c.diff?cvsroot=src&r1=1.98&r2=1.99 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1496&r2=1.1497 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/arch6zk.d.diff?cvsroot=src&r1=1.5&r2=1.6 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/arch7.d.diff?cvsroot=src&r1=1.4&r2=1.5 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/arm-it-auto-2.d.diff?cvsroot=src&r1=1.1&r2=1.2 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/arm-it-auto.d.diff?cvsroot=src&r1=1.1&r2=1.2 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/copro.d.diff?cvsroot=src&r1=1.8&r2=1.9 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/float.d.diff?cvsroot=src&r1=1.2&r2=1.3 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/fpa-mem.d.diff?cvsroot=src&r1=1.6&r2=1.7 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/group-reloc-ldc.d.diff?cvsroot=src&r1=1.4&r2=1.5 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/group-reloc-ldr.d.diff?cvsroot=src&r1=1.3&r2=1.4 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/iwmmxt.d.diff?cvsroot=src&r1=1.7&r2=1.8 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/maverick.d.diff?cvsroot=src&r1=1.7&r2=1.8 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/neon-omit.d.diff?cvsroot=src&r1=1.5&r2=1.6 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/svc.d.diff?cvsroot=src&r1=1.3&r2=1.4 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/thumb-eabi.d.diff?cvsroot=src&r1=1.1&r2=1.2 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/thumb.d.diff?cvsroot=src&r1=1.11&r2=1.12 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/thumb1_unified.d.diff?cvsroot=src&r1=1.1&r2=1.2 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/thumb2_add.d.diff?cvsroot=src&r1=1.4&r2=1.5 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/thumb2_relax.d.diff?cvsroot=src&r1=1.4&r2=1.5 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src