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