* scripttempl/elf32msp430.sc: Add placement of .data.* sections.
[platform/upstream/binutils.git] / ld / ChangeLog
1 2013-02-27  Nick Clifton  <nickc@redhat.com>
2
3         * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
4         Add alignment of .bss section.
5         * scripttempl/elf32msp430_3.sc: Likewise.
6
7 2013-02-26  Nick Clifton  <nickc@redhat.com>
8
9         PR ld/15188
10         * ld.texinfo: Fix typos.
11
12 2013-02-21  Alan Modra  <amodra@gmail.com>
13
14         * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
15         .init_array/.fini_array input sections before .ctors/.dtors input
16         sections.
17         (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
18
19 2013-02-21  Alan Modra  <amodra@gmail.com>
20
21         * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
22         for elf_tdata changes.
23
24 2013-02-21  Alan Modra  <amodra@gmail.com>
25
26         * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
27         accessor macros.
28
29 2013-02-20  Alan Modra  <amodra@gmail.com>
30
31         * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
32         * Makefile.in: Regenerate.
33
34 2013-02-19  Sandra Loosemore  <sandra@codesourcery.com>
35
36         PR ld/15146
37         * plugin.c (plugin_notice): Add null check before dereferencing
38         pointer.
39
40 2013-02-19  Alan Modra  <amodra@gmail.com>
41
42         * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
43         Replace all info->emit_note_gnu_build_id refs.
44         (id_note_section_size): Rename from
45         gld${EMULATION_NAME}_id_note_section_size.
46         (struct build_id_info): Delete.
47         (write_build_id): Rename from
48         gld${EMULATION_NAME}_write_build_id_section.
49         Update elf_tdata usage.  Style, formatting.
50         (setup_build_id): New function.
51         (gld${EMULATION_NAME}_after_open): Use setup_build_id.
52
53 2013-02-16  H.J. Lu  <hongjiu.lu@intel.com>
54
55         PR ld/15146
56         * plugin.c (plugin_notice): Replace the undefined dummy bfd with
57         the real one.
58
59 2013-02-16  H.J. Lu  <hongjiu.lu@intel.com>
60
61         PR ld/15141
62         * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
63
64 2013-02-15  Kai Tietz  <ktietz@redhat.com>
65
66         * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
67         (.pdata): Merge .pdata* into .pdata section.
68
69 2013-02-11  Alan Modra  <amodra@gmail.com>
70
71         * ldlang.c (get_init_priority): Comment typo.
72         (lang_finish): Free link_info.hash and lang_definedness_table.
73         (lang_end): Delete lang_definedness_table comment.
74
75 2013-02-11  Alan Modra  <amodra@gmail.com>
76
77         PR ld/15130
78         * ld.texinfo (-rpath-link): Typo fix.
79
80 2013-02-08  Markos Chandras  <markos.chandras@imgtec.com>
81
82         * emultempl/metagelf.em (build_section_lists): Use sec_info_type
83         rather than userdata->flags.just_syms.
84
85 2013-02-06  Sandra Loosemore  <sandra@codesourcery.com>
86             Andrew Jenner <andrew@codesourcery.com>
87
88         Based on patches from Altera Corporation.
89
90         * Makefile.am (enios2elf.c): New rule.
91         * Makefile.in: Regenerated.
92         * configure.tgt: Add case for nios2*-*-*.
93         * emulparams/nios2elf.sh: New file.
94         * NEWS: Note Altera Nios II support.
95
96 2013-02-06  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
97
98         * emultempl/avrelf.em (avr_elf_before_parse): New function.
99         (LDEMUL_BEFORE_PARSE): Define.
100
101 2013-02-06  Alan Modra  <amodra@gmail.com>
102
103         PR ld/15096
104         * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
105         * emultempl/alphaelf.em: Revert 2013-02-04.
106         * emultempl/cr16elf.em: Likewise.
107         * emultempl/crxelf.em: Likewise.
108         * emultempl/hppaelf.em: Likewise.
109         * emultempl/ia64elf.em: Likewise.
110         * emultempl/mipself.em: Likewise.
111         * NEWS: Revert 2013-01-21.
112
113 2013-02-04  H.J. Lu  <hongjiu.lu@intel.com>
114
115         PR ld/15096
116         * emultempl/alphaelf.em (alpha_after_parse): Call
117         gld${EMULATION_NAME}_after_parse instead of after_parse_default.
118         * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
119         * emultempl/crxelf.em (crxelf_after_parse): Likewise.
120         * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
121         * emultempl/mipself.em (mips_after_parse): Likewise.
122
123         * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
124         to ...
125         (gld_${EMULATION_NAME}_after_parse): This.  Call
126         gld${EMULATION_NAME}_after_parse instead of after_parse_default.
127         (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
128
129         * emultempl/elf32.em (new_dtags_set): New variable.
130         (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
131         here.
132         (gld${EMULATION_NAME}_after_parse): New function.
133         (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
134         with gld${EMULATION_NAME}_after_parse.
135         (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
136         when setting link_info.new_dtags.
137
138 2013-01-25  Kai Tietz  <ktietz@redhat.com>
139
140         * deffilep.y (def_image_name): Adjust type of base-address
141         argument.
142         (%union): Add new type bfd_vma as vma.
143         (VMA):  New rule.
144         (opt_base): Use VMA instead of NUMBER rule to evaluate value.
145         (def_file_print): Use bfd's fprintf_vma to output base-address.
146
147 2013-01-24  Nick Clifton  <nickc@redhat.com>
148
149         * NEWS: Mention support for V850E3V5 architecture.
150
151 2013-01-23  Martin Koegler  <martin.koegler@chello.at>
152
153         PR ld/15041
154         * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
155         (.xdata): Similarly.
156         (.debug_frame): Similarly.
157
158 2013-01-23  Georg-Johann Lay  <avr@gjlay.de>
159
160         PR ld/15037
161         * scripttempl/avr.sc (.eeprom): Keep it.
162
163 2013-01-23  Leif Ekblad  <leif@rdos.net>
164
165         * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
166         (eelf64rdos.c): New rule.
167         * emulparams/elf64rdos.sh: New file.
168         * configure.tgt (x86_64-*-rdos*): Use above.
169         * Makefile.in: Regenerate.
170
171 2013-01-22  Roland McGrath  <mcgrathr@google.com>
172
173         * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
174         new_dtags to TRUE for *-*-nacl* targets.
175
176 2013-01-21  Mike Frysinger  <vapier@gentoo.org>
177
178         * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
179         link_info.new_dtags to TRUE for linux/gnu targets.
180         * NEWS: Mention new dtags default.
181
182 2013-01-19  H.J. Lu  <hongjiu.lu@intel.com>
183
184         * Makefile.am (HOSTING_SCRT0): New.
185
186         * configure.host (HOSTING_SCRT0): New.  Used for PIE.
187
188         * configure.in (HOSTING_SCRT0): New AC_SUBST.
189
190         * Makefile.in: Regenerated.
191         * configure: Likewise.
192
193 2013-01-18  Mike Frysinger  <vapier@gentoo.org>
194
195         * NEWS: Mention change in behavior with --enable-new-dtags.
196         * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
197
198 2013-01-14  Leif Ekblad <leif@rdos.net>
199             Alan Modra  <amodra@gmail.com>
200
201         * ld.texinfo (-Tldata-segment): Describe.
202         * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
203         * lexsup.c (ld_options): Add -Tldata-segment.
204         (parse_args): Handle OPTION_TLDATA_SEGMENT.
205         * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
206
207 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
208
209         * deffilep.y: Remove trailing white spaces.
210         * elf-hints-local.h: Likewise.
211         * ldexp.c: Likewise.
212         * ldlang.h: Likewise.
213         * ldmisc.c: Likewise.
214         * ldwrite.c: Likewise.
215         * pe-dll.c: Likewise.
216         * emulparams/criself.sh: Likewise.
217         * emulparams/crislinux.sh: Likewise.
218         * emulparams/elf32_tic6x_le.sh: Likewise.
219         * emulparams/elf32bmipn32-defs.sh: Likewise.
220         * emulparams/elf32mb_linux.sh: Likewise.
221         * emulparams/elf32mep.sh: Likewise.
222         * emulparams/elf32microblaze.sh: Likewise.
223         * emulparams/elf32ppc.sh: Likewise.
224         * emulparams/elf64_s390.sh: Likewise.
225         * emulparams/elf64alpha.sh: Likewise.
226         * emulparams/elf_s390.sh: Likewise.
227         * emulparams/elf_x86_64.sh: Likewise.
228         * emulparams/tic80coff.sh: Likewise.
229         * emultempl/aix.em: Likewise.
230         * emultempl/avrelf.em: Likewise.
231         * emultempl/cr16elf.em: Likewise.
232         * emultempl/pe.em: Likewise.
233         * emultempl/pep.em: Likewise.
234         * emultempl/spuelf.em: Likewise.
235         * emultempl/tic6xdsbt.em: Likewise.
236
237 2013-01-10  Will Newton <will.newton@imgtec.com>
238
239         * Makefile.am: Add Meta.
240         * Makefile.in: Regenerate.
241         * configure.tgt: Add Meta.
242         * emulparams/elf32metag.sh: New file.
243         * emultempl/metagelf.em: New file.
244
245 2013-01-09  Alan Modra  <amodra@gmail.com>
246
247         * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
248         * emulparams/elf32_x86_64.sh: Likewise.
249         * emulparams/elf_k1om.sh: Likewise.
250         * emulparams/elf_l1om.sh: Likewise.
251         * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
252         OTHER_BSS_SECTIONS.  Substitute in script.
253
254 2013-01-08  Leif Ekblad  <leif@rdos.net>
255
256         * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
257
258 2013-01-08  Alan Modra  <amodra@gmail.com>
259
260         * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
261         "name" param with a bfd_link_needed_list pointer.  Update caller.
262         (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
263
264 2013-01-08  Alan Modra  <amodra@gmail.com>
265
266         * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
267         * Makefile.in: Regenerate.
268
269 2013-01-07  H.J. Lu  <hongjiu.lu@intel.com>
270
271         * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
272         compatibility.
273
274 2013-01-07  Patrice Dumas  <pertusus@free.fr>
275
276         * ld.texinfo: Replace @ with @@ when it is part of the text.
277         Correct ordering of M68HC11 entry.
278
279 2013-01-04  Juergen Urban <JuergenUrban@gmx.de>
280
281         * configure.tgt: Support ELF files for Sony Playstation 2 (for
282         ps2dev and ps2sdk).
283         * emulparams/elf32lr5900n32.sh: Create linker script for Sony
284         Playstation 2 ELF files using MIPS ABI n32.
285         * emulparams/elf32lr5900.sh: Create linker script for Sony
286         Playstation 2 ELF files using MIPS ABI o32.
287         * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
288         files.
289
290 2013-01-02  H.J. Lu  <hongjiu.lu@intel.com>
291
292         * ldver.c (ldversion): Update copyright year to 2013.
293
294 For older changes see ChangeLog-2012
295 \f
296 Copyright (C) 2013 Free Software Foundation, Inc.
297
298 Copying and distribution of this file, with or without modification,
299 are permitted in any medium without royalty provided the copyright
300 notice and this notice are preserved.
301
302 Local Variables:
303 mode: change-log
304 left-margin: 8
305 fill-column: 74
306 version-control: never
307 End: