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