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