mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
998d811a23
Commit e1f987424b
changed how
next_tls_desc_index was set up. This patch updates
elf_i386_compute_jump_table_size to use elf.srelplt->reloc_count
instead of next_tls_desc_index.
bfd/
PR ld/17057
* elf32-i386.c (elf_i386_compute_jump_table_size): Replace
next_tls_desc_index with elf.srelplt->reloc_count.
ld/testsuite/
PR ld/17057
* ld-i386/i386.exp: Run pr17057.
* ld-i386/pr17057.d: New file.
* ld-i386/pr17057.s: Likewise.
10 lines
284 B
Makefile
10 lines
284 B
Makefile
#name: PR ld/17057
|
|
#as: --32
|
|
#ld: -shared -melf_i386
|
|
#readelf: -r --wide
|
|
|
|
Relocation section '.rel.plt' at offset 0x[0-9a-f]+ contains 2 entries:
|
|
Offset Info Type Sym. Value Symbol's Name
|
|
[0-9a-f ]+R_386_JUMP_SLOT +0+ +foo
|
|
[0-9a-f ]+R_386_TLS_DESC +0+ +my_tls
|