[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: |
Tue, 19 Nov 2013 15:13:42 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=16017
--- Comment #7 from Markus Mayer <lotharlutz at gmx dot de> ---
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 plt0_entry for thumb-only is not converted yet. I will take care of it
the next couple of days
- The size of a plt entry is set the thumb-entry size (which breaks normal arm
linking). The plt size must be set according to whether we are on thumb-only,
or not. I have tried using 'using_thumb_only', but it seams like 'abfd' is not
fully initialized inside 'elf32_arm_link_hash_table_create' to work with
'using_thumb_only'.
Any help and feedback is welcome
--
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 <=
- [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, 2013/11/22
- [Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3, lotharlutz at gmx dot de, 2013/11/22