[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2020-04-08 Thread tnfchris at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 Tamar Christina changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2020-04-08 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 --- Comment #31 from cvs-commit at gcc dot gnu.org --- The binutils-2_34-branch branch has been updated by Tamar Christina : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=aaf3f0599a210699a76767c07a7d7f62d7633d71 commit aaf3f0599

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2020-04-01 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 --- Comment #30 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tamar Christina : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3ce23ca1de4c769c4b7247f0724a10ef5fb24a11 commit 3ce23ca1de4c769c4b7247f

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2020-04-01 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 --- Comment #29 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tamar Christina : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a7618269b727da9cf56727c22cb538ff5f0e4d25 commit a7618269b727da9cf56727c

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2020-03-26 Thread tnfchris at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 Tamar Christina changed: What|Removed |Added Target Milestone|--- |2.34 Assignee|unassigned

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2020-03-26 Thread tnfchris at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 Tamar Christina changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2014-03-04 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 Nick Clifton changed: What|Removed |Added Status|SUSPENDED |RESOLVED Resolution|---

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2014-03-04 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 --- Comment #26 from cvs-commit at gcc dot gnu.org --- This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gdb and binutils". The branch

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2014-03-03 Thread meadori at codesourcery dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 --- Comment #25 from Meador Inge --- Hi Nick, The runtime testing we did with this patch worked for our use cases. Thanks again. -- You are receiving this mail because: You are on the CC list for the bug. _

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2014-02-14 Thread meadori at codesourcery dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 --- Comment #24 from Meador Inge --- Thanks Nick! The last version looks good. We will try some runtime testing on it. -- You are receiving this mail because: You are on the CC list for the bug. ___

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2014-02-14 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 Nick Clifton changed: What|Removed |Added Attachment #7415|0 |1 is obsolete|

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2014-02-14 Thread meadori at codesourcery dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 --- Comment #22 from Meador Inge --- Hi Nick, I just noticed that the mask for 'elf32_thumb2_plt_entry[0]' has the same typo, but the upper 8 needs to be removed instead. I had to squint to see it :-) Also, we should remove the 'BFD_ASSERT

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2014-02-14 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 Nick Clifton changed: What|Removed |Added Attachment #7414|0 |1 is obsolete|

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2014-02-14 Thread meadori at codesourcery dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 --- Comment #20 from Meador Inge --- Hi Nick, Thanks for the update. A few questions/observations: 1. I think the third mask on 'elf32_thumb2_plt_entry[1]' when applying the constants should be '0x0800' instead of '0x08000800'. 2. W

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2014-02-14 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 Nick Clifton changed: What|Removed |Added Attachment #7291|0 |1 is obsolete|

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2014-01-31 Thread meadori at codesourcery dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 --- Comment #18 from Meador Inge --- Right, my reading of the ARM manuals suggest that with 'ADD , ' (T2 encoding) that Rm can be PC. Only things like 'ADD PC, Rm' and 'ADD PC, PC' are unpredictable. I came up with a similar encoding: 0:

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2014-01-31 Thread h.IrfanAhmad at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 --- Comment #17 from Irfan Ahmad --- I missed an && in the ARM reference manual, :( addip, pc Should be legal addw ip, pc, #0 is not. So we can rework my suggestion to: 1: f240 0c00 movwip, #0x ; Lower 16 bits of GOT

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2014-01-31 Thread lotharlutz at gmx dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 --- Comment #16 from Markus Mayer --- Will thinking about it, I came to the following conclusion (only line 2 differs). It safes 2 byte. 1: push{r0} 2: mov r0, pc 3: movwip, #0x ; Lower 16 bits of GOT entry offset from PC 4: m

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2014-01-31 Thread h.IrfanAhmad at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 Irfan Ahmad changed: What|Removed |Added CC||h.IrfanAhmad at gmail dot com --- Comme

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2014-01-31 Thread meadori at codesourcery dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 Meador Inge changed: What|Removed |Added CC||meadori at codesourcery dot com --- Com

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2013-12-13 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=16017 --- Comment #13 from cvs-commit at gcc dot gnu.org --- This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gdb and binutils". The annotat

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2013-12-06 Thread lotharlutz at gmx dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 Markus Mayer changed: What|Removed |Added Status|WAITING |SUSPENDED --- Comment #12 from Markus

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2013-12-05 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 --- Comment #11 from Nick Clifton --- Created attachment 7314 --> https://sourceware.org/bugzilla/attachment.cgi?id=7314&action=edit 3rd version of patch Hi Markus, [Sorry for the delay in responding - I have been sidetracked by other t

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2013-11-22 Thread lotharlutz at gmx dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 Markus Mayer changed: What|Removed |Added CC||lotharlutz at gmx dot de -- You are r

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2013-11-22 Thread lotharlutz at gmx dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 --- Comment #10 from Markus Mayer --- Hi Nick, I have attached a new version of my previous patch. Changes: - convert pl0 to thumb - Show error when using thumb-1 thumb-only targets - Rename 'elf32_thumb_plt_entry' to 'elf32_thumb2_plt_entry'

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2013-11-22 Thread lotharlutz at gmx dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 Markus Mayer changed: What|Removed |Added Attachment #7285|0 |1 is obsolete|

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2013-11-21 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 Nick Clifton changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #8 from Nick Clift

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2013-11-19 Thread lotharlutz at gmx dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 --- Comment #7 from Markus Mayer --- I have attached a patch to create thumb plt entries. The patch has some issues: - The plt entries are using tumb-2 instructions. When on an thumb only thumb-1 device, an error should be emitted. - The pl

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2013-11-19 Thread lotharlutz at gmx dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 --- Comment #6 from Markus Mayer --- Created attachment 7285 --> https://sourceware.org/bugzilla/attachment.cgi?id=7285&action=edit Patch for thumb plt entries -- You are receiving this mail because: You are on the CC list for the bug. __

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2013-11-19 Thread lotharlutz at gmx dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 --- Comment #5 from Markus Mayer --- As I don't know what limitations exists for PLT entries I will provide different solutions. Base assumptions: - The IP register must contain the (absolute)address of the GOT entry (I think it is needed for

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2013-11-18 Thread nickc at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=16017 --- Comment #4 from Nick Clifton --- Hi Markus, > Is there anything I can do to help with this issue? e.g. providing assembler > code for plt entries. Yes please - that would help a lot. Cheers Nick -- You are receiving this mail becaus

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2013-11-17 Thread lotharlutz at gmx dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 --- Comment #3 from Markus Mayer --- Hi Nick, thanks for your reply. I have tried to fix it myself, but I am not familiar enough with the code base. Is there anything I can do to help with this issue? e.g. providing assembler code for plt en

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2013-11-14 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16017 Nick Clifton changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3

2013-11-14 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=16017 --- Comment #1 from cvs-commit at gcc dot gnu.org --- This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gdb and binutils". The branch,