* emulparams/elf32_sparc.sh: Set NOP to 0x01000000
[binutils-gdb.git] / ld / ChangeLog
1 2010-09-20 David S. Miller <davem@davemloft.net>
2
3 * emulparams/elf32_sparc.sh: Set NOP to 0x01000000
4
5 2010-09-16 Alan Modra <amodra@gmail.com>
6
7 * ld.texinfo (NOLOAD): Do not erroneously state that contents will
8 appear in output file.
9 * ldlang.c (lang_add_section): Clear SEC_HAS_CONTENTS on noload
10 unless SEC_COFF_SHARED_LIBRARY.
11 (map_input_to_output_sections): Don't set SEC_HAS_CONTENTS for noload
12 output sections.
13 (lang_size_sections_1): Don't test SEC_NEVER_LOAD when deciding
14 to update dot in region. Ditto when setting SEC_ALLOC if dot
15 advanced due to assignment.
16 * ldwrite.c (build_link_order): Don't test SEC_NEVER_LOAD.
17
18 2010-09-15 Kai Tietz <kai.tietz@onevision.com>
19
20 * scripttempl/pep.sc: Add .xdata segment and
21 put into .pdata all segments beginning with .pdata.
22
23 2010-09-10 Alan Modra <amodra@gmail.com>
24
25 PR ld/11931
26 * ldlang.h (lang_for_each_statement_worker): Declare.
27 * ldlang.c (lang_for_each_statement_worker): Make global. Don't
28 recurse into children of output_section_statement with constraint
29 set to -1.
30 (print_assignment): Handle NULL output_section->bfd_section.
31 (lang_size_sections_1): Ignore output section statement address
32 when constraint is -1.
33 * emultempl/xtensaelf.em (lang_for_each_statement_worker): Delete.
34
35 2010-09-09 Tristan Gingold <gingold@adacore.com>
36
37 * NEWS: Add a entry for alpha-vms.
38
39 2010-09-07 Andrew Burgess <aburgess@broadcom.com>
40
41 * ldwrite.c (clone_section): Call bfd_copy_private_section_data on
42 newly cloned section.
43
44 2010-09-02 Richard Henderson <rth@redhat.com>
45
46 * configure.tgt (x86_64-*-mingw*): Add 32-bit pe emulations too.
47
48 2010-08-31 Nick Clifton <nickc@redhat.com>
49
50 * ldlex.l (WILDCHAR): Add the caret and exclamation point
51 characters, so that they can be used inside globs.
52
53 2010-08-31 Nick Clifton <nickc@redhat.com>
54
55 * ld.texinfo (MEMORY): Clarify the behaviour of the ! character in
56 a region's attributes.
57
58 2010-08-31 Alan Modra <amodra@gmail.com>
59
60 * scripttempl/mmo.sc: Move assignment to "Main" inside .text
61 output section statement.
62
63 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
64
65 PR ld/11946
66 * emultempl/elf32.em (_before_allocation): Check audit entry
67 only on ELF input.
68
69 2010-08-22 H.J. Lu <hongjiu.lu@intel.com>
70
71 PR ld/11937
72 * emultempl/elf32.em (_after_open): Find one .eh_frame section
73 for --eh-frame-hdr.
74
75 2010-08-22 H.J. Lu <hongjiu.lu@intel.com>
76
77 PR ld/11937
78 * emultempl/elf32.em (_after_open): Find an ELF input for
79 --build-id and --eh-frame-hdr.
80
81 2010-08-20 Maciej W. Rozycki <macro@codesourcery.com>
82
83 * Makefile.am (eshlelf_fd.c): Correct the name of the tool
84 directory.
85 * Makefile.in: Regenerate.
86
87 2010-08-20 Nick Clifton <nickc@redhat.com>
88
89 * emultempl/elf32.em (_after_open): Check for get_elf_backend_data
90 returning NULL.
91
92 2010-08-19 Alan Modra <amodra@gmail.com>
93
94 * NEWS: Mention change in linker script expression evaluation.
95
96 2010-08-19 Alan Modra <amodra@gmail.com>
97
98 * ld.texinfo (Expression Section): Detail expression evaluation.
99 (Builtin Functions <ADDR>): Correct.
100 (Builtin Functions <LOADADDR>): Don't mention LOADADDR normally
101 the same as ADDR.
102 (Builtin Functions <SEGMENT_START>): Typo fix.
103 * ldexp.c (new_number): New function.
104 (make_abs, exp_get_abs_int): Cope with NULL expld.result.section.
105 (fold_unary <'~', '!', '-'>): Don't make_abs.
106 (fold_binary): Simplify result section logic. Return NULL section
107 for logical ops.
108 (fold_binary <SEGMENT_START>): Use new_rel_from_abs to set value to
109 a consistent result.
110 (fold_name <SIZEOF_HEADERS>): Return new_number, not new_abs.
111 (fold_name <DEFINED, SIZEOF, ALIGNOF, LENGTH, CONSTANT>): Likewise.
112 (fold_name <NAME>): No need to handle absolute symbols differently
113 from relative ones.
114 (fold_name <ORIGIN>): Don't return valid result when
115 lang_first_phase_enum. Return new_rel_from_abs, not new_abs.
116 (exp_fold_tree_1 <etree_value>): Return new_number, not new_rel.
117 (exp_fold_tree_1): Ajust for NULL expld.result.section. When assigning
118 a plain number to dot, assume the value is relative to expld.section.
119 Make terms not in an output section, absolute.
120 * ldlang.c (print_assignment): Fix style nit.
121 (lang_size_sections_1): Cope with NULL expld.result.section.
122 (lang_do_assignments_1): Likewise.
123
124 2010-08-12 Alan Modra <amodra@gmail.com>
125
126 * ldexp.c (new_rel): Remove "str". Update all call sites.
127 (exp_fold_tree_1): When assigning to dot, calculate nextdot
128 using expld.result.section rather than expld.section.
129
130 2010-08-06 Alan Modra <amodra@gmail.com>
131
132 PR ld/11887
133 * ldlang.c (lang_add_vers_depend): Don't leave version_needed
134 uninitialised.
135
136 2010-07-28 Alan Modra <amodra@gmail.com>
137
138 * ldexp.c (exp_print_tree): Print function-like binary nodes as
139 functions rather than in-fix operators. Use fputs and fputc
140 where appropriate.
141
142 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
143 Ina Pandit <ina.pandit@kpitcummins.com>
144
145 * configure.tgt: Match all v850 targets.
146
147 2010-07-20 Mike Frysinger <vapier@gentoo.org>
148
149 * ld.texinfo (VERSION): Remove "int" from example script and add ";".
150 Declare the default language as C.
151
152 2010-07-17 Alan Modra <amodra@gmail.com>
153
154 * ldlang.c (lang_check_section_addresses): Catch overlap for
155 sections that wrap around the address space.
156
157 2010-06-29 Nick Clifton <nickc@redhat.com>
158
159 * scripttempl/xstormy16.sc (.gcc_except_table): Include sections
160 with the .gcc_except_table. prefix.
161
162 2010-06-29 Alan Modra <amodra@gmail.com>
163
164 * emulparams/maxqcoff.sh: Delete file.
165 * scripttempl/maxqcoff.sc: Delete file.
166 * Makefile.am: Remove references to maxq.
167 * configure.tgt: Likewise.
168 * Makefile.in: Regenerate.
169 * configure: Regenerate.
170 * po/POTFILES.in: Regenerate.
171
172 2010-06-27 Alan Modra <amodra@gmail.com>
173
174 * pe-dll.c (fill_edata): Avoid set but unused warning.
175 (pe_walk_relocs_of_symbol): Delete set but unused variables.
176 (generate_reloc, pe_implied_import_dll): Likewise.
177 * emultempl/aix.em (open_dynamic_archive): Likewise.
178 * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Likewise.
179 (xtensa_layout_wild): Likewise.
180 (xtensa_colocate_output_literals_callback): Likewise.
181
182 2010-06-25 Alan Modra <amodra@gmail.com>
183
184 * emultempl/ppc64elf.em (prelim_size_sections): New function.
185 (ppc_before_allocation): Use it. Size sections before toc edit too.
186
187 2010-06-25 Alan Modra <amodra@gmail.com>
188
189 * emultempl/elf32.em (find_exp_assignment): Handle etree_provided.
190
191 2010-06-20 Danny Smith <dannysmith@users.sourceforge.net>
192
193 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Make
194 auto-import and merge-rdata defaults same for i[3-7]86 and
195 x86_64 mingw.
196
197 2010-06-15 Joseph Myers <joseph@codesourcery.com>
198
199 * emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Define.
200
201 2010-06-09 Dave Korn <dave.korn.cygwin@gmail.com>
202
203 PR ld/11603
204 * pe-dll.c (process_def_file_and_drectve): Reorder check for
205 forwarded export name after check for ordinary export.
206
207 2010-06-08 Bernd Schmidt <bernds@codesourcery.com>
208
209 * emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New.
210
211 2010-06-08 Nick Clifton <nickc@redhat.com>
212
213 * fdl.texi: Replace with v1.3 text.
214 * ld.texinfo: Replace abbreviated 20th century year numbers with
215 full versions.
216 * ldint.texinfo: Likewise.
217 Relicense under GFDL v1.3. Replace text of v1.1 FDL with an
218 include of the fdl.texi file.
219
220 2010-06-01 Tristan Gingold <gingold@adacore.com>
221
222 * scripttempl/alphavms.sc: Add comments. Move $LINK$ to the
223 readonly output-section. Handle LIB$INITIALIZE and sections
224 created by gcc.
225 * emultempl/vms.em (vms_place_orphan): Add comments.
226
227 2010-05-28 Nick Clifton <nickc@redhat.com>
228
229 * Makefile.am (eshlelf_fd.c): Fix typo in rule.
230 * Makefile.in: Regenerate.
231
232 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
233
234 PR ld/11628
235 * ldexp.c (fold_binary): Warn if value of SEGMENT_START isn't
236 multiple of maximum page size.
237
238 2010-05-25 Nick Clifton <nickc@redhat.com>
239
240 * Makefile.am: Fix typo.
241 * Makefile.in: Regenerate.
242
243 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
244 Joseph Myers <joseph@codesourcery.com>
245 Andrew Stubbs <ams@codesourcery.com>
246
247 * Makefile.am (ALL_EMULATIONS): Add eshelf_fd.o and eshlelf_fd.o.
248 (eshelf_fd.c, eshlelf_fd.c): New rules.
249 * Makefile.in: Regenerate.
250 * configure.tgt (sh-*-uclinux*): Add shelf_fd and shlelf_fd
251 emulations.
252 * emulparams/shelf_fd.sh: New file.
253 * emulparams/shlelf_fd.sh: New file.
254 * emulparams/shlelf_linux.sh: Update comment.
255
256 2010-05-25 Jay Krell <jay.krell@cornell.edu>
257
258 PR ld/11621
259 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
260 * Makefile.in: Regenerate.
261
262 2010-05-25 Kai Tietz <kai.tietz@onevision.com>
263
264 * deffilep.y (opt_name): Allow leading dot.
265 (dot_name): Likewise.
266 (anylang_id): Likewise.
267 * emultempl/pep.em (gld_${EMULATION_NAME}_before_parse): Enable by
268 default auto_import.
269 (gld${EMULATION_NAME}_handle_option): Warn about v1.
270 (pep_find_data_imports): Remove superflous warnings about
271 auto-import.
272 (gld_${EMULATION_NAME}_get_script): Don't merge for auto-import
273 and active pseudo-relocation-v2 rdata into data section.
274 * emultempl/pe.em (default_merge_rdata): New shell variable.
275 (MERGE_RDATA_V2): New macro.
276 (gld_${EMULATION_NAME}_get_script): Adjust rule for auto-import
277 selected script.
278
279 2010-05-15 Kai Tietz <kai.tietz@onevision.com>
280
281 * emultempl/pe.em (is_underscoring): New helper function.
282 (gld_${EMULATION_NAME}_before_parse): Replace code
283 for pe(p)_leading_underscore detection by is_underscoring.
284 (U): Likewise.
285 (GET_INIT_SYMBOL_NAME): Likewise.
286 (U_SIZE): Likewise.
287 (set_pe_name):
288 (set_entry_point):
289 (gld_${EMULATION_NAME}_set_symbols):
290 * emultempl/pep.em: Likewise.
291 * pe-dll.c (pe_detail_list): Set default
292 underscoring for x64 target.
293 (pe_dll_id_target): Add initialization of
294 pe(p)_leading_underscore.
295
296 2010-05-15 Dave Korn <dave.korn.cygwin@gmail.com>
297
298 * pe-dll.c: Removed trailing whitespaces.
299
300 2010-05-14 Alan Modra <amodra@gmail.com>
301
302 PR ld/11583
303 * ldexp.c (exp_fold_tree_1): If assignment source expression is
304 invalid, make the destination symbol undefined.
305
306 2010-05-11 Kai Tietz <kai.tietz@onevision.com>
307
308 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
309 Initialize pe(p)_leading_underscore variable.
310 (set_pe_name): Likewise.
311 * emultempl/pep.em: Likewise.
312 Additional change default to non-underscore for
313 pep_leading_underscore equal to -1.
314
315 2010-05-07 Tristan Gingold <gingold@adacore.com>
316
317 * Makefile.in: Regenerate with automake 1.11.1.
318 * aclocal.m4: Ditto.
319
320 2010-05-05 Nick Clifton <nickc@redhat.com>
321
322 * po/es.po: Updated Spanish translation.
323
324 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
325
326 * pe-dll.c (_nm_-symbols): Use always underscored variant
327 for symbols.
328 (__imp_-symbols): Likewise.
329 (___imp_-symbols): Likewise.
330 * NEWS: Mention ABI change for x64 PE-COFF.
331
332 2010-04-27 H.J. Lu <hongjiu.lu@intel.com>
333
334 * Makefile.am (install-exec-local): Properly install ld as
335 default cross linker.
336 * Makefile.in: Regenerated.
337
338 2010-04-27 H.J. Lu <hongjiu.lu@intel.com>
339 Nick Clifton <nickc@redhat.com>
340
341 * configure.in (install_as_default): Define and set to true
342 unless --enable-gold=both/gold has been specified.
343 * configure: Regenerate.
344
345 * Makefile.am (transform): Use ld.bfd as the default name of
346 the linker.
347 (install-exec-local): Also install the executable as a binary
348 named 'ld' if install_as_default is true.
349 * Makefile.in: Regenerate.
350
351 2010-04-22 Nick Clifton <nickc@redhat.com>
352
353 * po/ld.pot: Updated by the Translation project.
354 * po/vi.po: Updated Vietnamese translation.
355 * po/bg.po: Updated Bulgarian translation.
356
357 2010-04-15 Andrew Haley <aph@redhat.com>
358
359 * emultempl/armelf.em (merge_exidx_entries): New variable.
360 (OPTION_NO_MERGE_EXIDX_ENTRIES): New definition.
361 ("no-merge-exidx-entries"): New option.
362 * ld.texinfo (merge-exidx-entries): Document this option.
363
364 2010-04-14 Tristan Gingold <gingold@adacore.com>
365
366 * emulparams/alphavms.sh: New file.
367 * emultempl/vms.em: New file.
368 * scripttempl/alphavms.sc: New file.
369 * configure.tgt (alpha*-*-*vms*): Added.
370 * Makefile.am (ALL_EMULATIONS): Add ealphavms.o
371 (ealphavms.c): New target.
372 * Makefile.in: Regenerate.
373
374 2010-04-09 Nick Clifton <nickc@redhat.com>
375
376 * ldlang.c (wild_sort): Remove unused variable section_name.
377
378 2010-04-07 Alan Modra <amodra@gmail.com>
379
380 * configure: Regenerate.
381
382 2010-04-06 H.J. Lu <hongjiu.lu@intel.com>
383
384 PR ld/11434
385 * ld/testsuite/ld-x86-64/unique1.d: New.
386 * ld/testsuite/ld-x86-64/unique1.s: Likewise.
387
388 * ld-x86-64/x86-64.exp: Run unique1.
389
390 2010-04-05 Kai Tietz <kai.tietz@onevision.com>
391
392 * emultempl/pep.em (U): Macro modified.
393 (U_SIZE): New helper macro.
394 (GET_INIT_SYMBOL_NAME): Likewise.
395 (enum options): Add OPTION_NO_LEADING_UNDERSCORE
396 and OPTION_LEADING_UNDERSCORE enumerator-values.
397 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
398 option.
399 (definfo): Add new member is_c_symbol.
400 (D): Add to macro underscore mode parameter.
401 (init): Add definition for is_c_symbol.
402 (gld_${EMULATION_NAME}_list_options): Display new options.
403 (set_pep_name): Adjust underscoring dependent fixed
404 symbol handling.
405 (gld_${EMULATION_NAME}_set_symbols): Likewise.
406 (saw_option): Likewise.
407 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
408 (set_entry_point): Initial initial_symbol_char dependent to
409 target's default and new option flag pep_leading_underscore.
410 * emultempl/pe.em (U): Macro modified.
411 (U_SIZE): New helper macro.
412 (GET_INIT_SYMBOL_NAME): Likewise.
413 (OPTION_LEADING_UNDERSCORE): Add new option define.
414 (OPTION_NO_LEADING_UNDERSCORE): Likewise.
415 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
416 option.
417 (definfo): Add new member is_c_symbol.
418 (D): Add to macro underscore mode parameter.
419 (init): Add definition for is_c_symbol.
420 (gld_${EMULATION_NAME}_list_options): Display new options.
421 (set_pep_name): Adjust underscoring dependent fixed
422 symbol handling.
423 (gld_${EMULATION_NAME}_set_symbols): Likewise.
424 (saw_option): Likewise.
425 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
426 (set_entry_point): Initial initial_symbol_char dependent to
427 target's default and new option flag pep_leading_underscore.
428 * pe-dll.c (pe_leading_underscore): New flag variable.
429 (pe_detail_list): Remove const to allow modify of
430 member underscore.
431 (pe_dll_id_target): Initialize pe_details' underscore variable
432 dependent to target's default and flag pe_leading_underscore.
433 * pe-dll.h (pe_leading_underscore): Add extern declaration of
434 option flag.
435 * pep-dll.c (pe_leading_underscore): Add alias define for
436 pep_leading_underscore.
437 * pep-dll.h (pep_leading_underscore) Add extern declaration of
438 option flag.
439 * ld.texinfo: Add documentation for --(no-)leading-underscore
440 option.
441
442 2010-03-26 Alan Modra <amodra@gmail.com>
443
444 PR ld/11426
445 * configure.host (many linux targets <HOSTING_CRT0>): Remove edits.
446 (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo.
447
448 2010-03-25 Joseph Myers <joseph@codesourcery.com>
449
450 * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
451 eelf32_tic6x_le.o.
452 (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
453 * NEWS: Add news entry for TI C6X support.
454 * configure.tgt (tic6x-*-*): New.
455 * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.
456
457 2010-03-23 Joseph Myers <joseph@codesourcery.com>
458
459 * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME,
460 BSS_NAME): Define if not already defined. Use in place of some
461 hardcoded section names.
462
463 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
464
465 * scripttempl/elf.sc (INIT_ARRAY): Re-indent.
466
467 2010-03-18 Aymeric Vincent <vincent@labri.fr>
468
469 PR ld/11384
470 * emultempl/sh64elf.em: Add missing EOF.
471
472 2010-03-18 Doug Semler <dougsemler@gmail.com>
473
474 * pe-dll.c (make_one): Make text section readonly.
475 (make_one): Add *ABS* symbol @feat.00 with value 1 to tag
476 the jump stub on X86 as /SAFESEH compatible for
477 native toolchains.
478
479 2010-03-17 Alan Modra <amodra@gmail.com>
480
481 * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from
482 *prev instead. Update all callers.
483
484 2010-03-15 Daniel Jacobowitz <dan@codesourcery.com>
485
486 * ldlang.c (lang_insert_orphan): Place loadable orphans in the same
487 region and phdrs as their placement section.
488
489 2010-03-15 Alan Modra <amodra@gmail.com>
490
491 * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New.
492 (ppc_before_allocation): Call sort_toc_sections.
493 (no_toc_sort, OPTION_NO_TOC_SORT): New.
494 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
495 PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort.
496
497 2010-03-14 Alan Modra <amodra@gmail.com>
498
499 PR ld/11378
500 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
501 ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
502
503 2010-03-11 George Gensure <werkt0@gmail.com>
504
505 PR ld/11367
506 * ldcref.c (handle_asneeded_cref): Correct copying of refs.
507
508 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
509
510 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
511 eelf_i386_sol2.o.
512 (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
513 (eelf32_sparc_sol2.c): New rule.
514 (eelf64_sparc_sol2.c): Likewise.
515 (eelf_x86_64_sol2.c): Likewise.
516 (eelf_i386_sol2.c): Likewise.
517 * Makefile.in: Regenerate.
518 * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
519 elf_i386_sol2.
520 Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
521 (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
522 Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
523 (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
524 Add target_extra_emuls.
525 (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
526 Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
527 (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
528 Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
529 * emulparams/elf32_sparc_sol2.sh: New file.
530 * emulparams/elf64_sparc_sol2.sh: New file.
531 * emulparams/elf_i386_sol2.sh: New file.
532 * emulparams/elf_x86_64_sol2.sh: New file.
533 * emultempl/solaris2.em: New file.
534
535 2010-02-27 H.J. Lu <hongjiu.lu@intel.com>
536
537 PR ld/11330
538 * ld.texinfo: Replace explicitely with explicitly.
539
540 2010-02-27 Jie Zhang <jie@codesourcery.com>
541
542 * scripttempl/armbpabi.sc: Don't combine .init_array.* or
543 .fini_array.* when do relocatable linking.
544 * scripttempl/elf.sc: Likewise.
545 * scripttempl/elf32sh-symbian.sc: Likewise.
546 * scripttempl/elf64hppa.sc: Likewise.
547 * scripttempl/elfxtensa.sc: Likewise.
548
549 2010-02-26 Alan Modra <amodra@gmail.com>
550
551 * scripttempl/elf.sc (.fini_array): Place input .fini_array after
552 .fini_array.*.
553 * scripttempl/armbpabi.sc: Likewise.
554 * scripttempl/elf32sh-symbian.sc: Likewise.
555 * scripttempl/elf64hppa.sc: Likewise.
556 * scripttempl/elfxtensa.sc: Likewise.
557
558 2010-02-25 Alan Modra <amodra@gmail.com>
559
560 PR ld/11304
561 * ldlang.c (init_os): Remove isec param. Don't check for
562 bfd_section already set or call bfd_init_private_section_data
563 here.
564 (exp_init_os): Update init_os call.
565 (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE
566 flags. Call bfd_init_private_section_data here.
567 (map_input_to_output_sections): Tidy. Update init_os calls.
568 Use os->sectype to select sec flags for lang_data_statement.
569
570 2010-02-23 Alan Modra <amodra@gmail.com>
571
572 PR ld/11304
573 * ldlang.c: Revert last patch.
574
575 2010-02-23 Nick Clifton <nickc@redhat.com>
576
577 * po/bg.po: Updated Bulgarian translation.
578
579 2010-02-22 Alan Modra <amodra@gmail.com>
580
581 PR ld/11304
582 * ldlang.c (exp_init_os): Delete forward declaration.
583 (init_os): Don't check for bfd_section already created and don't
584 init addr_tree and load_base expressions here.
585 (map_input_to_output_sections): Only map input to output sections
586 and set constraints here, and as an exception, create output
587 sections which have their address set. Move all the other code to..
588 (create_other_output_sections): ..here. New function. Handle init
589 of addr_tree and load_base here too.
590 (lang_process): Call create_other_output_sections.
591
592 2010-02-19 Alan Modra <amodra@gmail.com>
593
594 * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
595 * Makefile.in: Regenerate.
596
597 2010-02-19 Alan Modra <amodra@gmail.com>
598
599 * ldlang.c (unique_section_p): Add os param. Allow group
600 sections to match /DISCARD/. Update all callers.
601 * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
602 (LDEMUL_BEFORE_ALLOCATION): Define.
603
604 2010-02-15 Nick Clifton <nickc@redhat.com>
605
606 * po/vi.po: Updated Vietnamese translation.
607
608 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
609
610 * Makefile.am (CFILES): Add ldlex-wrapper.c.
611 (OFILES): Replace ldlex.c with ldlex-wrapper.c.
612 (ldlex.o): Replace with...
613 (ldlex-wrapper.o): ...this new rule.
614 (EXTRA_ld_new_SOURCES): Add ldlex.l.
615 (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
616 * Makefile.in: Regenerate.
617 * ldlex.l (sysdep.h): Don't include here.
618 * ldlex-wrapper.c: New file.
619
620 2010-02-09 Alan Modra <amodra@gmail.com>
621
622 * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
623 function parameters.
624
625 2010-02-05 Nick Clifton <nickc@redhat.com>
626
627 * configure.in (ALL_LIBGUAS): Add bg.
628 * configure: Regenerate.
629 * po/bg.po: New Bulgarian translation.
630
631 2010-02-05 Ryan Mansfield <rmansfield@qnx.com>
632
633 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
634 --target1-abs and --target1-rel options.
635
636 2010-02-03 Nick Clifton <nickc@redhat.com>
637
638 * emultempl/alphaelf.em: Update value expected from elf_object_id.
639 * emultempl/hppaelf.em: Likewise.
640 * emultempl/mipself.em: Likewise.
641 * emultempl/ppc32elf.em: Likewise.
642 * emultempl/ppc64elf.em: Likewise.
643
644 2010-02-03 Alan Modra <amodra@gmail.com>
645
646 * emultempl/ppc64elf.em (build_toc_list): Report errors from
647 ppc64_elf_next_toc_section.
648 (after_allocation): Update for changed function names and params.
649 Run second pass of multitoc partitioning.
650
651 2010-01-21 Jon Grant <jg@jguk.org>
652 Nick Clifton <nickc@redhat.com>
653
654 PR 4437
655 * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
656 a missing file or library. Instead mark the entry as missing and
657 set the global flag to indicate that missing files were
658 encountered.
659 * ldlang.c (missing_files): New exported variable.
660 (load_symbols): Skip loading if the file is missing.
661 (open_input_bfds): Terminate link if any input files were
662 missing.
663 * ldlang.h (struct lang_input_statement_struct): Add missing_file
664 field.
665 Add export of missing_file variable.
666
667 2010-01-13 DJ Delorie <dj@redhat.com>
668
669 * emultempl/elf32.em (_place_orphan): If an input section doesn't
670 match an existing output section, but an unused output section
671 statement does match, use it.
672 * emultempl/pe.em (_place_orphan): Likewise.
673 * emultempl/pep.em (_place_orphan): Likewise.
674
675 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
676
677 * configure: Regenerate.
678 * Makefile.in: Regenerate.
679
680 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
681
682 * ldver.c (ldversion): Change to "Copyright 2010".
683
684 2010-01-08 Alan Modra <amodra@gmail.com>
685
686 PR 11107
687 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
688
689 For older changes see ChangeLog-2009
690 \f
691 Local Variables:
692 mode: change-log
693 left-margin: 8
694 fill-column: 74
695 version-control: never
696 End: