Use modern AC_INIT in configure.in
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
2e98a7bd
AM
12014-07-04 Alan Modra <amodra@gmail.com>
2
3 * configure.in: Include bfd/version.m4.
4 (AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
5 (BFD_VERSION): Delete.
6 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
7 * configure: Regenerate.
8 * Makefile.in: Regenerate.
9
d215621e
AM
102014-07-03 Alan Modra <amodra@gmail.com>
11
12 PR 17068
13 * ldlang.c (load_symbols): Always check flags.reload.
14 (open_input_bfds): Always reload --as-needed shared libraries,
15 not just when rescanning.
16 * ldlang.h (struct lang_input_statement_flags): Update reload comment.
17 * plugin.c (plugin_should_reload): Assume shared library arg.
18 * plugin.h (plugin_should_reload): Update comment.
19
7341d5e2
AM
202014-07-01 Alan Modra <amodra@gmail.com>
21
22 * emultempl/ppc64elf.em (stub_added): Delete.
23 (gld${EMULATION_NAME}_finish): Call ppc64_elf_build_stubs even when
24 none of the usual stubs have been added. Only change entry_section
25 for ELFv1.
26
2dc0e7b4
AM
272014-07-01 Alan Modra <amodra@gmail.com>
28
29 * sysdep.h: Don't include limits.h and sys/param.h. Don't
30 include unistd.h twice.
31 (LD_PATHMAX): Don't define.
32 * ldlang.c (lang_common): Don't use UINT_MAX.
33
f36e8886
BS
342014-07-01 Barney Stratford <barney_stratford@fastmail.fm>
35 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
36 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
37 Soundararajan <Sounderarajan.D@atmel.com>
38
39 * Makefile.am (ALL_EMULATION_SOURCES): Add avrtiny emulation source.
40 (eavrtiny.c): Add rules for avrtiny emulation source.
41 * Makefile.in: Regenerate.
42 * configure.tgt: Add avrtiny to avr target emulations.
43 * scripttempl/avrtiny.sc: New file. Linker script template for
44 avrtiny arch.
45 * emulparams/avrtiny.sh: New file. Emulation parameters for
46 avrtiny arch.
47
b0054819
UD
482014-06-30 Ulrich Drepper <drepper@gmail.com>
49
50 * lexsup.c (parse_args): Check whether provided SONAME is empty
51 string. If yes, warn and ignore it. Don't overwrite valid SONAME
52 with empty string.
53
eeb14e5a
LZ
542014-06-26 Linda Zhang <lindasc@qq.com>
55
56 * emultempl/pe.em: Initialise insert_timestamp to true.
57 Add a --no-insert-timestamp command line option.
58 * emultempl/pep.em: Likewise.
59 * ld.texinfo: Document that --insert-timestamp is enabled by
60 default and that it now has an inverse command line option.
61 * NEWS: Mention the new behaviour.
62
9d069ac3
NC
632014-06-25 Nick Clifton <nickc@redhat.com>
64
65 * Makefile.am (ALL_EMULATION_SOURCES): Move ei386pep.c from
66 here...
67 (ALL_64_EMULATION_SOURCES): ... to here.
68 (ALL_EMUL_EXTRA_OFILES): Move pep-dll.o from here...
69 (ALL_64_EMUL_EXTRA_OFILES): New. ... to here.
70 * configure.in (EMUL_EXTRA_OFILES): Include
71 ALL_64_EMUL_EXTRA_OFILES when making a 64-bit enabled build.
72 * Makefile.in: Regenerate.
73 * configure: Regenerate.
74
1804dbce
AT
752014-06-18 Andreas Tobler <andreast@fgznet.ch>
76
77 * configure.tgt (arm*-*-freebsd*): Update targ_extra_emuls.
78 (arm*b-*-freebsd*): Add target.
79 * emulparams/armelfb_fbsd.sh: Added.
80 * emulparams/armelf_fbsd.sh: Updated.
81 * Makefile.am (ALL_EMULATION_SOURCES): Add earmelfb_fbsd.c.
82 * Makefile.in: Regenerate.
83
e1279d1d
AM
842014-06-16 Alan Modra <amodra@gmail.com>
85
86 * scripttempl/elf.sc: Edit out __rela_iplt symbol assignments from
87 .rel sections, and __rel_iplt from .rela sections.
88 * scripttempl/nds32elf.sc: Likewise.
89 * Makefile.am (ends32*.c) Depend on nds32elf.sc.
90 * Makefile.in: Regenerate.
91
caa4096e
AM
922014-06-13 Alan Modra <amodra@gmail.com>
93
94 PR 17047
95 * ldlang.c (output_bfd_hash_table_free_fn): Delete.
96 (open_output): Don't set it..
97 * ldmain.c (ld_cleanup): ..or call it.
98
c72f2fb2
AM
992014-06-13 Alan Modra <amodra@gmail.com>
100
101 * emultempl/cr16elf.em, * emultempl/elf32.em, * emultempl/genelf.em,
102 * emultempl/m68kcoff.em, * emultempl/m68kelf.em,
103 * emultempl/nds32elf.em, * emultempl/pe.em, * emultempl/pep.em,
104 * ldlang.c, * ldmain.c, * pe-dll.c: Update for bfd.link_next change.
105
07cccc39
AM
1062014-06-13 Alan Modra <amodra@gmail.com>
107
108 * Makefile.am (ALL_EMULATION_SOURCES): Add enios2elf.c, enios2linux.c.
109 * Makefile.in: Regenerate.
110
b893397a
AM
1112014-06-07 Alan Modra <amodra@gmail.com>
112
113 * ldexp.c (exp_fold_tree_1 <etree_provide>): Make PROVIDEd
114 linker script symbol value override a built-in linker symbol.
115
270c9937
JB
1162014-06-05 Joel Brobecker <brobecker@adacore.com>
117
118 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
119 bfd's development.sh.
120 * Makefile.in, configure: Regenerate.
121
ce46249c
AM
1222014-06-02 Alan Modra <amodra@gmail.com>
123
124 * emulparams/elf32bfin.sh: Rename from bfin.sh.
125 * emulparams/elf32bfinfd.sh: Update to suit.
ce46249c
AM
126 * emulparams/msp430.sh: Rename from msp430all.sh. Remove
127 MSP430_NAME and msp430X vars.
128 * emulparams/msp430X.sh: New.
ce46249c
AM
129 * emulparams/score3_elf.sh: Rename from scoreelf.sh. Remove
130 SCORE_NAME and score7_elf ARCH setting.
131 * emulparams/score7_elf.sh: New.
132 * Makefile.am (eelf32bfin.c, eelf32bfinfd.c): Update dependencies.
133 (emsp430.c, emsp430X.c, escore3_elf.c, escore7_elf.c): Likewise.
134 * Makefile.in: Regenerate.
135 * genscripts.sh: Delete customizer_script param.
136
77ac17b8
HPN
1372014-05-28 Hans-Peter Nilsson <hp@axis.com>
138
139 * Makefile.am: Change all rules with ${GENSCRIPTS}
140 invocations to be just dependencies.
141 ($(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES))
142 (run-genscripts): New rules.
143 * Makefile.in: Regenerate.
144
7a2f2d82
DD
1452014-05-27 DJ Delorie <dj@redhat.com>
146
147 * ld/ldemul.h (extra_map_file_text): New field.
148 (ldemul_extra_map_file_text): Declare.
149 * ld/ldemul.c (ldemul_extra_map_file_text): Define.
150 * ld/ldlang.c (lang_map): Call it.
151
152 * ld/emultempl/rxelf.em: Add extra_map_file_text hook.
153 * ld/emultempl/aix.em: Add NULL extra_map_file_text hook.
154 * ld/emultempl/armcoff.em: Likewise.
155 * ld/emultempl/beos.em: Likewise.
156 * ld/emultempl/elf32.em: Likewise.
157 * ld/emultempl/generic.em: Likewise.
158 * ld/emultempl/gld960.em: Likewise.
159 * ld/emultempl/gld960c.em: Likewise.
160 * ld/emultempl/linux.em: Likewise.
161 * ld/emultempl/lnk960.em: Likewise.
162 * ld/emultempl/m68kcoff.em: Likewise.
163 * ld/emultempl/pe.em: Likewise.
164 * ld/emultempl/pep.em: Likewise.
165 * ld/emultempl/sunos.em: Likewise.
166 * ld/emultempl/ticoff.em: Likewise.
167 * ld/emultempl/vanilla.em: Likewise.
168
0ef76c43
AM
1692014-05-24 Alan Modra <amodra@gmail.com>
170
171 * ldlang.c (base): Move variable to..
172 * mri.c: ..here, and make static.
173 * ldlang.h (base): Delete declaration.
174
865d0aef
HPN
1752014-05-20 Hans-Peter Nilsson <hp@axis.com>
176
177 * Makefile.am (ALL_EMULATION_SOURCES): Add missing eelf32mbel_linux.c.
178 * Makefile.in: Regenerate.
179
93d1b056
AM
1802014-05-20 Alan Modra <amodra@gmail.com>
181
182 PR 16952
183 * emulparams/elf32ppccommon.sh (_SDA_BASE_, _SDA2_BASE_): Delete.
184 * emultempl/ppc32elf.em (ppc_before_allocation): Call
185 ppc_elf_maybe_strip_sdata_syms.
186 * ldlang.c (size_input_section): Correct output_offset value
187 for excluded input sections.
188
5febff9b
JM
1892014-05-16 John Marino <binutils@marino.st>
190
191 * configure.tgt: Add /lib to dragonfly NATIVE_LIB_DIRS.
192
fae66359
CLT
1932014-05-11 Chung-Lin Tang <cltang@codesourcery.com>
194
195 * emulparams/nios2linux.sh (OTHER_GOT_SYMBOLS): Wrap _gp in HIDDEN(),
196 and gp in PROVIDE_HIDDEN.
197
eae25ec5
HPN
1982014-05-10 Hans-Peter Nilsson <hp@bitrange.com>
199
200 * ldlang.c (lang_finish): Don't call bfd_link_hash_table_free here.
201 (output_bfd_hash_table_free_fn): New variable.
202 (open_output): Save the _bfd_link_hash_table_free function for the
203 output_bfd into output_bfd_hash_table_free_fn.
204 * ldmain.c (ld_cleanup): If set, call output_bfd_hash_table_free_fn
205 on link_info.hash.
206 * ldlang.h (output_bfd_hash_table_free_fn): Declare.
207
6d00b590
AM
2082014-05-02 Alan Modra <amodra@gmail.com>
209
210 * emultempl/metagelf.em: Update bfd target vector naming.
211 * emultempl/nios2elf.em: Likewise.
212 * emultempl/spuelf.em: Likewise.
213 * emultempl/tic6xdsbt.em: Likewise.
214
73589c9d
CS
2152014-04-22 Christian Svensson <blue@cmd.nu>
216
217 * Makefile.am: Remove openrisc and or32 support. Add support for or1k.
218 * configure.tgt: Likewise.
219 * emulparams/elf32or1k.sh: New file.
220 * emulparams/elf32or1k_linux.sh: New file.
221 * emulparams/elf32openrisc.sh: Delete.
222 * emulparams/or32.sh: Delete.
223 * emulparams/or32elf.sh: Delete.
224 * scripttempl/or32.sc: Delete.
225 * Makefile.in: Regenerate.
226
d1c109de
RH
2272014-04-21 Richard Henderson <rth@redhat.com>
228
229 * emultempl/alphaelf.em (alpha_after_parse): Enable 2 relax passes.
230
8056826a
SE
2312014-04-16 Steve Ellcey <sellcey@mips.com>
232
233 * emultempl/elf32.em: Include safe-ctype.h.
234
751e54c9
SE
2352014-04-16 Steve Ellcey <sellcey@mips.com>
236
237 * ldbuildid.c (generate_build_id): Add ATTRIBUTE_UNUSED to size arg.
238
edf84efc
NC
2392014-04-09 Nick Clifton <nickc@redhat.com>
240
241 * Makefile.am (default-manifest.o): Remove rule.
242 (EMUL_EXTRA_BINARIES): Delete.
243 (ALL_EMUL_EXTRA_BINARIES): Delete.
244 (ld_new_DEPENDENCIES): Remove EMUL_EXTRA_BINARIES.
245 (install-data-local): Remove EMUL_EXTRA_BINARIES.
246 * Makefile.in: Regenerate.
247 * configure.in (all_emul_extra_binaries): Delete.
248 (EMUL_EXTRA_BINARIES): Remove.
249 * configure: Regenerate.
250 * configure.tgt (target_extra_binaries): Delete.
251 * emultempl/default-manifest.rc: Delete.
252 * ld.texinfo: Remove discussion of default manifest.
253 * emulparams/i386pe.sh (DEFAULT_MANIFEST): Delete.
254 * emulparams/i386pep.sh (DEFAULT_MANIFEST): Delete.
255
e30d16e9
AM
2562014-04-09 Alan Modra <amodra@gmail.com>
257
258 * emultempl/spuelf.em: Include safe-ctype.h, remove duplicate errno.h.
259 * emultempl/nds32elf.em: Include bfd_stdint.h.
260 * po/POTFILES.in: Regenerate.
261
b4ab4364
AM
2622014-04-09 Alan Modra <amodra@gmail.com>
263
264 * emultempl/ppc32elf.em (no_zero_padding, ppc_finish): New functions.
265 (LDEMUL_FINISH): Define.
266
6c1799ad
NC
2672014-04-08 Nick Clifton <nickc@redhat.com>
268
269 * scripttempl/pe.sc (R_RSRC): Remove default manifest.
270 * scripttempl/pep.sc (R_RSRC): Remove default manifest.
271
61e2488c
JT
2722014-04-08 Jon TURNEY <jon.turney@dronecode.org.uk>
273
274 * emultempl/elf32.em (id_note_section_size, read_hex, write_build_id):
275 Move code for parsing build-id option and calculating the build-id to...
276 * ldbuildid.c: New file.
277 * ldbuildid.h: New file.
278 * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add new
279 files.
280 * Makefile.in: Regenerate.
281 * ld.texinfo: Update --build-id description to mention COFF
282 support.
283 * NEWS: Mention support for COFF build ids.
284 * emultempl/pe.em (gld${EMULATION_NAME}_handle_option):
285 (pecoff_checksum_contents, write_build_id, setup_build_id)
286 (gld_${EMULATION_NAME}_after_open): Handle and implement
287 build-id option.
288 * emultempl/pep.em: Likewise.
289
abc9061b
CC
2902014-04-04 Cary Coutant <ccoutant@google.com>
291
292 PR gold/16804
293 * ld.texinfo: Document optional comma following output section
294 command and overlay command.
295
ffe54b37
AM
2962014-04-04 Alan Modra <amodra@gmail.com>
297
298 * ldlang.c (lang_size_sections_1 <lang_input_section_enum>): Use
299 current "fill", not "output_section_statement->fill".
300
76f0cad6
NC
3012014-03-31 Nick Clifton <nickc@redhat.com>
302
303 PR ld/16744
304 * emultempl/elf32.em (_after_open): Create a .note.GNU-stack
305 section when performing a relocatable link with -z [no]execstack
306 specified.
307
4c6d802e
L
3082014-03-27 H.J. Lu <hongjiu.lu@intel.com>
309
310 PR ld/16756
311 * ldmain.c (symbol_warning): New function.
312 (warning_callback): Use it. Scan all input files for a reference
313 to SYMBOL.
314
8547a0f9 3152014-03-21 Christopher Faylor <me.cygwin2013@cgf.cx>
d0e6d77b
CF
316
317 * ld.texinfo: Document change in handling of --enable-auto-image-base.
318 * emultempl/pe.em (pe_auto_image_base): Set to default base.
319 (gld_${EMULATION_NAME}_list_options): Change usage message to reflect
320 optional --enable-auto-image-base argument.
321 (gld${EMULATION_NAME}_handle_option): Handle optional
322 --enable-auto-image-base argument.
323 (compute_dll_image_base): Eliminate constant. Use pe_auto_image_base.
324
1d63324c
NC
3252014-03-19 Nick Clifton <nickc@redhat.com>
326
327 * Makefile.am (default-manifest.o): Use WINDRES_FOR_TARGET.
328 * Makefile.in: Regenerate.
329 * emultempl/default-manifest.rc: Fix typo.
330 * scripttempl/pe.sc (R_RSRC): Fix default-manifest exclusion.
6caf7111 331 (.rsrc): Add SUBALIGN(4). Remove SORT.
1d63324c
NC
332 * scripttempl/pep.sc: Likewise.
333
c712f1e3
CF
3342014-03-17 Christopher Faylor <me.cygwin2014@cgf.cx>
335
336 * Makefile.am: Use host version of windres.
337 * Makefile.in: Regenerate.
338
d4ae5fb0
AM
3392014-03-14 Romain Geissler <romain.geissler@amadeus.com>
340 Alan Modra <amodra@gmail.com>
341
342 * ldlang.h (full_name_provided): New input flag.
343 * ldlang.c (new_afile): Don't use lang_input_file_is_search_file_enum
344 for -l:namespec. Instead use lang_input_file_is_l_enum with
345 full_name_provided flag.
346 * ldlfile.c (ldfile_open_file_search): Don't complete lib name if
347 full_name_provided flag is set.
348 * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
349 Handle full_name_provided libraries. Tidy EXTRA_SHLIB_EXTENSION
350 support. Set DT_NEEDED for -l:namespec as namespec.
351 * emultempl/aix.em (ppc_after_open_output): Handle full_name_provided.
352 * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive):
353 Don't handle full_name_provided libraries.
354 * emultempl/pe.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
355 * emultempl/pep.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
356 * emultempl/vms.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
357
fa47fa92
AM
3582014-03-12 Alan Modra <amodra@gmail.com>
359
360 * Makefile.in: Regenerate.
361
4b95cf5c
AM
3622014-03-05 Alan Modra <amodra@gmail.com>
363
364 Update copyright years.
365
0b55a33e
NC
3662014-03-04 Nick Clifton <nickc@redhat.com>
367
368 * Makefile.am (ALL_EMUL_EXTRA_BINARIES): Remove default-manifest.
369 * Makefile.in: Regenerate.
370
1db37fe6
YG
3712014-02-27 Yuri Gribov <y.gribov@samsung.com>
372
373 * emultempl/armelf.em (OPTION_LONG_PLT): Define.
374 (PARSE_AND_LIST_LONGOPTS): Add long-plt.
375 (PARSE_AND_LIST_OPTIONS): Likewise.
376 (PARSE_AND_LIST_ARGS_CASES): Handle long-plt.
377 * ld.texinfo: Document --long-plt.
378
db434ba0
AM
3792014-02-27 Alan Modra <amodra@gmail.com>
380
381 * emulparams/elf32ppcvxworks.sh: Source plt_unwind.sh and
382 use ppc32elf.em.
383 * emultempl/ppc32elf.em (ppc_after_open): Don't compile for
384 vxworks.
385 (LDEMUL_AFTER_OPEN): Don't set for vxworks.
386 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Exclude
387 -secure-plt, -bss-plt and -sdata-got when vxworks.
388
5063daf7
NC
3892014-02-27 Nick Clifton <nickc@redhat.com>
390
391 * configure.in (all_emul_extra_binaries): New variable. Populated
392 by invoking configure.tgt.
393 (EMUL_EXTRA_BINARIES): New substitution.
394 * configure: Regenerate.
395 * configure.tgt (target_extra_binaries): New variable. Set to
396 default-manifest.o for Cygwin and MinGW targets.
397 * Makefile.am (EMUL_EXTRA_BINARIES): New variable. Initialised
398 by the configure script.
399 (ALL_EMUL_EXTRA_BINARIES): New variable.
400 (default-manifest.o): New rule to build the default manifest.
401 (ld_new_DEPENDENCIES): Add EMUL_EXTRA_BINARIES.
402 (install-data-local): Add EMUL_EXTRA_BINARIES.
403 * Makefile.in: Regenerate.
404 * ld.texinfo: Document default manifest support.
405 * emulparams/i386pe.sh (DEFAULT_MANIFEST): Define.
406 * emulparams/i386pep.sh (DEFAULT_MANIFEST): Define.
407 * emultempl/default-manifest.rc: New file.
408 * scripttempl/pe.sc (R_RSRC): Include DEFAULT_MANIFEST, if defined.
409 * scripttempl/pep.sc (R_RSRC): Likewise.
410
e3e37035
DM
4112014-02-26 Dan Mick <dan.mick@inktank.com>
412
413 PR ld/16569
414 * ldcref.c (cref_sort_array): Compare unmangled names unless
415 demanglng has been requiested.
416 (output_one_cref): Output unmangled name unless demangling has
417 been requested.
418
0ff2b86e
L
4192014-02-19 Igor Zamyatin <igor.zamyatin@intel.com>
420 H.J. Lu <hongjiu.lu@intel.com>
421
422 * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): New.
423
7d4c687d
AM
4242014-02-19 Alan Modra <amodra@gmail.com>
425
426 * emultempl/ppc64elf.em (params): Init new field.
427 (ppc_create_output_section_statements): Set params.save_restore_funcs
428 default.
429 (PARSE_AND_LIST_*): Add support for --save-restore-funcs and
430 --no-save-restore-funcs.
431
e7d1c40c
AM
4322014-02-17 Alan Modra <amodra@gmail.com>
433
434 * emultemps/ppc64elf.em (params): New static struct replacing
435 various other static vars. Adjust code throughout file.
436
668e22e5
AM
4372014-02-17 Alan Modra <amodra@gmail.com>
438
439 * emultempl/ppc32elf.em (ppc_after_open_output): Really enable
440 ppc476 workaround for ld -r.
441
795bc6b3
AM
4422014-02-12 Alan Modra <amodra@gmail.com>
443
444 * emultempl/ppc32elf.em (pagesize): New static var.
445 (ppc_after_open_output): Set params.pagesize_p2 from pagesize.
446 (PARSE_AND_LIST_ARGS_CASES): Adjust to use pagesize.
447
7d0edd4b
AP
4482014-02-11 Andrew Pinski <apinski@cavium.com>
449
450 * emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32.
451 (ELF_INTERPRETER_NAME): Define.
452 * emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define.
453
c1c69e83
AM
4542014-02-10 Alan Modra <amodra@gmail.com>
455
456 * po/ld.pot: Regenerate.
457
5446cbdf
AM
4582014-02-03 Alan Modra <amodra@gmail.com>
459
460 * emultempl/ppc32elf.em (no_tls_get_addr_opt, emit_stub_syms)
461 plt_style): Delete. Adjust all refs to instead use..
462 (params): ..this. New variable.
463 (ppc_after_open_output): New function. Tweak params and pass to
464 ppc_elf_link_params.
465 (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
466 (ppc_before_allocation): Adjust ppc_elf_tls_setup call. Enable
467 relaxation for ppc476 workaround.
468 (PARSE_AND_LIST_*): Add --{no-,}ppc476-workaround support.
469 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
470
13075d04
SH
4712014-02-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
472
473 * ld/ld.texinfo: Change ALIGN_WITH_INPUT documentation.
474 * ld/ldlang.c (lang_size_sections_1): Add dotdelta
475 variable which reflects the VMA change due to alignment
476 requirements. Use dotdelta do change the LMA if
477 ALIGN_WITH_INPUT is requested.
478
0a09fb4a
HPN
4792014-02-01 Hans-Peter Nilsson <hp@bitrange.com>
480
481 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in
482 call to bfd_set_section_vma exposed by recent bfd_set_section_vma
483 change.
484
78058a5e
SL
4852014-01-30 Sandra Loosemore <sandra@codesourcery.com>
486
487 * Makefile.am (enios2elf.c, enios2linux.c): Update dependencies.
488 * Makefile.in: Regenerated.
489 * emulparams/nios2elf.sh (EXTRA_EM_FILE): Set.
490 * emulparams/nios2linux.sh (EXTRA_EM_FILE): Set.
491 * emultempl/nios2elf.em: New file.
492 * gen-doc.texi (NIOSII): Set.
493 * ld.texinfo (NIOSII): Set.
494
1ade0651
NC
4952014-01-28 Nick Clifton <nickc@redhat.com>
496
497 * Makefile.am: Remove obsolete MSP430 emulations.
498 * configure.tgt: Likewise.
499 * emulparams/msp430all.sh: Likewise.
500 * Makefile.in: Regenerate.
501
d85e71fe
L
5022014-01-24 H.J. Lu <hongjiu.lu@intel.com>
503
504 PR ld/16498
505 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
506 orphaned TLS section handling.
507
d9d94ac8
AM
5082014-01-24 Alan Modra <amodra@gmail.com>
509
510 * ldlang.c (lang_output_section_find_by_flags): Be careful to
511 test look->bfd_section->flags if available rather than
512 look->flags. Separate SEC_THREAD_LOCAL handling from
513 SEC_READONLY loop, and rewrite.
514
16e4ecc0
AM
5152014-01-22 Alan Modra <amodra@gmail.com>
516
517 * ldlang.c (asneeded_list_head, asneeded_list_tail): New vars.
518 (lang_init): Initialise them.
519 (lang_print_asneeded): New function.
520 (lang_process): Call lang_print_asneeded.
521 * ldlang.h (struct asneeded_minfo): New.
522 (asneeded_list_tail): Declare.
523 * ldmain.c (add_archive_element): Improve archive map heading.
524 * ldmisc.c (minfo): Stash --as-needed info.
525
7dd9c6eb
AM
5262014-01-22 Alan Modra <amodra@gmail.com>
527
528 * ld.h (struct map_symbol_def): Move to..
529 * ldlang.h: ..here.
530 * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
531
2edab91c
AM
5322014-01-22 Alan Modra <amodra@gmail.com>
533
534 * ld.texinfo (Output Section Discarding): Mention assigning to dot
535 as a way of keeping otherwise empty sections.
536 * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
537 is_dot_plus_0, is_align_conditional): New predicates.
538 (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
539 output section, except for some special cases.
540 * scripttempl/elfmicroblaze.sc: Use canonical form to align at
541 end of .heap and .stack.
542
5a4f2336
MS
5432014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
544
545 * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
546
30feb358
MS
5472014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
548
549 * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
550
fa72205c
AM
5512014-01-20 Alan Modra <amodra@gmail.com>
552
553 * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
554 by_script. Make iteration a single bit field.
555 (lang_track_definedness, lang_symbol_definition_iteration): Delete.
556 (lang_symbol_defined): Declare.
557 * ldlang.c (lang_statement_iteration): Expand comment a little.
558 (lang_init <lang_definedness_table>): Make it bigger.
559 (lang_track_definedness, lang_symbol_definition): Delete.
560 (lang_definedness_newfunc): Update.
561 (lang_symbol_defined): New function.
562 (lang_update_definedness): Create entries here. Do track whether
563 script definition of symbol is valid, even when also defined in
564 an object file.
565 * ldexp.c (fold_name <DEFINED>): Update.
566 (fold_name <NAME>): Allow self-assignment for absolute symbols
567 defined in a linker script.
568
24ef1aa7
GM
5692014-01-20 Guy Martin <gmsoft@tuxicoman.be>
570 Alan Modra <amodra@gmail.com>
571
572 * ldlang.h (lang_output_section_get): Define.
573 * ldlang.c (lang_output_section_get): Likewise.
574 (init_os): Set the output_section userdata to the output
575 section statement.
576 * emultempl/hppaelf.em: Use lang_output_section_get instead of
577 lang_output_section_find where applicable.
578 * emultempl/aarch64elf.em: Likewise.
579 * emultempl/aix.em: Likewise.
580 * emultempl/armelf.em: Likewise.
581 * emultempl/m68hc1xelf.em: Likewise.
582 * emultempl/metagelf.em: Likewise.
583 * emultempl/mipself.em: Likewise.
584 * emultempl/ppc64elf.em: Likewise.
585 * emultempl/spuelf.em: Likewise.
586
7225345d
AM
5872014-01-17 Alan Modra <amodra@gmail.com>
588
589 * genscripts.sh (COMPILE_IN): Don't set if already set.
590 * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
591 COMPILE_IN=no.
592 * emulparams/nds32elf16m.sh: Likewise.
593 * emulparams/nds32elf_linux.sh: Likewise.
594 * emultempl/aix.em: Test COMPILE_IN value is "yes".
595 * emultempl/armcoff.em: Likewise.
596 * emultempl/elf32.em: Likewise.
597 * emultempl/generic.em: Likewise.
598 * emultempl/gld960.em: Likewise.
599 * emultempl/gld960c.em: Likewise.
600 * emultempl/linux.em: Likewise.
601 * emultempl/lnk960.em: Likewise.
602 * emultempl/m68kcoff.em: Likewise.
603 * emultempl/sunos.em: Likewise.
604 * emultempl/ticoff.em: Likewise.
605
f6f6c679
L
6062014-01-16 H.J. Lu <hongjiu.lu@intel.com>
607
608 PR ld/16456
609 * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
610 suffix.
611 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
612 for elf32_x86_64 emulation.
613 * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
614 for elf_i386 emulation.
615
6fcc66ab
AM
6162014-01-16 Alan Modra <amodra@gmail.com>
617
618 * ld.h (fat_section_userdata_type, get_userdata): Move to..
619 * ldlang.h (input_section_userdata_type, get_userdata): ..here.
620 * ldlang.c (init_map_userdata): Delete. Fold into..
621 (sort_def_symbol): ..here. Don't attach input section userdata
622 to output sections or global bfd sections.
623 (lang_map): Don't pre-allocate input section userdata.
624 (init_os): Don't allocate userdata for output sections.
625 (print_all_symbols): Update.
626
f9c316c4
L
6272014-01-15 H.J. Lu <hongjiu.lu@intel.com>
628
629 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
630 Silence uninitialized warning on ehdr_start_save with older
631 GCC.
632
4199e3b8
AM
6332014-01-15 Alan Modra <amodra@gmail.com>
634
635 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
636 __ehdr_start before size_dynamic_sections and restore afterwards.
637
eec2f3ed
AM
6382014-01-10 Alan Modra <amodra@gmail.com>
639
640 PR ld/14207
641 PR ld/16322
642 PR binutils/16323
643 * ldlang.c (lang_size_sections): Remove unneeded RELRO base
644 adjust. Tidy comments.
645 * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
646
d1e1519e
HPN
6472014-01-10 Hans-Peter Nilsson <hp@axis.com>
648
649 * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
650
43a8475c
L
6512014-01-08 H.J. Lu <hongjiu.lu@intel.com>
652
653 PR ld/14207
654 PR ld/16322
655 PR binutils/16323
656 * ldlang.c (lang_size_sections): Properly align RELRO base.
657
221fd5d5
L
6582014-01-08 H.J. Lu <hongjiu.lu@intel.com>
659
660 * ldver.c (ldversion): Update copyright year to 2014.
661
5fb776a6 662For older changes see ChangeLog-2013
252b5132 663\f
5fb776a6 664Copyright (C) 2014 Free Software Foundation, Inc.
752937aa
NC
665
666Copying and distribution of this file, with or without modification,
667are permitted in any medium without royalty provided the copyright
668notice and this notice are preserved.
669
252b5132
RH
670Local Variables:
671mode: change-log
672left-margin: 8
673fill-column: 74
674version-control: never
675End:
This page took 0.765431 seconds and 4 git commands to generate.