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