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