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