Add PIC and TLS support to the ARC target.
[binutils-gdb.git] / bfd / ChangeLog
1 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
2 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
3
4 * arc-plt.def: New file.
5 * arc-plt.h: Likewise.
6 * elf32-arc.c (elf_arc_abs_plt0_entry, elf_arc_abs_pltn_entry,
7 elf_arcV2_abs_plt0_entry, elf_arcV2_abs_pltn_entry,
8 elf_arc_pic_plt0_entry, elf_arc_pic_pltn_entry,
9 elf_arcV2_pic_plt0_entry, elf_arcV2_pic_pltn_entry): Remove.
10 (name_for_global_symbol): Added.
11 (ADD_RELA): Helper to create dynamic relocs.
12 (new_got_entry_to_list): Create a new got entry in linked list.
13 (symbol_has_entry_of_type): Search for specific type of entry in
14 list.
15 (is_reloc_for_GOT): return FALSE for any TLS related relocs.
16 (is_reloc_for_TLS, arc_elf_set_private_flags)
17 (arc_elf_print_private_bfd_data, arc_elf_copy_private_bfd_data)
18 (arc_elf_merge_private_bfd_data): New functions.
19 (debug_arc_reloc): Cleaned debug info printing.
20 (PDATA reloc): Changed not to perform address alignment.
21 (reverse_me): Added. Fix for ARC_32 relocs.
22 (arc_do_relocation): Return bfd_reloc_of when no relocation should
23 occur.
24 (arc_get_local_got_ents): Renamed from arc_get_local_got_offsets.
25 Changed function to access an array of list of GOT entries instead
26 of just an array of offsets.
27 (elf_arc_relocate_section): Added support for PIC and TLS related relocations.
28 (elf_arc_check_relocs): Likewise.
29 (elf_arc_adjust_dynamic_symbol, elf_arc_finish_dynamic_symbol,
30 (elf_arc_finish_dynamic_sections): Likewise
31 (arc_create_dynamic_sections): Modified conditions to create
32 dynamic sections.
33 (ADD_SYMBOL_REF_SEC_AND_RELOC): New macro.
34 (plt_do_relocs_for_symbol, relocate_plt_for_symbol)
35 (relocate_plt_for_entry): Changed to support new way to define PLT
36 related code.
37 (add_symbol_to_plt): Likewise.
38 (arc_elf_link_hash_table_create): New function.
39
40 2016-01-18 Nick Clifton <nickc@redhat.com>
41
42 PR ld/19440
43 * coff-rs6000.c (_bfd_xcoff_swap_sym_in): Sign extend external
44 section number into internal section number.
45 * coff64-rs6000.c (_bfd_xcoff64_swap_sym_in): Likewise.
46 * coffswap.h (coff_swap_sym_in): Likewise.
47 * peXXigen.c (_bfd_XXi_swap_sym_in): Likewise.
48 * coffcode.h (_coff_bigobj_swap_sym_in): Make sure that internal
49 section number field is big enough to hold the external value.
50
51 2016-01-17 Alan Modra <amodra@gmail.com>
52
53 * configure: Regenerate.
54
55 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
56
57 * elf32-arm.c (elf32_arm_fix_exidx_coverage): Insert cantunwind
58 when address in first unwind entry does not match start of
59 section.
60
61 2016-01-08 Richard Sandiford <richard.sandiford@arm.com>
62 Jiong Wang <jiong.wang@arm.com>
63
64 PR ld/19368
65 * elf32-arm.c (elf32_arm_reloc_type_class): Map R_ARM_IRELATIVE to
66 reloc_class_ifunc.
67
68 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
69
70 * elf32-arc.c (reloc_type_to_name): Change ARC_RELOC_HOWTO to
71 place 'R_' before the reloc name returned.
72 (elf_arc_howto_table): Change ARC_RELOC_HOWTO to place 'R_' before
73 the relocation string.
74
75 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
76
77 * elfxx-mips.c (mips_elf_merge_obj_abiflags): New function,
78 factored out from...
79 (_bfd_mips_elf_merge_private_bfd_data): ... here.
80
81 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
82
83 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Move
84 attribute check after ELF file header flag check.
85
86 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
87
88 * elfxx-mips.c (mips_elf_merge_obj_attributes): Propagate the
89 return status from `_bfd_elf_merge_object_attributes'.
90
91 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
92
93 * elfxx-mips.c (mips_elf_merge_obj_e_flags): New function,
94 factored out from...
95 (_bfd_mips_elf_merge_private_bfd_data): ... here.
96
97 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
98
99 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Fold the
100 handling of input MIPS ABI flags together.
101
102 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
103
104 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Suppress
105 attribute checks for null input.
106
107 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
108
109 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Use local
110 pointers to target data.
111
112 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
113
114 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Correct
115 an FP ABI warning.
116
117 2016-01-01 Alan Modra <amodra@gmail.com>
118
119 Update year range in copyright notice of all files.
120
121 For older changes see ChangeLog-2015 and doc/ChangeLog-0415
122 \f
123 Copyright (C) 2016 Free Software Foundation, Inc.
124
125 Copying and distribution of this file, with or without modification,
126 are permitted in any medium without royalty provided the copyright
127 notice and this notice are preserved.
128
129 Local Variables:
130 mode: change-log
131 left-margin: 8
132 fill-column: 74
133 version-control: never
134 End: