newlib/include/elf
Nick Clifton 33a1f4b23b * mn10300.h (elf_mn10300_reloc_type): Add R_MN10300_TLS_GD,
R_MN10300_TLS_LD, R_MN10300_TLS_LDO, R_MN10300_TLS_GOTIE,
	R_MN10300_TLS_IE, R_MN10300_TLS_LE, R_MN10300_TLS_DPTMOD,
	R_MN10300_TLS_DTPOFF and R_MN10300_TLS_TPOFF.

	* elf-m10300.c (elf32_mn10300_link_hash_entry): Add tls_type
	field.
	(elf32_mn10300_link_hash_table): Add tls_ldm_got entry;
	(elf_mn10300_tdata): Define.
	(elf_mn10300_local_got_tls_type): Define.
	(elf_mn10300_howto_table): Add entries for R_MN10300_TLS_GD,
	R_MN10300_TLS_LD, R_MN10300_TLS_LDO, R_MN10300_TLS_GOTIE,
	R_MN10300_TLS_IE, R_MN10300_TLS_LE, R_MN10300_TLS_DPTMOD,
	R_MN10300_TLS_DTPOFF, R_MN10300_TLS_TPOFF relocs.
	(mn10300_reloc_map): Likewise.
	(elf_mn10300_tls_transition): New function.
	(dtpoff, tpoff, mn10300_do_tls_transition): New functions.
	(mn10300_elf_check_relocs): Add TLS support.
	(mn10300_elf_final_link_relocate): Likewise.
	(mn10300_elf_relocate_section): Likewise.
	(mn10300_elf_relax_section): Likewise.
	(elf32_mn10300_link_hash_newfunc): Initialise new field.
	(_bfd_mn10300_copy_indirect_symbol): New function.
	(elf32_mn10300_link_hash_table_create): Initialise new fields.
	(_bfd_mn10300_elf_size_dynamic_sections): Add TLS support.
	(_bfd_mn10300_elf_finish_dynamic_symbol): Likewise.
	(_bfd_mn10300_elf_reloc_type_class): Allocate an
	elf_mn10300_obj_tdata structure.
	(elf_backend_copy_indirect_symbol): Define.
	* reloc.c (BFD_MN10300_TLS_GD, BFD_MN10300_TLS_LD,
	BFD_MN10300_TLS_LDO, BFD_MN10300_TLS_GOTIE, BFD_MN10300_TLS_IE,
	BFD_MN10300_TLS_LE, BFD_MN10300_TLS_DPTMOD,
	BFD_MN10300_TLS_DTPOFF, BFD_MN10300_TLS_TPOFF): New relocations.
	(BFD_RELOC_MN10300_32_PCREL, BFD_RELOC_MN10300_16_PCREL): Move to
	alongside other MN10300 relocations.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.

	* config/tc-mn10300.c (other_registers): Add SSP and USP.
	(md_assemble): Add support for TLS relocs.
	(mn10300_parse_name): Likewise.

	* readelf.c (is_16bit_abs_reloc): Add detection of R_MN10300_16.
2012-03-07 17:51:56 +00:00
..
ChangeLog * mn10300.h (elf_mn10300_reloc_type): Add R_MN10300_TLS_GD, 2012-03-07 17:51:56 +00:00
ChangeLog-9103
alpha.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
arc.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
arm.h 2011-05-31 Paul Brook <paul@codesourcery.com> 2011-05-31 14:07:57 +00:00
avr.h /bfd: 2011-03-22 18:10:45 +00:00
bfin.h blackfin: add support for L1 code/data flags 2010-11-15 22:30:47 +00:00
common.h include/elf/ChangeLog: 2011-12-06 14:09:12 +00:00
cr16.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
cr16c.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
cris.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
crx.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
d10v.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
d30v.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
dlx.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
dwarf.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
epiphany.h bfd: 2011-10-27 14:27:16 +00:00
external.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
fr30.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
frv.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
h8.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
hppa.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
i370.h Implement generic SHF_EXCLUDE. 2010-05-18 03:31:06 +00:00
i386.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
i860.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
i960.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
ia64.h 2011-06-09 Tristan Gingold <gingold@adacore.com> 2011-06-09 08:53:05 +00:00
internal.h include/elf/ 2011-03-14 15:54:57 +00:00
ip2k.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
iq2000.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
lm32.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
m32c.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
m32r.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
m68hc11.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
m68k.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
mcore.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
mep.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
microblaze.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
mips.h 2011-12-19 Chung-Lin Tang <cltang@codesourcery.com> 2011-12-19 07:58:02 +00:00
mmix.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
mn10200.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
mn10300.h * mn10300.h (elf_mn10300_reloc_type): Add R_MN10300_TLS_GD, 2012-03-07 17:51:56 +00:00
moxie.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
msp430.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
mt.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
openrisc.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
or32.h Implement generic SHF_EXCLUDE. 2010-05-18 03:31:06 +00:00
pj.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
ppc.h include/ChangeLog 2011-07-11 15:03:08 +00:00
ppc64.h include/elf/ 2011-10-10 13:21:05 +00:00
reloc-macros.h Fix spelling mistakes. 2011-06-02 13:43:23 +00:00
rl78.h [bfd] 2011-12-23 01:49:37 +00:00
rx.h * readelf.c (get_machine_dlags): Add support for RX's PID mode. 2011-10-05 14:13:29 +00:00
s390.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
score.h Add support for Score7 architecture. 2009-03-02 10:33:07 +00:00
sh.h 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:41 +00:00
sparc.h Annotate sparc objects with cpu hardware capabilities used. 2011-09-21 20:49:15 +00:00
spu.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
tic6x-attrs.h bfd: 2010-11-02 14:36:37 +00:00
tic6x.h 2011-05-09 Paul Brook <paul@codesourcery.com> 2011-05-09 13:17:58 +00:00
tilegx.h Improve TLS support on TILE-Gx/TILEPro: 2012-02-25 22:24:21 +00:00
tilepro.h Improve TLS support on TILE-Gx/TILEPro: 2012-02-25 22:24:21 +00:00
v850.h Add support for v850E2 and v850E2V3 2010-07-23 14:52:53 +00:00
vax.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
vxworks.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
x86-64.h Add R_X86_64_RELATIVE64. 2011-08-12 20:33:34 +00:00
xc16x.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
xstormy16.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
xtensa.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00