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