MIPS/BFD: Simplify register index calculation in BZ16_REG_FIELD
[binutils-gdb.git] / bfd / ChangeLog
1 2016-01-24 Maciej W. Rozycki <macro@imgtec.com>
2
3 * elfxx-mips.c (BZ16_REG_FIELD): Simplify calculation.
4
5 2016-01-24 Maciej W. Rozycki <macro@imgtec.com>
6
7 * elfxx-mips.c (BZ16_REG): Correct calculation.
8
9 2016-01-21 Nick Clifton <nickc@redhat.com>
10
11 * elf32-arc.c (ADD_RELA): Fix compile time warning errors by
12 changing the type of _loc to be bfd_byte *.
13 (elf_arc_finish_dynamic_symbol): Likewise.
14
15 2016-01-21 Nick Clifton <nickc@redhat.com>
16
17 PR ld/19455
18 * elf32-arm.c (elf32_arm_create_dynamic_sections): Set the ELF
19 class of the linker stub bfd.
20 (elf32_arm_check_relocs): Skip check for pic format after
21 processing a vxWorks R_ARM_ABS12 reloc.
22 * elflink.c (bfd_elf_final_link): Check for ELFCLASSNONE when
23 reporting a class mismatch.
24
25 2016-01-21 Jiong Wang <jiong.wang@arm.com>
26
27 * elfnn-aarch64.c (aarch64_type_of_stub): Allow insert long branch
28 veneer for sym_sec != input_sec.
29 (elfNN_aarch64_size_stub): Support STT_SECTION symbol.
30 (elfNN_aarch64_final_link_relocate): Take rela addend into account when
31 calculation destination.
32
33 2016-01-21 Alan Modra <amodra@gmail.com>
34
35 * elf-linux-core.h (swap_linux_prpsinfo32_out): New function.
36 (swap_linux_prpsinfo64_out): New function.
37 (LINUX_PRPSINFO32_SWAP_FIELDS): Delete.
38 (LINUX_PRPSINFO64_SWAP_FIELDS): Delete.
39 * elf.c (elfcore_write_linux_prpsinfo32): Adjust. Don't memset.
40 (elfcore_write_linux_prpsinfo64): Likewise.
41 * elf32-ppc.c (swap_ppc_linux_prpsinfo32_out): New function.
42 (PPC_LINUX_PRPSINFO32_SWAP_FIELDS): Delete.
43 (elfcore_write_ppc_linux_prpsinfo32): Adjust. Don't memset.
44
45 2016-01-21 Alan Modra <amodra@gmail.com>
46
47 * elf-linux-core.h: Rename from elf-linux-psinfo.h.
48 * elf.c: Adjust #include.
49 * elf32-ppc.c: Don't #include elf-linux-psinfo.h
50 * Makefile.am (SOURCE_HFILES): Update.
51 * Makefile.in: Regenerate.
52 * po/SRC-PORFILES.in: Regenerate.
53
54 2016-01-21 Alan Modra <amodra@gmail.com>
55
56 * configure.ac: Move corefile selection later in file. Move
57 tdefaults code immediately after other target vector code.
58 * configure: Regenerate.
59
60 2016-01-20 Mickael Guene <mickael.guene@st.com>
61
62 * elf32-arm.c (elf32_arm_special_sections): Remove catch of noread
63 section using '.text.noread' pattern.
64
65 2016-01-19 John Baldwin <jhb@FreeBSD.org>
66
67 * elf.c (elfcore_grok_note): Recognize NT_FREEBSD_THRMISC notes.
68
69 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
70 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
71
72 * arc-plt.def: New file.
73 * arc-plt.h: Likewise.
74 * elf32-arc.c (elf_arc_abs_plt0_entry, elf_arc_abs_pltn_entry,
75 elf_arcV2_abs_plt0_entry, elf_arcV2_abs_pltn_entry,
76 elf_arc_pic_plt0_entry, elf_arc_pic_pltn_entry,
77 elf_arcV2_pic_plt0_entry, elf_arcV2_pic_pltn_entry): Remove.
78 (name_for_global_symbol): Added.
79 (ADD_RELA): Helper to create dynamic relocs.
80 (new_got_entry_to_list): Create a new got entry in linked list.
81 (symbol_has_entry_of_type): Search for specific type of entry in
82 list.
83 (is_reloc_for_GOT): return FALSE for any TLS related relocs.
84 (is_reloc_for_TLS, arc_elf_set_private_flags)
85 (arc_elf_print_private_bfd_data, arc_elf_copy_private_bfd_data)
86 (arc_elf_merge_private_bfd_data): New functions.
87 (debug_arc_reloc): Cleaned debug info printing.
88 (PDATA reloc): Changed not to perform address alignment.
89 (reverse_me): Added. Fix for ARC_32 relocs.
90 (arc_do_relocation): Return bfd_reloc_of when no relocation should
91 occur.
92 (arc_get_local_got_ents): Renamed from arc_get_local_got_offsets.
93 Changed function to access an array of list of GOT entries instead
94 of just an array of offsets.
95 (elf_arc_relocate_section): Added support for PIC and TLS related relocations.
96 (elf_arc_check_relocs): Likewise.
97 (elf_arc_adjust_dynamic_symbol, elf_arc_finish_dynamic_symbol,
98 (elf_arc_finish_dynamic_sections): Likewise
99 (arc_create_dynamic_sections): Modified conditions to create
100 dynamic sections.
101 (ADD_SYMBOL_REF_SEC_AND_RELOC): New macro.
102 (plt_do_relocs_for_symbol, relocate_plt_for_symbol)
103 (relocate_plt_for_entry): Changed to support new way to define PLT
104 related code.
105 (add_symbol_to_plt): Likewise.
106 (arc_elf_link_hash_table_create): New function.
107
108 2016-01-18 Nick Clifton <nickc@redhat.com>
109
110 PR ld/19440
111 * coff-rs6000.c (_bfd_xcoff_swap_sym_in): Sign extend external
112 section number into internal section number.
113 * coff64-rs6000.c (_bfd_xcoff64_swap_sym_in): Likewise.
114 * coffswap.h (coff_swap_sym_in): Likewise.
115 * peXXigen.c (_bfd_XXi_swap_sym_in): Likewise.
116 * coffcode.h (_coff_bigobj_swap_sym_in): Make sure that internal
117 section number field is big enough to hold the external value.
118
119 2016-01-17 Alan Modra <amodra@gmail.com>
120
121 * configure: Regenerate.
122
123 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
124
125 * elf32-arm.c (elf32_arm_fix_exidx_coverage): Insert cantunwind
126 when address in first unwind entry does not match start of
127 section.
128
129 2016-01-08 Richard Sandiford <richard.sandiford@arm.com>
130 Jiong Wang <jiong.wang@arm.com>
131
132 PR ld/19368
133 * elf32-arm.c (elf32_arm_reloc_type_class): Map R_ARM_IRELATIVE to
134 reloc_class_ifunc.
135
136 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
137
138 * elf32-arc.c (reloc_type_to_name): Change ARC_RELOC_HOWTO to
139 place 'R_' before the reloc name returned.
140 (elf_arc_howto_table): Change ARC_RELOC_HOWTO to place 'R_' before
141 the relocation string.
142
143 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
144
145 * elfxx-mips.c (mips_elf_merge_obj_abiflags): New function,
146 factored out from...
147 (_bfd_mips_elf_merge_private_bfd_data): ... here.
148
149 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
150
151 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Move
152 attribute check after ELF file header flag check.
153
154 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
155
156 * elfxx-mips.c (mips_elf_merge_obj_attributes): Propagate the
157 return status from `_bfd_elf_merge_object_attributes'.
158
159 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
160
161 * elfxx-mips.c (mips_elf_merge_obj_e_flags): New function,
162 factored out from...
163 (_bfd_mips_elf_merge_private_bfd_data): ... here.
164
165 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
166
167 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Fold the
168 handling of input MIPS ABI flags together.
169
170 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
171
172 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Suppress
173 attribute checks for null input.
174
175 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
176
177 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Use local
178 pointers to target data.
179
180 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
181
182 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Correct
183 an FP ABI warning.
184
185 2016-01-01 Alan Modra <amodra@gmail.com>
186
187 Update year range in copyright notice of all files.
188
189 For older changes see ChangeLog-2015 and doc/ChangeLog-0415
190 \f
191 Copyright (C) 2016 Free Software Foundation, Inc.
192
193 Copying and distribution of this file, with or without modification,
194 are permitted in any medium without royalty provided the copyright
195 notice and this notice are preserved.
196
197 Local Variables:
198 mode: change-log
199 left-margin: 8
200 fill-column: 74
201 version-control: never
202 End: