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