Michael Eager
82f89336bf
Microblaze: Add support for handling TLS symbol suffixes and generating
TLS relocs for General Dynamic and Local Dynamic models.
bfd/Changelog
* reloc.c: Add new relocations
* bfd-in2.h: Regenerated
* libbfd.h: Regenerated
* elf32-microblaze.c (microblaze_elf_howto_raw):
Add TLS relocations
(microblaze_elf_reloc_type_lookup): Likewise
(elf32_mb_link_hash_entry): define TLS reference types
(elf32_mb_link_hash_table): add TLS Local dynamic GOT entry
#define has_tls_reloc if section has TLS relocs
(dtprel_base), (check_unique_offset): New
(microblaze_elf_output_dynamic_relocation): output simple
dynamic relocation into SRELOC.
(microblaze_elf_relocate_section): Accommodate TLS relocations.
(microblaze_elf_check_relocs): Likewise
(update_local_sym_info): New
(microblaze_elf_copy_indirect_symbol): Add tls_mask.
(allocate_dynrelocs): Handle TLS symbol
(microblaze_elf_size_dynamic_sections): Set size and offset
(microblaze_elf_finish_dynamic_symbol): Use
microblaze_elf_output_dynamic_relocation
gas/Changelog
* config/tc-microblaze.c: Define TLS offsets
(md_relax_table): Add TLS offsets
(imm_types), (match_imm), (get_imm_otype): New to support
TLS offsets.
(tc_microblaze_fix_adjustable): Add TLS relocs.
(md_convert_frag): Support TLS offsets.
(md_apply_fix), (md_estimate_size_before_relax), (tc_gen_reloc):
Add TLS relocs
include/Changelog
* elf/microblaze.h: Add TLS relocs to START_RELOC_NUMBERS
2012-12-11 16:56:53 +00:00
..
2012-12-10 12:48:00 +00:00
2012-12-10 12:48:00 +00:00
2012-12-10 12:48:00 +00:00
2012-12-11 16:56:53 +00:00
2012-12-10 12:48:00 +00:00
2012-12-10 12:48:00 +00:00
2012-12-10 12:48:00 +00:00
2012-12-10 12:48:00 +00:00
2012-12-10 12:48:00 +00:00
2012-12-10 12:48:00 +00:00
2009-11-18 11:57:44 +00:00
2011-10-22 01:35:29 +00:00
2012-10-24 11:09:28 +00:00
2008-08-25 04:36:03 +00:00
2010-04-15 10:26:09 +00:00
2012-12-11 16:56:53 +00:00
2012-12-10 12:48:00 +00:00
2005-05-10 10:21:13 +00:00
2007-07-17 13:50:23 +00:00
2012-11-11 22:37:19 +00:00
2012-08-13 14:52:48 +00:00
2012-11-11 22:37:19 +00:00
2012-11-11 22:37:19 +00:00
2009-06-01 19:40:32 +00:00
2009-06-01 19:40:32 +00:00
2012-07-13 23:39:46 +00:00
2011-01-03 21:05:50 +00:00
2005-05-10 10:21:13 +00:00
1999-05-03 07:29:06 +00:00
1999-05-03 07:29:06 +00:00
2009-05-25 13:04:40 +00:00
2005-05-10 10:21:13 +00:00
2005-05-10 10:21:13 +00:00
2010-06-10 18:30:17 +00:00
2010-04-15 10:26:09 +00:00
2005-05-10 10:21:13 +00:00
2012-05-24 01:18:15 +00:00
2011-09-28 20:01:37 +00:00
2009-10-07 02:57:27 +00:00
2000-07-05 19:28:05 +00:00
2008-03-25 00:21:18 +00:00
2010-04-15 10:26:09 +00:00
2012-10-10 03:11:22 +00:00
2011-10-22 01:35:29 +00:00
2005-05-10 10:21:13 +00:00
2005-05-10 10:21:13 +00:00
2012-08-24 18:35:35 +00:00
2010-04-15 10:26:09 +00:00
2008-07-07 17:09:31 +00:00
2010-04-15 10:26:09 +00:00
2010-11-17 02:03:39 +00:00
2005-05-10 10:21:13 +00:00
2012-04-10 17:07:28 +00:00
2010-03-23 15:58:51 +00:00
2011-09-28 20:01:37 +00:00
2005-07-12 10:34:51 +00:00
2011-07-25 17:11:44 +00:00
2011-01-03 21:05:50 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00