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