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