Rename configure.in to configure.ac
[external/binutils.git] / ld / ChangeLog
1 2014-07-04  Alan Modra  <amodra@gmail.com>
2
3         * configure.ac: Rename from configure.in.
4         * Makefile.in: Regenerate.
5         * config.in: Regenerate.
6
7 2014-07-04  Alan Modra  <amodra@gmail.com>
8
9         * configure.in: Include bfd/version.m4.
10         (AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
11         (BFD_VERSION): Delete.
12         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
13         * configure: Regenerate.
14         * Makefile.in: Regenerate.
15
16 2014-07-03  Alan Modra  <amodra@gmail.com>
17
18         PR 17068
19         * ldlang.c (load_symbols): Always check flags.reload.
20         (open_input_bfds): Always reload --as-needed shared libraries,
21         not just when rescanning.
22         * ldlang.h (struct lang_input_statement_flags): Update reload comment.
23         * plugin.c (plugin_should_reload): Assume shared library arg.
24         * plugin.h (plugin_should_reload): Update comment.
25
26 2014-07-01  Alan Modra  <amodra@gmail.com>
27
28         * emultempl/ppc64elf.em (stub_added): Delete.
29         (gld${EMULATION_NAME}_finish): Call ppc64_elf_build_stubs even when
30         none of the usual stubs have been added.  Only change entry_section
31         for ELFv1.
32
33 2014-07-01  Alan Modra  <amodra@gmail.com>
34
35         * sysdep.h: Don't include limits.h and sys/param.h.  Don't
36         include unistd.h twice.
37         (LD_PATHMAX): Don't define.
38         * ldlang.c (lang_common): Don't use UINT_MAX.
39
40 2014-07-01  Barney Stratford  <barney_stratford@fastmail.fm>
41             Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
42             Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
43             Soundararajan  <Sounderarajan.D@atmel.com>
44
45         * Makefile.am (ALL_EMULATION_SOURCES): Add avrtiny emulation source.
46         (eavrtiny.c): Add rules for avrtiny emulation source.
47         * Makefile.in: Regenerate.
48         * configure.tgt: Add avrtiny to avr target emulations.
49         * scripttempl/avrtiny.sc: New file.  Linker script template for
50         avrtiny arch.
51         * emulparams/avrtiny.sh: New file.  Emulation parameters for
52         avrtiny arch.
53
54 2014-06-30  Ulrich Drepper  <drepper@gmail.com>
55
56         * lexsup.c (parse_args): Check whether provided SONAME is empty
57         string.  If yes, warn and ignore it.  Don't overwrite valid SONAME
58         with empty string.
59
60 2014-06-26  Linda Zhang  <lindasc@qq.com>
61
62         * emultempl/pe.em: Initialise insert_timestamp to true.
63         Add a --no-insert-timestamp command line option.
64         * emultempl/pep.em: Likewise.
65         * ld.texinfo: Document that --insert-timestamp is enabled by
66         default and that it now has an inverse command line option.
67         * NEWS: Mention the new behaviour.
68
69 2014-06-25  Nick Clifton  <nickc@redhat.com>
70
71         * Makefile.am (ALL_EMULATION_SOURCES): Move ei386pep.c from
72         here...
73         (ALL_64_EMULATION_SOURCES): ... to here.
74         (ALL_EMUL_EXTRA_OFILES): Move pep-dll.o from here...
75         (ALL_64_EMUL_EXTRA_OFILES): New.  ... to here.
76         * configure.in (EMUL_EXTRA_OFILES): Include
77         ALL_64_EMUL_EXTRA_OFILES when making a 64-bit enabled build.
78         * Makefile.in: Regenerate.
79         * configure: Regenerate.
80
81 2014-06-18  Andreas Tobler  <andreast@fgznet.ch>
82
83         * configure.tgt (arm*-*-freebsd*): Update targ_extra_emuls.
84         (arm*b-*-freebsd*): Add target.
85         * emulparams/armelfb_fbsd.sh: Added.
86         * emulparams/armelf_fbsd.sh: Updated.
87         * Makefile.am (ALL_EMULATION_SOURCES): Add earmelfb_fbsd.c.
88         * Makefile.in: Regenerate.
89
90 2014-06-16  Alan Modra  <amodra@gmail.com>
91
92         * scripttempl/elf.sc: Edit out __rela_iplt symbol assignments from
93         .rel sections, and __rel_iplt from .rela sections.
94         * scripttempl/nds32elf.sc: Likewise.
95         * Makefile.am (ends32*.c) Depend on nds32elf.sc.
96         * Makefile.in: Regenerate.
97
98 2014-06-13  Alan Modra  <amodra@gmail.com>
99
100         PR 17047
101         * ldlang.c (output_bfd_hash_table_free_fn): Delete.
102         (open_output): Don't set it..
103         * ldmain.c (ld_cleanup): ..or call it.
104
105 2014-06-13  Alan Modra  <amodra@gmail.com>
106
107         * emultempl/cr16elf.em, * emultempl/elf32.em, * emultempl/genelf.em,
108         * emultempl/m68kcoff.em, * emultempl/m68kelf.em,
109         * emultempl/nds32elf.em, * emultempl/pe.em, * emultempl/pep.em,
110         * ldlang.c, * ldmain.c, * pe-dll.c: Update for bfd.link_next change.
111
112 2014-06-13  Alan Modra  <amodra@gmail.com>
113
114         * Makefile.am (ALL_EMULATION_SOURCES): Add enios2elf.c, enios2linux.c.
115         * Makefile.in: Regenerate.
116
117 2014-06-07  Alan Modra  <amodra@gmail.com>
118
119         * ldexp.c (exp_fold_tree_1 <etree_provide>): Make PROVIDEd
120         linker script symbol value override a built-in linker symbol.
121
122 2014-06-05  Joel Brobecker  <brobecker@adacore.com>
123
124         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
125         bfd's development.sh.
126         * Makefile.in, configure: Regenerate.
127
128 2014-06-02  Alan Modra  <amodra@gmail.com>
129
130         * emulparams/elf32bfin.sh: Rename from bfin.sh.
131         * emulparams/elf32bfinfd.sh: Update to suit.
132         * emulparams/msp430.sh: Rename from msp430all.sh.  Remove
133         MSP430_NAME and msp430X vars.
134         * emulparams/msp430X.sh: New.
135         * emulparams/score3_elf.sh: Rename from scoreelf.sh.  Remove
136         SCORE_NAME and score7_elf ARCH setting.
137         * emulparams/score7_elf.sh: New.
138         * Makefile.am (eelf32bfin.c, eelf32bfinfd.c): Update dependencies.
139         (emsp430.c, emsp430X.c, escore3_elf.c, escore7_elf.c): Likewise.
140         * Makefile.in: Regenerate.
141         * genscripts.sh: Delete customizer_script param.
142
143 2014-05-28  Hans-Peter Nilsson  <hp@axis.com>
144
145         * Makefile.am: Change all rules with ${GENSCRIPTS}
146         invocations to be just dependencies.
147         ($(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES))
148         (run-genscripts): New rules.
149         * Makefile.in: Regenerate.
150
151 2014-05-27  DJ Delorie  <dj@redhat.com>
152
153         * ld/ldemul.h (extra_map_file_text): New field.
154         (ldemul_extra_map_file_text): Declare.
155         * ld/ldemul.c (ldemul_extra_map_file_text): Define.
156         * ld/ldlang.c (lang_map): Call it.
157
158         * ld/emultempl/rxelf.em: Add extra_map_file_text hook.
159         * ld/emultempl/aix.em: Add NULL extra_map_file_text hook.
160         * ld/emultempl/armcoff.em: Likewise.
161         * ld/emultempl/beos.em: Likewise.
162         * ld/emultempl/elf32.em: Likewise.
163         * ld/emultempl/generic.em: Likewise.
164         * ld/emultempl/gld960.em: Likewise.
165         * ld/emultempl/gld960c.em: Likewise.
166         * ld/emultempl/linux.em: Likewise.
167         * ld/emultempl/lnk960.em: Likewise.
168         * ld/emultempl/m68kcoff.em: Likewise.
169         * ld/emultempl/pe.em: Likewise.
170         * ld/emultempl/pep.em: Likewise.
171         * ld/emultempl/sunos.em: Likewise.
172         * ld/emultempl/ticoff.em: Likewise.
173         * ld/emultempl/vanilla.em: Likewise.
174
175 2014-05-24  Alan Modra  <amodra@gmail.com>
176
177         * ldlang.c (base): Move variable to..
178         * mri.c: ..here, and make static.
179         * ldlang.h (base): Delete declaration.
180
181 2014-05-20  Hans-Peter Nilsson  <hp@axis.com>
182
183         * Makefile.am (ALL_EMULATION_SOURCES): Add missing eelf32mbel_linux.c.
184         * Makefile.in: Regenerate.
185
186 2014-05-20  Alan Modra  <amodra@gmail.com>
187
188         PR 16952
189         * emulparams/elf32ppccommon.sh (_SDA_BASE_, _SDA2_BASE_): Delete.
190         * emultempl/ppc32elf.em (ppc_before_allocation): Call
191         ppc_elf_maybe_strip_sdata_syms.
192         * ldlang.c (size_input_section): Correct output_offset value
193         for excluded input sections.
194
195 2014-05-16  John Marino  <binutils@marino.st>
196
197         * configure.tgt: Add /lib to dragonfly NATIVE_LIB_DIRS.
198
199 2014-05-11  Chung-Lin Tang  <cltang@codesourcery.com>
200
201         * emulparams/nios2linux.sh (OTHER_GOT_SYMBOLS): Wrap _gp in HIDDEN(),
202         and gp in PROVIDE_HIDDEN.
203
204 2014-05-10  Hans-Peter Nilsson  <hp@bitrange.com>
205
206         * ldlang.c (lang_finish): Don't call bfd_link_hash_table_free here.
207         (output_bfd_hash_table_free_fn): New variable.
208         (open_output): Save the _bfd_link_hash_table_free function for the
209         output_bfd into output_bfd_hash_table_free_fn.
210         * ldmain.c (ld_cleanup): If set, call output_bfd_hash_table_free_fn
211         on link_info.hash.
212         * ldlang.h (output_bfd_hash_table_free_fn): Declare.
213
214 2014-05-02  Alan Modra  <amodra@gmail.com>
215
216         * emultempl/metagelf.em: Update bfd target vector naming.
217         * emultempl/nios2elf.em: Likewise.
218         * emultempl/spuelf.em: Likewise.
219         * emultempl/tic6xdsbt.em: Likewise.
220
221 2014-04-22  Christian Svensson  <blue@cmd.nu>
222
223         * Makefile.am: Remove openrisc and or32 support.  Add support for or1k.
224         * configure.tgt: Likewise.
225         * emulparams/elf32or1k.sh: New file.
226         * emulparams/elf32or1k_linux.sh: New file.
227         * emulparams/elf32openrisc.sh: Delete.
228         * emulparams/or32.sh: Delete.
229         * emulparams/or32elf.sh: Delete.
230         * scripttempl/or32.sc: Delete.
231         * Makefile.in: Regenerate.
232
233 2014-04-21  Richard Henderson  <rth@redhat.com>
234
235         * emultempl/alphaelf.em (alpha_after_parse): Enable 2 relax passes.
236
237 2014-04-16  Steve Ellcey  <sellcey@mips.com>
238
239         * emultempl/elf32.em: Include safe-ctype.h.
240
241 2014-04-16  Steve Ellcey  <sellcey@mips.com>
242
243         * ldbuildid.c (generate_build_id): Add ATTRIBUTE_UNUSED to size arg.
244
245 2014-04-09  Nick Clifton  <nickc@redhat.com>
246
247         * Makefile.am (default-manifest.o): Remove rule.
248         (EMUL_EXTRA_BINARIES): Delete.
249         (ALL_EMUL_EXTRA_BINARIES): Delete.
250         (ld_new_DEPENDENCIES): Remove EMUL_EXTRA_BINARIES.
251         (install-data-local): Remove EMUL_EXTRA_BINARIES.
252         * Makefile.in: Regenerate.
253         * configure.in (all_emul_extra_binaries): Delete.
254         (EMUL_EXTRA_BINARIES): Remove.
255         * configure: Regenerate.
256         * configure.tgt (target_extra_binaries): Delete.
257         * emultempl/default-manifest.rc: Delete.
258         * ld.texinfo: Remove discussion of default manifest.
259         * emulparams/i386pe.sh (DEFAULT_MANIFEST): Delete.
260         * emulparams/i386pep.sh (DEFAULT_MANIFEST): Delete.
261
262 2014-04-09  Alan Modra  <amodra@gmail.com>
263
264         * emultempl/spuelf.em: Include safe-ctype.h, remove duplicate errno.h.
265         * emultempl/nds32elf.em: Include bfd_stdint.h.
266         * po/POTFILES.in: Regenerate.
267
268 2014-04-09  Alan Modra  <amodra@gmail.com>
269
270         * emultempl/ppc32elf.em (no_zero_padding, ppc_finish): New functions.
271         (LDEMUL_FINISH): Define.
272
273 2014-04-08  Nick Clifton  <nickc@redhat.com>
274
275         * scripttempl/pe.sc (R_RSRC): Remove default manifest.
276         * scripttempl/pep.sc (R_RSRC): Remove default manifest.
277
278 2014-04-08  Jon TURNEY  <jon.turney@dronecode.org.uk>
279
280         * emultempl/elf32.em (id_note_section_size, read_hex, write_build_id):
281         Move code for parsing build-id option and calculating the build-id to...
282         * ldbuildid.c: New file.
283         * ldbuildid.h: New file.
284         * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add new
285         files.
286         * Makefile.in: Regenerate.
287         * ld.texinfo: Update --build-id description to mention COFF
288         support.
289         * NEWS: Mention support for COFF build ids.
290         * emultempl/pe.em (gld${EMULATION_NAME}_handle_option):
291         (pecoff_checksum_contents, write_build_id, setup_build_id)
292         (gld_${EMULATION_NAME}_after_open):  Handle and implement
293         build-id option.
294         * emultempl/pep.em: Likewise.
295
296 2014-04-04  Cary Coutant  <ccoutant@google.com>
297
298         PR gold/16804
299         * ld.texinfo: Document optional comma following output section
300         command and overlay command.
301
302 2014-04-04  Alan Modra  <amodra@gmail.com>
303
304         * ldlang.c (lang_size_sections_1 <lang_input_section_enum>): Use
305         current "fill", not "output_section_statement->fill".
306
307 2014-03-31  Nick Clifton  <nickc@redhat.com>
308
309         PR ld/16744
310         * emultempl/elf32.em (_after_open): Create a .note.GNU-stack
311         section when performing a relocatable link with -z [no]execstack
312         specified.
313
314 2014-03-27  H.J. Lu  <hongjiu.lu@intel.com>
315
316         PR ld/16756
317         * ldmain.c (symbol_warning): New function.
318         (warning_callback): Use it.  Scan all input files for a reference
319         to SYMBOL.
320
321 2014-03-21  Christopher Faylor  <me.cygwin2013@cgf.cx>
322
323         * ld.texinfo: Document change in handling of --enable-auto-image-base.
324         * emultempl/pe.em (pe_auto_image_base): Set to default base.
325         (gld_${EMULATION_NAME}_list_options): Change usage message to reflect
326         optional --enable-auto-image-base argument.
327         (gld${EMULATION_NAME}_handle_option): Handle optional
328         --enable-auto-image-base argument.
329         (compute_dll_image_base): Eliminate constant.  Use pe_auto_image_base.
330
331 2014-03-19  Nick Clifton  <nickc@redhat.com>
332
333         * Makefile.am (default-manifest.o): Use WINDRES_FOR_TARGET.
334         * Makefile.in: Regenerate.
335         * emultempl/default-manifest.rc: Fix typo.
336         * scripttempl/pe.sc (R_RSRC): Fix default-manifest exclusion.
337         (.rsrc): Add SUBALIGN(4).  Remove SORT.
338         * scripttempl/pep.sc: Likewise.
339
340 2014-03-17  Christopher Faylor  <me.cygwin2014@cgf.cx>
341
342         * Makefile.am: Use host version of windres.
343         * Makefile.in: Regenerate.
344
345 2014-03-14  Romain Geissler  <romain.geissler@amadeus.com>
346             Alan Modra  <amodra@gmail.com>
347
348         * ldlang.h (full_name_provided): New input flag.
349         * ldlang.c (new_afile): Don't use lang_input_file_is_search_file_enum
350         for -l:namespec.  Instead use lang_input_file_is_l_enum with
351         full_name_provided flag.
352         * ldlfile.c (ldfile_open_file_search): Don't complete lib name if
353         full_name_provided flag is set.
354         * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
355         Handle full_name_provided libraries.  Tidy EXTRA_SHLIB_EXTENSION
356         support.  Set DT_NEEDED for -l:namespec as namespec.
357         * emultempl/aix.em (ppc_after_open_output): Handle full_name_provided.
358         * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive):
359         Don't handle full_name_provided libraries.
360         * emultempl/pe.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
361         * emultempl/pep.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
362         * emultempl/vms.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
363
364 2014-03-12  Alan Modra  <amodra@gmail.com>
365
366         * Makefile.in: Regenerate.
367
368 2014-03-05  Alan Modra  <amodra@gmail.com>
369
370         Update copyright years.
371
372 2014-03-04  Nick Clifton  <nickc@redhat.com>
373
374         * Makefile.am (ALL_EMUL_EXTRA_BINARIES): Remove default-manifest.
375         * Makefile.in: Regenerate.
376
377 2014-02-27  Yuri Gribov  <y.gribov@samsung.com>
378
379         * emultempl/armelf.em (OPTION_LONG_PLT): Define.
380         (PARSE_AND_LIST_LONGOPTS): Add long-plt.
381         (PARSE_AND_LIST_OPTIONS): Likewise.
382         (PARSE_AND_LIST_ARGS_CASES): Handle long-plt.
383         * ld.texinfo: Document --long-plt.
384
385 2014-02-27  Alan Modra  <amodra@gmail.com>
386
387         * emulparams/elf32ppcvxworks.sh: Source plt_unwind.sh and
388         use ppc32elf.em.
389         * emultempl/ppc32elf.em (ppc_after_open): Don't compile for
390         vxworks.
391         (LDEMUL_AFTER_OPEN): Don't set for vxworks.
392         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Exclude
393         -secure-plt, -bss-plt and -sdata-got when vxworks.
394
395 2014-02-27  Nick Clifton  <nickc@redhat.com>
396
397         * configure.in (all_emul_extra_binaries): New variable.  Populated
398         by invoking configure.tgt.
399         (EMUL_EXTRA_BINARIES): New substitution.
400         * configure: Regenerate.
401         * configure.tgt (target_extra_binaries): New variable.  Set to
402         default-manifest.o for Cygwin and MinGW targets.
403         * Makefile.am (EMUL_EXTRA_BINARIES): New variable.  Initialised
404         by the configure script.
405         (ALL_EMUL_EXTRA_BINARIES): New variable.
406         (default-manifest.o): New rule to build the default manifest.
407         (ld_new_DEPENDENCIES): Add EMUL_EXTRA_BINARIES.
408         (install-data-local): Add EMUL_EXTRA_BINARIES.
409         * Makefile.in: Regenerate.
410         * ld.texinfo: Document default manifest support.
411         * emulparams/i386pe.sh (DEFAULT_MANIFEST): Define.
412         * emulparams/i386pep.sh (DEFAULT_MANIFEST): Define.
413         * emultempl/default-manifest.rc: New file.
414         * scripttempl/pe.sc (R_RSRC): Include DEFAULT_MANIFEST, if defined.
415         * scripttempl/pep.sc (R_RSRC): Likewise.
416
417 2014-02-26  Dan Mick  <dan.mick@inktank.com>
418
419         PR ld/16569
420         * ldcref.c (cref_sort_array): Compare unmangled names unless
421         demanglng has been requiested.
422         (output_one_cref): Output unmangled name unless demangling has
423         been requested.
424
425 2014-02-19  Igor Zamyatin  <igor.zamyatin@intel.com>
426             H.J. Lu  <hongjiu.lu@intel.com>
427
428         * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): New.
429
430 2014-02-19  Alan Modra  <amodra@gmail.com>
431
432         * emultempl/ppc64elf.em (params): Init new field.
433         (ppc_create_output_section_statements): Set params.save_restore_funcs
434         default.
435         (PARSE_AND_LIST_*): Add support for --save-restore-funcs and
436         --no-save-restore-funcs.
437
438 2014-02-17  Alan Modra  <amodra@gmail.com>
439
440         * emultemps/ppc64elf.em (params): New static struct replacing
441         various other static vars.  Adjust code throughout file.
442
443 2014-02-17  Alan Modra  <amodra@gmail.com>
444
445         * emultempl/ppc32elf.em (ppc_after_open_output): Really enable
446         ppc476 workaround for ld -r.
447
448 2014-02-12  Alan Modra  <amodra@gmail.com>
449
450         * emultempl/ppc32elf.em (pagesize): New static var.
451         (ppc_after_open_output): Set params.pagesize_p2 from pagesize.
452         (PARSE_AND_LIST_ARGS_CASES): Adjust to use pagesize.
453
454 2014-02-11  Andrew Pinski  <apinski@cavium.com>
455
456         * emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32.
457         (ELF_INTERPRETER_NAME): Define.
458         * emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define.
459
460 2014-02-10  Alan Modra  <amodra@gmail.com>
461
462         * po/ld.pot: Regenerate.
463
464 2014-02-03  Alan Modra  <amodra@gmail.com>
465
466         * emultempl/ppc32elf.em (no_tls_get_addr_opt, emit_stub_syms)
467         plt_style): Delete.  Adjust all refs to instead use..
468         (params): ..this.  New variable.
469         (ppc_after_open_output): New function.  Tweak params and pass to
470         ppc_elf_link_params.
471         (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
472         (ppc_before_allocation): Adjust ppc_elf_tls_setup call.  Enable
473         relaxation for ppc476 workaround.
474         (PARSE_AND_LIST_*): Add --{no-,}ppc476-workaround support.
475         (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
476
477 2014-02-02  Sebastian Huber  <sebastian.huber@embedded-brains.de>
478
479         * ld/ld.texinfo: Change ALIGN_WITH_INPUT documentation.
480         * ld/ldlang.c (lang_size_sections_1): Add dotdelta
481         variable which reflects the VMA change due to alignment
482         requirements.  Use dotdelta do change the LMA if
483         ALIGN_WITH_INPUT is requested.
484
485 2014-02-01  Hans-Peter Nilsson  <hp@bitrange.com>
486
487         * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in
488         call to bfd_set_section_vma exposed by recent bfd_set_section_vma
489         change.
490
491 2014-01-30  Sandra Loosemore  <sandra@codesourcery.com>
492
493         * Makefile.am (enios2elf.c, enios2linux.c): Update dependencies.
494         * Makefile.in: Regenerated.
495         * emulparams/nios2elf.sh (EXTRA_EM_FILE): Set.
496         * emulparams/nios2linux.sh (EXTRA_EM_FILE): Set.
497         * emultempl/nios2elf.em: New file.
498         * gen-doc.texi (NIOSII): Set.
499         * ld.texinfo (NIOSII): Set.
500
501 2014-01-28  Nick Clifton  <nickc@redhat.com>
502
503         * Makefile.am: Remove obsolete MSP430 emulations.
504         * configure.tgt: Likewise.
505         * emulparams/msp430all.sh: Likewise.
506         * Makefile.in: Regenerate.
507
508 2014-01-24  H.J. Lu  <hongjiu.lu@intel.com>
509
510         PR ld/16498
511         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
512         orphaned TLS section handling.
513
514 2014-01-24  Alan Modra  <amodra@gmail.com>
515
516         * ldlang.c (lang_output_section_find_by_flags): Be careful to
517         test look->bfd_section->flags if available rather than
518         look->flags.  Separate SEC_THREAD_LOCAL handling from
519         SEC_READONLY loop, and rewrite.
520
521 2014-01-22  Alan Modra  <amodra@gmail.com>
522
523         * ldlang.c (asneeded_list_head, asneeded_list_tail): New vars.
524         (lang_init): Initialise them.
525         (lang_print_asneeded): New function.
526         (lang_process): Call lang_print_asneeded.
527         * ldlang.h (struct asneeded_minfo): New.
528         (asneeded_list_tail): Declare.
529         * ldmain.c (add_archive_element): Improve archive map heading.
530         * ldmisc.c (minfo): Stash --as-needed info.
531
532 2014-01-22  Alan Modra  <amodra@gmail.com>
533
534         * ld.h (struct map_symbol_def): Move to..
535         * ldlang.h: ..here.
536         * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
537
538 2014-01-22  Alan Modra  <amodra@gmail.com>
539
540         * ld.texinfo (Output Section Discarding): Mention assigning to dot
541         as a way of keeping otherwise empty sections.
542         * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
543         is_dot_plus_0, is_align_conditional): New predicates.
544         (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
545         output section, except for some special cases.
546         * scripttempl/elfmicroblaze.sc: Use canonical form to align at
547         end of .heap and .stack.
548
549 2014-01-20  Marcus Shawcroft  <marcus.shawcroft@arm.com>
550
551         * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
552
553 2014-01-20  Marcus Shawcroft  <marcus.shawcroft@arm.com>
554
555         * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
556
557 2014-01-20  Alan Modra  <amodra@gmail.com>
558
559         * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
560         by_script.  Make iteration a single bit field.
561         (lang_track_definedness, lang_symbol_definition_iteration): Delete.
562         (lang_symbol_defined): Declare.
563         * ldlang.c (lang_statement_iteration): Expand comment a little.
564         (lang_init <lang_definedness_table>): Make it bigger.
565         (lang_track_definedness, lang_symbol_definition): Delete.
566         (lang_definedness_newfunc): Update.
567         (lang_symbol_defined): New function.
568         (lang_update_definedness): Create entries here.  Do track whether
569         script definition of symbol is valid, even when also defined in
570         an object file.
571         * ldexp.c (fold_name <DEFINED>): Update.
572         (fold_name <NAME>): Allow self-assignment for absolute symbols
573         defined in a linker script.
574
575 2014-01-20  Guy Martin <gmsoft@tuxicoman.be>
576             Alan Modra  <amodra@gmail.com>
577
578         * ldlang.h (lang_output_section_get): Define.
579         * ldlang.c (lang_output_section_get): Likewise.
580         (init_os): Set the output_section userdata to the output
581         section statement.
582         * emultempl/hppaelf.em: Use lang_output_section_get instead of
583         lang_output_section_find where applicable.
584         * emultempl/aarch64elf.em: Likewise.
585         * emultempl/aix.em: Likewise.
586         * emultempl/armelf.em: Likewise.
587         * emultempl/m68hc1xelf.em: Likewise.
588         * emultempl/metagelf.em: Likewise.
589         * emultempl/mipself.em: Likewise.
590         * emultempl/ppc64elf.em: Likewise.
591         * emultempl/spuelf.em: Likewise.
592
593 2014-01-17  Alan Modra  <amodra@gmail.com>
594
595         * genscripts.sh (COMPILE_IN): Don't set if already set.
596         * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
597         COMPILE_IN=no.
598         * emulparams/nds32elf16m.sh: Likewise.
599         * emulparams/nds32elf_linux.sh: Likewise.
600         * emultempl/aix.em: Test COMPILE_IN value is "yes".
601         * emultempl/armcoff.em: Likewise.
602         * emultempl/elf32.em: Likewise.
603         * emultempl/generic.em: Likewise.
604         * emultempl/gld960.em: Likewise.
605         * emultempl/gld960c.em: Likewise.
606         * emultempl/linux.em: Likewise.
607         * emultempl/lnk960.em: Likewise.
608         * emultempl/m68kcoff.em: Likewise.
609         * emultempl/sunos.em: Likewise.
610         * emultempl/ticoff.em: Likewise.
611
612 2014-01-16  H.J. Lu  <hongjiu.lu@intel.com>
613
614         PR ld/16456
615         * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
616         suffix.
617         * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
618         for elf32_x86_64 emulation.
619         * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
620         for elf_i386 emulation.
621
622 2014-01-16  Alan Modra  <amodra@gmail.com>
623
624         * ld.h (fat_section_userdata_type, get_userdata): Move to..
625         * ldlang.h (input_section_userdata_type, get_userdata): ..here.
626         * ldlang.c (init_map_userdata): Delete.  Fold into..
627         (sort_def_symbol): ..here.  Don't attach input section userdata
628         to output sections or global bfd sections.
629         (lang_map): Don't pre-allocate input section userdata.
630         (init_os): Don't allocate userdata for output sections.
631         (print_all_symbols): Update.
632
633 2014-01-15  H.J. Lu  <hongjiu.lu@intel.com>
634
635         * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
636         Silence uninitialized warning on ehdr_start_save with older
637         GCC.
638
639 2014-01-15  Alan Modra  <amodra@gmail.com>
640
641         * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
642         __ehdr_start before size_dynamic_sections and restore afterwards.
643
644 2014-01-10  Alan Modra  <amodra@gmail.com>
645
646         PR ld/14207
647         PR ld/16322
648         PR binutils/16323
649         * ldlang.c (lang_size_sections): Remove unneeded RELRO base
650         adjust.  Tidy comments.
651         * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
652
653 2014-01-10  Hans-Peter Nilsson  <hp@axis.com>
654
655         * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
656
657 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
658
659         PR ld/14207
660         PR ld/16322
661         PR binutils/16323
662         * ldlang.c (lang_size_sections): Properly align RELRO base.
663
664 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
665
666         * ldver.c (ldversion): Update copyright year to 2014.
667
668 For older changes see ChangeLog-2013
669 \f
670 Copyright (C) 2014 Free Software Foundation, Inc.
671
672 Copying and distribution of this file, with or without modification,
673 are permitted in any medium without royalty provided the copyright
674 notice and this notice are preserved.
675
676 Local Variables:
677 mode: change-log
678 left-margin: 8
679 fill-column: 74
680 version-control: never
681 End: