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