This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src bfd/ChangeLog bfd/bfd-in2.h bfd/elf32-mips ...
- From: cltang at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 19 Dec 2011 10:49:27 -0000
- Subject: src bfd/ChangeLog bfd/bfd-in2.h bfd/elf32-mips ...
CVSROOT: /cvs/src
Module name: src
Branch: binutils-2_22-branch
Changes by: cltang@sourceware.org 2011-12-19 10:49:27
Modified files:
bfd : ChangeLog bfd-in2.h elf32-mips.c elf64-mips.c
elfn32-mips.c elfxx-mips.c libbfd.h reloc.c
gas : ChangeLog
gas/config : tc-mips.c
include : ChangeLog
include/elf : mips.h
Log message:
2011-12-19 Chung-Lin Tang <cltang@codesourcery.com>
Backport from mainline:
2011-12-19 Chung-Lin Tang <cltang@codesourcery.com>
gas/
* config/tc-mips.c (mips_pseudo_table): Add tprelword/tpreldword
entries.
(mips16_percent_op): Add MIPS16 TLS relocation ops.
(md_apply_fix): Add BFD_RELOC_MIPS16_TLS_* switch cases.
(s_tls_rel_directive): Rename from s_dtprel_internal(). Abstract out
directive string and reloc type as function parameters. Update
comments.
(s_dtprelword,s_dtpreldword): Change to use s_tls_rel_directive().
(s_tprelword,s_tpreldword): New functions.
include/
* elf/mips.h (elf_mips_reloc_type): Add R_MIPS16_TLS_* entries.
bfd/
* reloc.c (BFD_RELOC_MIPS16_TLS_GD,BFD_RELOC_MIPS16_TLS_LDM,
BFD_RELOC_MIPS16_TLS_DTPREL_HI16,BFD_RELOC_MIPS16_TLS_DTPREL_LO16,
BFD_RELOC_MIPS16_TLS_GOTTPREL,BFD_RELOC_MIPS16_TLS_TPREL_HI16,
BFD_RELOC_MIPS16_TLS_TPREL_LO16): New relocations for MIPS16 TLS.
* bfd-in2.h (bfd_reloc_code_real): Regenerate.
* libbfd.h (bfd_reloc_code_real_names): Regenerate.
* elf32-mips.c (elf_mips16_howto_table_rel): Add R_MIPS16_TLS_*
entries.
(mips16_reloc_map): Add BFD_RELOC_MIPS16_TLS_* to R_MIPS16_TLS_*
mappings.
* elfn32-mips.c (elf_mips16_howto_table_rel,
elf_mips16_howto_table_rela): Add R_MIPS16_TLS_* entries.
(mips16_reloc_map): Add BFD_RELOC_MIPS16_TLS_* to R_MIPS16_TLS_*
mappings.
* elf64-mips.c (mips16_elf64_howto_table_rel,
mips16_elf64_howto_table_rela): Add R_MIPS16_TLS_* entries.
(mips16_reloc_map): Add BFD_RELOC_MIPS16_TLS_* to R_MIPS16_TLS_*
mappings.
* elfxx-mips.c (TLS_RELOC_P,mips16_reloc_p,
_bfd_mips_elf_check_relocs): Add cases for R_MIPS16_TLS_* relocations.
(tls_gd_reloc_p): Add R_MIPS16_TLS_GD case.
(tls_ldm_reloc_p): Add R_MIPS16_TLS_LDM case.
(tls_gottprel_reloc_p): Add R_MIPS16_TLS_GOTTPREL case.
(mips_elf_calculate_relocation): Add cases for R_MIPS16_TLS_*,
R_MIPS_TLS_DTPREL32/64, and R_MIPS_TLS_TPREL32/64 relocations.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.5473.2.31&r2=1.5473.2.32
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/bfd-in2.h.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.549&r2=1.549.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf32-mips.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.211&r2=1.211.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf64-mips.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.100&r2=1.100.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elfn32-mips.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.52&r2=1.52.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elfxx-mips.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.292.2.4&r2=1.292.2.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/libbfd.h.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.259&r2=1.259.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/reloc.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.216&r2=1.216.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.4583.2.4&r2=1.4583.2.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-mips.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.488.2.1&r2=1.488.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.549.2.2&r2=1.549.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/elf/mips.h.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.45&r2=1.45.2.1