Skip to content
Commit b5b05a6e authored by Xi Ruoyao's avatar Xi Ruoyao Committed by liuzhensong
Browse files

LoongArch: TLS IE needs only one dynamic reloc



As the comment in the code says, TLS_IE needs only one dynamic reloc.
But commit b67a17aa ("LoongArch: Fix the issue of excessive
relocation generated by GD and IE") has incorrectly allocated the space
for two dynamic relocs, causing libc.so to contain 8 R_LARCH_NONE.

Adjust tlsdesc-dso.d for the offset changes and add two tests to ensure
there are no R_LARCH_NONE with TLS.

Signed-off-by: default avatarXi Ruoyao <xry111@xry111.site>
parent b5929e7a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment