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