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