2010-05-21 Daniel Jacobowitz <dan@codesourcery.com>
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
8e45593f
NC
12010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
2 Joseph Myers <joseph@codesourcery.com>
3 Andrew Stubbs <ams@codesourcery.com>
4
5 * Makefile.am (ALL_EMULATIONS): Add eshelf_fd.o and eshlelf_fd.o.
6 (eshelf_fd.c, eshlelf_fd.c): New rules.
7 * Makefile.in: Regenerate.
8 * configure.tgt (sh-*-uclinux*): Add shelf_fd and shlelf_fd
9 emulations.
10 * emulparams/shelf_fd.sh: New file.
11 * emulparams/shlelf_fd.sh: New file.
12 * emulparams/shlelf_linux.sh: Update comment.
13
52a6ecd2
NC
142010-05-25 Jay Krell <jay.krell@cornell.edu>
15
16 PR ld/11621
17 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
18 * Makefile.in: Regenerate.
19
ca5f2203
KT
202010-05-25 Kai Tietz <kai.tietz@onevision.com>
21
770c040b
KT
22 * deffilep.y (opt_name): Allow leading dot.
23 (dot_name): Likewise.
24 (anylang_id): Likewise.
6ec6c79c
KT
25 * emultempl/pep.em (gld_${EMULATION_NAME}_before_parse): Enable by
26 default auto_import.
27 (gld${EMULATION_NAME}_handle_option): Warn about v1.
28 (pep_find_data_imports): Remove superflous warnings about
29 auto-import.
30 (gld_${EMULATION_NAME}_get_script): Don't merge for auto-import
31 and active pseudo-relocation-v2 rdata into data section.
ca5f2203
KT
32 * emultempl/pe.em (default_merge_rdata): New shell variable.
33 (MERGE_RDATA_V2): New macro.
34 (gld_${EMULATION_NAME}_get_script): Adjust rule for auto-import
35 selected script.
36
d74720d2
KT
372010-05-15 Kai Tietz <kai.tietz@onevision.com>
38
39 * emultempl/pe.em (is_underscoring): New helper function.
40 (gld_${EMULATION_NAME}_before_parse): Replace code
41 for pe(p)_leading_underscore detection by is_underscoring.
42 (U): Likewise.
43 (GET_INIT_SYMBOL_NAME): Likewise.
44 (U_SIZE): Likewise.
45 (set_pe_name):
46 (set_entry_point):
47 (gld_${EMULATION_NAME}_set_symbols):
48 * emultempl/pep.em: Likewise.
49 * pe-dll.c (pe_detail_list): Set default
50 underscoring for x64 target.
51 (pe_dll_id_target): Add initialization of
52 pe(p)_leading_underscore.
53
1b610c93
DK
542010-05-15 Dave Korn <dave.korn.cygwin@gmail.com>
55
56 * pe-dll.c: Removed trailing whitespaces.
57
e092cb30
AM
582010-05-14 Alan Modra <amodra@gmail.com>
59
60 PR ld/11583
61 * ldexp.c (exp_fold_tree_1): If assignment source expression is
62 invalid, make the destination symbol undefined.
63
b804e4af
KT
642010-05-11 Kai Tietz <kai.tietz@onevision.com>
65
66 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
67 Initialize pe(p)_leading_underscore variable.
68 (set_pe_name): Likewise.
69 * emultempl/pep.em: Likewise.
70 Additional change default to non-underscore for
71 pep_leading_underscore equal to -1.
72
6540b386
TG
732010-05-07 Tristan Gingold <gingold@adacore.com>
74
75 * Makefile.in: Regenerate with automake 1.11.1.
76 * aclocal.m4: Ditto.
77
3e01a7fd
NC
782010-05-05 Nick Clifton <nickc@redhat.com>
79
80 * po/es.po: Updated Spanish translation.
81
17f73277
KT
822010-04-27 Kai Tietz <kai.tietz@onevision.com>
83
84 * pe-dll.c (_nm_-symbols): Use always underscored variant
85 for symbols.
86 (__imp_-symbols): Likewise.
87 (___imp_-symbols): Likewise.
88 * NEWS: Mention ABI change for x64 PE-COFF.
89
7ad2014a
L
902010-04-27 H.J. Lu <hongjiu.lu@intel.com>
91
92 * Makefile.am (install-exec-local): Properly install ld as
93 default cross linker.
94 * Makefile.in: Regenerated.
95
4fda8867
NC
962010-04-27 H.J. Lu <hongjiu.lu@intel.com>
97 Nick Clifton <nickc@redhat.com>
98
99 * configure.in (install_as_default): Define and set to true
100 unless --enable-gold=both/gold has been specified.
101 * configure: Regenerate.
102
103 * Makefile.am (transform): Use ld.bfd as the default name of
104 the linker.
105 (install-exec-local): Also install the executable as a binary
106 named 'ld' if install_as_default is true.
107 * Makefile.in: Regenerate.
108
9c9c98a5
NC
1092010-04-22 Nick Clifton <nickc@redhat.com>
110
111 * po/ld.pot: Updated by the Translation project.
112 * po/vi.po: Updated Vietnamese translation.
113 * po/bg.po: Updated Bulgarian translation.
114
85fdf906
AH
1152010-04-15 Andrew Haley <aph@redhat.com>
116
117 * emultempl/armelf.em (merge_exidx_entries): New variable.
118 (OPTION_NO_MERGE_EXIDX_ENTRIES): New definition.
119 ("no-merge-exidx-entries"): New option.
120 * ld.texinfo (merge-exidx-entries): Document this option.
121
8b351884
TG
1222010-04-14 Tristan Gingold <gingold@adacore.com>
123
124 * emulparams/alphavms.sh: New file.
125 * emultempl/vms.em: New file.
126 * scripttempl/alphavms.sc: New file.
127 * configure.tgt (alpha*-*-*vms*): Added.
128 * Makefile.am (ALL_EMULATIONS): Add ealphavms.o
129 (ealphavms.c): New target.
130 * Makefile.in: Regenerate.
131
3d540e93
NC
1322010-04-09 Nick Clifton <nickc@redhat.com>
133
134 * ldlang.c (wild_sort): Remove unused variable section_name.
135
397841b5
AM
1362010-04-07 Alan Modra <amodra@gmail.com>
137
138 * configure: Regenerate.
139
6f8bcf84
L
1402010-04-06 H.J. Lu <hongjiu.lu@intel.com>
141
142 PR ld/11434
143 * ld/testsuite/ld-x86-64/unique1.d: New.
144 * ld/testsuite/ld-x86-64/unique1.s: Likewise.
145
146 * ld-x86-64/x86-64.exp: Run unique1.
147
522f09cd
KT
1482010-04-05 Kai Tietz <kai.tietz@onevision.com>
149
150 * emultempl/pep.em (U): Macro modified.
151 (U_SIZE): New helper macro.
152 (GET_INIT_SYMBOL_NAME): Likewise.
153 (enum options): Add OPTION_NO_LEADING_UNDERSCORE
154 and OPTION_LEADING_UNDERSCORE enumerator-values.
155 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
156 option.
157 (definfo): Add new member is_c_symbol.
158 (D): Add to macro underscore mode parameter.
159 (init): Add definition for is_c_symbol.
160 (gld_${EMULATION_NAME}_list_options): Display new options.
161 (set_pep_name): Adjust underscoring dependent fixed
162 symbol handling.
163 (gld_${EMULATION_NAME}_set_symbols): Likewise.
164 (saw_option): Likewise.
165 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
166 (set_entry_point): Initial initial_symbol_char dependent to
167 target's default and new option flag pep_leading_underscore.
168 * emultempl/pe.em (U): Macro modified.
169 (U_SIZE): New helper macro.
170 (GET_INIT_SYMBOL_NAME): Likewise.
171 (OPTION_LEADING_UNDERSCORE): Add new option define.
172 (OPTION_NO_LEADING_UNDERSCORE): Likewise.
173 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
174 option.
175 (definfo): Add new member is_c_symbol.
176 (D): Add to macro underscore mode parameter.
177 (init): Add definition for is_c_symbol.
178 (gld_${EMULATION_NAME}_list_options): Display new options.
179 (set_pep_name): Adjust underscoring dependent fixed
180 symbol handling.
181 (gld_${EMULATION_NAME}_set_symbols): Likewise.
182 (saw_option): Likewise.
183 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
184 (set_entry_point): Initial initial_symbol_char dependent to
185 target's default and new option flag pep_leading_underscore.
186 * pe-dll.c (pe_leading_underscore): New flag variable.
187 (pe_detail_list): Remove const to allow modify of
188 member underscore.
189 (pe_dll_id_target): Initialize pe_details' underscore variable
190 dependent to target's default and flag pe_leading_underscore.
191 * pe-dll.h (pe_leading_underscore): Add extern declaration of
192 option flag.
193 * pep-dll.c (pe_leading_underscore): Add alias define for
194 pep_leading_underscore.
195 * pep-dll.h (pep_leading_underscore) Add extern declaration of
196 option flag.
197 * ld.texinfo: Add documentation for --(no-)leading-underscore
198 option.
199
edc314c9
AM
2002010-03-26 Alan Modra <amodra@gmail.com>
201
202 PR ld/11426
203 * configure.host (many linux targets <HOSTING_CRT0>): Remove edits.
204 (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo.
205
40b36596
JM
2062010-03-25 Joseph Myers <joseph@codesourcery.com>
207
208 * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
209 eelf32_tic6x_le.o.
210 (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
211 * NEWS: Add news entry for TI C6X support.
212 * configure.tgt (tic6x-*-*): New.
213 * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.
214
349e935b
JM
2152010-03-23 Joseph Myers <joseph@codesourcery.com>
216
217 * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME,
218 BSS_NAME): Define if not already defined. Use in place of some
219 hardcoded section names.
220
576ee33a
L
2212010-03-18 H.J. Lu <hongjiu.lu@intel.com>
222
223 * scripttempl/elf.sc (INIT_ARRAY): Re-indent.
224
54801c2d
NC
2252010-03-18 Aymeric Vincent <vincent@labri.fr>
226
227 PR ld/11384
228 * emultempl/sh64elf.em: Add missing EOF.
229
17299ac7
NC
2302010-03-18 Doug Semler <dougsemler@gmail.com>
231
232 * pe-dll.c (make_one): Make text section readonly.
233 (make_one): Add *ABS* symbol @feat.00 with value 1 to tag
234 the jump stub on X86 as /SAFESEH compatible for
235 native toolchains.
236
e535e147
AM
2372010-03-17 Alan Modra <amodra@gmail.com>
238
239 * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from
240 *prev instead. Update all callers.
241
f77c3948
DJ
2422010-03-15 Daniel Jacobowitz <dan@codesourcery.com>
243
244 * ldlang.c (lang_insert_orphan): Place loadable orphans in the same
245 region and phdrs as their placement section.
246
d43d0b53
AM
2472010-03-15 Alan Modra <amodra@gmail.com>
248
249 * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New.
250 (ppc_before_allocation): Call sort_toc_sections.
251 (no_toc_sort, OPTION_NO_TOC_SORT): New.
252 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
253 PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort.
254
70cc837d
AM
2552010-03-14 Alan Modra <amodra@gmail.com>
256
257 PR ld/11378
258 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
259 ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
260
806fc311
AM
2612010-03-11 George Gensure <werkt0@gmail.com>
262
263 PR ld/11367
264 * ldcref.c (handle_asneeded_cref): Correct copying of refs.
265
a6cc6b3b
RO
2662010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
267
268 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
269 eelf_i386_sol2.o.
270 (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
271 (eelf32_sparc_sol2.c): New rule.
272 (eelf64_sparc_sol2.c): Likewise.
273 (eelf_x86_64_sol2.c): Likewise.
274 (eelf_i386_sol2.c): Likewise.
275 * Makefile.in: Regenerate.
276 * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
277 elf_i386_sol2.
278 Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
279 (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
280 Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
281 (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
282 Add target_extra_emuls.
283 (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
284 Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
285 (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
286 Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
287 * emulparams/elf32_sparc_sol2.sh: New file.
288 * emulparams/elf64_sparc_sol2.sh: New file.
289 * emulparams/elf_i386_sol2.sh: New file.
290 * emulparams/elf_x86_64_sol2.sh: New file.
291 * emultempl/solaris2.em: New file.
292
fc073cb7
L
2932010-02-27 H.J. Lu <hongjiu.lu@intel.com>
294
295 PR ld/11330
296 * ld.texinfo: Replace explicitely with explicitly.
297
3cff7cc7
JZ
2982010-02-27 Jie Zhang <jie@codesourcery.com>
299
300 * scripttempl/armbpabi.sc: Don't combine .init_array.* or
301 .fini_array.* when do relocatable linking.
302 * scripttempl/elf.sc: Likewise.
303 * scripttempl/elf32sh-symbian.sc: Likewise.
304 * scripttempl/elf64hppa.sc: Likewise.
305 * scripttempl/elfxtensa.sc: Likewise.
306
9445af9a
AM
3072010-02-26 Alan Modra <amodra@gmail.com>
308
309 * scripttempl/elf.sc (.fini_array): Place input .fini_array after
310 .fini_array.*.
311 * scripttempl/armbpabi.sc: Likewise.
312 * scripttempl/elf32sh-symbian.sc: Likewise.
313 * scripttempl/elf64hppa.sc: Likewise.
314 * scripttempl/elfxtensa.sc: Likewise.
315
dfa7b0b8
AM
3162010-02-25 Alan Modra <amodra@gmail.com>
317
318 PR ld/11304
319 * ldlang.c (init_os): Remove isec param. Don't check for
320 bfd_section already set or call bfd_init_private_section_data
321 here.
322 (exp_init_os): Update init_os call.
323 (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE
324 flags. Call bfd_init_private_section_data here.
325 (map_input_to_output_sections): Tidy. Update init_os calls.
326 Use os->sectype to select sec flags for lang_data_statement.
327
a431bc2e
AM
3282010-02-23 Alan Modra <amodra@gmail.com>
329
330 PR ld/11304
331 * ldlang.c: Revert last patch.
332
1c063135
NC
3332010-02-23 Nick Clifton <nickc@redhat.com>
334
335 * po/bg.po: Updated Bulgarian translation.
336
c380a809
AM
3372010-02-22 Alan Modra <amodra@gmail.com>
338
339 PR ld/11304
340 * ldlang.c (exp_init_os): Delete forward declaration.
341 (init_os): Don't check for bfd_section already created and don't
342 init addr_tree and load_base expressions here.
343 (map_input_to_output_sections): Only map input to output sections
344 and set constraints here, and as an exception, create output
345 sections which have their address set. Move all the other code to..
346 (create_other_output_sections): ..here. New function. Handle init
347 of addr_tree and load_base here too.
348 (lang_process): Call create_other_output_sections.
349
c8c66882
AM
3502010-02-19 Alan Modra <amodra@gmail.com>
351
352 * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
353 * Makefile.in: Regenerate.
354
d0bf826b
AM
3552010-02-19 Alan Modra <amodra@gmail.com>
356
357 * ldlang.c (unique_section_p): Add os param. Allow group
358 sections to match /DISCARD/. Update all callers.
359 * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
360 (LDEMUL_BEFORE_ALLOCATION): Define.
361
ab7875de
NC
3622010-02-15 Nick Clifton <nickc@redhat.com>
363
364 * po/vi.po: Updated Vietnamese translation.
365
45e481d1
RS
3662010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
367
368 * Makefile.am (CFILES): Add ldlex-wrapper.c.
369 (OFILES): Replace ldlex.c with ldlex-wrapper.c.
370 (ldlex.o): Replace with...
371 (ldlex-wrapper.o): ...this new rule.
372 (EXTRA_ld_new_SOURCES): Add ldlex.l.
373 (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
374 * Makefile.in: Regenerate.
375 * ldlex.l (sysdep.h): Don't include here.
376 * ldlex-wrapper.c: New file.
377
33c0ec9d
AM
3782010-02-09 Alan Modra <amodra@gmail.com>
379
380 * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
381 function parameters.
382
ef3f88be
NC
3832010-02-05 Nick Clifton <nickc@redhat.com>
384
385 * configure.in (ALL_LIBGUAS): Add bg.
386 * configure: Regenerate.
387 * po/bg.po: New Bulgarian translation.
388
f8266dc4
NC
3892010-02-05 Ryan Mansfield <rmansfield@qnx.com>
390
391 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
392 --target1-abs and --target1-rel options.
393
4dfe6ac6
NC
3942010-02-03 Nick Clifton <nickc@redhat.com>
395
396 * emultempl/alphaelf.em: Update value expected from elf_object_id.
397 * emultempl/hppaelf.em: Likewise.
398 * emultempl/mipself.em: Likewise.
399 * emultempl/ppc32elf.em: Likewise.
400 * emultempl/ppc64elf.em: Likewise.
401
927be08e
AM
4022010-02-03 Alan Modra <amodra@gmail.com>
403
404 * emultempl/ppc64elf.em (build_toc_list): Report errors from
405 ppc64_elf_next_toc_section.
406 (after_allocation): Update for changed function names and params.
407 Run second pass of multitoc partitioning.
408
c4b78195
NC
4092010-01-21 Jon Grant <jg@jguk.org>
410 Nick Clifton <nickc@redhat.com>
411
412 PR 4437
413 * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
414 a missing file or library. Instead mark the entry as missing and
415 set the global flag to indicate that missing files were
416 encountered.
417 * ldlang.c (missing_files): New exported variable.
418 (load_symbols): Skip loading if the file is missing.
419 (open_input_bfds): Terminate link if any input files were
420 missing.
421 * ldlang.h (struct lang_input_statement_struct): Add missing_file
422 field.
423 Add export of missing_file variable.
424
b5f14a6d
DD
4252010-01-13 DJ Delorie <dj@redhat.com>
426
427 * emultempl/elf32.em (_place_orphan): If an input section doesn't
428 match an existing output section, but an unused output section
429 statement does match, use it.
430 * emultempl/pe.em (_place_orphan): Likewise.
431 * emultempl/pep.em (_place_orphan): Likewise.
432
3725885a
RW
4332010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
434
435 * configure: Regenerate.
436 * Makefile.in: Regenerate.
437
5256a5b0
L
4382010-01-08 H.J. Lu <hongjiu.lu@intel.com>
439
440 * ldver.c (ldversion): Change to "Copyright 2010".
441
b903363e
AM
4422010-01-08 Alan Modra <amodra@gmail.com>
443
444 PR 11107
445 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
9dda37c1 446
43ecc30f 447For older changes see ChangeLog-2009
252b5132
RH
448\f
449Local Variables:
450mode: change-log
451left-margin: 8
452fill-column: 74
453version-control: never
454End:
This page took 0.553244 seconds and 4 git commands to generate.