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