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