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