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