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