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