[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3
From: |
meadori at codesourcery dot com |
Subject: |
[Bug ld/16017] LD creates invalid PLT instructions on CORTEX-M3 |
Date: |
Fri, 14 Feb 2014 14:26:20 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=16017
--- Comment #20 from Meador Inge <meadori at codesourcery dot com> ---
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 '0x08000000' instead of '0x08000800'.
2. Why do we limit the offset to 24 bits? It seems the encoding allows
for a full 32 bits, e.g. a fourth line that does:
| ((got_displacement & 0xf0000000) >> 28)
I understand why the 'elf32_arm_plt_entry' has this limitation.
--
You are receiving this mail because:
You are on the CC list for the bug.