* elfxx-ia64.c (elfNN_ia64_fake_sections): Set SHF_IA_64_HP_TLS

if SHF_TLS is set.
This commit is contained in:
Steve Ellcey 2006-02-06 21:55:39 +00:00
parent 38fcd64c3a
commit 75eb734c5c
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-02-06 Steve Ellcey <sje@cup.hp.com>
* elfxx-ia64.c (elfNN_ia64_fake_sections): Set SHF_IA_64_HP_TLS
if SHF_TLS is set.
2006-02-05 Arnold Metselaar <arnold.metselaar@planet.nl>
* coff-z80.c (r_imm24): New howto.

View File

@ -1524,6 +1524,11 @@ elfNN_ia64_fake_sections (abfd, hdr, sec)
if (sec->flags & SEC_SMALL_DATA)
hdr->sh_flags |= SHF_IA_64_SHORT;
/* Some HP linkers look for the SHF_IA_64_HP_TLS flag instead of SHF_TLS. */
if (elfNN_ia64_hpux_vec (abfd->xvec) && (sec->flags & SHF_TLS))
hdr->sh_flags |= SHF_IA_64_HP_TLS;
return TRUE;
}