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