bfd/
[binutils-gdb.git] / ld / ChangeLog
1 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
2
3 * configure.tgt: Replace alpha*-*-linuxecoff* pattern with
4 alpha*-*-linux*ecoff*. Update the `sed' pattern used to convert
5 from alpha*-*-linux-* to alpha*-*-linux*ecoff*.
6
7 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
8
9 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
10 Use is_elf_hash_table rather than a handcoded condition.
11
12 2013-04-30 Nick Clifton <nickc@redhat.com>
13
14 * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections
15 are sorted by descending order of alignment.
16
17 2013-04-29 Nick Clifton <nickc@redhat.com>
18
19 * scripttempl/DWARF.sc: Add support for .debug_line.* and
20 .debug_line_end.
21
22 2013-04-29 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
23
24 * emultempl/pe.em [cygwin]: Do not merge rdata with v2
25 psuedo-relocs.
26
27 2013-04-28 Thomas Schwinge <thomas@codesourcery.com>
28
29 * scripttempl/armbpabi.sc: Replace "source" usage with ".".
30 * scripttempl/avr.sc: Likewise.
31 * scripttempl/elf.sc: Likewise.
32 * scripttempl/elf32cr16.sc: Likewise.
33 * scripttempl/elf32crx.sc: Likewise.
34 * scripttempl/elf32msp430.sc: Likewise.
35 * scripttempl/elf32msp430_3.sc: Likewise.
36 * scripttempl/elf32sh-symbian.sc: Likewise.
37 * scripttempl/elf64hppa.sc: Likewise.
38 * scripttempl/elf_chaos.sc: Likewise.
39 * scripttempl/elfd10v.sc: Likewise.
40 * scripttempl/elfd30v.sc: Likewise.
41 * scripttempl/elfi370.sc: Likewise.
42 * scripttempl/elfm68hc11.sc: Likewise.
43 * scripttempl/elfm68hc12.sc: Likewise.
44 * scripttempl/elfxgate.sc: Likewise.
45 * scripttempl/elfxtensa.sc: Likewise.
46 * scripttempl/epiphany_4x4.sc: Likewise.
47 * scripttempl/i386beos.sc: Likewise.
48 * scripttempl/i386go32.sc: Likewise.
49 * scripttempl/ia64vms.sc: Likewise.
50 * scripttempl/ip2k.sc: Likewise.
51 * scripttempl/iq2000.sc: Likewise.
52 * scripttempl/mep.sc: Likewise.
53 * scripttempl/mmo.sc: Likewise.
54 * scripttempl/v850.sc: Likewise.
55 * scripttempl/v850_rh850.sc: Likewise.
56 * scripttempl/xstormy16.sc: Likewise.
57
58 2013-04-26 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
59
60 * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).
61
62 2013-04-26 Alan Modra <amodra@gmail.com>
63
64 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test
65 unresolved_syms_in_shared_libs rather than !executable to
66 determine whether to load DT_NEEDED libraries.
67
68 2013-04-25 Alan Modra <amodra@gmail.com>
69
70 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c.
71 (eelf32lppclinux.c): New rule.
72 * Makefile.in: Regenerate.
73 * configure.tgt: Merge powerpc-linux and other powerpc-elf targets
74 with corresponding little-endian targets.
75 * emulparams/elf32lppc.sh: Update comment.
76 * emulparams/elf32lppclinux.sh: New.
77
78 2013-04-24 H.J. Lu <hongjiu.lu@intel.com>
79
80 * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for
81 x86_64-*-elf*.
82 (targ_extra_libpath): Likewise.
83 (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
84
85 2013-04-24 Yufeng Zhang <yufeng.zhang@arm.com>
86
87 * emulparams/aarch64elf.sh: Define ELFSIZE=64.
88 * emulparams/aarch64linux.sh: Ditto.
89 * emultempl/aarch64elf.em (aarch64_elf_before_allocation):
90 Replace elf64 with elf${ELFSIZE}.
91 (elf64_aarch64_add_stub_section): Likewise.
92 (build_section_lists): Likewise.
93 (gld${EMULATION_NAME}_after_allocation): Likewise.
94 (gld${EMULATION_NAME}_finish): Likewise.
95 (aarch64_elf_create_output_section_statements): Likewise.
96
97 2013-04-24 Nick Clifton <nickc@redhat.com>
98
99 PR ld/15389
100 * scripttempl/avr.sc: Add .note.gnu.build-id section.
101
102 2013-04-22 Alan Modra <amodra@gmail.com>
103
104 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
105 Check return from ppc64_elf_init_stub_bfd.
106
107 2013-04-15 Nick Clifton <nickc@redhat.com>
108
109 * Makefile.am (ELF_DEPS): Add a dependency upon
110 scripttempl/DWARF.sc.
111 (ELF_GEN_DEPS): Likewise.
112 (emmo.c): Likewise.
113 * Makefile.in: Regenerate.
114
115 * scripttempl/armbpabi.sc: Replace DWARF sections with an
116 inclusion of DWARF.sc.
117 * scripttempl/avr.sc: Likewise.
118 * scripttempl/elf.sc: Likewise.
119 * scripttempl/elf32cr16.sc: Likewise.
120 * scripttempl/elf32crx.sc: Likewise.
121 * scripttempl/elf32msp430.sc: Likewise.
122 * scripttempl/elf32msp430_3.sc: Likewise.
123 * scripttempl/elf32sh-symbian.sc: Likewise.
124 * scripttempl/elf64hppa.sc: Likewise.
125 * scripttempl/elf_chaos.sc: Likewise.
126 * scripttempl/elfd10v.sc: Likewise.
127 * scripttempl/elfd30v.sc: Likewise.
128 * scripttempl/elfi370.sc: Likewise.
129 * scripttempl/elfm68hc11.sc: Likewise.
130 * scripttempl/elfm68hc12.sc: Likewise.
131 * scripttempl/elfxgate.sc: Likewise.
132 * scripttempl/elfxtensa.sc: Likewise.
133 * scripttempl/epiphany_4x4.sc: Likewise.
134 * scripttempl/i386beos.sc: Likewise.
135 * scripttempl/i386go32.sc: Likewise.
136 * scripttempl/ia64vms.sc: Likewise.
137 * scripttempl/ip2k.sc: Likewise.
138 * scripttempl/iq2000.sc: Likewise.
139 * scripttempl/mep.sc: Likewise.
140 * scripttempl/mmo.sc: Likewise.
141 * scripttempl/v850.sc: Likewise.
142 * scripttempl/v850_rh850.sc: Likewise.
143 * scripttempl/xstormy16.sc: Likewise.
144 * scripttempl/DWARF.sc: New.
145
146 2013-04-04 Alan Modra <amodra@gmail.com>
147
148 * ldlang.c (load_symbols): Report "error adding symbols" on
149 bfd_link_add_symbols failure.
150 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
151 * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
152 (gld${EMULATION_NAME}_try_needed): Likewise.
153
154 2013-03-27 Georg-Johann Lay <gjl@gcc.gnu.org>
155
156 PR ld/13812
157 * scripttempl/avr.sc: Place trampolines before .progmem section.
158
159 2013-03-25 Kai Tietz <ktietz@redhat.com>
160
161 * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default.
162
163 2013-03-21 Michael Schewe <michael.schewe@gmx.net>
164
165 * ld.texinfo (H8/300): Add description of relaxation of
166 mov @(disp:32,ERx) to mov @(disp:16,ERx).
167
168 2013-03-21 Kai Tietz <ktietz@redhat.com>
169
170 * pe-dll.c (process_def_file_and_drectve): Don't handle VC
171 generated C++-symbols as stdcall/fastcall.
172
173 2013-03-18 Alan Modra <amodra@gmail.com>
174
175 * ld.texinfo (--as-needed): Update.
176
177 2013-03-14 Jakub Jelinek <jakub@redhat.com>
178
179 * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for
180 aarch64linux* emulations.
181
182 2013-03-07 Alan Modra <amodra@gmail.com>
183
184 * ldfile.c (ldfile_open_command_file_1): Return after einfo
185 to avoid warning.
186
187 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
188
189 * configure.host: Add x86_64-*-cygwin* as valid host.
190 * configure.tgt: Add x86_64-*-cygwin* as valid target.
191 * emultempl/pep.em: Handle different requirements for Cygwin in terms
192 of start addresses for executables and DLLs, based on memory model in
193 http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
194
195 2013-03-05 Alan Modra <amodra@gmail.com>
196
197 PR ld/15222
198 * ldlang.c (lang_size_sections_1): When given an lma_region align
199 LMA as per VMA only if lma_region is the same as region.
200
201 2013-02-27 Nick Clifton <nickc@redhat.com>
202
203 * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
204 Add alignment of .bss section.
205 * scripttempl/elf32msp430_3.sc: Likewise.
206
207 2013-02-26 Nick Clifton <nickc@redhat.com>
208
209 PR ld/15188
210 * ld.texinfo: Fix typos.
211
212 2013-02-21 Alan Modra <amodra@gmail.com>
213
214 * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
215 .init_array/.fini_array input sections before .ctors/.dtors input
216 sections.
217 (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
218
219 2013-02-21 Alan Modra <amodra@gmail.com>
220
221 * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
222 for elf_tdata changes.
223
224 2013-02-21 Alan Modra <amodra@gmail.com>
225
226 * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
227 accessor macros.
228
229 2013-02-20 Alan Modra <amodra@gmail.com>
230
231 * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
232 * Makefile.in: Regenerate.
233
234 2013-02-19 Sandra Loosemore <sandra@codesourcery.com>
235
236 PR ld/15146
237 * plugin.c (plugin_notice): Add null check before dereferencing
238 pointer.
239
240 2013-02-19 Alan Modra <amodra@gmail.com>
241
242 * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
243 Replace all info->emit_note_gnu_build_id refs.
244 (id_note_section_size): Rename from
245 gld${EMULATION_NAME}_id_note_section_size.
246 (struct build_id_info): Delete.
247 (write_build_id): Rename from
248 gld${EMULATION_NAME}_write_build_id_section.
249 Update elf_tdata usage. Style, formatting.
250 (setup_build_id): New function.
251 (gld${EMULATION_NAME}_after_open): Use setup_build_id.
252
253 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
254
255 PR ld/15146
256 * plugin.c (plugin_notice): Replace the undefined dummy bfd with
257 the real one.
258
259 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
260
261 PR ld/15141
262 * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
263
264 2013-02-15 Kai Tietz <ktietz@redhat.com>
265
266 * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
267 (.pdata): Merge .pdata* into .pdata section.
268
269 2013-02-11 Alan Modra <amodra@gmail.com>
270
271 * ldlang.c (get_init_priority): Comment typo.
272 (lang_finish): Free link_info.hash and lang_definedness_table.
273 (lang_end): Delete lang_definedness_table comment.
274
275 2013-02-11 Alan Modra <amodra@gmail.com>
276
277 PR ld/15130
278 * ld.texinfo (-rpath-link): Typo fix.
279
280 2013-02-08 Markos Chandras <markos.chandras@imgtec.com>
281
282 * emultempl/metagelf.em (build_section_lists): Use sec_info_type
283 rather than userdata->flags.just_syms.
284
285 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
286 Andrew Jenner <andrew@codesourcery.com>
287
288 Based on patches from Altera Corporation.
289
290 * Makefile.am (enios2elf.c): New rule.
291 * Makefile.in: Regenerated.
292 * configure.tgt: Add case for nios2*-*-*.
293 * emulparams/nios2elf.sh: New file.
294 * NEWS: Note Altera Nios II support.
295
296 2013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
297
298 * emultempl/avrelf.em (avr_elf_before_parse): New function.
299 (LDEMUL_BEFORE_PARSE): Define.
300
301 2013-02-06 Alan Modra <amodra@gmail.com>
302
303 PR ld/15096
304 * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
305 * emultempl/alphaelf.em: Revert 2013-02-04.
306 * emultempl/cr16elf.em: Likewise.
307 * emultempl/crxelf.em: Likewise.
308 * emultempl/hppaelf.em: Likewise.
309 * emultempl/ia64elf.em: Likewise.
310 * emultempl/mipself.em: Likewise.
311 * NEWS: Revert 2013-01-21.
312
313 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
314
315 PR ld/15096
316 * emultempl/alphaelf.em (alpha_after_parse): Call
317 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
318 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
319 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
320 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
321 * emultempl/mipself.em (mips_after_parse): Likewise.
322
323 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
324 to ...
325 (gld_${EMULATION_NAME}_after_parse): This. Call
326 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
327 (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
328
329 * emultempl/elf32.em (new_dtags_set): New variable.
330 (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
331 here.
332 (gld${EMULATION_NAME}_after_parse): New function.
333 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
334 with gld${EMULATION_NAME}_after_parse.
335 (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
336 when setting link_info.new_dtags.
337
338 2013-01-25 Kai Tietz <ktietz@redhat.com>
339
340 * deffilep.y (def_image_name): Adjust type of base-address
341 argument.
342 (%union): Add new type bfd_vma as vma.
343 (VMA): New rule.
344 (opt_base): Use VMA instead of NUMBER rule to evaluate value.
345 (def_file_print): Use bfd's fprintf_vma to output base-address.
346
347 2013-01-24 Nick Clifton <nickc@redhat.com>
348
349 * NEWS: Mention support for V850E3V5 architecture.
350
351 2013-01-23 Martin Koegler <martin.koegler@chello.at>
352
353 PR ld/15041
354 * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
355 (.xdata): Similarly.
356 (.debug_frame): Similarly.
357
358 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
359
360 PR ld/15037
361 * scripttempl/avr.sc (.eeprom): Keep it.
362
363 2013-01-23 Leif Ekblad <leif@rdos.net>
364
365 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
366 (eelf64rdos.c): New rule.
367 * emulparams/elf64rdos.sh: New file.
368 * configure.tgt (x86_64-*-rdos*): Use above.
369 * Makefile.in: Regenerate.
370
371 2013-01-22 Roland McGrath <mcgrathr@google.com>
372
373 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
374 new_dtags to TRUE for *-*-nacl* targets.
375
376 2013-01-21 Mike Frysinger <vapier@gentoo.org>
377
378 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
379 link_info.new_dtags to TRUE for linux/gnu targets.
380 * NEWS: Mention new dtags default.
381
382 2013-01-19 H.J. Lu <hongjiu.lu@intel.com>
383
384 * Makefile.am (HOSTING_SCRT0): New.
385
386 * configure.host (HOSTING_SCRT0): New. Used for PIE.
387
388 * configure.in (HOSTING_SCRT0): New AC_SUBST.
389
390 * Makefile.in: Regenerated.
391 * configure: Likewise.
392
393 2013-01-18 Mike Frysinger <vapier@gentoo.org>
394
395 * NEWS: Mention change in behavior with --enable-new-dtags.
396 * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
397
398 2013-01-14 Leif Ekblad <leif@rdos.net>
399 Alan Modra <amodra@gmail.com>
400
401 * ld.texinfo (-Tldata-segment): Describe.
402 * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
403 * lexsup.c (ld_options): Add -Tldata-segment.
404 (parse_args): Handle OPTION_TLDATA_SEGMENT.
405 * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
406
407 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
408
409 * deffilep.y: Remove trailing white spaces.
410 * elf-hints-local.h: Likewise.
411 * ldexp.c: Likewise.
412 * ldlang.h: Likewise.
413 * ldmisc.c: Likewise.
414 * ldwrite.c: Likewise.
415 * pe-dll.c: Likewise.
416 * emulparams/criself.sh: Likewise.
417 * emulparams/crislinux.sh: Likewise.
418 * emulparams/elf32_tic6x_le.sh: Likewise.
419 * emulparams/elf32bmipn32-defs.sh: Likewise.
420 * emulparams/elf32mb_linux.sh: Likewise.
421 * emulparams/elf32mep.sh: Likewise.
422 * emulparams/elf32microblaze.sh: Likewise.
423 * emulparams/elf32ppc.sh: Likewise.
424 * emulparams/elf64_s390.sh: Likewise.
425 * emulparams/elf64alpha.sh: Likewise.
426 * emulparams/elf_s390.sh: Likewise.
427 * emulparams/elf_x86_64.sh: Likewise.
428 * emulparams/tic80coff.sh: Likewise.
429 * emultempl/aix.em: Likewise.
430 * emultempl/avrelf.em: Likewise.
431 * emultempl/cr16elf.em: Likewise.
432 * emultempl/pe.em: Likewise.
433 * emultempl/pep.em: Likewise.
434 * emultempl/spuelf.em: Likewise.
435 * emultempl/tic6xdsbt.em: Likewise.
436
437 2013-01-10 Will Newton <will.newton@imgtec.com>
438
439 * Makefile.am: Add Meta.
440 * Makefile.in: Regenerate.
441 * configure.tgt: Add Meta.
442 * emulparams/elf32metag.sh: New file.
443 * emultempl/metagelf.em: New file.
444
445 2013-01-09 Alan Modra <amodra@gmail.com>
446
447 * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
448 * emulparams/elf32_x86_64.sh: Likewise.
449 * emulparams/elf_k1om.sh: Likewise.
450 * emulparams/elf_l1om.sh: Likewise.
451 * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
452 OTHER_BSS_SECTIONS. Substitute in script.
453
454 2013-01-08 Leif Ekblad <leif@rdos.net>
455
456 * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
457
458 2013-01-08 Alan Modra <amodra@gmail.com>
459
460 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
461 "name" param with a bfd_link_needed_list pointer. Update caller.
462 (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
463
464 2013-01-08 Alan Modra <amodra@gmail.com>
465
466 * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
467 * Makefile.in: Regenerate.
468
469 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
470
471 * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
472 compatibility.
473
474 2013-01-07 Patrice Dumas <pertusus@free.fr>
475
476 * ld.texinfo: Replace @ with @@ when it is part of the text.
477 Correct ordering of M68HC11 entry.
478
479 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
480
481 * configure.tgt: Support ELF files for Sony Playstation 2 (for
482 ps2dev and ps2sdk).
483 * emulparams/elf32lr5900n32.sh: Create linker script for Sony
484 Playstation 2 ELF files using MIPS ABI n32.
485 * emulparams/elf32lr5900.sh: Create linker script for Sony
486 Playstation 2 ELF files using MIPS ABI o32.
487 * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
488 files.
489
490 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
491
492 * ldver.c (ldversion): Update copyright year to 2013.
493
494 For older changes see ChangeLog-2012
495 \f
496 Copyright (C) 2013 Free Software Foundation, Inc.
497
498 Copying and distribution of this file, with or without modification,
499 are permitted in any medium without royalty provided the copyright
500 notice and this notice are preserved.
501
502 Local Variables:
503 mode: change-log
504 left-margin: 8
505 fill-column: 74
506 version-control: never
507 End: