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