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