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