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