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