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