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