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