Do not set prms_id/bug_id anymore.
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2010-05-05 Nick Clifton <nickc@redhat.com>
2
3 * po/es.po: Updated Spanish translation.
4
5 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
6
7 * pe-dll.c (_nm_-symbols): Use always underscored variant
8 for symbols.
9 (__imp_-symbols): Likewise.
10 (___imp_-symbols): Likewise.
11 * NEWS: Mention ABI change for x64 PE-COFF.
12
13 2010-04-27 H.J. Lu <hongjiu.lu@intel.com>
14
15 * Makefile.am (install-exec-local): Properly install ld as
16 default cross linker.
17 * Makefile.in: Regenerated.
18
19 2010-04-27 H.J. Lu <hongjiu.lu@intel.com>
20 Nick Clifton <nickc@redhat.com>
21
22 * configure.in (install_as_default): Define and set to true
23 unless --enable-gold=both/gold has been specified.
24 * configure: Regenerate.
25
26 * Makefile.am (transform): Use ld.bfd as the default name of
27 the linker.
28 (install-exec-local): Also install the executable as a binary
29 named 'ld' if install_as_default is true.
30 * Makefile.in: Regenerate.
31
32 2010-04-22 Nick Clifton <nickc@redhat.com>
33
34 * po/ld.pot: Updated by the Translation project.
35 * po/vi.po: Updated Vietnamese translation.
36 * po/bg.po: Updated Bulgarian translation.
37
38 2010-04-15 Andrew Haley <aph@redhat.com>
39
40 * emultempl/armelf.em (merge_exidx_entries): New variable.
41 (OPTION_NO_MERGE_EXIDX_ENTRIES): New definition.
42 ("no-merge-exidx-entries"): New option.
43 * ld.texinfo (merge-exidx-entries): Document this option.
44
45 2010-04-14 Tristan Gingold <gingold@adacore.com>
46
47 * emulparams/alphavms.sh: New file.
48 * emultempl/vms.em: New file.
49 * scripttempl/alphavms.sc: New file.
50 * configure.tgt (alpha*-*-*vms*): Added.
51 * Makefile.am (ALL_EMULATIONS): Add ealphavms.o
52 (ealphavms.c): New target.
53 * Makefile.in: Regenerate.
54
55 2010-04-09 Nick Clifton <nickc@redhat.com>
56
57 * ldlang.c (wild_sort): Remove unused variable section_name.
58
59 2010-04-07 Alan Modra <amodra@gmail.com>
60
61 * configure: Regenerate.
62
63 2010-04-06 H.J. Lu <hongjiu.lu@intel.com>
64
65 PR ld/11434
66 * ld/testsuite/ld-x86-64/unique1.d: New.
67 * ld/testsuite/ld-x86-64/unique1.s: Likewise.
68
69 * ld-x86-64/x86-64.exp: Run unique1.
70
71 2010-04-05 Kai Tietz <kai.tietz@onevision.com>
72
73 * emultempl/pep.em (U): Macro modified.
74 (U_SIZE): New helper macro.
75 (GET_INIT_SYMBOL_NAME): Likewise.
76 (enum options): Add OPTION_NO_LEADING_UNDERSCORE
77 and OPTION_LEADING_UNDERSCORE enumerator-values.
78 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
79 option.
80 (definfo): Add new member is_c_symbol.
81 (D): Add to macro underscore mode parameter.
82 (init): Add definition for is_c_symbol.
83 (gld_${EMULATION_NAME}_list_options): Display new options.
84 (set_pep_name): Adjust underscoring dependent fixed
85 symbol handling.
86 (gld_${EMULATION_NAME}_set_symbols): Likewise.
87 (saw_option): Likewise.
88 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
89 (set_entry_point): Initial initial_symbol_char dependent to
90 target's default and new option flag pep_leading_underscore.
91 * emultempl/pe.em (U): Macro modified.
92 (U_SIZE): New helper macro.
93 (GET_INIT_SYMBOL_NAME): Likewise.
94 (OPTION_LEADING_UNDERSCORE): Add new option define.
95 (OPTION_NO_LEADING_UNDERSCORE): Likewise.
96 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
97 option.
98 (definfo): Add new member is_c_symbol.
99 (D): Add to macro underscore mode parameter.
100 (init): Add definition for is_c_symbol.
101 (gld_${EMULATION_NAME}_list_options): Display new options.
102 (set_pep_name): Adjust underscoring dependent fixed
103 symbol handling.
104 (gld_${EMULATION_NAME}_set_symbols): Likewise.
105 (saw_option): Likewise.
106 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
107 (set_entry_point): Initial initial_symbol_char dependent to
108 target's default and new option flag pep_leading_underscore.
109 * pe-dll.c (pe_leading_underscore): New flag variable.
110 (pe_detail_list): Remove const to allow modify of
111 member underscore.
112 (pe_dll_id_target): Initialize pe_details' underscore variable
113 dependent to target's default and flag pe_leading_underscore.
114 * pe-dll.h (pe_leading_underscore): Add extern declaration of
115 option flag.
116 * pep-dll.c (pe_leading_underscore): Add alias define for
117 pep_leading_underscore.
118 * pep-dll.h (pep_leading_underscore) Add extern declaration of
119 option flag.
120 * ld.texinfo: Add documentation for --(no-)leading-underscore
121 option.
122
123 2010-03-26 Alan Modra <amodra@gmail.com>
124
125 PR ld/11426
126 * configure.host (many linux targets <HOSTING_CRT0>): Remove edits.
127 (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo.
128
129 2010-03-25 Joseph Myers <joseph@codesourcery.com>
130
131 * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
132 eelf32_tic6x_le.o.
133 (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
134 * NEWS: Add news entry for TI C6X support.
135 * configure.tgt (tic6x-*-*): New.
136 * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.
137
138 2010-03-23 Joseph Myers <joseph@codesourcery.com>
139
140 * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME,
141 BSS_NAME): Define if not already defined. Use in place of some
142 hardcoded section names.
143
144 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
145
146 * scripttempl/elf.sc (INIT_ARRAY): Re-indent.
147
148 2010-03-18 Aymeric Vincent <vincent@labri.fr>
149
150 PR ld/11384
151 * emultempl/sh64elf.em: Add missing EOF.
152
153 2010-03-18 Doug Semler <dougsemler@gmail.com>
154
155 * pe-dll.c (make_one): Make text section readonly.
156 (make_one): Add *ABS* symbol @feat.00 with value 1 to tag
157 the jump stub on X86 as /SAFESEH compatible for
158 native toolchains.
159
160 2010-03-17 Alan Modra <amodra@gmail.com>
161
162 * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from
163 *prev instead. Update all callers.
164
165 2010-03-15 Daniel Jacobowitz <dan@codesourcery.com>
166
167 * ldlang.c (lang_insert_orphan): Place loadable orphans in the same
168 region and phdrs as their placement section.
169
170 2010-03-15 Alan Modra <amodra@gmail.com>
171
172 * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New.
173 (ppc_before_allocation): Call sort_toc_sections.
174 (no_toc_sort, OPTION_NO_TOC_SORT): New.
175 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
176 PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort.
177
178 2010-03-14 Alan Modra <amodra@gmail.com>
179
180 PR ld/11378
181 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
182 ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
183
184 2010-03-11 George Gensure <werkt0@gmail.com>
185
186 PR ld/11367
187 * ldcref.c (handle_asneeded_cref): Correct copying of refs.
188
189 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
190
191 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
192 eelf_i386_sol2.o.
193 (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
194 (eelf32_sparc_sol2.c): New rule.
195 (eelf64_sparc_sol2.c): Likewise.
196 (eelf_x86_64_sol2.c): Likewise.
197 (eelf_i386_sol2.c): Likewise.
198 * Makefile.in: Regenerate.
199 * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
200 elf_i386_sol2.
201 Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
202 (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
203 Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
204 (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
205 Add target_extra_emuls.
206 (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
207 Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
208 (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
209 Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
210 * emulparams/elf32_sparc_sol2.sh: New file.
211 * emulparams/elf64_sparc_sol2.sh: New file.
212 * emulparams/elf_i386_sol2.sh: New file.
213 * emulparams/elf_x86_64_sol2.sh: New file.
214 * emultempl/solaris2.em: New file.
215
216 2010-02-27 H.J. Lu <hongjiu.lu@intel.com>
217
218 PR ld/11330
219 * ld.texinfo: Replace explicitely with explicitly.
220
221 2010-02-27 Jie Zhang <jie@codesourcery.com>
222
223 * scripttempl/armbpabi.sc: Don't combine .init_array.* or
224 .fini_array.* when do relocatable linking.
225 * scripttempl/elf.sc: Likewise.
226 * scripttempl/elf32sh-symbian.sc: Likewise.
227 * scripttempl/elf64hppa.sc: Likewise.
228 * scripttempl/elfxtensa.sc: Likewise.
229
230 2010-02-26 Alan Modra <amodra@gmail.com>
231
232 * scripttempl/elf.sc (.fini_array): Place input .fini_array after
233 .fini_array.*.
234 * scripttempl/armbpabi.sc: Likewise.
235 * scripttempl/elf32sh-symbian.sc: Likewise.
236 * scripttempl/elf64hppa.sc: Likewise.
237 * scripttempl/elfxtensa.sc: Likewise.
238
239 2010-02-25 Alan Modra <amodra@gmail.com>
240
241 PR ld/11304
242 * ldlang.c (init_os): Remove isec param. Don't check for
243 bfd_section already set or call bfd_init_private_section_data
244 here.
245 (exp_init_os): Update init_os call.
246 (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE
247 flags. Call bfd_init_private_section_data here.
248 (map_input_to_output_sections): Tidy. Update init_os calls.
249 Use os->sectype to select sec flags for lang_data_statement.
250
251 2010-02-23 Alan Modra <amodra@gmail.com>
252
253 PR ld/11304
254 * ldlang.c: Revert last patch.
255
256 2010-02-23 Nick Clifton <nickc@redhat.com>
257
258 * po/bg.po: Updated Bulgarian translation.
259
260 2010-02-22 Alan Modra <amodra@gmail.com>
261
262 PR ld/11304
263 * ldlang.c (exp_init_os): Delete forward declaration.
264 (init_os): Don't check for bfd_section already created and don't
265 init addr_tree and load_base expressions here.
266 (map_input_to_output_sections): Only map input to output sections
267 and set constraints here, and as an exception, create output
268 sections which have their address set. Move all the other code to..
269 (create_other_output_sections): ..here. New function. Handle init
270 of addr_tree and load_base here too.
271 (lang_process): Call create_other_output_sections.
272
273 2010-02-19 Alan Modra <amodra@gmail.com>
274
275 * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
276 * Makefile.in: Regenerate.
277
278 2010-02-19 Alan Modra <amodra@gmail.com>
279
280 * ldlang.c (unique_section_p): Add os param. Allow group
281 sections to match /DISCARD/. Update all callers.
282 * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
283 (LDEMUL_BEFORE_ALLOCATION): Define.
284
285 2010-02-15 Nick Clifton <nickc@redhat.com>
286
287 * po/vi.po: Updated Vietnamese translation.
288
289 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
290
291 * Makefile.am (CFILES): Add ldlex-wrapper.c.
292 (OFILES): Replace ldlex.c with ldlex-wrapper.c.
293 (ldlex.o): Replace with...
294 (ldlex-wrapper.o): ...this new rule.
295 (EXTRA_ld_new_SOURCES): Add ldlex.l.
296 (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
297 * Makefile.in: Regenerate.
298 * ldlex.l (sysdep.h): Don't include here.
299 * ldlex-wrapper.c: New file.
300
301 2010-02-09 Alan Modra <amodra@gmail.com>
302
303 * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
304 function parameters.
305
306 2010-02-05 Nick Clifton <nickc@redhat.com>
307
308 * configure.in (ALL_LIBGUAS): Add bg.
309 * configure: Regenerate.
310 * po/bg.po: New Bulgarian translation.
311
312 2010-02-05 Ryan Mansfield <rmansfield@qnx.com>
313
314 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
315 --target1-abs and --target1-rel options.
316
317 2010-02-03 Nick Clifton <nickc@redhat.com>
318
319 * emultempl/alphaelf.em: Update value expected from elf_object_id.
320 * emultempl/hppaelf.em: Likewise.
321 * emultempl/mipself.em: Likewise.
322 * emultempl/ppc32elf.em: Likewise.
323 * emultempl/ppc64elf.em: Likewise.
324
325 2010-02-03 Alan Modra <amodra@gmail.com>
326
327 * emultempl/ppc64elf.em (build_toc_list): Report errors from
328 ppc64_elf_next_toc_section.
329 (after_allocation): Update for changed function names and params.
330 Run second pass of multitoc partitioning.
331
332 2010-01-21 Jon Grant <jg@jguk.org>
333 Nick Clifton <nickc@redhat.com>
334
335 PR 4437
336 * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
337 a missing file or library. Instead mark the entry as missing and
338 set the global flag to indicate that missing files were
339 encountered.
340 * ldlang.c (missing_files): New exported variable.
341 (load_symbols): Skip loading if the file is missing.
342 (open_input_bfds): Terminate link if any input files were
343 missing.
344 * ldlang.h (struct lang_input_statement_struct): Add missing_file
345 field.
346 Add export of missing_file variable.
347
348 2010-01-13 DJ Delorie <dj@redhat.com>
349
350 * emultempl/elf32.em (_place_orphan): If an input section doesn't
351 match an existing output section, but an unused output section
352 statement does match, use it.
353 * emultempl/pe.em (_place_orphan): Likewise.
354 * emultempl/pep.em (_place_orphan): Likewise.
355
356 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
357
358 * configure: Regenerate.
359 * Makefile.in: Regenerate.
360
361 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
362
363 * ldver.c (ldversion): Change to "Copyright 2010".
364
365 2010-01-08 Alan Modra <amodra@gmail.com>
366
367 PR 11107
368 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
369
370 For older changes see ChangeLog-2009
371 \f
372 Local Variables:
373 mode: change-log
374 left-margin: 8
375 fill-column: 74
376 version-control: never
377 End:
This page took 0.03606 seconds and 4 git commands to generate.