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