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