2010-05-14 Michael Snyder <msnyder@vmware.com>
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
e092cb30
AM
12010-05-14 Alan Modra <amodra@gmail.com>
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
b804e4af
KT
72010-05-11 Kai Tietz <kai.tietz@onevision.com>
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
6540b386
TG
162010-05-07 Tristan Gingold <gingold@adacore.com>
17
18 * Makefile.in: Regenerate with automake 1.11.1.
19 * aclocal.m4: Ditto.
20
3e01a7fd
NC
212010-05-05 Nick Clifton <nickc@redhat.com>
22
23 * po/es.po: Updated Spanish translation.
24
17f73277
KT
252010-04-27 Kai Tietz <kai.tietz@onevision.com>
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
7ad2014a
L
332010-04-27 H.J. Lu <hongjiu.lu@intel.com>
34
35 * Makefile.am (install-exec-local): Properly install ld as
36 default cross linker.
37 * Makefile.in: Regenerated.
38
4fda8867
NC
392010-04-27 H.J. Lu <hongjiu.lu@intel.com>
40 Nick Clifton <nickc@redhat.com>
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
9c9c98a5
NC
522010-04-22 Nick Clifton <nickc@redhat.com>
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
85fdf906
AH
582010-04-15 Andrew Haley <aph@redhat.com>
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
8b351884
TG
652010-04-14 Tristan Gingold <gingold@adacore.com>
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
3d540e93
NC
752010-04-09 Nick Clifton <nickc@redhat.com>
76
77 * ldlang.c (wild_sort): Remove unused variable section_name.
78
397841b5
AM
792010-04-07 Alan Modra <amodra@gmail.com>
80
81 * configure: Regenerate.
82
6f8bcf84
L
832010-04-06 H.J. Lu <hongjiu.lu@intel.com>
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
522f09cd
KT
912010-04-05 Kai Tietz <kai.tietz@onevision.com>
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
edc314c9
AM
1432010-03-26 Alan Modra <amodra@gmail.com>
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
40b36596
JM
1492010-03-25 Joseph Myers <joseph@codesourcery.com>
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
349e935b
JM
1582010-03-23 Joseph Myers <joseph@codesourcery.com>
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
576ee33a
L
1642010-03-18 H.J. Lu <hongjiu.lu@intel.com>
165
166 * scripttempl/elf.sc (INIT_ARRAY): Re-indent.
167
54801c2d
NC
1682010-03-18 Aymeric Vincent <vincent@labri.fr>
169
170 PR ld/11384
171 * emultempl/sh64elf.em: Add missing EOF.
172
17299ac7
NC
1732010-03-18 Doug Semler <dougsemler@gmail.com>
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
e535e147
AM
1802010-03-17 Alan Modra <amodra@gmail.com>
181
182 * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from
183 *prev instead. Update all callers.
184
f77c3948
DJ
1852010-03-15 Daniel Jacobowitz <dan@codesourcery.com>
186
187 * ldlang.c (lang_insert_orphan): Place loadable orphans in the same
188 region and phdrs as their placement section.
189
d43d0b53
AM
1902010-03-15 Alan Modra <amodra@gmail.com>
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
70cc837d
AM
1982010-03-14 Alan Modra <amodra@gmail.com>
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
806fc311
AM
2042010-03-11 George Gensure <werkt0@gmail.com>
205
206 PR ld/11367
207 * ldcref.c (handle_asneeded_cref): Correct copying of refs.
208
a6cc6b3b
RO
2092010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
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
fc073cb7
L
2362010-02-27 H.J. Lu <hongjiu.lu@intel.com>
237
238 PR ld/11330
239 * ld.texinfo: Replace explicitely with explicitly.
240
3cff7cc7
JZ
2412010-02-27 Jie Zhang <jie@codesourcery.com>
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
9445af9a
AM
2502010-02-26 Alan Modra <amodra@gmail.com>
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
dfa7b0b8
AM
2592010-02-25 Alan Modra <amodra@gmail.com>
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
a431bc2e
AM
2712010-02-23 Alan Modra <amodra@gmail.com>
272
273 PR ld/11304
274 * ldlang.c: Revert last patch.
275
1c063135
NC
2762010-02-23 Nick Clifton <nickc@redhat.com>
277
278 * po/bg.po: Updated Bulgarian translation.
279
c380a809
AM
2802010-02-22 Alan Modra <amodra@gmail.com>
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
c8c66882
AM
2932010-02-19 Alan Modra <amodra@gmail.com>
294
295 * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
296 * Makefile.in: Regenerate.
297
d0bf826b
AM
2982010-02-19 Alan Modra <amodra@gmail.com>
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
ab7875de
NC
3052010-02-15 Nick Clifton <nickc@redhat.com>
306
307 * po/vi.po: Updated Vietnamese translation.
308
45e481d1
RS
3092010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
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
33c0ec9d
AM
3212010-02-09 Alan Modra <amodra@gmail.com>
322
323 * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
324 function parameters.
325
ef3f88be
NC
3262010-02-05 Nick Clifton <nickc@redhat.com>
327
328 * configure.in (ALL_LIBGUAS): Add bg.
329 * configure: Regenerate.
330 * po/bg.po: New Bulgarian translation.
331
f8266dc4
NC
3322010-02-05 Ryan Mansfield <rmansfield@qnx.com>
333
334 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
335 --target1-abs and --target1-rel options.
336
4dfe6ac6
NC
3372010-02-03 Nick Clifton <nickc@redhat.com>
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
927be08e
AM
3452010-02-03 Alan Modra <amodra@gmail.com>
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
c4b78195
NC
3522010-01-21 Jon Grant <jg@jguk.org>
353 Nick Clifton <nickc@redhat.com>
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
b5f14a6d
DD
3682010-01-13 DJ Delorie <dj@redhat.com>
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
3725885a
RW
3762010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
377
378 * configure: Regenerate.
379 * Makefile.in: Regenerate.
380
5256a5b0
L
3812010-01-08 H.J. Lu <hongjiu.lu@intel.com>
382
383 * ldver.c (ldversion): Change to "Copyright 2010".
384
b903363e
AM
3852010-01-08 Alan Modra <amodra@gmail.com>
386
387 PR 11107
388 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
9dda37c1 389
43ecc30f 390For older changes see ChangeLog-2009
252b5132
RH
391\f
392Local Variables:
393mode: change-log
394left-margin: 8
395fill-column: 74
396version-control: never
397End:
This page took 0.624596 seconds and 4 git commands to generate.