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