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-09-12 16:25:49 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2012-10-30 12:44:57 +00:00
2012-05-16 14:52:16 +00:00
2010-11-15 22:30:47 +00:00
2012-12-10 12:48:00 +00:00
2012-12-10 12:48:00 +00:00
2012-11-16 12:49:20 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2011-10-27 14:27:16 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2010-05-18 03:31:06 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2011-06-09 08:53:05 +00:00
2011-03-14 15:54:57 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2012-08-02 20:08:54 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2012-12-11 16:56:53 +00:00
2012-11-08 18:25:23 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2012-03-07 17:51:56 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2010-05-18 03:31:06 +00:00
2010-04-15 10:26:09 +00:00
2011-10-10 13:21:05 +00:00
2012-05-14 19:45:27 +00:00
2011-06-02 13:43:23 +00:00
2011-12-23 01:49:37 +00:00
2012-11-09 17:00:42 +00:00
2012-07-13 15:47:25 +00:00
2009-03-02 10:33:07 +00:00
2010-05-25 14:12:41 +00:00
2012-04-27 18:00:52 +00:00
2010-04-15 10:26:09 +00:00
2010-11-02 14:36:37 +00:00
2011-05-09 13:17:58 +00:00
2012-08-28 02:43:22 +00:00
2012-02-25 22:24:21 +00:00
2012-11-09 17:36:19 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00
2011-08-12 20:33:34 +00:00
2010-04-15 10:26:09 +00:00
2012-05-03 13:12:06 +00:00
2010-04-15 10:26:09 +00:00
2010-04-15 10:26:09 +00:00