[PATCH] gas/NEWS, ld/NEWS: Announce LoongArch changes in 2.42
mengqinggang
mengqinggang@loongson.cn
Wed Jan 24 03:24:57 GMT 2024
在 2024/1/23 下午4:35, Xi Ruoyao 写道:
> On Tue, 2024-01-23 at 11:56 +0800, mengqinggang wrote:
>
>>> +* TLS LE relaxation is now supported on LoongArch. New relocation
>>> + operators %le_hi20_r, %le_lo12r, and %le_add_r are now available, with
>>> + la.tls.le now making use of them.
>>
>> la.tls.le still expands to the old instruction sequences. Gcc generates
>> new TLS LE
>> instruction sequences when -mexplicit-relocs=[always,auto].
> Indeed, I'll remove the last sentence.
>
>>> +* Add support for encoding three-expression .align directives on LoongArch
>>> + with R_LARCH_ALIGN.
>>
>> R_LARCH_ALIGN only supports the first and the third expressions of .align.
> Hmm, using something like .align 16,,4 now triggers a warning, so I'll
> remove this paragraph and rather not announce this change to users now.
> In the next release we may turn the warning off by default or support
> the second expression (?).
We currently do not plan to support the second expression because code
section alignment typically pads the NOP instructions.
Writing other data may result in illegal instruction error.
More information about the Binutils
mailing list