Don't make dynamic .data.rel.ro SEC_READONLY
[external/binutils.git] / bfd / ChangeLog
1 2017-02-28  Alan Modra  <amodra@gmail.com>
2
3         * elflink.c (_bfd_elf_create_dynamic_sections): Don't make
4         dynamic .data.rel.ro read-only.
5         * elf32-arm.c (elf32_arm_finish_dynamic_symbol): Compare section
6         rather than section flags when deciding where copy reloc goes.
7         * elf32-cris.c (elf_cris_finish_dynamic_symbol): Likewise.
8         * elf32-hppa.c (elf32_hppa_finish_dynamic_symbol): Likewise.
9         * elf32-i386.c (elf_i386_finish_dynamic_symbol): Likewise.
10         * elf32-metag.c (elf_metag_finish_dynamic_symbol): Likewise.
11         * elf32-microblaze.c (microblaze_elf_finish_dynamic_symbol): Likewise.
12         * elf32-nios2.c (nios2_elf32_finish_dynamic_symbol): Likewise.
13         * elf32-or1k.c (or1k_elf_finish_dynamic_symbol): Likewise.
14         * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Likewise.
15         * elf32-s390.c (elf_s390_finish_dynamic_symbol): Likewise.
16         * elf32-tic6x.c (elf32_tic6x_finish_dynamic_symbol): Likewise.
17         * elf32-tilepro.c (tilepro_elf_finish_dynamic_symbol): Likewise.
18         * elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Likewise.
19         * elf64-s390.c (elf_s390_finish_dynamic_symbol): Likewise.
20         * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise.
21         * elfnn-aarch64.c (elfNN_aarch64_finish_dynamic_symbol): Likewise.
22         * elfnn-riscv.c (riscv_elf_finish_dynamic_symbol): Likewise.
23         * elfxx-mips.c (_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
24         * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Likewise.
25         * elfxx-tilegx.c (tilegx_elf_finish_dynamic_symbol): Likewise.
26
27 2017-02-28  Maciej W. Rozycki  <macro@imgtec.com>
28
29         * elfxx-mips.c (mips_elf_perform_relocation): Also handle the
30         `jalr $0, $25' instruction encoding.
31
32 2017-02-27  Nick Clifton  <nickc@redhat.com>
33
34         PR ld/21180
35         * elf32-microblaze.c (microblaze_elf_finish_dynamic_symbol): Avoid
36         generating a seg-fault when encountering a symbol that has been
37         deleted by garbage collection.
38
39 2017-02-25  Alan Modra  <amodra@gmail.com>
40
41         * elf32-arc.c (struct dynamic_sections): Delete.
42         (enum dyn_section_types): Delete.
43         (dyn_section_names): Delete.
44         (arc_create_dynamic_sections): Delete.
45         (elf_arc_finish_dynamic_sections): Don't call the above.  Don't
46         segfault on discarded .rela.plt section.
47         (elf_arc_size_dynamic_sections): Formatting.  Don't call
48         arc_create_dynamic_sections.  Don't allocate memory for sections
49         handled by the generic linker.  Correct code finding relocs in
50         read-only sections.  Set SEC_EXCLUDE on zero size .got,
51         .got.plt, and .dynbss sections.  Do set .interp for pies.
52
53 2017-02-24  Andrew Waterman  <andrew@sifive.com>
54
55         * elfnn-riscv.c (GP_NAME): New macro.
56         (riscv_global_pointer_value): Use it.
57         (_bfd_riscv_relax_lui): If symbol and global pointer are in same
58         output section, consider only that section's alignment.
59
60 2017-02-23  Maciej W. Rozycki  <macro@imgtec.com>
61
62         * elfxx-mips.h (_bfd_mips_relax_section): Remove prototype.
63         * elfxx-mips.c (_bfd_mips_relax_section): Remove function.
64         * elf64-mips.c (bfd_elf64_bfd_relax_section): Remove macro.
65         * elfn32-mips.c (bfd_elf32_bfd_relax_section): Likewise.
66
67 2017-02-23  Maciej W. Rozycki  <macro@imgtec.com>
68
69         * elfxx-mips.c (mips_elf_calculate_relocation) <R_MIPS_JALR>
70         <R_MICROMIPS_JALR>: Discard relocation if `cross_mode_jump_p'
71         or misaligned.
72
73 2017-02-23  Alan Modra  <amodra@gmail.com>
74
75         PR 20744
76         * elf32-ppc.c (ppc_elf_howto_raw): Correct dst_mask on all VLE
77         16D relocations.
78         (ppc_elf_vle_split16): Correct field mask and shift for 16D relocs.
79         (ppc_elf_relocate_section): Correct calculation for VLE SDAREL
80         relocs.
81
82 2017-02-22  Maciej W. Rozycki  <macro@imgtec.com>
83
84         PR ld/20828
85         * elflink.c (bfd_elf_size_dynamic_sections): Move symbol version
86         processing ahead of the call to `elf_gc_sweep_symbol'.
87
88 2017-02-22  Nick Clifton  <nickc@redhat.com>
89
90         PR binutils/21193
91         * opncls.c (bfd_create_gnu_debuglink_section): Give the newly
92         created section 4-byte alignment.
93
94 2017-02-22  Alan Modra  <amodra@gmail.com>
95
96         * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Don't segfault
97         on .got or .plt output section being discarded by script.
98         * elf32-ppc.c (ppc_elf_finish_dynamic_sections): Likewise.  Move
99         vxworks splt temp.
100
101 2017-02-21  Alan Modra  <amodra@gmail.com>
102
103         * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Only emit
104         DT_RELA, DT_RELASZ, and DT_RELAENT when DT_RELASZ is non-zero.
105
106 2017-02-20  Alan Modra  <amodra@gmail.com>
107
108         PR 21181
109         * elflink.c (bfd_elf_final_link): Make DT_REL/DT_RELA zero
110         if DT_RELSZ/DT_RELASZ is zero.
111
112 2017-02-17  Nick Clifton  <nickc@redhat.com>
113
114         * compress.c (bfd_get_full_section_contents): Remember to reduce
115         compressed size by the sizeof the compression header when
116         decompressing the contents.
117
118 2017-02-17  Pedro Alves  <palves@redhat.com>
119
120         * srec.c (Chunk): Rename to ...
121         (_bfd_srec_len): ... this.
122         (S3Forced): Rename to ...
123         (_bfd_srec_forceS3): ... this.
124         * objcopy.c: Adjust all references.
125
126 2017-02-17  Pedro Alves  <palves@redhat.com>
127
128         * archive.c (bsd_write_armap): Rename to ...
129         (_bfd_bsd_write_armap): ... this.
130         (coff_write_armap): Rename to ...
131         (_bfd_coff_write_armap): ... this.
132         * libbfd-in.h (bsd_write_armap): Rename to ...
133         (_bfd_bsd_write_armap): ... this.
134         (coff_write_armap): Rename to ...
135         (_bfd_coff_write_armap): ... this.
136         * aout-target.h, aout-tic30.c: Adjust all users.
137         * libbfd.h: Regenerate.
138
139 2017-02-17  Pedro Alves  <palves@redhat.com>
140
141         * bfd-in.h (bfd_read, bfd_write): Adjust to rename.
142         (warn_deprecated): Rename to ...
143         (_bfd_warn_deprecated): ... this.
144         * libbfd.c (warn_deprecated): Rename to ...
145         (_bfd_warn_deprecated): ... this.
146         * bfd-in2.h: Regenerate.
147
148 2017-02-17  Pedro Alves  <palves@redhat.com>
149
150         * bfdio.c (real_ftell): Rename to ...
151         (_bfd_real_ftell): ... this.
152         (real_fseek): Rename to ...
153         (_bfd_real_fseek): ... this.
154         (real_fopen): Rename to ...
155         (_bfd_real_fopen): ... this.
156         * libbfd-in.h (real_ftell): Rename to ...
157         (_bfd_real_ftell): ... this.
158         (real_fseek): Rename to ...
159         (_bfd_real_fseek): ... this.
160         (real_fopen): Rename to ...
161         (_bfd_real_fopen): ... this.
162         * cache.c, dwarf2.c, opncls.c: Adjust all callers.
163         * libbfd.h: Regenerate.
164
165 2017-02-17  Pedro Alves  <palves@redhat.com>
166
167         * dwarf2.c, elf-attrs.c, elf32-nds32.c: Adjust all callers.
168         * libbfd.c (read_unsigned_leb128): Rename to ...
169         (_bfd_read_unsigned_leb128): ... this.
170         (read_signed_leb128): Rename to ...
171         (_bfd_read_signed_leb128): ... this.
172         (safe_read_leb128): Rename to ...
173         (_bfd_safe_read_leb128): ... this.
174         * libbfd-in.h (read_unsigned_leb128): Rename to ...
175         (_bfd_read_unsigned_leb128): ... this.
176         (read_signed_leb128): Rename to ...
177         (_bfd_read_signed_leb128): ... this.
178         (safe_read_leb128): Rename to ...
179         (_bfd_safe_read_leb128): ... this.
180         * libbfd.h: Renegerate.
181
182 2017-02-16  Andrew Burgess  <andrew.burgess@embecosm.com>
183
184         * dwarf2.c (_bfd_dwarf2_find_nearest_line): Perform symbol lookup
185         before trying to fine matching file and line information.
186
187 2017-02-16  Andrew Burgess  <andrew.burgess@embecosm.com>
188
189         * dwarf2.c (struct dwarf2_debug): Add orig_bfd member.
190         (_bfd_dwarf2_slurp_debug_info): If stashed debug information does
191         not match current bfd, then reload debug information.  Record bfd
192         we're loading debug info for in the stash.  If we have debug
193         informatin in the cache then perform section placement before
194         returning.
195
196 2017-02-16  Alan Modra  <amodra@gmail.com>
197
198         PR 21000
199         * elf-bfd.h (struct elf_backend_data): Add no_page_alias.
200         * elfxx-target.h (elf_backend_no_page_alias): Define.
201         (elfNN_bed): Init new field.
202         * elf.c (assign_file_positions_for_load_sections): If no_page_alias
203         ensure PT_LOAD segment starts on a new page.
204         * elf32-hppa.c (elf_backend_no_page_alias): Define.
205
206 2017-02-16  Alan Modra  <amodra@gmail.com>
207
208         PR 21132
209         * elf32-hppa.c (allocate_plt_static): Allocate space for relocs
210         if pic.
211
212 2017-02-16  Jiong Wang <jiong.wang@arm.com>
213
214         * bfd.c (BFD_FLAGS_SAVED): Add BFD_LINKER_CREATED.
215         * bfd-in2.h: Regenerated.
216
217 2017-02-15  H.J. Lu  <hongjiu.lu@intel.com>
218
219         PR ld/21168
220         * elf32-i386.c (elf_i386_relocate_section): Allow
221         "lea foo@GOT, %reg" in PIC.
222
223 2017-02-15  H.J. Lu  <hongjiu.lu@intel.com>
224
225         PR ld/20244
226         * elf32-i386.c (elf_i386_relocate_section): Properly get IFUNC
227         symbol name when reporting R_386_GOT32/R_386_GOT32X relocation
228         error against local IFUNC symbol without a base register for
229         PIC.
230
231 2017-02-15  Maciej W. Rozycki  <macro@imgtec.com>
232
233         * elf32-ppc.c (ppc_elf_check_relocs): Use `%H:' rather than
234         `%P: %H:' with `info->callbacks->einfo'.
235         (ppc_elf_relocate_section): Likewise.
236         * elf64-ppc.c (ppc64_elf_check_relocs): Likewise.
237         (ppc64_elf_edit_toc): Likewise.
238         (ppc64_elf_relocate_section): Likewise.
239
240 2017-02-14  Alan Modra  <amodra@gmail.com>
241
242         * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Support
243         --gc-keep-exported, and test versioned field of sym rather than
244         looking for @ in name.
245
246 2017-02-13  Palmer Dabbelt  <palmer@dabbelt.com>
247
248         * elfnn-riscv.c (riscv_global_pointer_value): Change _gp to
249         __global_pointer$.
250
251 2017-02-13  Nick Clifton  <nickc@redhat.com>
252
253         PR binutils/21151
254         * dwarf2.c (_bfd_dwarf2_find_nearest_line): Check for an invalid
255         unit length field.
256
257 2017-02-07  Andrew Waterman  <andrew@sifive.com>
258
259         * elfnn-riscv.c (riscv_elf_finish_dynamic_sections): Only write PLT
260         entry size if PLT header is written.
261
262 2017-02-06  Sheldon Lobo  <sheldon.lobo@oracle.com>
263
264         Fix sparc64 dynamic relocation processing to use the dynamic
265         symbol count.
266         * elf64-sparc.c (elf64_sparc_slurp_one_reloc_table): Use 'dynamic'
267         to determine if bfd_get_symcount() or bfd_get_dynamic_symcount()
268         should be used.
269
270 2017-02-03  Nick Clifton  <nickc@redhat.com>
271
272         PR 21096
273         * coffcode.h (coff_write_object_contents): Enlarge size of
274         s_name_buf in order to avoid compile time warning about possible
275         integer truncation.
276         * elf32-nds32.c (nds32_elf_ex9_import_table): Mask off lower
277         32-bits of insn value before printing into buffer.
278
279 2017-02-02  Maciej W. Rozycki  <macro@imgtec.com>
280
281         * elfxx-mips.c (mips_elf_hash_sort_data): Add
282         `max_local_dynindx'.
283         (mips_elf_sort_hash_table): Handle it.
284         (mips_elf_sort_hash_table_f) <GGA_NONE>: For forced local
285         symbols bump up `max_local_dynindx' rather than
286         `max_non_got_dynindx'.
287
288 2017-02-02  Maciej W. Rozycki  <macro@imgtec.com>
289
290         * elfxx-mips.c (mips_elf_hash_sort_data): Convert the
291         `min_got_dynindx', `max_unref_got_dynindx' and
292         `max_non_got_dynindx' members to the `bfd_size_type' data type.
293         (mips_elf_sort_hash_table): Adjust accordingly.
294
295 2017-02-02  Maciej W. Rozycki  <macro@imgtec.com>
296
297         * elfxx-mips.c (mips_elf_sort_hash_table): Use `htab' throughout
298         to access the hash table.
299
300 2017-02-02  Maciej W. Rozycki  <macro@imgtec.com>
301
302         * elfxx-mips.c (mips_elf_sort_hash_table): Move assertion on
303         non-NULL `htab' to the beginning.
304
305 2017-02-02  Maciej W. Rozycki  <macro@imgtec.com>
306
307         * elflink.c (elf_gc_sweep): Wrap overlong line.
308
309 2017-01-30  Maciej W. Rozycki  <macro@imgtec.com>
310
311         * elfxx-mips.h (_bfd_mips_elf_insn32): Rename prototype to...
312         (_bfd_mips_elf_linker_flags): ... this.  Add another parameter.
313         * elfxx-mips.c (mips_elf_link_hash_table): Add
314         `ignore_branch_isa' member.
315         (mips_elf_perform_relocation): Do not treat an ISA mode mismatch
316         in branch relocation calculation as an error if
317         `ignore_branch_isa' has been set.
318         (_bfd_mips_elf_insn32): Rename to...
319         (_bfd_mips_elf_linker_flags): ... this.  Rename the `on'
320         parameter to `insn32' and add an `ignore_branch_isa' parameter.
321         Handle the new parameter.
322
323 2017-01-27  Hans-Peter Nilsson  <hp@axis.com>
324
325         * elf32-cris.c (elf_cris_finish_dynamic_symbol): Remove now unused
326         local variable dynobj.
327
328         PR ld/20995
329         * elf32-cris.c (elf_cris_size_dynamic_sections): Handle sdynrelro.
330         (elf_cris_adjust_dynamic_symbol): Place variables copied into the
331         executable from read-only sections into sdynrelro.
332         (elf_cris_finish_dynamic_symbol): Select sreldynrelro for
333         dynamic relocs in sdynrelro.
334         (elf_backend_want_dynrelro): Define.
335
336 2017-01-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
337
338         * config.bfd (*-*-rtemsaout*): Mark as removed.
339
340 2017-01-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
341
342         * config.bfd (powerpcle-*-rtems*): Do not mark as removed.
343         (arm-*-rtems*): Move to (arm*-*-eabi*).
344         (i[3-7]86-*-rtems*): Move to (i[3-7]86-*-elf*).
345         (m68-*-rtems*): Move to (m68*-*-elf*).
346
347 2017-01-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
348
349         * config.bfd (*-*-rtemscoff*): Mark as removed.
350
351 2017-01-24  Maciej W. Rozycki  <macro@imgtec.com>
352
353         PR ld/20828
354         * elflink.c (bfd_elf_record_link_assignment): Revert last
355         change and don't ever clear `forced_local'.  Set `mark'
356         unconditionally.
357         (elf_gc_sweep_symbol_info, elf_gc_sweep_symbol): Reorder within
358         file.
359         (elf_gc_sweep): Move the call to `elf_gc_sweep_symbol'...
360         (bfd_elf_size_dynamic_sections): ... here.
361         * elf32-ppc.c (ppc_elf_tls_setup): Don't clear `forced_local'
362         and set `mark' instead in `__tls_get_addr_opt' processing.
363         * elf64-ppc.c (ppc64_elf_tls_setup): Likewise.
364
365 2017-01-24  Alan Modra  <amodra@gmail.com>
366
367         * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Merge two cases
368         where dynamic relocs are preferable.  Allow ifunc too.
369         (ensure_undefweak_dynamic): New function.
370         (allocate_dynrelocs): Use it here.  Move plt handling last and
371         don't make symbols dynamic, simplifying loop.  Only make undef
372         weak symbols with GOT entries dynamic.  Correct condition
373         for GOT relocs.  Handle dynamic relocs on ifuncs.  Correct
374         comments.  Remove goto.
375         (ppc_elf_relocate_section): Correct test for using dynamic
376         symbol on GOT relocs.  Rearrange test for emitting GOT relocs
377         to suit.  Set up explicit tls_index entries and implicit GOT
378         tls_index entries resolvable at link time for
379         __tls_get_addr_opt.  Simplify test to clear mem for prelink.
380         * elf64-ppc.c (allocate_got): Correct condition for GOT relocs.
381         (ensure_undefweak_dynamic): New function.
382         (allocate_dynrelocs): Use it here.  Only make undef weak symbols
383         with GOT entries dynamic.  Remove unnecessary test of
384         WILL_CALL_FINISH_DYNAMIC_SYMBOL in PLT handling.
385         (ppc64_elf_relocate_section): Correct test for using dynamic
386         symbol on GOT relocs.  Rearrange test for emitting GOT relocs
387         to suit.  Set up explicit tls_index entries and implicit GOT
388         tls_index entries resolvable at link time for __tls_get_addr_opt.
389         Simplify expression to clear mem for prelink.
390
391 2017-01-23  Yury Norov  <ynorov@caviumnetworks.com>
392
393         * elfnn-aarch64.c: Fix relaxations for ILP32 mode.
394
395 2017-01-20  Jiong Wang <jiong.wang@arm.com>
396
397         * elfnn-aarch64.c (elf_aarch64_hash_symbol): New function.
398         (elf_backend_hash_symbol): Define.
399
400 2017-01-18  Maciej W. Rozycki  <macro@imgtec.com>
401
402         PR ld/20828
403         * elflink.c (bfd_elf_record_link_assignment): Clear any
404         `forced_local' marking for DSO symbols that are not being
405         provided.
406
407 2017-01-17  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
408
409         * elfnn-riscv.c (riscv_elf_object_p): New function.
410
411 2017-01-12  H.J. Lu  <hongjiu.lu@intel.com>
412
413         PR ld/21038
414         * elf64-x86-64.c (elf_x86_64_link_hash_table): Add
415         plt_bnd_eh_frame.
416         (elf_x86_64_check_relocs): Create .eh_frame section for the
417         .plt.bnd section.
418         (elf_x86_64_size_dynamic_sections): Allocate and initialize
419         .eh_frame section for the .plt.bnd section.
420         (elf_x86_64_finish_dynamic_sections): Adjust .eh_frame section
421         for the .plt.bnd section.
422
423 2017-01-12  Nick Clifton  <nickc@redhat.com>
424
425         PR binutils/20876
426         * opncls.c (find_separate_debug_file): Add include_dirs
427         parameter.  Only include the directory part of the bfd's filename
428         in search paths if include_dirs is true.  Add a couple of extra
429         locations for looking for debug files.
430         ( bfd_follow_gnu_debuglink): Update invocation of
431         find_separate_debug_file.
432         (bfd_follow_gnu_debugaltlink): Likewise.
433         (get_build_id): New function: Finds the build-id of the given bfd.
434         (get_build_id_name): New function: Computes the name of the
435         separate debug info file for a bfd, based upon its build-id.
436         (check_build_id_file): New function: Checks to see if a separate
437         debug info file exists at the given location, and that its
438         build-id matches that of the original bfd.
439         (bfd_follow_build_id_debuglink): New function: Finds a separate
440         debug info file for a given bfd by using the build-id method.
441         * dwarf2.c (_bfd_dwarf2_slurp_debug_info): Try using the build-id
442         method of locating a separate debug info file before using the
443         debuglink method.
444         * bfd-in2.h: Regenerate.
445
446 2017-01-11  H.J. Lu  <hongjiu.lu@intel.com>
447
448         PR ld/21038
449         * elf64-x86-64.c (elf_x86_64_eh_frame_bnd_plt): New.
450         (elf_x86_64_bnd_arch_bed): Use elf_x86_64_eh_frame_bnd_plt and
451         elf_x86_64_eh_frame_plt_got.
452         (elf_x86_64_size_dynamic_sections): Get unwind info from
453         elf_x86_64_bnd_arch_bed for the BND PLT.
454
455 2017-01-11  Jeremy Soller  <jackpot51@gmail.com>
456
457         * config.bfd: Add entries for i686-redox and x86_64-redox.
458
459 2017-01-10  H.J. Lu  <hongjiu.lu@intel.com>
460
461         * elf32-i386.c (elf_i386_check_relocs): Align .eh_frame section
462         to 4 bytes.
463         * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Align
464         .eh_frame section to 4 bytes for x32.
465         (elf_x86_64_check_relocs): Likewise.
466
467 2017-01-10  H.J. Lu  <hongjiu.lu@intel.com>
468
469         PR ld/20830
470         * elf32-i386.c (elf_i386_eh_frame_plt_got): New.
471         (PLT_GOT_FDE_LENGTH): Likewise.
472         (elf_i386_plt_layout): Add eh_frame_plt_got and
473         eh_frame_plt_got_size.
474         (elf_i386_plt): Updated.
475         (elf_i386_link_hash_table): Add plt_got_eh_frame.
476         (elf_i386_check_relocs): Create .eh_frame section for .plt.got.
477         (elf_i386_size_dynamic_sections): Allocate and initialize
478         .eh_frame section for .plt.got.
479         (elf_i386_finish_dynamic_sections): Adjust .eh_frame section for
480         .plt.got.
481         (elf_i386_nacl_plt): Add FIXME for eh_frame_plt_got and
482         eh_frame_plt_got_size.
483         * elf64-x86-64.c (elf_x86_64_eh_frame_plt_got): New.
484         (PLT_GOT_FDE_LENGTH): Likewise.
485         (elf_x86_64_backend_data): Add eh_frame_plt_got and
486         eh_frame_plt_got_size.
487         (elf_x86_64_arch_bed): Updated.
488         (elf_x86_64_bnd_arch_bed): Add FIXME for eh_frame_plt_got and
489         eh_frame_plt_got_size.
490         (elf_x86_64_nacl_arch_bed): Likewise.
491         (elf_x86_64_link_hash_table): Add plt_got_eh_frame.
492         (elf_x86_64_check_relocs): Create .eh_frame section for .plt.got.
493         (elf_x86_64_size_dynamic_sections): Allocate and initialize
494         .eh_frame section for .plt.got.
495         (elf_x86_64_finish_dynamic_sections): Adjust .eh_frame section
496         for .plt.got.
497
498 2017-01-10  H.J. Lu  <hongjiu.lu@intel.com>
499
500         * elf32-i386.c (elf_i386_size_dynamic_sections): Set
501         plt_eh_frame->size to eh_frame_plt_size and use eh_frame_plt.
502
503 2017-01-09  Nick Clifton  <nickc@redhat.com>
504
505         * dwarf2.c (lookup_address_in_function_table): Return early if
506         there are no functions in the given comp unit, or if the high
507         address of the last function in the comp unit is less than the
508         desired address.
509
510 2017-01-09  Nick Clifton  <nickc@redhat.com>
511
512         PR binutils/21013
513         * coffgen.c (_bfd_coff_get_external_symbols): Generate an error
514         message if there are too many symbols to load.
515
516 2017-01-04  James Clarke  <jrtc27@jrtc27.com>
517
518         * elf64-alpha.c (elf64_alpha_relax_opt_call): Don't set tsec_free
519         if relocs are cached.
520
521 2017-01-03  Rich Felker  <bugdal@aerifal.cx>
522
523         PR ld/21017
524         * elf32-microblaze.c (microblaze_elf_check_relocs): Add an entry
525         for R_MICROBLAZE_GOTOFF_64.
526
527 2017-01-03  Nick Clifton  <nickc@redhat.com>
528
529         * mach-o.c (bfd_mach_o_lookup_uuid_command): Fix compile time
530         warning about using a possibly uninitialised variable.
531
532 2017-01-02  Alan Modra  <amodra@gmail.com>
533
534         * elf32-hppa.c (ensure_undef_weak_dynamic): New function.
535         (allocate_plt_static, allocate_dynrelocs): Use it.
536
537 2017-01-02  Alan Modra  <amodra@gmail.com>
538
539         * elf-hppa.h (elf_hppa_fake_sections): Set SHF_INFO_LINK for
540         .PARISC.unwind section.
541
542 2017-01-02  Alan Modra  <amodra@gmail.com>
543
544         PR ld/20989
545         * elfxx-sparc.c (gdop_relative_offset_ok): New function.
546         (_bfd_sparc_elf_relocate_section): Use it to validate GOT
547         indirect to GOT pointer relative code edit.
548
549 2017-01-02  Alan Modra  <amodra@gmail.com>
550
551         Update year range in copyright notice of all files.
552
553 For older changes see ChangeLog-2016
554 \f
555 Copyright (C) 2017 Free Software Foundation, Inc.
556
557 Copying and distribution of this file, with or without modification,
558 are permitted in any medium without royalty provided the copyright
559 notice and this notice are preserved.
560
561 Local Variables:
562 mode: change-log
563 left-margin: 8
564 fill-column: 74
565 version-control: never
566 End: