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