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