2013-09-20 Chung-Lin Tang <cltang@codesourcery.com>
[binutils-gdb.git] / ld / ChangeLog
1 2013-09-20 Chung-Lin Tang <cltang@codesourcery.com>
2
3 * Makefile.am (enios2elf.c): Change tdir_nios2 to tdir_nios2elf.
4 * Makefile.in: Regenerate.
5
6 2013-09-20 Alan Modra <amodra@gmail.com>
7
8 * configure: Regenerate.
9
10 2013-09-18 Tristan Gingold <gingold@adacore.com>
11
12 * NEWS: Add marker for 2.24.
13
14 2013-09-17 Nick Clifton <nickc@redhat.com>
15
16 PR ld/15957
17 * deffilep.y (def_file_add_directive): Avoid readin past end of
18 buffer.
19
20 2013-08-28 Nick Clifton <nickc@redhat.com>
21
22 PR ld/15896
23 * ld.texinfo: Fix uses of MB abbreviation.
24
25 2013-08-26 Roland McGrath <mcgrathr@google.com>
26
27 * emulparams/elf_i386_nacl.sh (ARCH): Set to i386:nacl.
28 * emulparams/elf_x86_64_nacl.sh (ARCH): Set to i386:x86-64:nacl.
29 * emulparams/elf32_x86_64_nacl.sh (ARCH): Set to i386:x64-32:nacl.
30
31 2013-08-23 Roland McGrath <mcgrathr@google.com>
32
33 * emulparams/elf_nacl.sh (nacl_rodata_addr): Don't add in
34 SIZEOF_HEADERS here; elf.sc does it already.
35
36 2013-08-23 Nick Clifton <nickc@redhat.com>
37
38 PR ld/15839
39 * scripttempl/avr.sc: Do not include gc'able sections into general
40 sections during relocatable links.
41
42 2013-08-22 Christian Franke <franke@computer.org>
43
44 * emultempl/pe.em: Add --disable-large-address-aware option.
45 * ld.texinfo (--disable-large-address-aware): Add documentation.
46
47 2013-08-14 Clemens Lang <clemens.lang@fau.de>
48
49 * ldexp.c: Add LOG2CEIL() builtin function to linker script language
50 * ldgram.y: Likewise
51 * ldlex.l: Likewise
52 * NEWS: Mention the new feature.
53 * ld.texinfo: Document the new feature.
54
55 2013-07-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
56
57 * ldgram.y: Add ALIGN_WITH_INPUT output section attribute.
58 * ldlang.c: Likewise.
59 * ldlang.h: Likewise.
60 * ldlex.l: Likewise.
61 * mri.c: Likewise.
62 * ld.texinfo: Document new feature.
63 * NEWS: Mention new feature.
64
65 2013-07-18 Roland McGrath <mcgrathr@google.com>
66
67 * emultempl/armelf.em (elf32_arm_add_stub_section): Take third
68 argument ALIGNMENT_POWER, use it instead of constant 3.
69
70 2013-07-08 Jeff Law <law@redhat.com>
71
72 * scripttempl/elf.sc: Handle function names and other text after
73 .text.unlikely too.
74
75 2013-07-08 Tristan Gingold <gingold@adacore.com>
76
77 * scripttempl/ia64vms.sc: Add support of per data and per function
78 sections.
79
80 2013-07-01 Alan Modra <amodra@gmail.com>
81
82 * emultempl/ppc64elf.em: (ppc_layout_sections_again): Call
83 ppc64_elf_set_toc rather than ppc64_elf_toc/_bfd_set_gp_value.
84 (gld${EMULATION_NAME}_after_allocation): Likewise.
85
86 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
87
88 * emulparams/aarch64elf32.sh: New file.
89
90 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
91
92 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32b.c.
93 (eaarch64elf32b.c): New dependency and rule.
94 * Makefile.in: Re-generated.
95 * configure.tgt (aarch64-*-elf): Add aarch64elf32b.
96 (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise.
97 * emulparams/aarch64elf32b.sh: New file.
98
99 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
100
101 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32.c.
102 (eaarch64elf32.c): New dependency and rule.
103 * Makefile.in: Re-generated.
104 * configure.tgt (aarch64-*-elf): Add aarch64elf32.
105 (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise.
106 * emulparams/aarch64elf32.sh: New file.
107
108 2013-06-25 Maciej W. Rozycki <macro@codesourcery.com>
109
110 * emultempl/mipself.em (insn32): New variable.
111 (mips_create_output_section_statements): Handle insn32 mode.
112 (PARSE_AND_LIST_PROLOGUE): New macro.
113 (PARSE_AND_LIST_LONGOPTS): Likewise.
114 (PARSE_AND_LIST_OPTIONS): Likewise.
115
116 * gen-doc.texi: Set MIPS.
117 * ld.texinfo: Likewise.
118 (Options specific to MIPS targets): New section.
119 (ld and MIPS family): New node.
120 (Top, Machine Dependent): List the new node.
121
122 2013-06-24 Maciej W. Rozycki <macro@codesourcery.com>
123
124 * emulparams/elf32btsmip.sh: Arrange for .got.plt to be placed
125 as close to .plt as possible.
126 * scripttempl/elf.sc: Handle $INITIAL_READWRITE_SECTIONS and
127 $PLT_NEXT_DATA variables.
128
129 2013-06-23 Richard Sandiford <rdsandiford@googlemail.com>
130
131 * Makefile.am (ALL_EMULATION_SOURCES): Move MIPS ELF emulations to...
132 (ALL_64_EMULATION_SOURCES): ...here.
133 * Makefile.in: Regenerate.
134
135 2013-06-22 Richard Sandiford <rdsandiford@googlemail.com>
136
137 * NEWS: Document the removal of MIPS ECOFF targets.
138 * ld.texinfo (--gpsize=@var{value}): Use MIPS ELF rather than
139 MIPS ECOFF as an example of a target that supports small data.
140 * ldmain.c (g_switch_value): Likewise.
141 * configure.tgt (mips*-*-pe, mips*-dec-ultrix*, mips*-dec-osf*)
142 (mips*-sgi-irix* [v4 and earlier], mips*el-*-ecoff*, mips*-*-ecoff*)
143 (mips*-*-bsd*, mips*-*-lnews*): Remove cases.
144 * Makefile.am (ALL_EMULATION_SOURCES): Remove emipsbig.c, emipsbsd.c,
145 emipsidt.c, emipsidtl.c, emipslit.c, emipslnews.c and emipspe.c.
146 (emipsbig.c, emipsbsd.c, emipsidt.c, emipsidtl.c, emipslit.c)
147 (emipslnews.c, emipspe.c): Delete rules.
148 * Makefile.in: Regenerate.
149 * emulparams/mipsbig.sh, emulparams/mipsbsd.sh, emulparams/mipsidt.sh,
150 emulparams/mipsidtl.sh, emulparams/mipslit.sh, emulparams/mipslnews.sh,
151 emulparams/mipspe.sh, emultempl/mipsecoff.em: Delete.
152 * emultempl/m68kcoff.em: Update comment to say that MIPS ECOFF support
153 has now been removed.
154 * emultempl/pe.em: Remove TARGET_IS_mipspe checks.
155
156 2013-06-19 Will Newton <will.newton@linaro.org>
157
158 * emulparams/aarch64elf.sh: Remove IREL_IN_PLT.
159
160 2013-06-14 Yufeng Zhang <yufeng.zhang@arm.com>
161
162 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
163
164 2013-06-12 Nick Clifton <nickc@redhat.com>
165
166 * ldcref.c (output_one_cref): Place common definitions after
167 ordinary definitions but before references.
168
169 2013-06-10 Dilyan Palauzov <dilyan.palauzov@aegee.org>
170
171 PR ld/15598
172 * ld.texinfo (Source Code Reference): Fix typos.
173
174 2013-06-07 Will Newton <will.newton@linaro.org>
175
176 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
177
178 2013-06-07 Nick Clifton <nickc@redhat.com>
179
180 * ld.texinfo (SEGMENT_START): Rephrase to indicate that a -T
181 option must appear before the SEGMENT_START is encountered in
182 order for the default value to be overridden.
183
184 2013-05-03 Alan Modra <amodra@gmail.com>
185
186 PR ld/15365
187 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
188 Restrict __ehdr_start's export class to no less than STV_HIDDEN.
189
190 2013-05-03 Alan Modra <amodra@gmail.com>
191
192 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
193 Only call lang_for_each_statement if an ELF hash table is used.
194
195 2013-05-02 Nick Clifton <nickc@redhat.com>
196
197 * Makefile.am: Add emsp430X.c
198 * Makefine.in: Regenerate.
199 * configure.tgt (msp430): Add msp430X emulation.
200 * ldmain.c (multiple_definition): Only disable relaxation if it
201 was enabled by the user.
202 * ldmain.h (RELAXATION_ENABLED_BY_USER): New macro.
203 * emulparams/msp430all.sh: Add support for MSP430X.
204 * emultempl/generic.em: (before_parse): Enable relaxation for the
205 MSP430.
206 * scripttempl/msp430.sc: Reorganize sections. Add .rodata
207 section.
208 * scripttempl/msp430_3.sc: Likewise.
209 * NEWS: Mention support for MSP430X.
210
211 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
212
213 * configure.tgt: Replace alpha*-*-linuxecoff* pattern with
214 alpha*-*-linux*ecoff*. Update the `sed' pattern used to convert
215 from alpha*-*-linux-* to alpha*-*-linux*ecoff*.
216
217 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
218
219 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
220 Use is_elf_hash_table rather than a handcoded condition.
221
222 2013-04-30 Nick Clifton <nickc@redhat.com>
223
224 * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections
225 are sorted by descending order of alignment.
226
227 2013-04-29 Nick Clifton <nickc@redhat.com>
228
229 * scripttempl/DWARF.sc: Add support for .debug_line.* and
230 .debug_line_end.
231
232 2013-04-29 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
233
234 * emultempl/pe.em [cygwin]: Do not merge rdata with v2
235 psuedo-relocs.
236
237 2013-04-28 Thomas Schwinge <thomas@codesourcery.com>
238
239 * scripttempl/armbpabi.sc: Replace "source" usage with ".".
240 * scripttempl/avr.sc: Likewise.
241 * scripttempl/elf.sc: Likewise.
242 * scripttempl/elf32cr16.sc: Likewise.
243 * scripttempl/elf32crx.sc: Likewise.
244 * scripttempl/elf32msp430.sc: Likewise.
245 * scripttempl/elf32msp430_3.sc: Likewise.
246 * scripttempl/elf32sh-symbian.sc: Likewise.
247 * scripttempl/elf64hppa.sc: Likewise.
248 * scripttempl/elf_chaos.sc: Likewise.
249 * scripttempl/elfd10v.sc: Likewise.
250 * scripttempl/elfd30v.sc: Likewise.
251 * scripttempl/elfi370.sc: Likewise.
252 * scripttempl/elfm68hc11.sc: Likewise.
253 * scripttempl/elfm68hc12.sc: Likewise.
254 * scripttempl/elfxgate.sc: Likewise.
255 * scripttempl/elfxtensa.sc: Likewise.
256 * scripttempl/epiphany_4x4.sc: Likewise.
257 * scripttempl/i386beos.sc: Likewise.
258 * scripttempl/i386go32.sc: Likewise.
259 * scripttempl/ia64vms.sc: Likewise.
260 * scripttempl/ip2k.sc: Likewise.
261 * scripttempl/iq2000.sc: Likewise.
262 * scripttempl/mep.sc: Likewise.
263 * scripttempl/mmo.sc: Likewise.
264 * scripttempl/v850.sc: Likewise.
265 * scripttempl/v850_rh850.sc: Likewise.
266 * scripttempl/xstormy16.sc: Likewise.
267
268 2013-04-26 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
269
270 * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).
271
272 2013-04-26 Alan Modra <amodra@gmail.com>
273
274 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test
275 unresolved_syms_in_shared_libs rather than !executable to
276 determine whether to load DT_NEEDED libraries.
277
278 2013-04-25 Alan Modra <amodra@gmail.com>
279
280 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c.
281 (eelf32lppclinux.c): New rule.
282 * Makefile.in: Regenerate.
283 * configure.tgt: Merge powerpc-linux and other powerpc-elf targets
284 with corresponding little-endian targets.
285 * emulparams/elf32lppc.sh: Update comment.
286 * emulparams/elf32lppclinux.sh: New.
287
288 2013-04-24 H.J. Lu <hongjiu.lu@intel.com>
289
290 * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for
291 x86_64-*-elf*.
292 (targ_extra_libpath): Likewise.
293 (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
294
295 2013-04-24 Yufeng Zhang <yufeng.zhang@arm.com>
296
297 * emulparams/aarch64elf.sh: Define ELFSIZE=64.
298 * emulparams/aarch64linux.sh: Ditto.
299 * emultempl/aarch64elf.em (aarch64_elf_before_allocation):
300 Replace elf64 with elf${ELFSIZE}.
301 (elf64_aarch64_add_stub_section): Likewise.
302 (build_section_lists): Likewise.
303 (gld${EMULATION_NAME}_after_allocation): Likewise.
304 (gld${EMULATION_NAME}_finish): Likewise.
305 (aarch64_elf_create_output_section_statements): Likewise.
306
307 2013-04-24 Nick Clifton <nickc@redhat.com>
308
309 PR ld/15389
310 * scripttempl/avr.sc: Add .note.gnu.build-id section.
311
312 2013-04-22 Alan Modra <amodra@gmail.com>
313
314 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
315 Check return from ppc64_elf_init_stub_bfd.
316
317 2013-04-15 Nick Clifton <nickc@redhat.com>
318
319 * Makefile.am (ELF_DEPS): Add a dependency upon
320 scripttempl/DWARF.sc.
321 (ELF_GEN_DEPS): Likewise.
322 (emmo.c): Likewise.
323 * Makefile.in: Regenerate.
324
325 * scripttempl/armbpabi.sc: Replace DWARF sections with an
326 inclusion of DWARF.sc.
327 * scripttempl/avr.sc: Likewise.
328 * scripttempl/elf.sc: Likewise.
329 * scripttempl/elf32cr16.sc: Likewise.
330 * scripttempl/elf32crx.sc: Likewise.
331 * scripttempl/elf32msp430.sc: Likewise.
332 * scripttempl/elf32msp430_3.sc: Likewise.
333 * scripttempl/elf32sh-symbian.sc: Likewise.
334 * scripttempl/elf64hppa.sc: Likewise.
335 * scripttempl/elf_chaos.sc: Likewise.
336 * scripttempl/elfd10v.sc: Likewise.
337 * scripttempl/elfd30v.sc: Likewise.
338 * scripttempl/elfi370.sc: Likewise.
339 * scripttempl/elfm68hc11.sc: Likewise.
340 * scripttempl/elfm68hc12.sc: Likewise.
341 * scripttempl/elfxgate.sc: Likewise.
342 * scripttempl/elfxtensa.sc: Likewise.
343 * scripttempl/epiphany_4x4.sc: Likewise.
344 * scripttempl/i386beos.sc: Likewise.
345 * scripttempl/i386go32.sc: Likewise.
346 * scripttempl/ia64vms.sc: Likewise.
347 * scripttempl/ip2k.sc: Likewise.
348 * scripttempl/iq2000.sc: Likewise.
349 * scripttempl/mep.sc: Likewise.
350 * scripttempl/mmo.sc: Likewise.
351 * scripttempl/v850.sc: Likewise.
352 * scripttempl/v850_rh850.sc: Likewise.
353 * scripttempl/xstormy16.sc: Likewise.
354 * scripttempl/DWARF.sc: New.
355
356 2013-04-04 Alan Modra <amodra@gmail.com>
357
358 * ldlang.c (load_symbols): Report "error adding symbols" on
359 bfd_link_add_symbols failure.
360 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
361 * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
362 (gld${EMULATION_NAME}_try_needed): Likewise.
363
364 2013-03-27 Georg-Johann Lay <gjl@gcc.gnu.org>
365
366 PR ld/13812
367 * scripttempl/avr.sc: Place trampolines before .progmem section.
368
369 2013-03-25 Kai Tietz <ktietz@redhat.com>
370
371 * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default.
372
373 2013-03-21 Michael Schewe <michael.schewe@gmx.net>
374
375 * ld.texinfo (H8/300): Add description of relaxation of
376 mov @(disp:32,ERx) to mov @(disp:16,ERx).
377
378 2013-03-21 Kai Tietz <ktietz@redhat.com>
379
380 * pe-dll.c (process_def_file_and_drectve): Don't handle VC
381 generated C++-symbols as stdcall/fastcall.
382
383 2013-03-18 Alan Modra <amodra@gmail.com>
384
385 * ld.texinfo (--as-needed): Update.
386
387 2013-03-14 Jakub Jelinek <jakub@redhat.com>
388
389 * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for
390 aarch64linux* emulations.
391
392 2013-03-07 Alan Modra <amodra@gmail.com>
393
394 * ldfile.c (ldfile_open_command_file_1): Return after einfo
395 to avoid warning.
396
397 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
398
399 * configure.host: Add x86_64-*-cygwin* as valid host.
400 * configure.tgt: Add x86_64-*-cygwin* as valid target.
401 * emultempl/pep.em: Handle different requirements for Cygwin in terms
402 of start addresses for executables and DLLs, based on memory model in
403 http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
404
405 2013-03-05 Alan Modra <amodra@gmail.com>
406
407 PR ld/15222
408 * ldlang.c (lang_size_sections_1): When given an lma_region align
409 LMA as per VMA only if lma_region is the same as region.
410
411 2013-02-27 Nick Clifton <nickc@redhat.com>
412
413 * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
414 Add alignment of .bss section.
415 * scripttempl/elf32msp430_3.sc: Likewise.
416
417 2013-02-26 Nick Clifton <nickc@redhat.com>
418
419 PR ld/15188
420 * ld.texinfo: Fix typos.
421
422 2013-02-21 Alan Modra <amodra@gmail.com>
423
424 * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
425 .init_array/.fini_array input sections before .ctors/.dtors input
426 sections.
427 (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
428
429 2013-02-21 Alan Modra <amodra@gmail.com>
430
431 * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
432 for elf_tdata changes.
433
434 2013-02-21 Alan Modra <amodra@gmail.com>
435
436 * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
437 accessor macros.
438
439 2013-02-20 Alan Modra <amodra@gmail.com>
440
441 * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
442 * Makefile.in: Regenerate.
443
444 2013-02-19 Sandra Loosemore <sandra@codesourcery.com>
445
446 PR ld/15146
447 * plugin.c (plugin_notice): Add null check before dereferencing
448 pointer.
449
450 2013-02-19 Alan Modra <amodra@gmail.com>
451
452 * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
453 Replace all info->emit_note_gnu_build_id refs.
454 (id_note_section_size): Rename from
455 gld${EMULATION_NAME}_id_note_section_size.
456 (struct build_id_info): Delete.
457 (write_build_id): Rename from
458 gld${EMULATION_NAME}_write_build_id_section.
459 Update elf_tdata usage. Style, formatting.
460 (setup_build_id): New function.
461 (gld${EMULATION_NAME}_after_open): Use setup_build_id.
462
463 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
464
465 PR ld/15146
466 * plugin.c (plugin_notice): Replace the undefined dummy bfd with
467 the real one.
468
469 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
470
471 PR ld/15141
472 * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
473
474 2013-02-15 Kai Tietz <ktietz@redhat.com>
475
476 * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
477 (.pdata): Merge .pdata* into .pdata section.
478
479 2013-02-11 Alan Modra <amodra@gmail.com>
480
481 * ldlang.c (get_init_priority): Comment typo.
482 (lang_finish): Free link_info.hash and lang_definedness_table.
483 (lang_end): Delete lang_definedness_table comment.
484
485 2013-02-11 Alan Modra <amodra@gmail.com>
486
487 PR ld/15130
488 * ld.texinfo (-rpath-link): Typo fix.
489
490 2013-02-08 Markos Chandras <markos.chandras@imgtec.com>
491
492 * emultempl/metagelf.em (build_section_lists): Use sec_info_type
493 rather than userdata->flags.just_syms.
494
495 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
496 Andrew Jenner <andrew@codesourcery.com>
497
498 Based on patches from Altera Corporation.
499
500 * Makefile.am (enios2elf.c): New rule.
501 * Makefile.in: Regenerated.
502 * configure.tgt: Add case for nios2*-*-*.
503 * emulparams/nios2elf.sh: New file.
504 * NEWS: Note Altera Nios II support.
505
506 2013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
507
508 * emultempl/avrelf.em (avr_elf_before_parse): New function.
509 (LDEMUL_BEFORE_PARSE): Define.
510
511 2013-02-06 Alan Modra <amodra@gmail.com>
512
513 PR ld/15096
514 * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
515 * emultempl/alphaelf.em: Revert 2013-02-04.
516 * emultempl/cr16elf.em: Likewise.
517 * emultempl/crxelf.em: Likewise.
518 * emultempl/hppaelf.em: Likewise.
519 * emultempl/ia64elf.em: Likewise.
520 * emultempl/mipself.em: Likewise.
521 * NEWS: Revert 2013-01-21.
522
523 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
524
525 PR ld/15096
526 * emultempl/alphaelf.em (alpha_after_parse): Call
527 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
528 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
529 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
530 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
531 * emultempl/mipself.em (mips_after_parse): Likewise.
532
533 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
534 to ...
535 (gld_${EMULATION_NAME}_after_parse): This. Call
536 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
537 (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
538
539 * emultempl/elf32.em (new_dtags_set): New variable.
540 (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
541 here.
542 (gld${EMULATION_NAME}_after_parse): New function.
543 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
544 with gld${EMULATION_NAME}_after_parse.
545 (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
546 when setting link_info.new_dtags.
547
548 2013-01-25 Kai Tietz <ktietz@redhat.com>
549
550 * deffilep.y (def_image_name): Adjust type of base-address
551 argument.
552 (%union): Add new type bfd_vma as vma.
553 (VMA): New rule.
554 (opt_base): Use VMA instead of NUMBER rule to evaluate value.
555 (def_file_print): Use bfd's fprintf_vma to output base-address.
556
557 2013-01-24 Nick Clifton <nickc@redhat.com>
558
559 * NEWS: Mention support for V850E3V5 architecture.
560
561 2013-01-23 Martin Koegler <martin.koegler@chello.at>
562
563 PR ld/15041
564 * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
565 (.xdata): Similarly.
566 (.debug_frame): Similarly.
567
568 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
569
570 PR ld/15037
571 * scripttempl/avr.sc (.eeprom): Keep it.
572
573 2013-01-23 Leif Ekblad <leif@rdos.net>
574
575 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
576 (eelf64rdos.c): New rule.
577 * emulparams/elf64rdos.sh: New file.
578 * configure.tgt (x86_64-*-rdos*): Use above.
579 * Makefile.in: Regenerate.
580
581 2013-01-22 Roland McGrath <mcgrathr@google.com>
582
583 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
584 new_dtags to TRUE for *-*-nacl* targets.
585
586 2013-01-21 Mike Frysinger <vapier@gentoo.org>
587
588 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
589 link_info.new_dtags to TRUE for linux/gnu targets.
590 * NEWS: Mention new dtags default.
591
592 2013-01-19 H.J. Lu <hongjiu.lu@intel.com>
593
594 * Makefile.am (HOSTING_SCRT0): New.
595
596 * configure.host (HOSTING_SCRT0): New. Used for PIE.
597
598 * configure.in (HOSTING_SCRT0): New AC_SUBST.
599
600 * Makefile.in: Regenerated.
601 * configure: Likewise.
602
603 2013-01-18 Mike Frysinger <vapier@gentoo.org>
604
605 * NEWS: Mention change in behavior with --enable-new-dtags.
606 * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
607
608 2013-01-14 Leif Ekblad <leif@rdos.net>
609 Alan Modra <amodra@gmail.com>
610
611 * ld.texinfo (-Tldata-segment): Describe.
612 * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
613 * lexsup.c (ld_options): Add -Tldata-segment.
614 (parse_args): Handle OPTION_TLDATA_SEGMENT.
615 * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
616
617 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
618
619 * deffilep.y: Remove trailing white spaces.
620 * elf-hints-local.h: Likewise.
621 * ldexp.c: Likewise.
622 * ldlang.h: Likewise.
623 * ldmisc.c: Likewise.
624 * ldwrite.c: Likewise.
625 * pe-dll.c: Likewise.
626 * emulparams/criself.sh: Likewise.
627 * emulparams/crislinux.sh: Likewise.
628 * emulparams/elf32_tic6x_le.sh: Likewise.
629 * emulparams/elf32bmipn32-defs.sh: Likewise.
630 * emulparams/elf32mb_linux.sh: Likewise.
631 * emulparams/elf32mep.sh: Likewise.
632 * emulparams/elf32microblaze.sh: Likewise.
633 * emulparams/elf32ppc.sh: Likewise.
634 * emulparams/elf64_s390.sh: Likewise.
635 * emulparams/elf64alpha.sh: Likewise.
636 * emulparams/elf_s390.sh: Likewise.
637 * emulparams/elf_x86_64.sh: Likewise.
638 * emulparams/tic80coff.sh: Likewise.
639 * emultempl/aix.em: Likewise.
640 * emultempl/avrelf.em: Likewise.
641 * emultempl/cr16elf.em: Likewise.
642 * emultempl/pe.em: Likewise.
643 * emultempl/pep.em: Likewise.
644 * emultempl/spuelf.em: Likewise.
645 * emultempl/tic6xdsbt.em: Likewise.
646
647 2013-01-10 Will Newton <will.newton@imgtec.com>
648
649 * Makefile.am: Add Meta.
650 * Makefile.in: Regenerate.
651 * configure.tgt: Add Meta.
652 * emulparams/elf32metag.sh: New file.
653 * emultempl/metagelf.em: New file.
654
655 2013-01-09 Alan Modra <amodra@gmail.com>
656
657 * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
658 * emulparams/elf32_x86_64.sh: Likewise.
659 * emulparams/elf_k1om.sh: Likewise.
660 * emulparams/elf_l1om.sh: Likewise.
661 * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
662 OTHER_BSS_SECTIONS. Substitute in script.
663
664 2013-01-08 Leif Ekblad <leif@rdos.net>
665
666 * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
667
668 2013-01-08 Alan Modra <amodra@gmail.com>
669
670 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
671 "name" param with a bfd_link_needed_list pointer. Update caller.
672 (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
673
674 2013-01-08 Alan Modra <amodra@gmail.com>
675
676 * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
677 * Makefile.in: Regenerate.
678
679 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
680
681 * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
682 compatibility.
683
684 2013-01-07 Patrice Dumas <pertusus@free.fr>
685
686 * ld.texinfo: Replace @ with @@ when it is part of the text.
687 Correct ordering of M68HC11 entry.
688
689 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
690
691 * configure.tgt: Support ELF files for Sony Playstation 2 (for
692 ps2dev and ps2sdk).
693 * emulparams/elf32lr5900n32.sh: Create linker script for Sony
694 Playstation 2 ELF files using MIPS ABI n32.
695 * emulparams/elf32lr5900.sh: Create linker script for Sony
696 Playstation 2 ELF files using MIPS ABI o32.
697 * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
698 files.
699
700 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
701
702 * ldver.c (ldversion): Update copyright year to 2013.
703
704 For older changes see ChangeLog-2012
705 \f
706 Copyright (C) 2013 Free Software Foundation, Inc.
707
708 Copying and distribution of this file, with or without modification,
709 are permitted in any medium without royalty provided the copyright
710 notice and this notice are preserved.
711
712 Local Variables:
713 mode: change-log
714 left-margin: 8
715 fill-column: 74
716 version-control: never
717 End: