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