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