+2004-10-28 Kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+ * elf32-sh.c (tpoff): Take alignment into account.
+
2004-10-28 Nick Clifton <nickc@redhat.com>
* elf32-iq2000.c (iq2000_elf_relocate_section): Do nothing when
return 0;
/* SH TLS ABI is variant I and static TLS block start just after tcbhead
structure which has 2 pointer fields. */
- return address - elf_hash_table (info)->tls_sec->vma + 8;
+ return (address - elf_hash_table (info)->tls_sec->vma
+ + align_power ((bfd_vma) 8,
+ elf_hash_table (info)->tls_sec->alignment_power));
}
static asection *