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