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