[Bug binutils/15993] gdb-7.6.1/bfd/elf32-m32c.c:921: bad switch statement
https://sourceware.org/bugzilla/show_bug.cgi?id=15993 Sergio Durigan Junior changed: What|Removed |Added Status|NEW |ASSIGNED -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/15993] gdb-7.6.1/bfd/elf32-m32c.c:921: bad switch statement
https://sourceware.org/bugzilla/show_bug.cgi?id=15993 --- Comment #2 from Sergio Durigan Junior --- Proposed fix: https://sourceware.org/ml/binutils/2013-10/msg00061.html -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/15993] gdb-7.6.1/bfd/elf32-m32c.c:921: bad switch statement
https://sourceware.org/bugzilla/show_bug.cgi?id=15993 --- Comment #3 from dcb --- (In reply to Sergio Durigan Junior from comment #1) > I will post a patch soon. Thanks. Similar problems at gdb-7.6.1/bfd/elf32-rl78.c:1112 gdb-7.6.1/bfd/elf32-rx.c:3180 -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/15993] gdb-7.6.1/bfd/elf32-m32c.c:921: bad switch statement
https://sourceware.org/bugzilla/show_bug.cgi?id=15993 --- Comment #4 from dcb --- (In reply to dcb from comment #3) > (In reply to Sergio Durigan Junior from comment #1) > > I will post a patch soon. > > Thanks. > > Similar problems at > > gdb-7.6.1/bfd/elf32-rl78.c:1112 > > gdb-7.6.1/bfd/elf32-rx.c:3180 and gdb-7.6.1/sim/erc32/float.c:95 -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/16017] New: LD creates invalid PLT instructions on CORTEX-M3
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 Bug ID: 16017 Summary: LD creates invalid PLT instructions on CORTEX-M3 Product: binutils Version: 2.23 Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: lotharlutz at gmx dot de When compiling a shared library for cortex-M3, ld creates ARM instructions for jumping to the plt and the plt itself. But the cortex only supports thumb instructions, which results in a runtime error. Test case: compile test.c with arm-none-eabi-gcc -fPIC -nostartfiles -nostdlib -mcpu=cortex-m3 -mthumb -shared -o libtest.so test.c test.c: int foo(); int bar() { return foo(); } Result: Disassembly of section .plt: 0238 <.plt>: 238: e52de004push{lr}; (str lr, [sp, #-4]!) 23c: e59fe004ldr lr, [pc, #4]; 248 240: e08fe00eadd lr, pc, lr 244: e5bef008ldr pc, [lr, #8]! 248: 8098muleq r0, r8, r0 24c: e28fc600add ip, pc, #0, 12 250: e28cca08add ip, ip, #8, 20 ; 0x8000 254: e5bcf098ldr pc, [ip, #152]! ; 0x98 Disassembly of section .text: 0258 : 258: b580push{r7, lr} 25a: af00add r7, sp, #0 25c: f7ff eff6 blx 24c 260: 4603mov r3, r0 262: 4618mov r0, r3 264: bd80pop {r7, pc} 266: bf00nop 24c, 250, 254 as well as 25c are ARM instructions and therefore invalid on cortex-m3 cores. Possible related bugs: bz#13320: Similar issue on gold bz#13867: maybe related bz#15628: similar issue in cortex-m4 -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/15993] gdb-7.6.1/bfd/elf32-m32c.c:921: bad switch statement
https://sourceware.org/bugzilla/show_bug.cgi?id=15993 --- Comment #5 from Sergio Durigan Junior --- I will ask you to create another bug for those. gdb-7.6.1/bfd/elf32-rl78.c:1112 and gdb-7.6.1/bfd/elf32-rx.c:3180 are BFD bugs and should be opened against binutils. gdb-7.6.1/sim/erc32/float.c:95 is a GDB bug and can be opened against it. You can put me on the Cc list and I will take ownership. Thanks. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/15993] gdb-7.6.1/bfd/elf32-m32c.c:921: bad switch statement
http://sourceware.org/bugzilla/show_bug.cgi?id=15993 --- Comment #6 from cvs-commit at gcc dot gnu.org --- CVSROOT:/cvs/src Module name:src Changes by:sergi...@sourceware.org2013-10-09 05:23:24 Modified files: bfd: ChangeLog elf32-m32c.c Log message: bfd/ChangeLog 2013-10-09 Sergio Durigan Junior PR binutils/15993 * elf32-m32c.c (dump_symtab): Add missing "break;" statement on each "case". Reindent "switch" statements. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.6152&r2=1.6153 http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf32-m32c.c.diff?cvsroot=src&r1=1.31&r2=1.32 -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/15993] gdb-7.6.1/bfd/elf32-m32c.c:921: bad switch statement
https://sourceware.org/bugzilla/show_bug.cgi?id=15993 Sergio Durigan Junior changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #7 from Sergio Durigan Junior --- Patch committed. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils