[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3
From: |
lotharlutz at gmx dot de |
Subject: |
[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3 |
Date: |
Fri, 22 Nov 2013 09:52:11 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=16017
--- Comment #10 from Markus Mayer <lotharlutz at gmx dot de> ---
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'
- Set 'plt_entry_size' inside 'elf32_arm_create_dynamic_sections'
- Move 'using_thumb_only' and 'using_thumb2' upwards, to make it available
inside 'elf32_arm_create_dynamic_sections'
Open issues:
- 'plt_entry_size' is still set incorrectly. 'using_thumb_only' return false
inside 'elf32_arm_create_dynamic_sections'
- When calling the plt entry from the .text segment a 'BLX <immediate>'
instruction is used. This instruction is not available in thumb mode. 'BL
<immediate>' must be used here.
Can you help me out with these issues?
Regards
Markus
--
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, cvs-commit at gcc dot gnu.org, 2013/11/14
- [Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3, nickc at redhat dot com, 2013/11/14
- [Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3, lotharlutz at gmx dot de, 2013/11/18
- [Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3, nickc at redhat dot com, 2013/11/18
- [Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3, lotharlutz at gmx dot de, 2013/11/19
- [Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3, lotharlutz at gmx dot de, 2013/11/19
- [Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3, lotharlutz at gmx dot de, 2013/11/19
- [Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3, nickc at redhat dot com, 2013/11/21
- [Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3, lotharlutz at gmx dot de, 2013/11/22
- [Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3,
lotharlutz at gmx dot de <=
- [Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3, lotharlutz at gmx dot de, 2013/11/22