newlib/include/elf
Daniel Jacobowitz 72a90d496d bfd/
* bfd-in2.h, libbfd.h: Regenerated.
	* reloc.c: Add ARM TLS relocations.
	* elf32-arm.c (elf32_arm_howto_table): Add dynamic TLS
	relocations.
	(elf32_arm_tls_gd32_howto, elf32_arm_tls_ldo32_howto)
	(elf32_arm_tls_ldm32_howto, elf32_arm_tls_le32_howto)
	(elf32_arm_tls_ie32_howto): New.
	(elf32_arm_howto_from_type): Support TLS relocations.
	(elf32_arm_reloc_map): Likewise.
	(elf32_arm_reloc_type_lookup): Likewise.
	(TCB_SIZE): Define.
	(struct elf32_arm_obj_tdata): New.
	(elf32_arm_tdata, elf32_arm_local_got_tls_type): Define.
	(elf32_arm_mkobject): New function.
	(struct elf32_arm_relocs_copied): Add pc_count.
	(elf32_arm_hash_entry, GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD)
	(GOT_TLS_IE): Define.
	(struct elf32_arm_link_hash_table): Add tls_ldm_got.
	(elf32_arm_link_hash_newfunc): Initialize tls_type.
	(elf32_arm_copy_indirect_symbol): Copy pc_count and tls_type.
	(elf32_arm_link_hash_table_create): Initialize tls_ldm_got.
	(dtpoff_base, tpoff): New functions.
	(elf32_arm_final_link_relocate): Handle TLS relocations.
	(IS_ARM_TLS_RELOC): Define.
	(elf32_arm_relocate_section): Warn about TLS mismatches.
	(elf32_arm_gc_sweep_hook): Handle TLS relocations and pc_count.
	(elf32_arm_check_relocs): Detect invalid symbol indexes.  Handle
	TLS relocations and pc_count.
	(elf32_arm_adjust_dynamic_symbol): Check non_got_ref.
	(allocate_dynrelocs): Handle TLS.  Bind REL32 relocs to local
	calls.
	(elf32_arm_size_dynamic_sections): Handle TLS.
	(elf32_arm_finish_dynamic_symbol): Likewise.
	(bfd_elf32_mkobject): Define.
gas/
	* config/tc-arm.c (arm_parse_reloc): Add TLS relocations.
	(md_apply_fix3): Mark TLS symbols.
	(tc_gen_reloc): Handle TLS relocations.
	(arm_fix_adjustable): Ignore TLS relocations.
	(s_arm_elf_cons): Support expressions after decorated symbols.
gas/testuite/
	* gas/arm/tls.s, gas/arm/tls.d: New files.
	* gas/arm/arm.exp: Run TLS test.
include/elf/
	* arm.h: Add TLS relocations.
ld/testsuite/
	* ld-arm/tls-lib.s, ld-arm/tls-lib.d, ld-arm/tls-lib.r,
	ld-arm/tls-app.s, ld-arm/tls-app.d, ld-arm/tls-app.r: New files.
	* ld-arm/arm-lib.ld, ld-arm/arm-dyn.ld: Increase data segment
	alignment.
	* ld-arm/arm-elf.exp: Run TLS tests.
2005-03-29 16:54:22 +00:00
..
ChangeLog bfd/ 2005-03-29 16:54:22 +00:00
ChangeLog-9103 Split ChangeLog files. 2004-01-02 11:16:20 +00:00
alpha.h update copyright dates 2005-03-03 11:58:10 +00:00
arc.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
arm.h bfd/ 2005-03-29 16:54:22 +00:00
avr.h Add support for the new R_AVR_LDI, R_AVR_6 and R_AVR_6_ADIW relocs for the 2004-12-22 14:25:37 +00:00
common.h bfd/ 2004-10-08 13:55:09 +00:00
cr16c.h Add (linker) support for CR16C processor 2004-03-30 14:04:32 +00:00
cris.h update copyright dates 2005-03-03 11:58:10 +00:00
crx.h Add CRX insns: pushx, popx 2004-07-27 11:37:11 +00:00
d10v.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
d30v.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
dlx.h Add DLX target 2002-05-28 14:08:26 +00:00
dwarf.h * dwarf.h: Merge with GCC's dwarf.h. 2005-03-22 19:51:31 +00:00
dwarf2.h 2004-10-06 Eric Christopher <echristo@redhat.com> 2004-10-06 20:29:48 +00:00
external.h update copyright dates 2005-03-03 11:58:10 +00:00
fr30.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
frv.h update copyright dates 2005-03-03 11:58:10 +00:00
h8.h include/elf/ 2003-06-10 07:09:28 +00:00
hppa.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
i370.h * i370.h: Define relocs using reloc-macros.h. 2002-08-15 12:19:14 +00:00
i386.h update copyright dates 2005-03-03 11:58:10 +00:00
i860.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
i960.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
ia64.h update copyright dates 2005-03-03 11:58:10 +00:00
internal.h update copyright dates 2005-03-03 11:58:10 +00:00
ip2k.h Add IP2k support to BFD and LD 2002-07-17 14:15:50 +00:00
iq2000.h update copyright dates 2005-03-03 11:58:10 +00:00
m32r.h Add support for M32R GOT relocs 2004-06-25 16:11:09 +00:00
m68hc11.h * m68hc11.h (EF_M68HC12_MACH, EF_M68HCS12_MACH): Define. 2002-12-01 12:16:21 +00:00
m68k.h Add support for generating PLT lookups for the ColdFire. 2005-03-18 17:20:23 +00:00
mcore.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
mips.h update copyright dates 2005-03-03 11:58:10 +00:00
mmix.h * mmix.h (R_MMIX_PUSHJ_STUBBABLE): New reloc number. 2003-10-18 15:46:35 +00:00
mn10200.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
mn10300.h update copyright dates 2005-03-03 11:58:10 +00:00
msp430.h update copyright dates 2005-03-03 11:58:10 +00:00
openrisc.h Add OpenRISC support 2001-04-24 15:08:16 +00:00
or32.h Add support for OpenRISC 32-bit embedded processor 2002-01-31 17:33:03 +00:00
pj.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
ppc.h update copyright dates 2005-03-03 11:58:10 +00:00
ppc64.h * ppc64.h (IS_PPC64_TLS_RELOC): Rename from IS_TLS_RELOC. 2003-02-18 12:52:55 +00:00
reloc-macros.h Convert to C90. 2003-08-07 02:25:50 +00:00
s390.h update copyright dates 2005-03-03 11:58:10 +00:00
sh.h Fix SH2A machine variants in order to correctly select instruction inheritance 2005-01-17 14:08:16 +00:00
sparc.h update copyright dates 2005-03-03 11:58:10 +00:00
v850.h update copyright dates 2005-03-03 11:58:10 +00:00
vax.h include/elf: 2002-07-01 16:43:38 +00:00
x86-64.h update copyright dates 2005-03-03 11:58:10 +00:00
xstormy16.h * xstormy16.h: Add XSTORMY16_12. 2002-12-20 21:13:42 +00:00
xtensa.h bfd ChangeLog 2004-10-08 00:22:12 +00:00