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