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