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