mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
b5b05a6e65
As the comment in the code says, TLS_IE needs only one dynamic reloc.
But commit b67a17aa7c
("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: Xi Ruoyao <xry111@xry111.site>
10 lines
120 B
Makefile
10 lines
120 B
Makefile
#source: desc-ie.s
|
|
#as:
|
|
#ld: -shared -z norelro --hash-style=both
|
|
#readelf: -Wr
|
|
|
|
#failif
|
|
#...
|
|
.* +R_LARCH_NONE +.*
|
|
#...
|