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