Report an error for script multiply defined symbols
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2014-12-23 Alan Modra <amodra@gmail.com>
2
3 * ldexp.c (update_definedness): Return false if script symbol is
4 redefining a strong symbol in an object.
5 (exp_fold_tree_1 <etree_assign>): Set up for reporting a multiple
6 definition error, but for now leave disabled.
7
8 2014-12-23 Alan Modra <amodra@gmail.com>
9
10 * ldexp.c (exp_fold_tree_1 <etree_provide>): Test linker_def.
11
12 2014-12-23 Alan Modra <amodra@gmail.com>
13
14 * ldexp.c (exp_fold_tree_1 <etree_provide>): Leave bfd_link_hash_common
15 symbols alone.
16
17 2014-12-23 Alan Modra <amodra@gmail.com>
18
19 * ldexp.c (update_definedness): Correct logic setting by_object.
20
21 2014-12-23 Alan Modra <amodra@gmail.com>
22
23 * ldexp.c (struct definedness_hash_entry, definedness_table)
24 (definedness_newfunc, symbol_defined, update_definedness): Move
25 and rename from..
26 * ldlang.h (struct lang_definedness_hash_entry): ..here,..
27 * ldlang.c (lang_definedness_table, lang_definedness_newfunc)
28 (lang_symbol_defined, lang_update_definedness): ..and here.
29 * ldexp.c (ldexp_init, ldexp_finish): New functions, extracted from..
30 * ldlang.c (lang_init, lang_finish): ..here.
31 * ldexp.h (ldexp_init, ldexp_finish): Declare.
32 * ldlang.h (lang_symbol_defined, lang_update_definedness): Delete.
33 * ldmain.c (main): Call ldexp_init and ldexp_finish.
34
35 2014-12-10 Alan Modra <amodra@gmail.com>
36
37 * ldmisc.c: #include "coff-bfd.h"
38
39 2014-12-06 Eric Botcazou <ebotcazou@adacore.com>
40
41 * configure.tgt: Add Visium support.
42 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32visium.c.
43 (eelf32visium.c): New rule.
44 * Makefile.in: Regenerate.
45 * emulparams/elf32visium.sh: New file.
46 * scripttempl/visium.sc: Likewise.
47
48 2014-11-25 H.J. Lu <hongjiu.lu@intel.com>
49
50 * emulparams/elf_i386.sh (TINY_READONLY_SECTION): New.
51 * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): Add .plt.got.
52
53 2014-11-24 H.J. Lu <hongjiu.lu@intel.com>
54
55 * configure: Regenerated.
56
57 2014-11-24 Alan Modra <amodra@gmail.com>
58
59 * ld.texinfo: Correct --plt-align documentation.
60 * emultempl/ppc64elf.em (plt_stub_align): Delete. Use and set
61 params.plt_stub_align instead.
62
63 2014-11-18 Igor Zamyatin <igor.zamyatin@intel.com>
64
65 * emulparams/elf_x86_64.sh (BNDPLT): Set to yes for x86_64.
66 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
67 "-z bndplt" if BNDPLT is yes.
68 (gld${EMULATION_NAME}_list_options): Add "-z bndplt" entry.
69 * ld.texinfo: Add description for bndplt.
70
71 2014-10-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
72
73 * avrtiny.sc: Apply avr.sc fixes.
74
75 2014-11-04 Alan Modra <amodra@gmail.com>
76
77 * emultempl/spu_icache.o_c: Regenerate.
78 * emultempl/spu_ovl.o_c: Regenerate.
79
80 2014-11-03 Andrew Burgess <andrew.burgess@embecosm.com>
81
82 * testsuite/ld-avr/relax-02.d: Update to check size of symbols has
83 changed.
84 * testsuite/ld-avr/relax-03.d: Likewise.
85
86 2014-11-03 Andrew Burgess <andrew.burgess@embecosm.com>
87
88 * testsuite/ld-avr/relax-02.d: New file.
89 * testsuite/ld-avr/relax-02.s: New file.
90 * testsuite/ld-avr/relax-03.d: New file.
91 * testsuite/ld-avr/relax-03.s: New file.
92
93 2014-10-29 Nick Clifton <nickc@redhat.com>
94
95 * po/bg.po: Updated Bulgarian translation.
96
97 2014-10-24 Tejas Belagod <tejas.belagod@arm.com>
98
99 * emultempl/aarch64elf.em: Add command-line option for erratum 835769.
100
101 2014-10-17 Hans-Peter Nilsson <hp@axis.com>
102
103 Implement --print-sysroot in ld.
104 * ldlex.h (enum option_values): Add entry OPTION_PRINT_SYSROOT.
105 * lexsup.c (ld_options): Add entry for --print-sysroot.
106 (parse_args) <OPTION_PRINT_SYSROOT>: Print sysroot and exit early.
107
108 2014-10-16 Alan Modra <amodra@gmail.com>
109
110 PR 17488
111 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Don't attempt
112 to access ELF header e_flags when not ppc64 ELF output.
113
114 2014-10-15 Tristan Gingold <gingold@adacore.com>
115
116 * configure: Regenerate.
117
118 2014-10-15 Hans-Peter Nilsson <hp@axis.com>
119
120 * ldlex.l (INPUTLIST): New start condition.
121 (comment pattern, ",", "(", ")", "AS_NEEDED")
122 ({FILENAMECHAR1}{FILENAMECHAR}*, "-l"{FILENAMECHAR}+)
123 (quoted string pattern, whitespace pattern): Add INPUTLIST to
124 valid start conditions.
125 (<INPUTLIST>"="{FILENAMECHAR1}{FILENAMECHAR}*): New NAME rule.
126 (ldlex_inputlist): New start-condition-setter function.
127 * ldgram.y (input_list1): Rename from input_list. All recursive
128 use changed.
129 (input_list): New wrapper rule for input_list1, setting
130 INPUTLIST lexer state for the duration of parsing input_list1.
131 * ldlang.c (lang_add_input_file): If the first character in the
132 filename is '=', prepend the sysroot and force the context of that
133 input file to non-sysroot.
134 * ld.texinfo (Options): When mentioning "=" and sysroot, mention
135 that --sysroot controls it, not only through the configuration.
136 (input files in linker scripts): When mentioning
137 behavior of first character "/" on scripts within sysroot, also
138 mention that effect can be forced by prefixing with "=" and
139 refer to SEARCH_DIR.
140
141 2014-10-14 Tristan Gingold <gingold@adacore.com>
142
143 * NEWS: Add marker for 2.25.
144
145 2014-10-13 Alan Modra <amodra@gmail.com>
146
147 * ldlang.c (lang_add_section): Set up map_head.s and map_tail.s when
148 relocatable.
149
150 2014-09-16 Kuan-Lin Chen <kuanlinchentw@gmail.com>
151
152 * emultempl/nds32elf.em (nds32_elf_after_open): Do not keep
153 ex9 234th entry.
154 (nds32_elf_after_allocation): Move all optimizations into
155 nds32_elf_relax_section.
156
157 2014-09-15 Andrew Bennett <andrew.bennett@imgtec.com>
158 Matthew Fortune <matthew.fortune@imgtec.com>
159
160 * ldmain.c (get_emulation): Add support for -mips32r6 and -mips64r6.
161
162 2014-09-12 Andrew Bennett <andrew.bennett@imgtec.com>
163
164 * configure.tgt: Add mips*-img-elf* target triple.
165
166 2014-09-01 Jon TURNEY <jon.turney@dronecode.org.uk>
167
168 * emultempl/pe.em (write_build_id, setup_build_id): Change pe/coff
169 build-id section name from '.build-id' to '.buildid'.
170 * emultempl/pep.em (write_build_id, setup_build_id): Ditto.
171
172 2014-08-22 Andreas Tobler <andreast@fgznet.ch>
173
174 * emulparams/armelf_fbsd.sh (TEXT_START_ADDR): Increase alignment to
175 64kB boundary like in armelf_linux.sh.
176
177 2014-08-22 Alan Modra <amodra@gmail.com>
178
179 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
180 bfd_elf_discard_info after generating glink .eh_frame. Delete
181 redundant test on ppc64_elf_setup_section_lists status.
182
183 2014-08-20 Maciej W. Rozycki <macro@codesourcery.com>
184
185 * emultempl/armelf.em (OPTION_STUBGROUP_SIZE): Fix formatting.
186 (OPTION_NO_MERGE_EXIDX_ENTRIES, OPTION_LONG_PLT): Likewise.
187
188 2014-08-20 Will Newton <will.newton@linaro.org>
189
190 * configure.tgt: Default armeb-*-eabi* to big endian.
191
192 2014-08-20 Daniel Micay <danielmicay@gmail.com>
193
194 * emultempl/pep.em: Add --high-entropy-va switch.
195 * ld.texinfo: Document the --high-entropy-va switch.
196
197 2014-08-20 Nick Clifton <nickc@redhat.com>
198
199 * scripttempl/DWARF.sc: Add copyright notice.
200 * scripttempl/aix.sc: Likewise.
201 * scripttempl/alpha.sc: Likewise.
202 * scripttempl/alphavms.sc: Likewise.
203 * scripttempl/aout.sc: Likewise.
204 * scripttempl/armaout.sc: Likewise.
205 * scripttempl/armbpabi.sc: Likewise.
206 * scripttempl/armcoff.sc: Likewise.
207 * scripttempl/avr.sc: Likewise.
208 * scripttempl/avrtiny.sc: Likewise.
209 * scripttempl/crisaout.sc: Likewise.
210 * scripttempl/delta68.sc: Likewise.
211 * scripttempl/dlx.sc: Likewise.
212 * scripttempl/elf.sc: Likewise.
213 * scripttempl/elf32cr16.sc: Likewise.
214 * scripttempl/elf32cr16c.sc: Likewise.
215 * scripttempl/elf32crx.sc: Likewise.
216 * scripttempl/elf32msp430.sc: Likewise.
217 * scripttempl/elf32msp430_3.sc: Likewise.
218 * scripttempl/elf32sh-symbian.sc: Likewise.
219 * scripttempl/elf32xc16x.sc: Likewise.
220 * scripttempl/elf32xc16xl.sc: Likewise.
221 * scripttempl/elf32xc16xs.sc: Likewise.
222 * scripttempl/elf64hppa.sc: Likewise.
223 * scripttempl/elf_chaos.sc: Likewise.
224 * scripttempl/elfd10v.sc: Likewise.
225 * scripttempl/elfd30v.sc: Likewise.
226 * scripttempl/elfi370.sc: Likewise.
227 * scripttempl/elfm68hc11.sc: Likewise.
228 * scripttempl/elfm68hc12.sc: Likewise.
229 * scripttempl/elfmicroblaze.sc: Likewise.
230 * scripttempl/elfxgate.sc: Likewise.
231 * scripttempl/elfxtensa.sc: Likewise.
232 * scripttempl/epiphany_4x4.sc: Likewise.
233 * scripttempl/epocpe.sc: Likewise.
234 * scripttempl/h8300.sc: Likewise.
235 * scripttempl/h8300h.sc: Likewise.
236 * scripttempl/h8300hn.sc: Likewise.
237 * scripttempl/h8300s.sc: Likewise.
238 * scripttempl/h8300sn.sc: Likewise.
239 * scripttempl/h8300sx.sc: Likewise.
240 * scripttempl/h8300sxn.sc: Likewise.
241 * scripttempl/h8500.sc: Likewise.
242 * scripttempl/h8500b.sc: Likewise.
243 * scripttempl/h8500c.sc: Likewise.
244 * scripttempl/h8500m.sc: Likewise.
245 * scripttempl/h8500s.sc: Likewise.
246 * scripttempl/hppaelf.sc: Likewise.
247 * scripttempl/i386beos.sc: Likewise.
248 * scripttempl/i386coff.sc: Likewise.
249 * scripttempl/i386go32.sc: Likewise.
250 * scripttempl/i386msdos.sc: Likewise.
251 * scripttempl/i860coff.sc: Likewise.
252 * scripttempl/i960.sc: Likewise.
253 * scripttempl/ia64vms.sc: Likewise.
254 * scripttempl/ip2k.sc: Likewise.
255 * scripttempl/iq2000.sc: Likewise.
256 * scripttempl/m68kaux.sc: Likewise.
257 * scripttempl/m68kcoff.sc: Likewise.
258 * scripttempl/m88kbcs.sc: Likewise.
259 * scripttempl/mcorepe.sc: Likewise.
260 * scripttempl/mep.sc: Likewise.
261 * scripttempl/mips.sc: Likewise.
262 * scripttempl/mipsbsd.sc: Likewise.
263 * scripttempl/mmo.sc: Likewise.
264 * scripttempl/moxie.sc: Likewise.
265 * scripttempl/nds32elf.sc: Likewise.
266 * scripttempl/nw.sc: Likewise.
267 * scripttempl/pe.sc: Likewise.
268 * scripttempl/pep.sc: Likewise.
269 * scripttempl/pj.sc: Likewise.
270 * scripttempl/ppcpe.sc: Likewise.
271 * scripttempl/psos.sc: Likewise.
272 * scripttempl/riscix.sc: Likewise.
273 * scripttempl/sh.sc: Likewise.
274 * scripttempl/sparccoff.sc: Likewise.
275 * scripttempl/st2000.sc: Likewise.
276 * scripttempl/tic30aout.sc: Likewise.
277 * scripttempl/tic30coff.sc: Likewise.
278 * scripttempl/tic4xcoff.sc: Likewise.
279 * scripttempl/tic54xcoff.sc: Likewise.
280 * scripttempl/tic80coff.sc: Likewise.
281 * scripttempl/v850.sc: Likewise.
282 * scripttempl/v850_rh850.sc: Likewise.
283 * scripttempl/vanilla.sc: Likewise.
284 * scripttempl/w65.sc: Likewise.
285 * scripttempl/xstormy16.sc: Likewise.
286 * scripttempl/z80.sc: Likewise.
287 * scripttempl/z8000.sc: Likewise.
288
289 2014-08-19 Alan Modra <amodra@gmail.com>
290
291 * configure: Regenerate.
292
293 2014-08-18 Alan Modra <amodra@gmail.com>
294
295 * ld.texinfo (--as-needed): Clarify that references from libraries
296 must be from needed libraries.
297
298 2014-08-18 Alan Modra <amodra@gmail.com>
299
300 * emultempl/aarch64elf.em (gld${EMULATION_NAME}_after_allocation):
301 Handle error status from bfd_elf_discard_info.
302 * emultempl/armelf.em: Likewise.
303 * emultempl/elf32.em: Likewise.
304 * emultempl/hppaelf.em: Likewise.
305 * emultempl/metagelf.em: Likewise.
306 * emultempl/nios2elf.em: Likewise.
307 * emultempl/ppc64elf.em: Likewise.
308 * emultempl/tic6xdsbt.em: Likewise.
309 * emultempl/vms.em: Likewise.
310
311 2014-08-14 Alan Modra <amodra@gmail.com>
312
313 PR 16563
314 * ldlang.c (map_head_is_link_order): Rename from
315 stripped_excluded_sections.
316 (lang_clear_os_map): New function, extracted from..
317 (strip_excluded_output_sections): ..here.
318 * ldlang.h (lang_clear_os_map): Declare.
319 * ldwrite.c (ldwrite): Call lang_clear_os_map.
320 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
321 Likewise.
322
323 2014-08-14 Alan Modra <amodra@gmail.com>
324
325 * configure.ac: Move AC_PROG_CC and other macros earlier. Delete
326 plugin checks now done in config/plugins.m4.
327 * config.in: Regenerate.
328 * configure: Regenerate.
329
330 2014-08-14 Alan Modra <amodra@gmail.com>
331
332 * plugin.c (is_ir_dummy_bfd): Test BFD_PLUGIN flag rather than
333 flags.claimed.
334
335 2014-08-13 Yaakov Selkowitz <yselkowi@redhat.com>
336
337 * pe-dll.c (autofilter_entry_type autofilter_symbollist_i386): Add
338 __dso_handle.
339
340 2014-08-13 Alan Modra <amodra@gmail.com>
341
342 * ldlang.c (open_input_bfds): Don't use bfd_elf_get_dyn_lib_class.
343
344 2014-08-12 Alan Modra <amodra@gmail.com>
345
346 * ldlang.h (struct lang_input_statement_flags): Don't make "reload"
347 field conditional on ENABLE_PLUGINS.
348 * ldlang.c (open_input_bfds): Expand plugin_should_reload.
349 * plugin.h (plugin_should_reload): Delete.
350 * plugin.c (plugin_should_reload): Delete.
351
352 2014-08-12 Alan Modra <amodra@gmail.com>
353
354 * ldmain.c (notice): Update args.
355 * plugin.c (plugin_notice): Likewise. Follow warning sym link.
356 Handle new indirect symbol.
357
358 2014-08-12 Alan Modra <amodra@gmail.com>
359
360 * plugin.c (plugin_load_plugins): Set link_info.lto_plugin_active.
361
362 2014-08-08 Ulrich Drepper <drepper@gmail.com>
363
364 * ldlang.h (struct lang_input_statement_flags): Add pushed
365 member.
366 * ldlex.h (enum option_values): Add OPTION_PUSH_STATE and
367 OPTION_POP_STATE.
368 * lexsup.c (ld_options): Add entries for --push-state and
369 --pop-state.
370 (parse_args): Handle OPTION_PUSH_STATE and OPTION_POP_STATE.
371 * ld.texinfo: Document --push-state and --pop-state.
372
373 2014-08-06 H.J. Lu <hongjiu.lu@intel.com>
374
375 PR14918
376 * plugin.c (plugin_opt_plugin_arg): Drop --pass-through.
377
378 2014-08-05 Alan Modra <amodra@gmail.com>
379
380 * Makefile.in: Regenerate.
381
382 2014-07-29 Matthew Fortune <matthew.fortune@imgtec.com>
383
384 * emulparams/elf32bmip.sh: Add .MIPS.abiflags.
385 * emulparams/elf32bmipn32-defs.sh: Likewise.
386 * emulparams/elf64bmip-defs.sh: Likewise.
387
388 2014-07-27 Anthony Green <green@moxielogic.com>
389
390 * Makefile.am (ALL_EMULATION_SOURCES): Add moxiebox support.
391 (emoxiebox.c): Build.
392 * configure.tgt (targ_extra_ofiles): Add moxie-*-moxiebox*.
393 * emulparams/moxiebox.sh (TEXT_START_ADDR): New file.
394 * Makefile.in: Rebuilt.
395
396 2014-07-17 Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
397
398 * emulparams/elf32or1k_linux.sh (TEXT_START_ADDR): Increase from
399 0x0 to first page boundary at 0x2000.
400
401 2014-07-10 Max Filippov <jcmvbkbc@gmail.com>
402
403 * emultempl/xtensaelf.em (is_inconsistent_linkonce_section):
404 correctly handle missing dot in section name after
405 ".gnu.linkonce.prop.".
406
407 2014-07-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
408
409 * scripttempl/avr.sc: Remove KEEP for .data and
410 force .bss VMA to end of .data VMA.
411
412 2014-07-08 Will Newton <will.newton@linaro.org>
413
414 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Increase
415 alignment to 64kB boundary.
416
417 2014-07-04 Alan Modra <amodra@gmail.com>
418
419 * configure.ac: Update "configure.in" comments.
420 * configure: Regenerate.
421
422 2014-07-04 Alan Modra <amodra@gmail.com>
423
424 * configure.ac: Rename from configure.in.
425 * Makefile.in: Regenerate.
426 * config.in: Regenerate.
427
428 2014-07-04 Alan Modra <amodra@gmail.com>
429
430 * configure.in: Include bfd/version.m4.
431 (AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
432 (BFD_VERSION): Delete.
433 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
434 * configure: Regenerate.
435 * Makefile.in: Regenerate.
436
437 2014-07-03 Alan Modra <amodra@gmail.com>
438
439 PR 17068
440 * ldlang.c (load_symbols): Always check flags.reload.
441 (open_input_bfds): Always reload --as-needed shared libraries,
442 not just when rescanning.
443 * ldlang.h (struct lang_input_statement_flags): Update reload comment.
444 * plugin.c (plugin_should_reload): Assume shared library arg.
445 * plugin.h (plugin_should_reload): Update comment.
446
447 2014-07-01 Alan Modra <amodra@gmail.com>
448
449 * emultempl/ppc64elf.em (stub_added): Delete.
450 (gld${EMULATION_NAME}_finish): Call ppc64_elf_build_stubs even when
451 none of the usual stubs have been added. Only change entry_section
452 for ELFv1.
453
454 2014-07-01 Alan Modra <amodra@gmail.com>
455
456 * sysdep.h: Don't include limits.h and sys/param.h. Don't
457 include unistd.h twice.
458 (LD_PATHMAX): Don't define.
459 * ldlang.c (lang_common): Don't use UINT_MAX.
460
461 2014-07-01 Barney Stratford <barney_stratford@fastmail.fm>
462 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
463 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
464 Soundararajan <Sounderarajan.D@atmel.com>
465
466 * Makefile.am (ALL_EMULATION_SOURCES): Add avrtiny emulation source.
467 (eavrtiny.c): Add rules for avrtiny emulation source.
468 * Makefile.in: Regenerate.
469 * configure.tgt: Add avrtiny to avr target emulations.
470 * scripttempl/avrtiny.sc: New file. Linker script template for
471 avrtiny arch.
472 * emulparams/avrtiny.sh: New file. Emulation parameters for
473 avrtiny arch.
474
475 2014-06-30 Ulrich Drepper <drepper@gmail.com>
476
477 * lexsup.c (parse_args): Check whether provided SONAME is empty
478 string. If yes, warn and ignore it. Don't overwrite valid SONAME
479 with empty string.
480
481 2014-06-26 Linda Zhang <lindasc@qq.com>
482
483 * emultempl/pe.em: Initialise insert_timestamp to true.
484 Add a --no-insert-timestamp command line option.
485 * emultempl/pep.em: Likewise.
486 * ld.texinfo: Document that --insert-timestamp is enabled by
487 default and that it now has an inverse command line option.
488 * NEWS: Mention the new behaviour.
489
490 2014-06-25 Nick Clifton <nickc@redhat.com>
491
492 * Makefile.am (ALL_EMULATION_SOURCES): Move ei386pep.c from
493 here...
494 (ALL_64_EMULATION_SOURCES): ... to here.
495 (ALL_EMUL_EXTRA_OFILES): Move pep-dll.o from here...
496 (ALL_64_EMUL_EXTRA_OFILES): New. ... to here.
497 * configure.in (EMUL_EXTRA_OFILES): Include
498 ALL_64_EMUL_EXTRA_OFILES when making a 64-bit enabled build.
499 * Makefile.in: Regenerate.
500 * configure: Regenerate.
501
502 2014-06-18 Andreas Tobler <andreast@fgznet.ch>
503
504 * configure.tgt (arm*-*-freebsd*): Update targ_extra_emuls.
505 (arm*b-*-freebsd*): Add target.
506 * emulparams/armelfb_fbsd.sh: Added.
507 * emulparams/armelf_fbsd.sh: Updated.
508 * Makefile.am (ALL_EMULATION_SOURCES): Add earmelfb_fbsd.c.
509 * Makefile.in: Regenerate.
510
511 2014-06-16 Alan Modra <amodra@gmail.com>
512
513 * scripttempl/elf.sc: Edit out __rela_iplt symbol assignments from
514 .rel sections, and __rel_iplt from .rela sections.
515 * scripttempl/nds32elf.sc: Likewise.
516 * Makefile.am (ends32*.c) Depend on nds32elf.sc.
517 * Makefile.in: Regenerate.
518
519 2014-06-13 Alan Modra <amodra@gmail.com>
520
521 PR 17047
522 * ldlang.c (output_bfd_hash_table_free_fn): Delete.
523 (open_output): Don't set it..
524 * ldmain.c (ld_cleanup): ..or call it.
525
526 2014-06-13 Alan Modra <amodra@gmail.com>
527
528 * emultempl/cr16elf.em, * emultempl/elf32.em, * emultempl/genelf.em,
529 * emultempl/m68kcoff.em, * emultempl/m68kelf.em,
530 * emultempl/nds32elf.em, * emultempl/pe.em, * emultempl/pep.em,
531 * ldlang.c, * ldmain.c, * pe-dll.c: Update for bfd.link_next change.
532
533 2014-06-13 Alan Modra <amodra@gmail.com>
534
535 * Makefile.am (ALL_EMULATION_SOURCES): Add enios2elf.c, enios2linux.c.
536 * Makefile.in: Regenerate.
537
538 2014-06-07 Alan Modra <amodra@gmail.com>
539
540 * ldexp.c (exp_fold_tree_1 <etree_provide>): Make PROVIDEd
541 linker script symbol value override a built-in linker symbol.
542
543 2014-06-05 Joel Brobecker <brobecker@adacore.com>
544
545 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
546 bfd's development.sh.
547 * Makefile.in, configure: Regenerate.
548
549 2014-06-02 Alan Modra <amodra@gmail.com>
550
551 * emulparams/elf32bfin.sh: Rename from bfin.sh.
552 * emulparams/elf32bfinfd.sh: Update to suit.
553 * emulparams/msp430.sh: Rename from msp430all.sh. Remove
554 MSP430_NAME and msp430X vars.
555 * emulparams/msp430X.sh: New.
556 * emulparams/score3_elf.sh: Rename from scoreelf.sh. Remove
557 SCORE_NAME and score7_elf ARCH setting.
558 * emulparams/score7_elf.sh: New.
559 * Makefile.am (eelf32bfin.c, eelf32bfinfd.c): Update dependencies.
560 (emsp430.c, emsp430X.c, escore3_elf.c, escore7_elf.c): Likewise.
561 * Makefile.in: Regenerate.
562 * genscripts.sh: Delete customizer_script param.
563
564 2014-05-28 Hans-Peter Nilsson <hp@axis.com>
565
566 * Makefile.am: Change all rules with ${GENSCRIPTS}
567 invocations to be just dependencies.
568 ($(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES))
569 (run-genscripts): New rules.
570 * Makefile.in: Regenerate.
571
572 2014-05-27 DJ Delorie <dj@redhat.com>
573
574 * ld/ldemul.h (extra_map_file_text): New field.
575 (ldemul_extra_map_file_text): Declare.
576 * ld/ldemul.c (ldemul_extra_map_file_text): Define.
577 * ld/ldlang.c (lang_map): Call it.
578
579 * ld/emultempl/rxelf.em: Add extra_map_file_text hook.
580 * ld/emultempl/aix.em: Add NULL extra_map_file_text hook.
581 * ld/emultempl/armcoff.em: Likewise.
582 * ld/emultempl/beos.em: Likewise.
583 * ld/emultempl/elf32.em: Likewise.
584 * ld/emultempl/generic.em: Likewise.
585 * ld/emultempl/gld960.em: Likewise.
586 * ld/emultempl/gld960c.em: Likewise.
587 * ld/emultempl/linux.em: Likewise.
588 * ld/emultempl/lnk960.em: Likewise.
589 * ld/emultempl/m68kcoff.em: Likewise.
590 * ld/emultempl/pe.em: Likewise.
591 * ld/emultempl/pep.em: Likewise.
592 * ld/emultempl/sunos.em: Likewise.
593 * ld/emultempl/ticoff.em: Likewise.
594 * ld/emultempl/vanilla.em: Likewise.
595
596 2014-05-24 Alan Modra <amodra@gmail.com>
597
598 * ldlang.c (base): Move variable to..
599 * mri.c: ..here, and make static.
600 * ldlang.h (base): Delete declaration.
601
602 2014-05-20 Hans-Peter Nilsson <hp@axis.com>
603
604 * Makefile.am (ALL_EMULATION_SOURCES): Add missing eelf32mbel_linux.c.
605 * Makefile.in: Regenerate.
606
607 2014-05-20 Alan Modra <amodra@gmail.com>
608
609 PR 16952
610 * emulparams/elf32ppccommon.sh (_SDA_BASE_, _SDA2_BASE_): Delete.
611 * emultempl/ppc32elf.em (ppc_before_allocation): Call
612 ppc_elf_maybe_strip_sdata_syms.
613 * ldlang.c (size_input_section): Correct output_offset value
614 for excluded input sections.
615
616 2014-05-16 John Marino <binutils@marino.st>
617
618 * configure.tgt: Add /lib to dragonfly NATIVE_LIB_DIRS.
619
620 2014-05-11 Chung-Lin Tang <cltang@codesourcery.com>
621
622 * emulparams/nios2linux.sh (OTHER_GOT_SYMBOLS): Wrap _gp in HIDDEN(),
623 and gp in PROVIDE_HIDDEN.
624
625 2014-05-10 Hans-Peter Nilsson <hp@bitrange.com>
626
627 * ldlang.c (lang_finish): Don't call bfd_link_hash_table_free here.
628 (output_bfd_hash_table_free_fn): New variable.
629 (open_output): Save the _bfd_link_hash_table_free function for the
630 output_bfd into output_bfd_hash_table_free_fn.
631 * ldmain.c (ld_cleanup): If set, call output_bfd_hash_table_free_fn
632 on link_info.hash.
633 * ldlang.h (output_bfd_hash_table_free_fn): Declare.
634
635 2014-05-02 Alan Modra <amodra@gmail.com>
636
637 * emultempl/metagelf.em: Update bfd target vector naming.
638 * emultempl/nios2elf.em: Likewise.
639 * emultempl/spuelf.em: Likewise.
640 * emultempl/tic6xdsbt.em: Likewise.
641
642 2014-04-22 Christian Svensson <blue@cmd.nu>
643
644 * Makefile.am: Remove openrisc and or32 support. Add support for or1k.
645 * configure.tgt: Likewise.
646 * emulparams/elf32or1k.sh: New file.
647 * emulparams/elf32or1k_linux.sh: New file.
648 * emulparams/elf32openrisc.sh: Delete.
649 * emulparams/or32.sh: Delete.
650 * emulparams/or32elf.sh: Delete.
651 * scripttempl/or32.sc: Delete.
652 * Makefile.in: Regenerate.
653
654 2014-04-21 Richard Henderson <rth@redhat.com>
655
656 * emultempl/alphaelf.em (alpha_after_parse): Enable 2 relax passes.
657
658 2014-04-16 Steve Ellcey <sellcey@mips.com>
659
660 * emultempl/elf32.em: Include safe-ctype.h.
661
662 2014-04-16 Steve Ellcey <sellcey@mips.com>
663
664 * ldbuildid.c (generate_build_id): Add ATTRIBUTE_UNUSED to size arg.
665
666 2014-04-09 Nick Clifton <nickc@redhat.com>
667
668 * Makefile.am (default-manifest.o): Remove rule.
669 (EMUL_EXTRA_BINARIES): Delete.
670 (ALL_EMUL_EXTRA_BINARIES): Delete.
671 (ld_new_DEPENDENCIES): Remove EMUL_EXTRA_BINARIES.
672 (install-data-local): Remove EMUL_EXTRA_BINARIES.
673 * Makefile.in: Regenerate.
674 * configure.in (all_emul_extra_binaries): Delete.
675 (EMUL_EXTRA_BINARIES): Remove.
676 * configure: Regenerate.
677 * configure.tgt (target_extra_binaries): Delete.
678 * emultempl/default-manifest.rc: Delete.
679 * ld.texinfo: Remove discussion of default manifest.
680 * emulparams/i386pe.sh (DEFAULT_MANIFEST): Delete.
681 * emulparams/i386pep.sh (DEFAULT_MANIFEST): Delete.
682
683 2014-04-09 Alan Modra <amodra@gmail.com>
684
685 * emultempl/spuelf.em: Include safe-ctype.h, remove duplicate errno.h.
686 * emultempl/nds32elf.em: Include bfd_stdint.h.
687 * po/POTFILES.in: Regenerate.
688
689 2014-04-09 Alan Modra <amodra@gmail.com>
690
691 * emultempl/ppc32elf.em (no_zero_padding, ppc_finish): New functions.
692 (LDEMUL_FINISH): Define.
693
694 2014-04-08 Nick Clifton <nickc@redhat.com>
695
696 * scripttempl/pe.sc (R_RSRC): Remove default manifest.
697 * scripttempl/pep.sc (R_RSRC): Remove default manifest.
698
699 2014-04-08 Jon TURNEY <jon.turney@dronecode.org.uk>
700
701 * emultempl/elf32.em (id_note_section_size, read_hex, write_build_id):
702 Move code for parsing build-id option and calculating the build-id to...
703 * ldbuildid.c: New file.
704 * ldbuildid.h: New file.
705 * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add new
706 files.
707 * Makefile.in: Regenerate.
708 * ld.texinfo: Update --build-id description to mention COFF
709 support.
710 * NEWS: Mention support for COFF build ids.
711 * emultempl/pe.em (gld${EMULATION_NAME}_handle_option):
712 (pecoff_checksum_contents, write_build_id, setup_build_id)
713 (gld_${EMULATION_NAME}_after_open): Handle and implement
714 build-id option.
715 * emultempl/pep.em: Likewise.
716
717 2014-04-04 Cary Coutant <ccoutant@google.com>
718
719 PR gold/16804
720 * ld.texinfo: Document optional comma following output section
721 command and overlay command.
722
723 2014-04-04 Alan Modra <amodra@gmail.com>
724
725 * ldlang.c (lang_size_sections_1 <lang_input_section_enum>): Use
726 current "fill", not "output_section_statement->fill".
727
728 2014-03-31 Nick Clifton <nickc@redhat.com>
729
730 PR ld/16744
731 * emultempl/elf32.em (_after_open): Create a .note.GNU-stack
732 section when performing a relocatable link with -z [no]execstack
733 specified.
734
735 2014-03-27 H.J. Lu <hongjiu.lu@intel.com>
736
737 PR ld/16756
738 * ldmain.c (symbol_warning): New function.
739 (warning_callback): Use it. Scan all input files for a reference
740 to SYMBOL.
741
742 2014-03-21 Christopher Faylor <me.cygwin2013@cgf.cx>
743
744 * ld.texinfo: Document change in handling of --enable-auto-image-base.
745 * emultempl/pe.em (pe_auto_image_base): Set to default base.
746 (gld_${EMULATION_NAME}_list_options): Change usage message to reflect
747 optional --enable-auto-image-base argument.
748 (gld${EMULATION_NAME}_handle_option): Handle optional
749 --enable-auto-image-base argument.
750 (compute_dll_image_base): Eliminate constant. Use pe_auto_image_base.
751
752 2014-03-19 Nick Clifton <nickc@redhat.com>
753
754 * Makefile.am (default-manifest.o): Use WINDRES_FOR_TARGET.
755 * Makefile.in: Regenerate.
756 * emultempl/default-manifest.rc: Fix typo.
757 * scripttempl/pe.sc (R_RSRC): Fix default-manifest exclusion.
758 (.rsrc): Add SUBALIGN(4). Remove SORT.
759 * scripttempl/pep.sc: Likewise.
760
761 2014-03-17 Christopher Faylor <me.cygwin2014@cgf.cx>
762
763 * Makefile.am: Use host version of windres.
764 * Makefile.in: Regenerate.
765
766 2014-03-14 Romain Geissler <romain.geissler@amadeus.com>
767 Alan Modra <amodra@gmail.com>
768
769 * ldlang.h (full_name_provided): New input flag.
770 * ldlang.c (new_afile): Don't use lang_input_file_is_search_file_enum
771 for -l:namespec. Instead use lang_input_file_is_l_enum with
772 full_name_provided flag.
773 * ldlfile.c (ldfile_open_file_search): Don't complete lib name if
774 full_name_provided flag is set.
775 * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
776 Handle full_name_provided libraries. Tidy EXTRA_SHLIB_EXTENSION
777 support. Set DT_NEEDED for -l:namespec as namespec.
778 * emultempl/aix.em (ppc_after_open_output): Handle full_name_provided.
779 * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive):
780 Don't handle full_name_provided libraries.
781 * emultempl/pe.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
782 * emultempl/pep.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
783 * emultempl/vms.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
784
785 2014-03-12 Alan Modra <amodra@gmail.com>
786
787 * Makefile.in: Regenerate.
788
789 2014-03-05 Alan Modra <amodra@gmail.com>
790
791 Update copyright years.
792
793 2014-03-04 Nick Clifton <nickc@redhat.com>
794
795 * Makefile.am (ALL_EMUL_EXTRA_BINARIES): Remove default-manifest.
796 * Makefile.in: Regenerate.
797
798 2014-02-27 Yuri Gribov <y.gribov@samsung.com>
799
800 * emultempl/armelf.em (OPTION_LONG_PLT): Define.
801 (PARSE_AND_LIST_LONGOPTS): Add long-plt.
802 (PARSE_AND_LIST_OPTIONS): Likewise.
803 (PARSE_AND_LIST_ARGS_CASES): Handle long-plt.
804 * ld.texinfo: Document --long-plt.
805
806 2014-02-27 Alan Modra <amodra@gmail.com>
807
808 * emulparams/elf32ppcvxworks.sh: Source plt_unwind.sh and
809 use ppc32elf.em.
810 * emultempl/ppc32elf.em (ppc_after_open): Don't compile for
811 vxworks.
812 (LDEMUL_AFTER_OPEN): Don't set for vxworks.
813 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Exclude
814 -secure-plt, -bss-plt and -sdata-got when vxworks.
815
816 2014-02-27 Nick Clifton <nickc@redhat.com>
817
818 * configure.in (all_emul_extra_binaries): New variable. Populated
819 by invoking configure.tgt.
820 (EMUL_EXTRA_BINARIES): New substitution.
821 * configure: Regenerate.
822 * configure.tgt (target_extra_binaries): New variable. Set to
823 default-manifest.o for Cygwin and MinGW targets.
824 * Makefile.am (EMUL_EXTRA_BINARIES): New variable. Initialised
825 by the configure script.
826 (ALL_EMUL_EXTRA_BINARIES): New variable.
827 (default-manifest.o): New rule to build the default manifest.
828 (ld_new_DEPENDENCIES): Add EMUL_EXTRA_BINARIES.
829 (install-data-local): Add EMUL_EXTRA_BINARIES.
830 * Makefile.in: Regenerate.
831 * ld.texinfo: Document default manifest support.
832 * emulparams/i386pe.sh (DEFAULT_MANIFEST): Define.
833 * emulparams/i386pep.sh (DEFAULT_MANIFEST): Define.
834 * emultempl/default-manifest.rc: New file.
835 * scripttempl/pe.sc (R_RSRC): Include DEFAULT_MANIFEST, if defined.
836 * scripttempl/pep.sc (R_RSRC): Likewise.
837
838 2014-02-26 Dan Mick <dan.mick@inktank.com>
839
840 PR ld/16569
841 * ldcref.c (cref_sort_array): Compare unmangled names unless
842 demanglng has been requiested.
843 (output_one_cref): Output unmangled name unless demangling has
844 been requested.
845
846 2014-02-19 Igor Zamyatin <igor.zamyatin@intel.com>
847 H.J. Lu <hongjiu.lu@intel.com>
848
849 * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): New.
850
851 2014-02-19 Alan Modra <amodra@gmail.com>
852
853 * emultempl/ppc64elf.em (params): Init new field.
854 (ppc_create_output_section_statements): Set params.save_restore_funcs
855 default.
856 (PARSE_AND_LIST_*): Add support for --save-restore-funcs and
857 --no-save-restore-funcs.
858
859 2014-02-17 Alan Modra <amodra@gmail.com>
860
861 * emultemps/ppc64elf.em (params): New static struct replacing
862 various other static vars. Adjust code throughout file.
863
864 2014-02-17 Alan Modra <amodra@gmail.com>
865
866 * emultempl/ppc32elf.em (ppc_after_open_output): Really enable
867 ppc476 workaround for ld -r.
868
869 2014-02-12 Alan Modra <amodra@gmail.com>
870
871 * emultempl/ppc32elf.em (pagesize): New static var.
872 (ppc_after_open_output): Set params.pagesize_p2 from pagesize.
873 (PARSE_AND_LIST_ARGS_CASES): Adjust to use pagesize.
874
875 2014-02-11 Andrew Pinski <apinski@cavium.com>
876
877 * emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32.
878 (ELF_INTERPRETER_NAME): Define.
879 * emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define.
880
881 2014-02-10 Alan Modra <amodra@gmail.com>
882
883 * po/ld.pot: Regenerate.
884
885 2014-02-03 Alan Modra <amodra@gmail.com>
886
887 * emultempl/ppc32elf.em (no_tls_get_addr_opt, emit_stub_syms)
888 plt_style): Delete. Adjust all refs to instead use..
889 (params): ..this. New variable.
890 (ppc_after_open_output): New function. Tweak params and pass to
891 ppc_elf_link_params.
892 (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
893 (ppc_before_allocation): Adjust ppc_elf_tls_setup call. Enable
894 relaxation for ppc476 workaround.
895 (PARSE_AND_LIST_*): Add --{no-,}ppc476-workaround support.
896 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
897
898 2014-02-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
899
900 * ld/ld.texinfo: Change ALIGN_WITH_INPUT documentation.
901 * ld/ldlang.c (lang_size_sections_1): Add dotdelta
902 variable which reflects the VMA change due to alignment
903 requirements. Use dotdelta do change the LMA if
904 ALIGN_WITH_INPUT is requested.
905
906 2014-02-01 Hans-Peter Nilsson <hp@bitrange.com>
907
908 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in
909 call to bfd_set_section_vma exposed by recent bfd_set_section_vma
910 change.
911
912 2014-01-30 Sandra Loosemore <sandra@codesourcery.com>
913
914 * Makefile.am (enios2elf.c, enios2linux.c): Update dependencies.
915 * Makefile.in: Regenerated.
916 * emulparams/nios2elf.sh (EXTRA_EM_FILE): Set.
917 * emulparams/nios2linux.sh (EXTRA_EM_FILE): Set.
918 * emultempl/nios2elf.em: New file.
919 * gen-doc.texi (NIOSII): Set.
920 * ld.texinfo (NIOSII): Set.
921
922 2014-01-28 Nick Clifton <nickc@redhat.com>
923
924 * Makefile.am: Remove obsolete MSP430 emulations.
925 * configure.tgt: Likewise.
926 * emulparams/msp430all.sh: Likewise.
927 * Makefile.in: Regenerate.
928
929 2014-01-24 H.J. Lu <hongjiu.lu@intel.com>
930
931 PR ld/16498
932 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
933 orphaned TLS section handling.
934
935 2014-01-24 Alan Modra <amodra@gmail.com>
936
937 * ldlang.c (lang_output_section_find_by_flags): Be careful to
938 test look->bfd_section->flags if available rather than
939 look->flags. Separate SEC_THREAD_LOCAL handling from
940 SEC_READONLY loop, and rewrite.
941
942 2014-01-22 Alan Modra <amodra@gmail.com>
943
944 * ldlang.c (asneeded_list_head, asneeded_list_tail): New vars.
945 (lang_init): Initialise them.
946 (lang_print_asneeded): New function.
947 (lang_process): Call lang_print_asneeded.
948 * ldlang.h (struct asneeded_minfo): New.
949 (asneeded_list_tail): Declare.
950 * ldmain.c (add_archive_element): Improve archive map heading.
951 * ldmisc.c (minfo): Stash --as-needed info.
952
953 2014-01-22 Alan Modra <amodra@gmail.com>
954
955 * ld.h (struct map_symbol_def): Move to..
956 * ldlang.h: ..here.
957 * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
958
959 2014-01-22 Alan Modra <amodra@gmail.com>
960
961 * ld.texinfo (Output Section Discarding): Mention assigning to dot
962 as a way of keeping otherwise empty sections.
963 * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
964 is_dot_plus_0, is_align_conditional): New predicates.
965 (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
966 output section, except for some special cases.
967 * scripttempl/elfmicroblaze.sc: Use canonical form to align at
968 end of .heap and .stack.
969
970 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
971
972 * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
973
974 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
975
976 * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
977
978 2014-01-20 Alan Modra <amodra@gmail.com>
979
980 * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
981 by_script. Make iteration a single bit field.
982 (lang_track_definedness, lang_symbol_definition_iteration): Delete.
983 (lang_symbol_defined): Declare.
984 * ldlang.c (lang_statement_iteration): Expand comment a little.
985 (lang_init <lang_definedness_table>): Make it bigger.
986 (lang_track_definedness, lang_symbol_definition): Delete.
987 (lang_definedness_newfunc): Update.
988 (lang_symbol_defined): New function.
989 (lang_update_definedness): Create entries here. Do track whether
990 script definition of symbol is valid, even when also defined in
991 an object file.
992 * ldexp.c (fold_name <DEFINED>): Update.
993 (fold_name <NAME>): Allow self-assignment for absolute symbols
994 defined in a linker script.
995
996 2014-01-20 Guy Martin <gmsoft@tuxicoman.be>
997 Alan Modra <amodra@gmail.com>
998
999 * ldlang.h (lang_output_section_get): Define.
1000 * ldlang.c (lang_output_section_get): Likewise.
1001 (init_os): Set the output_section userdata to the output
1002 section statement.
1003 * emultempl/hppaelf.em: Use lang_output_section_get instead of
1004 lang_output_section_find where applicable.
1005 * emultempl/aarch64elf.em: Likewise.
1006 * emultempl/aix.em: Likewise.
1007 * emultempl/armelf.em: Likewise.
1008 * emultempl/m68hc1xelf.em: Likewise.
1009 * emultempl/metagelf.em: Likewise.
1010 * emultempl/mipself.em: Likewise.
1011 * emultempl/ppc64elf.em: Likewise.
1012 * emultempl/spuelf.em: Likewise.
1013
1014 2014-01-17 Alan Modra <amodra@gmail.com>
1015
1016 * genscripts.sh (COMPILE_IN): Don't set if already set.
1017 * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
1018 COMPILE_IN=no.
1019 * emulparams/nds32elf16m.sh: Likewise.
1020 * emulparams/nds32elf_linux.sh: Likewise.
1021 * emultempl/aix.em: Test COMPILE_IN value is "yes".
1022 * emultempl/armcoff.em: Likewise.
1023 * emultempl/elf32.em: Likewise.
1024 * emultempl/generic.em: Likewise.
1025 * emultempl/gld960.em: Likewise.
1026 * emultempl/gld960c.em: Likewise.
1027 * emultempl/linux.em: Likewise.
1028 * emultempl/lnk960.em: Likewise.
1029 * emultempl/m68kcoff.em: Likewise.
1030 * emultempl/sunos.em: Likewise.
1031 * emultempl/ticoff.em: Likewise.
1032
1033 2014-01-16 H.J. Lu <hongjiu.lu@intel.com>
1034
1035 PR ld/16456
1036 * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
1037 suffix.
1038 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
1039 for elf32_x86_64 emulation.
1040 * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
1041 for elf_i386 emulation.
1042
1043 2014-01-16 Alan Modra <amodra@gmail.com>
1044
1045 * ld.h (fat_section_userdata_type, get_userdata): Move to..
1046 * ldlang.h (input_section_userdata_type, get_userdata): ..here.
1047 * ldlang.c (init_map_userdata): Delete. Fold into..
1048 (sort_def_symbol): ..here. Don't attach input section userdata
1049 to output sections or global bfd sections.
1050 (lang_map): Don't pre-allocate input section userdata.
1051 (init_os): Don't allocate userdata for output sections.
1052 (print_all_symbols): Update.
1053
1054 2014-01-15 H.J. Lu <hongjiu.lu@intel.com>
1055
1056 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
1057 Silence uninitialized warning on ehdr_start_save with older
1058 GCC.
1059
1060 2014-01-15 Alan Modra <amodra@gmail.com>
1061
1062 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
1063 __ehdr_start before size_dynamic_sections and restore afterwards.
1064
1065 2014-01-10 Alan Modra <amodra@gmail.com>
1066
1067 PR ld/14207
1068 PR ld/16322
1069 PR binutils/16323
1070 * ldlang.c (lang_size_sections): Remove unneeded RELRO base
1071 adjust. Tidy comments.
1072 * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
1073
1074 2014-01-10 Hans-Peter Nilsson <hp@axis.com>
1075
1076 * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
1077
1078 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
1079
1080 PR ld/14207
1081 PR ld/16322
1082 PR binutils/16323
1083 * ldlang.c (lang_size_sections): Properly align RELRO base.
1084
1085 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
1086
1087 * ldver.c (ldversion): Update copyright year to 2014.
1088
1089 For older changes see ChangeLog-2013
1090 \f
1091 Copyright (C) 2014 Free Software Foundation, Inc.
1092
1093 Copying and distribution of this file, with or without modification,
1094 are permitted in any medium without royalty provided the copyright
1095 notice and this notice are preserved.
1096
1097 Local Variables:
1098 mode: change-log
1099 left-margin: 8
1100 fill-column: 74
1101 version-control: never
1102 End:
This page took 0.056176 seconds and 4 git commands to generate.