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