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