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