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