* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
<R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: Don't include the TLS size when emitting a known TP offset in the GOT.
This commit is contained in:
parent
6cdd57f45d
commit
019c5a2e3f
@ -1,3 +1,9 @@
|
||||
2009-03-24 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
|
||||
<R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: Don't include the TLS size
|
||||
when emitting a known TP offset in the GOT.
|
||||
|
||||
2009-03-23 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* elf64-ppc.c (synthetic_opd): Delete.
|
||||
|
@ -1735,9 +1735,8 @@ cris_elf_relocate_section (output_bfd, info, input_bfd, input_section,
|
||||
bfd_vma off;
|
||||
|
||||
/* The symbol is defined in the program, so just write
|
||||
(1, -prog_tls_size+known_tpoffset) into the GOT. */
|
||||
(1, known_tpoffset) into the GOT. */
|
||||
relocation -= elf_hash_table (info)->tls_sec->vma;
|
||||
relocation -= elf_hash_table (info)->tls_size;
|
||||
|
||||
if (h != NULL)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user