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