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