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