[PATCH v1 1/1] bfd: microblaze: Fix bug in TLSTPREL Relocation

Michael Eager eager@eagercon.com
Fri Sep 29 15:36:37 GMT 2023


On 9/27/23 08:24, Nick Clifton via Binutils wrote:
> Hi Neal,
> 
>> Fixed the problem related to the fixup/relocations TLSTPREL.
>> When the fixup is applied the addend is not added at the correct offset
>> of the instruction. The offset is hard coded considering its big endian
>> and it fails for Little endian. This patch allows support for both
>> big & little-endian compilers.
>>
>> This patch has been tested for years of AMD Xilinx Yocto
>> releases as part of the following patch set:
>>
>> https://github.com/Xilinx/meta-xilinx/tree/master/meta-microblaze/recipes-devtools/binutils/binutils
>>
>> Signed-off-by: nagaraju <nagaraju.mekala@amd.com>
>> Signed-off-by: Neal Frager <neal.frager@amd.com>
>> ---
>>   bfd/elf32-microblaze.c | 4 ++--
>>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> Patch approved, please apply.
> 
> Cheers
>    Nick

Committed.

-- 
Michael Eager



More information about the Binutils mailing list