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