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