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