1 2005-07-18 Nick Clifton <nickc@redhat.com>
3 * configure.tgt: Restore alpha ordering to list of arches.
5 2005-07-16 Alan Modra <amodra@bigpond.net.au>
7 * emultempl/elf32.em (gld*_provide_init_fini_syms): Prototype.
8 (gld*_before_allocation): Call ldemul_do_assignments rather than
9 gld*_provide_init_fini_syms directly.
10 * emultempl/ppc32elf.em (gld*_after_allocation): Delete.
11 (ppc_do_assignments): New function.
12 (LDEMUL_AFTER_ALLOCATION): Don't define.
13 (LDEMUL_DO_ASSIGNMENTS): Define.
15 2005-07-16 Alan Modra <amodra@bigpond.net.au>
17 * Makefile.am: Run "make dep-am".
18 (emipsidt.c, emipsidtl.c): Depend on generic.em.
19 * Makefile.in: Regenerate.
21 2005-07-15 Alan Modra <amodra@bigpond.net.au>
23 * ldemul.c (ldemul_do_assignments): New function.
24 (do_assignments_default): New function.
25 * ldemul.h (ldemul_do_assignments): Declare.
26 (do_assignments_default): Declare.
27 (struct ld_emulation_xfer_struct): Add do_assignments.
28 * ldlang.c (lang_do_assignments) Call ldemul_do_assignments.
29 * emultempl/aix.em (ld_*_emulation): Init do_assignments field.
30 * emultempl/armcoff.em: Likewise.
31 * emultempl/beos.em: Likewise.
32 * emultempl/generic.em: Likewise.
33 * emultempl/gld960.em: Likewise.
34 * emultempl/gld960c.em: Likewise.
35 * emultempl/linux.em: Likewise.
36 * emultempl/lnk960.em: Likewise.
37 * emultempl/m68kcoff.em: Likewise.
38 * emultempl/pe.em: Likewise.
39 * emultempl/sunos.em: Likewise.
40 * emultempl/ticoff.em: Likewise.
41 * emultempl/vanilla.em: Likewise.
42 * emultempl/elf32.em: Likewise, to call gld*_provide_init_fini_syms.
43 (gld*_find_exp_assignment): Adjust bfd_elf_record_link_assignment call.
45 2005-07-14 Jim Blandy <jimb@redhat.com>
47 Add support for the Renesas M32C and M16C.
48 * Makefile.am (ALL_EMULATIONS): Add eelf32m32c.o.
49 (eelf32m32c.c): New target.
50 * Makefile.in: Regenerated.
51 * configure.tgt: Add case for m32c-*-elf.
52 * emulparams/elf32m32c.sh: New file.
54 2005-07-14 Alan Modra <amodra@bigpond.net.au>
56 * ldlang.c (strip_excluded_output_sections): Don't call
58 * emultempl/elf32.em (gld*_provide_bound_symbols): Move.
59 (gld*_provide_init_fini_syms): Move.
60 (gld*_before_allocation): Call the above from here..
61 (gld*_finish): ..not here. Call _bfd_elf_fix_excluded_sec_syms.
62 * emultempl/hppaelf.em (hppaelf_finish): Likewise.
63 * emultempl/ppc64elf.em (ppc_finish): Likewise.
65 2005-07-10 Ralf Corsepius <ralf.corsepius@rtems.org>
67 * configure.tgt: Remove sparc*-*-rtemsaout*, i[3-7]86-go32-rtems*,
68 i[3-7]86-*-rtemscoff*, hppa*-*-rtems*, mips*el-*-rtems*,
71 2005-07-09 Christopher Faylor <cgf@timesys.com>
73 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Enable runtime
74 relocation by default.
75 (compute_dll_image_base): Avoid linking into cygwin dll address space.
77 2005-07-08 Alan Modra <amodra@bigpond.net.au>
79 * ldlang.c (wild_sort): Formatting.
80 (strip_excluded_output_sections): Strip zero size sections here.
81 * emultempl/elf32.em (gld*_strip_empty_sections): Delete.
82 (gld*_finish): Don't call the above.
83 * emultempl/hppaelf.em (hppaelf_finish): Likewise.
84 * emultempl/ppc64elf.em (ppc_finish): Likewise.
86 2005-07-05 Paul Brook <paul@codesourcery.com>
88 * Makefile.am (ALL_EMULATIONS): Add eelf32ppcvxworks.o.
89 (eelf32ppcvxworks.o): Add dependencies.
90 * Makefile.in: Regenerate.
91 * configure.tgt: Add entry for powerpc-vxworks.
92 * emulparams/elf32-ppc.c: Mention elf32ppcvxworks.sh in comment.
93 * emulparams/elf32ppcvxworks.sh: New file.
94 * emultempl/ppc32elf.em (bfd_elf32_powerpc_vxworks_vec): Declare.
95 (is_ppc_elf32_vec): New function.
96 (ppc_after_open, ppc_before_allocation,
97 gld${EMULATION_NAME}_after_allocation): Use it.
99 2005-07-05 Peter S. Mazinger" <ps.m@gmx.net>
101 * emulparams/elf32bmip.sh (GENERATE_PIE_SCRIPT): Define as "yes".
102 * emulparams/elf32bmipn32-defs.sh (GENERATE_PIE_SCRIPT): Define as "yes".
104 2005-07-04 Mike Frysinger <vapier@gentoo.org>
106 * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Fix typo in
109 2005-07-04 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
111 * emulparams/m32relf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
113 2005-07-04 Aurelien Jarno <aurel32@debian.org>
115 * emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*.
117 2005-07-01 Alan Modra <amodra@bigpond.net.au>
119 * scripttempl/elf.sc (.gcc_except_table): Don't KEEP.
121 2005-06-30 Ben Elliston <bje@gnu.org>
123 * Makefile.am (check-DEJAGNU): Don't search for expect.
124 * Makefile.in: Regenerate.
126 2005-06-30 Ben Elliston <bje@gnu.org>
128 * Makefile.am (EXPECT): Set to expect.
129 (RUNTEST): Likewise, set to runtest.
130 * Makefile.in: Regenerate.
132 2005-06-16 Alexander Klimov <alserkli@inbox.ru>
134 * emultempl/armelf.em: Add quotes to avoid a null test
137 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
139 * ld.texinfo (Command Line Options): Add @item for --hash-size.
141 2005-06-10 Alan Modra <amodra@bigpond.net.au>
143 * scripttempt/elf.sc (.bss): Align tail in a way that allows
144 empty section pruning.
146 2005-06-09 Steve Ellcey <sje@cup.hp.com>
148 * configure.in (AM_BINUTILS_WARNINGS): Add.
149 (BFD_NEED_DECLARATION) Replace with AC_CHECK_DECLS.
150 * config.in: Regenerate.
151 * configure: Regenerate.
152 * sysdep.h (NEED_DECLARATION_*): Replace with HAVE_DECL_*
155 2005-06-09 Alan Modra <amodra@bigpond.net.au>
157 * ldexp.c (fold_unary <ALIGN_K>): Revert last change.
159 2005-06-09 Alan Modra <amodra@bigpond.net.au>
161 * ld.h (lang_phase_type): Move to..
162 * ldexp.h: ..here. Add lang_mark_phase_enum.
163 (node_type): Remove etree_undef and etree_unspec.
164 (exp_data_seg): Delete.
165 (struct ldexp_control, expld): New.
166 (invalid, exp_mark_used_section): Delete.
167 (exp_fold_tree, exp_get_vma, exp_get_value_int, exp_get_fill,
168 exp_get_abs_int): Update prototypes.
169 * ldexp.c (assigning_to_dot): Delete.
171 (make_abs): Operate directly on expld.result. Update all callers.
172 (new_abs): Likewise. Return void.
173 (new_rel_from_abs): Rename from new_rel_from_section.
174 (new_rel, new_rel_from_abs): Operate on expld.result and return void.
176 (fold_unary): Operate on expld.result and return void. Remove
177 "current_section", "allocation_done", "dot", "dotp" and "mark_used"
178 params. Update all callers.
179 (fold_binary, fold_trinary, fold_name, exp_fold_tree_1): Likewise.
180 (fold_unary <ALIGN_K>): Ensure alignment is absolute.
181 (fold_unary <ABSOLUTE>): Use make_abs.
182 (fold_unary <DATA_SEGMENT_END>): Evaluate mark_phase as for
184 (fold_binary <DATA_SEGMENT_ALIGN, DATA_SEGMENT_RELRO_END, >): Ditto.
185 (fold_binary <'%','/'>): Don't error if marking.
186 (fold_name <SIZEOF_HEADERS>): Don't call bfd_sizeof_headers when
188 (fold_name <NAME>): Remove FIXME; -R is handled correctly. Don't
190 (fold_name <ADDR, LOADADDR, SIZEOF>): Don't set SEC_KEEP.
191 (exp_fold_tree_1): Don't error when marking.
192 (exp_fold_tree_1 <etree_rel>): Evaluate in all phases except first.
193 (exp_fold_tree_1 <etree_assign to dot>): Don't check for NULL
194 current section, instead check for NULL dotp.
195 (exp_fold_tree_1 <etree_provide>): Don't evaluate the assignment
196 source unless the symbol is referenced and undefined.
197 (exp_fold_tree): Remove "allocation_done" and "dot" params. Save
199 (exp_fold_tree_no_dot): Remove "current_section", "allocation_done
200 and "mark_used" params. Save params to expld. Update all callers.
201 (exp_assop): Do without temp var.
202 (exp_print_tree <etree_undef>): Delete code.
203 (exp_get_vma): Remove "allocation_done" param. Correct error return.
204 (exp_get_fill, exp_get_abs_int): Likewise.
205 (exp_get_value_int): Remove "allocation_done" param.
206 (exp_mark_used_section): Delete.
207 * ldgram.y (fill_exp): Update exp_get_fill call.
208 (origin_spec, length_spec): Update exp_get_vma call.
209 * ldlang.c (lang_init): Don't bother clearing lang_statement_iteration.
210 (lang_mark_used_section_1, lang_mark_used_section): Delete.
211 (strip_excluded_output_sections): Call one_lang_size_sections_pass in
212 marking mode. Merge old lang_mark_used_section code. Correct handling
213 of output sections with excluded input sections and data statements.
214 Don't drop non-zero sized sections. Don't zap os->bfd_section.
215 Do set SEC_EXCLUDE when appropriate.
216 (print_output_section_statement): Update for changed ldexp.c
218 (print_assignment, lang_size_sections_1): Likewise.
219 (lang_do_assignments_1, lang_enter_output_section_statement): Likewise.
220 (lang_new_phdr, lang_record_phdrs): Likewise.
221 (lang_size_sections): Likewise.
222 (insert_pad): Use following statement if it is a pad, rather than
224 (lang_size_sections_1 <lang_output_section_statement_enum>): Do
225 process ignored output section to set vma and lma, but don't
226 update dot for these sections. Don't error if marking.
227 (lang_size_sections_1 <lang_assignment_statement_enum>): Don't
228 update dot for ignored sections.
229 (lang_size_sections_1 <lang_data_statement_enum>): Don't mark absolute
230 section with SEC_ALLOC.
231 (one_lang_size_sections_pass): New function.
232 (lang_size_sections): Remove first five params. Set expld.phase on
233 entry and exit. Use one_lang_size_sections_pass.
234 (lang_do_assignments): Remove all params. Update all callers.
235 (lang_reset_memory_regions): Clear os->processed for all output
237 * ldlang.h (lang_do_assignments): Update prototype.
238 (lang_size_sections): Likewise.
239 (one_lang_size_sections_pass): Declare.
240 * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update
241 lang_size_sections and lang_do_assignments calls.
242 * emultempl/elf32.em (layout_sections_again): Likewise.
243 * emultempl/ppc64elf.em (ppc_before_allocation): Use
244 one_lang_size_sections_pass.
246 2005-06-08 Aldy Hernandez <aldyh@redhat.com>
248 * emulparams/elf32ms1.sh: New.
250 2005-06-07 Eric Christopher <echristo@redhat.com>
252 * Makefile.am (eelf32ms1.c): Use tab.
253 * Makefile.in: Regenerate.
255 2005-06-07 Aldy Hernandez <aldyh@redhat.com>
256 Michael Snyder <msnyder@redhat.com>
257 Stan Cox <scox@redhat.com>
259 * configure.tgt: Same.
261 * Makefile.am (ALL_EMULATIONS): Depend on eelf32ms1.o.
262 (eelf32ms1.c): Add eelf32ms1.c rule.
264 * Makefile.in: Regenerate.
266 2005-06-06 Alan Modra <amodra@bigpond.net.au>
268 * emultempl/ppc64elf.em (ppc_before_allocation): Always run
271 2005-06-05 H.J. Lu <hongjiu.lu@intel.com>
273 * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current
274 section only if the symbol will be defined.
276 2005-06-04 H.J. Lu <hongjiu.lu@intel.com>
279 * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current
280 section for etree_assign, etree_provide and etree_provided.
281 Call fold_binary on etree_binary.
283 * ldlang.c (lang_mark_used_section_1): Handle load base.
285 2005-06-03 Alan Modra <amodra@bigpond.net.au>
287 * ldmain.c (link_callbacks): Add einfo.
288 (add_archive_element): Use passed info, not link_info.
289 (constructor_callback): Likewise.
290 (reloc_overflow): Don't handle null bfd specially.
291 (reloc_dangerous, unattached_reloc): Likewise.
292 * ldmisc.c (vfinfo <B>): Print "ld generated" for null bfd.
293 (vfinfo <C, D, G>): Handle null bfd. Wrap comments.
295 2005-06-02 Alan Modra <amodra@bigpond.net.au>
297 * ldexp.h (etree_value_type): Use "asection *" in place of
298 "struct lang_output_section_statement_struct *" for "section".
299 (exp_fold_tree): Likewise.
300 (exp_mark_used_section): Likewise.
301 * ldexp.c (new_rel, new_rel_from_section, fold_unary, fold_binary,
302 fold_trinary, fold_name, exp_fold_tree_1, exp_fold_tree,
303 exp_mark_used_section): Likewise for "current_section" param.
304 (make_abs, new_abs, exp_binop, exp_unop, exp_get_vma, exp_get_fill,
305 exp_get_abs_int): Adjust for above changes.
306 * ldlang.c (lang_mark_used_section_1, print_assignment,
307 lang_size_sections_1, lang_do_assignments_1): Likewise.
308 * ldexp.c (fold_name): Init entire result struct.
310 2005-06-01 Maciej W. Rozycki <macro@linux-mips.org>
312 * emulparams/elf32btsmip.sh: Unset DATA_ADDR.
314 2005-05-31 Zack Weinberg <zack@codesourcery.com>
316 * ldlang.c (entry_symbol_default): New file-scope global.
317 (lang_finish): Use it, not a hardwired "start".
318 (lang_default_entry): Set it.
319 * ldlang.h: Declare lang_default_entry.
320 * emultempl/beos.em, emultempl/pe.em: Use lang_default_entry,
321 not lang_add_entry, to override default entry point symbol.
323 2005-05-29 Richard Henderson <rth@redhat.com>
325 * emulparams/elf64alpha.sh (PLT): New.
327 * emultempl/alphaelf.em (disable_relaxation): New.
328 (limit_32bit): Rename from elf64alpha_32bit; update all users.
329 (elf64_alpha_use_secureplt): Declare.
330 (bfd_elf64_alpha_vec, bfd_elf64_alpha_freebsd_vec): Declare.
331 (alpha_after_open): New.
332 (alpha_before_allocation): New.
333 (OPTION_NO_RELAX, OPTION_SECUREPLT, OPTION_NO_SECUREPLT): New.
334 (PARSE_AND_LIST_LONGOPTS): Include them.
335 (PARSE_AND_LIST_OPTIONS): Likewise.
336 (PARSE_AND_LIST_ARGS_CASES): Likewise.
337 (LDEMUL_AFTER_OPEN, LDEMUL_BEFORE_ALLOCATION): New.
338 * scripttempl/elf.sc (TEXT_PLT): New.
341 2005-05-27 Andreas Schwab <schwab@suse.de>
343 * configure.host (HOSTING_LIBS): Add libunwind.a if it exists.
345 2005-05-24 Alan Modra <amodra@bigpond.net.au>
347 * emultempl/ppc32elf.em (after_allocation): Don't call
348 ppc_elf_set_sdata_syms when relocatable.
350 2005-05-21 H.J. Lu <hongjiu.lu@intel.com>
352 * Makefile.am (ld.1): Revert the last 2 changes.
353 (info-recursive): Depend on ld.1.
354 * Makefile.in: Regenerated.
356 2005-05-21 H.J. Lu <hongjiu.lu@intel.com>
358 * Makefile.am (ld.1): Depend on "info" instead of
359 "configdoc.texi ldver.texi".
360 * Makefile.in: Regenerated.
362 2005-05-21 H.J. Lu <hongjiu.lu@intel.com>
364 * Makefile.am (ld.1): Depend on "info".
365 * Makefile.in: Regenerated.
367 2005-05-19 Zack Weinberg <zack@codesourcery.com>
369 * Makefile.am: Have 'all' depend on 'info' and 'ld.1'.
370 * Makefile.in: Regenerate.
372 2005-05-17 Zack Weinberg <zack@codesourcery.com>
374 * ld-arm/mixed-app.d: Adjust expected disassembly a little.
376 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
378 * Makefile.am (ldver.texi): Don't use $<.
379 * Makefile.in: Regenerated.
381 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
383 * Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Explicitly include
384 $(srcdir) before $(BFDDIR)/doc.
385 * Makefile.in: Regenerated.
387 2005-05-17 H.J. Lu <hongjiu.lu@intel.com>
390 * ldexp.c (exp_fold_tree_1): Renamed from exp_fold_tree and
391 take take a bfd_boolean, mark_used. Ignore assert failure if
393 (exp_fold_tree) Call exp_fold_tree_1 with mark_used == FALSE.
394 (exp_fold_tree_no_dot): Updated to take a bfd_boolean,
395 mark_used and pass down.
396 (fold_unary): Likewise.
397 (fold_binary): Likewise.
398 (fold_trinary): Likewise.
399 (exp_binop): Add FALSE to call to exp_fold_tree_no_dot.
400 (exp_trinop): Likewise.
401 (exp_unop): Likewise.
402 (exp_nameop): Likewise.
403 (exp_get_vma): Likewise.
404 (exp_get_fill): Likewise.
405 (exp_get_abs_int): Likewise.
406 (fold_name): Likewise. Set SEC_KEEP in output section flags.
407 (exp_mark_used_section): New.
409 * ldexp.h (exp_mark_used_section): New.
411 * ldlang.c (lang_output_section_statement_lookup_1): Set the
412 ignored field to FALSE.
413 (lang_mark_used_section_1): New.
414 (lang_mark_used_section): Call lang_mark_used_section_1.
415 (strip_excluded_output_sections): Call lang_mark_used_section
416 and check for unused sections.
417 (lang_size_sections_1): Skip an output section if it should
419 (lang_do_assignments_1): Likewise.
420 (lang_process): Don't call lang_mark_used_section here.
422 * ldlang.h (lang_output_section_statement_type): Change
423 all_input_readonly to bitfield. Add ignored.
425 2005-05-17 Lennert Buytenhek <buytenh@wantstofly.org>
426 Peter S. Mazinger" <ps.m@gmx.net>
428 * emulparams/armelf_linux.sh (GENERATE_PIE_SCRIPT): Define as "yes".
429 * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Define as "yes".
431 2005-05-17 Julian Brown <julian@codesourcery.com>
433 * ldlang.c (print_assignment): Do not rely upon a valid result
434 having a section associated with it.
436 2005-05-17 Nick Clifton <nickc@redhat.com>
438 * ldlang.c (Scan_for_self_assignment): Check an assignment tree to
439 see if the same value is being used on the rhs as on the lhs.
440 (print_assignment): Call scan_for_self_assignment and if it
441 returns true, do no display the result of the computation but
442 instead just the final value of the symbol on the lhs.
443 * ld.texinfo: Document this behaviour and provide an example of
446 2005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
448 * Makefile.am (AM_MAKEINFOFLAGS): Define.
450 (ldver.texi): Depend on distributed files instead of built files.
451 (ld.info): Include $(srcdir) in the rule target. Remove actions.
452 (ld.dvi): Remove actions.
453 (MAINTAINERCLEANFILES): Add configdoc.texi.
454 (CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in.
455 (install-data-local): Renamed from install.
456 (Makefile): Remove explicit dependency.
457 * acinclude.m4: Remove obsolete code.
458 * configure.in: Update AC_PREREQ. Remove extra $CONFIG_SHELL.
459 * Makefile.in, aclocal.m4, config.in, configure: Regenerated.
461 2005-05-11 Bob Wilson <bob.wilson@acm.org>
463 * scripttempl/elfxtensa.sc: Sync up with elf.sc.
464 * emulparams/elf32xtensa.sh (PLT, GOT): Define.
466 2005-05-11 Alan Modra <amodra@bigpond.net.au>
468 * ldgram.y: Add SPECIAL token.
469 (sect_constraint): Handle SPECIAL.
470 * ldlang.c (lang_output_section_find_1): Don't match SPECIAL.
471 (map_input_to_output_sections): Likewise.
472 * ldlex.l (SPECIAL): Define.
473 * emulparams/elf32ppc.sh (DATA_GOT, SDATA_GOT, SEPARATE_GOTPLT,
474 GOT, PLT, GOTPLT): Define.
475 * emultempl/ppc32elf.em (old_plt, old_got): New static vars.
476 (ppc_after_open): New function.
477 (PARSE_AND_LIST_PROLOGUE): Define OPTION_OLD_LPT and OPTION_OLD_GOT.
478 (PARSE_AND_LIST_LONGOPTS): Add "bss-plt" and "sdata-got".
479 (PARSE_AND_LIST_OPTIONS): Document them.
480 (PARSE_AND_LIST_ARGS_CASES): Handle them.
481 (LDEMUL_AFTER_OPEN): Define.
482 * scripttempl/elf.sc (PLT): Don't override existing define.
483 (DATA_GOT, SDATA_GOT): Define and use to enable alternate got
484 placement rather than using NO_SMALL_DATA. Emit GOTPLT for RELRO_NOW.
486 2005-05-10 Alan Modra <amodra@bigpond.net.au>
488 * scripttempl/elf.sc (DATA_SEGMENT_RELRO_GOTPLT_END): Delete.
489 (DATA_SEGMENT_RELRO_END): Use SEPARATE_GOTPLT value.
490 (GOTPLT): Remove DATA_SEGMENT_RELRO_GOTPLT_END. Place after
491 DATA_SEGMENT_RELRO_END in script.
493 2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
495 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
496 Don't use a removed section.
498 2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
500 * ldmain.c (reloc_overflow): Use output_bfd if the symbol
501 is defined in the ABS section.
503 2005-05-06 H.J. Lu <hongjiu.lu@intel.com>
505 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
506 Put back !link_info.relocatable.
508 2005-05-06 H.J. Lu <hongjiu.lu@intel.com>
511 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
512 Just check link_info.executable.
514 2005-05-06 Nick Clifton <nickc@redhat.com>
516 * Update the address and phone number of the FSF organization in
517 the GPL notices in the following files:
518 aclocal.m4, deffile.h, deffilep.y, fdl.texi, ld.h, ldcref.c,
519 ldctor.c, ldctor.h, ldemul.c, ldexp.c, ldexp.h, ldfile.c,
520 ldfile.h, 20ldgram.y, ldint.texinfo, ldlang.c, ldlang.h, ldlex.h,
521 ldlex.l, ldmain.c, ldmain.h, ldmisc.c, ldmisc.h, ldver.c, ldver.h,
522 ldwrite.c, ldwrite.h, lexsup.c, mri.c, mri.h, pe-dll.c, pe-dll.h,
523 sysdep.h, emultempl/aix.em, emultempl/alphaelf.em,
524 emultempl/armcoff.em, emultempl/armelf.em, emultempl/beos.em,
525 emultempl/crxelf.em, emultempl/elf32.em, emultempl/generic.em,
526 emultempl/gld960.em, emultempl/gld960c.em, emultempl/hppaelf.em,
527 emultempl/ia64elf.em, emultempl/irix.em, emultempl/linux.em,
528 emultempl/lnk960.em, emultempl/m68hc1xelf.em,
529 emultempl/m68kcoff.em, emultempl/m68kelf.em,
530 emultempl/mipsecoff.em, emultempl/mmix-elfnmmo.em,
531 emultempl/mmixelf.em, emultempl/mmo.em, emultempl/needrelax.em,
532 emultempl/pe.em, emultempl/ppc32elf.em, emultempl/ppc64elf.em,
533 emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em,
534 emultempl/vanilla.em, emultempl/xtensaelf.em
536 2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
538 * scripttempl/elf.sc: Document the usage of __bss_start.
540 2005-05-05 Paul Brook <paul@codesourcery.com>
542 * Makefile.am: Add eelf_i386_vxworks.
543 * Makefile.in: Regenerate.
544 * configure.tgt: Make i?86-*-vxworks use targ_emul=elf_i386_vxworks.
545 * emulparams/elf_i386_vxworks.sh: New file.
546 * emulparams/vxworks.sh: New file.
547 * scripttempl/elf.sc: Add DATA_END_SYMBOLS and ETEXT_NAME.
549 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
551 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
552 Call _bfd_elf_provide_section_bound_symbols.
554 2005-05-04 Alan Modra <amodra@bigpond.net.au>
556 * ldemul.c: Include bfdlink.h.
557 (ldemul_before_allocation): Assume before_allocation is non-zero.
558 (before_allocation_default): Call strip_excluded_output_sections.
559 * ldlang.c (stripped_excluded_sections): New variable.
560 (lang_add_section): Build input section list for each output
561 section, attached via map_head and map_tail pointers.
562 (strip_excluded_output_sections): Make global. Traverse the
563 input section lists to find which output sections can go. Clear
564 link_order pointers and set stripped_excluded_sections.
565 (lang_process): Call strip_excluded_output_sections.
566 * ldlang.h (strip_excluded_output_sections): Declare.
567 * ldwrite.c: Update throuhout for link_order_head -> map_head change.
568 * emultempl/aix.em (before_allocation): Call
569 strip_excluded_output_sections.
570 * emultempl/armcoff.em (before_allocation): Likewise.
571 * emultempl/beos.em (before_allocation): Likewise.
572 * emultempl/linux.em (before_allocation): Likewise.
573 * emultempl/pe.em (before_allocation): Likewise.
574 * emultempl/sunos.em (before_allocation): Likewise.
575 * emultempl/elf32.em (before_allocation): Likewise. Call
576 bfd_elf_size_dynsym_hash_dynstr too.
577 * emultempl/lnk960.em (lnk960_before_allocation): Delete.
578 (ld_lnk960): Use before_allocation_default.
580 2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
582 * emultempl/elf32.em (gld${EMULATION_NAME}_strip_empty_section):
583 Updated for bfd_section_list_remove change.
584 * ldlang.c (lang_insert_orphan): Likewise.
585 (strip_excluded_output_sections): Likewise.
586 (sort_sections_by_lma): New.
587 (lang_check_section_addresses): Sort the sections before
590 2005-04-29 Ralf Corsepius <ralf.corsepius@rtems.org>
592 * configure.tgt: Add h8300*-*-rtemscoff.
593 Switch h8300*-*-rtems* to elf.
595 2005-04-29 Ben Elliston <bje@au.ibm.com>
597 * ldgram.y (lang_memory_region_type): Make static.
598 (ldgram_want_filename): Likewise.
599 * ldemul.c (ld_emulation): Make static.
600 * ldfile.h (ldfile_find_command_file): Remove extern.
601 * ldfile.c (ldfile_find_command_file): Make static.
602 * ldlang.h (unique_section_list): Remove extern declaration.
603 * ldlang.c (unique_section_list): Make static.
604 * mri.h (symbol_truncate): Remove extern declaration.
605 * mri.c (symbol_truncate): Make static.
606 (order, only_load, address, alias): Likewise.
607 (alignment, subalignment): Likewise.
609 2005-04-27 H.J. Lu <hongjiu.lu@intel.com>
611 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
612 Use the first SEC_ALLOC section which isn't SEC_READONLY or the
613 last SEC_ALLOC section if such a section doesn't exist.
615 2005-04-24 Mark Kettenis <kettenis@gnu.org>
617 * configure.host: Add *-*-openbsd support.
619 2005-04-15 Julian Brown <julian@codesourcery.com>
621 * ld.texinfo: Document --use-blx.
622 * emultempl/armelf.em (use_blx): New variable.
623 (arm_elf_create_output_section_statements): Communicate value of
625 (PARSE_AND_LIST_PROLOGUE): Add OPTION_USE_BLX.
626 (PARSE_AND_LIST_OPTIONS): Add --use-blx option.
627 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_USE_BLX case.
629 2005-04-14 Alan Modra <amodra@bigpond.net.au>
631 * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
632 * configure.in: Include ../bfd/warning.m4 contents.
633 * Makefile.in: Regenerate.
634 * configure: Regenerate.
636 2005-04-12 Alan Modra <amodra@bigpond.net.au>
638 * Makefile.am: Run "make dep-am".
639 (ldgram.o, ldlex.o, deffilep.o): Add -Wno-error to command.
640 * Makefile.in: Regenerate.
641 * config.in: Regenerate.
643 2005-04-11 Alan Modra <amodra@bigpond.net.au>
645 * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Ignore
646 as_needed libs that were not needed.
647 (gld${EMULATION_NAME}_check_needed): Likewise.
649 2005-04-07 Nick Clifton <nickc@redhat.com>
651 * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h so that
652 ldfile.h can use the lang_input_statement type.
654 2005-04-06 Jakub Jelinek <jakub@redhat.com>
656 * ldlang.c: Formatting.
657 (walk_wild_consider_section): Remember return value from wildcardp.
658 (is_simple_wild): Use strcspn instead of 2 strpbrk calls and strlen.
659 (wild_spec_can_overlap): Use strcspn instead of strpbrk and strlen.
661 2005-04-06 Robert O'Callahan <rocallahan@novell.com>
663 * ld.h (lean_section_userdata_type): Remove.
664 (fat_section_userdata_type): Remove file field.
665 (SECTION_USERDATA_SIZE): Remove.
666 * ldlang.c (init_os): Eliminate initialization of unused
667 lean_section_userdata_type.
669 * ldlang.h (callback_t, walk_wild_section_handler_t): New
671 (struct lang_wild_statement_struct): Add walk_wild_section_handler
672 and handler_data fields.
673 * ldlang.c (callback_t): Removed.
674 (walk_wild_consider_section, walk_wild_section_general,
675 section_iterator_callback, find_section, is_simple_wild,
676 match_simple_wild, walk_wild_section_specs1_wild0,
677 walk_wild_section_specs1_wild1, walk_wild_section_specs2_wild1,
678 walk_wild_section_specs3_wild2, walk_wild_section_specs4_wild2,
679 wild_spec_can_overlap, analyze_walk_wild_section_handler): New
681 (lang_add_wild): Call analyze_walk_wild_section_handler.
682 (walk_wild_section): Renamed to walk_wild_section_general and
683 created a wrapper function.
684 (section_iterator_callback_data): New typedef.
686 2005-04-04 Nick Clifton <nickc@redhat.com>
688 * configure.in: Add a check for <unistd.h> providing a prototype
689 for getopt() which is compatible with the one in
690 include/getopt.h. If so then define HAVE_DECL_GETOPT.
691 * configure: Regenerate.
692 * config.in (HAVE_DECL_GETOPT): Add.
693 * ldemul.c: Include config.h
694 * lexsup.c: Likewise.
695 * emultempl/elf32.sc: Likewise.
697 2005-03-29 Alan Modra <amodra@bigpond.net.au>
699 * emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again):
700 New function, extracted from static void gld${EMULATION_NAME}_finish.
701 (gld${EMULATION_NAME}_strip_empty_sections): Likewise.
702 (gld${EMULATION_NAME}_provide_init_fini_syms): Likewise.
703 * emultempl/ppc64elf.em: Revert last change.
704 (ppc_layout_sections_again): Use
705 gld${EMULATION_NAME}_layout_sections_again.
706 (ppc_finish): Don't call gld${EMULATION_NAME}_finish. Instead call
707 gld${EMULATION_NAME}_strip_empty_sections and
708 gld${EMULATION_NAME}_provide_init_fini_syms.
709 * emultempl/hppaelf.em: Similarly.
711 2005-03-29 Alan Modra <amodra@bigpond.net.au>
713 * emultempl/ppc64elf.em (need_laying_out): Delete. Remove all refs.
714 (ppc_finish): Don't call bfd_elf_discard_info.
715 * emultempl/hppaelf.em: Similarly.
717 2005-03-24 Nick Clifton <nickc@redhat.com>
719 * po/fr.po: Updated French translation.
721 2005-03-23 Mike Frysinger <vapier@gentoo.org>
722 Nick Clifton <nickc@redhat.com>
724 * configure.host: Accept any C library to accompany a GNU Linux
725 implementation, not just the GNU C library.
726 * configure.tgt: Likewise.
727 * emultempl/elf32.em: Likewise.
729 2005-03-22 H.J. Lu <hongjiu.lu@intel.com>
731 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New
732 (gld${EMULATION_NAME}_finish): Call
733 gld${EMULATION_NAME}_provide_bound_symbols to provide
734 __preinit_array_start, __preinit_array_end, __init_array_start,
735 __init_array_end, __fini_array_start and __fini_array_end.
737 * scripttempl/elf.sc: Don't provide __preinit_array_start,
738 __preinit_array_end, __init_array_start, __init_array_end,
739 __fini_array_start nor __fini_array_end.
741 2005-03-23 Alan Modra <amodra@bigpond.net.au>
743 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set
744 SEC_EXCLUDE on .gnu.warning sections.
746 2005-03-22 Alan Modra <amodra@bigpond.net.au>
748 * scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms.
750 2005-03-21 Alan Modra <amodra@bigpond.net.au>
752 * emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New
754 (LDEMUL_AFTER_ALLOCATION): Define.
756 2005-03-21 Alan Modra <amodra@bigpond.net.au>
758 * emultempl/ppc64elf.em (ppc_finish): Rename from
759 gld${EMULATION_NAME}_finish. Call gld${EMULATION_NAME}_finish.
760 (LDEMUL_FINISH): Update.
761 * emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise.
762 * emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise.
764 2005-03-18 Julian Brown <julian@codesourcery.com>
766 * scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array,
768 (.rela.dyn): Add .rela.init_array, .rela.fini_array.
769 (SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs.
771 2005-03-18 H.J. Lu <hongjiu.lu@intel.com>
773 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set
774 bfd_section when removing unused empty output sections for
775 non-relocatable link.
777 2005-03-19 Alan Modra <amodra@bigpond.net.au>
779 * ldlang.c (lang_insert_orphan): Use old section_tail rather than
780 traversing the bfd section list to find pointer to new section.
782 2005-03-18 Alan Modra <amodra@bigpond.net.au>
784 * scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2
785 input sections into .sdata and .sbss output respectively.
787 2005-03-16 David Heine <dlheine@tensilica.com>
788 Bob Wilson <bob.wilson@acm.org>
790 * ldlang.c (IGNORE_SECTION): Remove check for zero size.
791 (lang_check_section_addresses): Ignore zero size sections here.
793 2005-03-16 H.J. Lu <hongjiu.lu@intel.com>
795 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove
796 unused empty output sections for non-relocatable link.
798 * ld.h (args_type): Remove gc_sections.
800 * ldlang.c (lang_mark_used_section): New.
801 (lang_gc_sections): Use link_info.gc_sections instead of
802 command_line.gc_sections.
803 * ldmain.c (main): Likewise.
804 * lexsup.c (parse_args): Likewise.
805 * ldlang.c (lang_process): Call lang_mark_used_section.
807 * ldmain.c (main): Initialize link_info.gc_sections to FALSE.
809 2005-03-16 Nick Clifton <nickc@redhat.com>
810 Ben Elliston <bje@au.ibm.com>
812 * configure.in (werror): New switch: Add -Werror to the
813 compiler command line. Enabled by default. Disable via
815 * configure: Regenerate.
817 2005-03-16 Alan Modra <amodra@bigpond.net.au>
819 * emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete.
820 (OTHER_RELRO_SECTIONS): Set this instead.
822 2005-03-15 Nick Clifton <nickc@redhat.com>
824 * NEWS: Add cutoff for changes in 2.16 release.
826 2005-03-15 Mikkel Krautz <krautz@gmail.com>
828 * configure.tgt (x86_64-elf): Add target.
830 2005-03-15 Alan Modra <amodra@bigpond.net.au>
832 * po/es.po: Commit new Spanish translation.
834 2005-03-14 Alan Modra <amodra@bigpond.net.au>
836 * ldexp.c (exp_fold_tree): Ensure return value is initialized.
837 Tidy etree_assert case.
839 2005-03-14 Alan Modra <amodra@bigpond.net.au>
841 * po/tr.po: Commit new Turkish translation.
843 2005-03-11 Daniel Jacobowitz <dan@codesourcery.com>
845 * Makefile.am: Remove references to em68klynx.o and esparclynx.o.
846 * Makefile.in: Regenerated.
847 * emulparams/m68klynx.sh, emulparams/sparclynx.sh: Remove.
849 2005-03-07 Nick Clifton <nickc@redhat.com>
851 * po/fr.po: Updated translation.
853 2005-03-05 Alan Modra <amodra@bigpond.net.au>
855 * po/ld.pot: Regenerate.
857 2005-03-02 Jan Beulich <jbeulich@novell.com>
859 * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink.
860 * pe-dll.c (pe_dll_generate_implib): Likewise.
862 2005-02-24 Ben Elliston <bje@au.ibm.com>
864 * ldfile.c: Remove GNU960 conditional code.
865 * emultempl/gld960.em: Likewise.
866 * emultempl/gld960c.em: Likewise.
867 * emultempl/lnk960.em: Likewise.
869 2005-02-24 Nick Clifton <nickc@redhat.com>
871 * emultempl/lnk960.em (lnk960_before_parse): Remove redundant
872 empty string from calls to concat.
874 2005-02-23 Nick Clifton <nickc@redhat.com>
876 * emultempl/lnk960.em (lnk960_before_parse): Terminate list of
877 arguments passed to concat() with a NULL.
879 * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h because they
880 define types needed by ldfile.h
882 2005-02-23 Alan Modra <amodra@bigpond.net.au>
884 * pe-dll.c: Warning fixes.
885 * emultempl/sunos.em: Likewise.
887 2005-02-22 Daniel Jacobowitz <dan@codesourcery.com>
889 * ldlang.c (section_already_linked): Don't call
890 bfd_section_already_linked for dynamic objects.
892 2005-02-22 Alan Modra <amodra@bigpond.net.au>
894 * ldexp.c: Warning fixes.
895 * ldwrite.c: Likewise.
896 * emultempl/elf32.em: Likewise.
898 2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
900 * ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI
902 (lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF
903 and ECOFF output only.
905 2005-02-21 Alan Modra <amodra@bigpond.net.au>
907 * config.in: Regenerate.
908 * configure: Regenerate.
910 2005-02-17 Zack Weinberg <zack@codesourcery.com>
912 * ldexp.c (assigning_to_dot): New global flag.
913 (fold_name): If assigning_to_dot is true, object immediately to
915 (exp_fold_tree): Set and clear assigning_to_dot around the
916 recursive call to exp_fold_tree to process the right-hand side
917 of an assignment to the location counter.
919 2005-02-17 Paul Brook <paul@codesourcery.com>
921 * scripttempl/armbpabi.sc: Add dummy name to version block.
923 2005-02-17 Alan Modra <amodra@bigpond.net.au>
925 * ldexp.c (new_abs): Init new.str.
927 2005-02-15 Mark Mitchell <mark@codesourcery.com>
929 * configure.in (AC_CHECK_FUNCS): Add glob.
930 * configure: Regenerated.
931 * emultempl/elf32.em (<glob.h>): Do not include if HAVE_GLOB is
933 (gld${EMULATION_NAME}_parse_ld_so_conf_include): Do not use glob
934 if HAVE_GLOB is not defined.
936 2005-02-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
938 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define
939 lib_path if NATIVE is yes.
941 2005-02-16 Alan Modra <amodra@bigpond.net.au>
943 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Make
944 an error creating fake bfd fatal.
945 (ppc_before_allocation): Continue on after errors.
946 (gld${EMULATION_NAME}_finish): Likewise.
948 2005-02-15 Nick Clifton <nickc@redhat.com>
950 * ldlex.l (YY_NO_UNPUT): Define so that the yy_unput function is
951 not declared. It is not used and its presence causes a compile
954 2005-02-11 Zack Weinberg <zack@codesourcery.com>
956 * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed):
957 If st.st_ino is zero, do not treat the library as a duplicate.
959 2005-02-10 Jakub Jelinek <jakub@redhat.com>
961 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
962 Set BFD_LINKER_CREATED on the stubs bfd.
963 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
966 2005-02-08 Mark Mitchell <mark@codesourcery.com>
968 * scripttempl/armbpabi.sc (VERSION): Make special section symbols
970 (Image$$ER_RO$$Base): Define whenever RELOCATING.
971 (Image$$ER_RO$$Limit): Likewise.
972 (SHT$$INIT_ARRAY$$Base): Likewise.
973 (SHT$$INIT_ARRAY$$Limit): Likeise.
975 2005-02-10 Ben Elliston <bje@au.ibm.com>
977 * emultempl/beos.em: Remove #if 0 and #if 1 blocks.
979 2005-02-08 Richard Sandiford <rsandifo@redhat.com>
981 * configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath
982 to include o32 and n64 emulations.
983 (mips64*-*-linux-gnu*): Likewise.
985 2005-02-08 Hans-Peter Nilsson <hp@axis.com>
987 * ldmain.c (warning_callback, warning_find_reloc): Prepend
988 "warning: " to warning messages.
990 2005-02-04 Alan Modra <amodra@bigpond.net.au>
992 * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't
993 look up symbol for etree_provide here.
995 2005-02-02 Daniel Jacobowitz <dan@codesourcery.com>
997 * emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set.
999 2005-02-01 Edward Welbourne <eddy@opera.com>
1000 Nick Clifton <nickc@redhat.com>
1002 * ld.texinfo (Source Code Reference): New node describing how to
1003 access linker script defined variables from source code.
1005 2005-02-01 Alan Modra <amodra@bigpond.net.au>
1007 * ld.texinfo: Clarify --as-needed operation.
1009 2005-01-31 Andrew Cagney <cagney@gnu.org>
1011 * configure: Regenerate to track ../gettext.m4.
1013 2005-01-31 Nick Clifton <nickc@redhat.com>
1015 * ldver.c (ldversion): Bump reported copyright date to 2005.
1017 2005-01-31 Nick Clifton <nickc@redhat.com>
1019 * configure.tgt: Remove obsolete targets m68k-lynxos and
1022 2005-01-28 Julian Brown <julian@codesourcery.com>
1024 * emultempl/armelf.em (fix_v4bx): New variable.
1025 (arm_elf_create_output_section_statements): Communicate fix_v4bx flag
1027 (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX.
1028 (PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx.
1029 (PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx.
1030 (PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX.
1031 * NEWS: Mention --fix-v4bx.
1032 * ld.texinfo: Document --fix-v4bx.
1034 2005-01-25 Mark Mitchell <mark@codesourcery.com>
1036 * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so
1037 as to include .ARM.exidx$${Base,Limit}.
1038 * ld/scripttempl/armbpabi.sc: Move .plt to end of text segment.
1039 Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}.
1040 Put .init_array, .fini_array, etc. into the read-only data
1043 2005-01-25 Alan Modra <amodra@bigpond.net.au>
1045 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting.
1046 (gld${EMULATION_NAME}_after_open): Ignore needed libs if they were
1047 only needed by an as-needed lib that didn't get linked.
1049 2005-01-23 Alan Modra <amodra@bigpond.net.au>
1051 * ld.texinfo (Output Section Keywords <CONSTRUCTORS>): Correct
1052 __DTOR_LIST__ description.
1054 2005-01-23 Alan Modra <amodra@bigpond.net.au>
1056 * ld.texinfo (Location Counter <dot outside sections>): Document
1057 effects of orphan section placement, and ". = ." workaround.
1058 * Makefile.in: Regenerate.
1060 2005-01-22 Richard Sandiford <rsandifo@redhat.com>
1062 * emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;".
1063 * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise.
1065 2005-01-21 Jakub Jelinek <jakub@redhat.com>
1067 * ldgram.y (AS_NEEDED): New token.
1068 (input_list): Handle AS_NEEDED ( input_list ).
1069 * ldlex.l (AS_NEEDED): Add.
1070 * ld.texinfo: Document AS_NEEDED ().
1071 * NEWS: Mention AS_NEEDED ().
1073 2005-01-21 Ben Elliston <bje@au.ibm.com>
1075 * ldlang.c (lang_reasonable_defaults): Remove.
1076 (lang_process): Don't call lang_reasonable_defaults.
1078 * ldexp.c (exp_assop): Remove #if 0'd code.
1079 (exp_print_tree): Likewise.
1080 * ldlang.c (lang_memory_region_lookup): Likewise.
1081 (open_output): Likewise.
1082 (lang_do_assignments_1): Likewise.
1083 (lang_place_orphans): Likewise.
1084 (lang_enter_output_section_statement): Likewise.
1085 (lang_reasonable_defaults): Likewise.
1086 * ldlang.h (struct lang_input_statement_struct): Likewise.
1087 * mri.c (mri_draw_tree): Likewise.
1088 (mri_load): Likewise.
1089 * pe-dll.c (generate_reloc): Likewise.
1090 (make_import_fixup_entry): Likewise.
1091 (pe_as16): Likewise.
1092 * emultempl/beos.em (set_pe_subsystem): Likewise.
1093 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
1094 * emultempl/pe.em: Likewise.
1095 * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise.
1097 2005-01-20 Daniel Jacobowitz <dan@codesourcery.com>
1099 * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o.
1100 (earmelfb_linux_eabi.c): New target.
1101 * Makefile.in: Regenerated.
1102 * configure.tgt (arm*b-*-linux-gnueabi): New target.
1103 * emulparams/armelfb_linux_eabi.sh: New file.
1105 2005-01-20 Nick Hudson <skrll@netbsd.org>
1108 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1109 Handle bfd_elf32_hppa_nbsd_vec.
1111 2005-01-19 Richard Sandiford <rsandifo@redhat.com>
1113 * ldmain.h (ld_sysroot): Change type to a constant string.
1114 * ldmain.c (ld_sysroot): Likewise.
1115 (get_relative_sysroot, get_sysroot): New functions, adding command-line
1116 support for changing the sysroot.
1117 (main): Call the new functions.
1118 * lexsup.c (OPTION_SYSROOT): New.
1119 (ld_options): Add --sysroot.
1120 (parse_args): Add a dummy handler for it.
1121 * ld.texinfo (--sysroot): Document.
1122 * NEWS: Mention the new --sysroot option.
1124 2005-01-18 Alan Modra <amodra@bigpond.net.au>
1126 * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call.
1127 (lang_place_orphans): Don't abort on just_syms_flag, instead call
1130 2005-01-16 Danny Smith <dannysmith@users.sourceforge.net>
1132 * defilep.y (def_name, def_library): Combine into...
1133 (def_image_name): New function. Strip name to basename,
1136 2005-01-12 Mark Kettenis <kettenis@gnu.org>
1138 * configure.in: Be sure to invoke config.sub using the shell.
1139 * configure: Regenerate.
1141 2005-01-11 Alan Modra <amodra@bigpond.net.au>
1143 * configure.host: Correct sed patterns for last change.
1145 2005-01-10 Nick Clifton <nickc@redhat.com>
1148 * ldmisc.c (vfinfo): Add an extra argument: is_warning. Use this
1149 to determine whether config.make_executable should be set to FALSE in
1150 conjunction with config.fatal_warnings.
1151 (info_msg, minfo, lfinof): Pass FALSE as the extra argument.
1152 (einfo): Pass TRUE as the extra argument.
1154 2005-01-10 Greg Schaffer <gschafer@zip.com.au>
1156 * configure.host (linux targets): Use "${CC} -dumpspecs" instead
1157 of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0.
1158 (ia64-*-aix): Delete - this target is obsolete, and would be
1159 broken by this patch.
1161 2005-01-06 Eric Botcazou <ebotcazou@libertysurf.fr>
1163 * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
1164 (sparc64-sun-solaris2*): New host.
1166 2005-01-06 Paul Brook <paul@codesourcery.com>
1168 * Makefie.am: Add earmelf_vxworks.
1169 * Makefile.in: Regenerate.
1170 * configure.tgt: Make arm-*-vxworks a separate case.
1171 * emulparams/armelf_vxworks.sh: New function.
1173 2005-01-06 Alan Modra <amodra@bigpond.net.au>
1175 * emultempl/ppc64elf.em (no_multi_toc): New var.
1176 (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists.
1177 (OPTION_NO_MULTI_TOC): Define.
1178 (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support.
1179 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
1181 2005-01-05 Nick Clifton <nickc@redhat.com>
1184 * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding
1185 Standard's specification for parsable error messages.
1187 2005-01-04 Paul Brook <paul@codesourcery.com>
1189 * Makefile.am: Correct dependency for earmsymbian.c.
1190 * Makefile.in: Regenerate.
1192 2004-12-28 Danny Smith <dannysmith@users.sourceforge.net>
1194 * emultempl/pe.em (set_pe_subsystem): Change second arg to
1195 lang_add_entry to FALSE.
1197 2004-12-23 Nick Clifton <nickc@redhat.com>
1200 * emulparams/shelf.sh (.stack): Increase stack start address to
1203 2004-12-20 Nick Clifton <nickc@redhat.com>
1205 * ldmain.c (main): Issue an error message if -static and -shared
1208 2004-12-17 Jakub Jelinek <jakub@redhat.com>
1210 * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
1211 * ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them.
1212 * ldlang.c (lang_size_sections): Use them to avoid wasting virtual
1213 address space at DATA_SEGMENT_ALIGN. Fix computation of expected
1214 PT_GNU_RELRO segment end.
1216 2004-12-14 P.J. Darcy <darcypj@us.ibm.com>
1218 * configure.tgt: Add s390x-ibm-tpf support.
1220 2004-12-16 Martin Kögler <mkoegler@auto.tuwien.ac.at>
1222 * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL
1225 2004-12-07 Ben Elliston <bje@gnu.org>
1227 * ldemul.h: Forward declare struct option.
1229 2004-12-01 Danny Smith <dannysmith@users.sourceforge.net>
1231 * scripttempl/pe.sc (.data): Add .jcr subsection.
1233 2004-11-30 Paul Brook <paul@codesourcery.com>
1235 * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.
1237 2004-11-30 Tero Niemela <tero_niemela@yahoo.com>
1239 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
1240 * Makefile.in: Regenerate.
1242 2004-11-26 Melissa Mears <asterisk@graces.dricas.com>
1244 * emultempl/pe.em: Add --subsystem:xbox as well as
1246 * ld.texinfo: (ld_options): Document acceptance of subsystem xbox
1247 and numeric subsystems.
1249 2004-11-24 Alan Modra <amodra@bigpond.net.au>
1251 * ldexp.c (fold_name): Correct PR 338 fix.
1253 2004-11-19 Mark Mitchell <mark@codesourcery.com>
1255 * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
1256 (earmelf_linux_eabi.c): New target.
1257 * configure.tgt (arm*-*-linux-gnueabi): Handle it.
1258 * emulparams/armelf_linux_eabi.sh: New file.
1259 * Makefile.in: Regenerated.
1261 2004-11-19 Nick Clifton <nickc@redhat.com>
1264 * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and
1265 LENGTH fields in the MEMORY command, to explicitly state that
1266 symbols cannot be used in their expressions.
1268 2004-11-19 Jon Beniston <jon@beniston.com>
1270 * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION.
1271 * ld/ldgram.y: Add ORIGIN and LENGTH expressions.
1272 * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions
1273 which return the length and origin of a memory.
1274 * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions.
1275 * NEWS: Mention support for ORIGIN and LENGTH operators.
1277 2004-11-17 Daniel Jacobowitz <dan@codesourcery.com>
1279 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use
1280 a dynamic object for stubs.
1282 2004-11-04 Paul Brook <paul@codesourcery.com>
1284 * ld.texinfo: Document --default-imported-symver.
1285 * ldmain.c (main): Set link_info.default_imported_symver.
1286 * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER.
1287 (ld_options): Add --default-imported-symver.
1288 (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.
1290 2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
1291 Vineet Sharma <vineets@noida.hcltech.com>
1293 * Makefile.am: Add entries for new maxq-coff target.
1294 * Makefile.in: Regenerate.
1295 * configure.tgt: Add support for maxq.
1296 * emulparams/maxqcoff.sh: New File.
1297 * scripttempl/maxqcoff.sc: New linker script for target maxq.
1298 * NEWS: Mention the new target.
1300 2004-11-04 Daniel Jacobowitz <dan@debian.org>
1302 * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o.
1303 (earmelf_oabi.c): Remove rule.
1304 * configure.tgt: Remove arm-*-oabi and thumb-*-oabi.
1305 * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files.
1306 * Makefile.in: Regenerated.
1308 2004-11-04 Hans-Peter Nilsson <hp@axis.com>
1310 * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout.
1311 * emulparams/criself.sh (INIT_START): Remove emitted "push srp".
1312 (FINI_START): Ditto.
1313 (INIT_END): Remove emitted "jump [sp+]".
1316 2004-11-04 Alan Modra <amodra@bigpond.net.au>
1318 * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt.
1319 (no_opd_opt, no_toc_opt): New static vars.
1320 (ppc_before_allocation): Don't edit opt if no_opd_opt. Call
1322 (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define.
1323 (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize.
1324 (PARSE_AND_LIST_OPTIONS): Describe new options.
1325 (PARSE_AND_LIST_ARGS_CASES): Handle them.
1327 2004-10-27 Nick Clifton <nickc@redhat.com>
1329 * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL,
1330 parameter to invocation of lang_section_start.
1331 * emultempl/aix.em (_handle_option): Likewise.
1333 * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c,
1334 eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em.
1335 * Makefile.in: Regenerate.
1337 2004-10-26 Mark Mitchell <mark@codesourcery.com>
1339 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
1340 __exidx_{start,end} when not relocating.
1342 2004-10-25 Mark Mitchell <mark@codesourcery.com>
1344 * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
1345 * ldexp.h (segment_type): New type.
1346 (segments): New variable.
1347 * ldexp.c (segments): New variable.
1348 (exp_print_token): Handle SEGMENT_START.
1349 (fold_binary): Likewise.
1350 * ldgram.y (SEGMENT_START): Declare it as a token.
1351 (exp): Handle SEGMENT_START.
1352 * ldlang.h (lang_address_statement_type): Add segment field.
1353 (lang_section_start): Change prototype.
1354 * ldlang.c (map_input_to_output_sections): Do not process section
1355 assignments if a corresponding SEGMENT_START has already been
1357 (lang_section_start): Add segment parameter.
1358 * ldlex.l (SEGMENT_START): Add it.
1359 * lexsup.c (seg_segment_start): New function.
1360 (parse_args): Use it for -Tbss, -Tdata, and -Ttext.
1361 * ld.texinfo (SEGMENT_START): Document it.
1362 * emulparams/armsymbian.sh (EMBEDDED): Set it.
1363 * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment
1364 base addresses. Do not map relocations.
1365 * NEWS: Mention SEGMENT_START.
1367 2004-10-26 Paul Brook <paul@codesourcery.com>
1369 * ld.texinfo: Document --default-symver.
1370 * ldmain.c (main): Set link_info.create_default_symver.
1371 * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER.
1372 (ld_options): Add default-symver.
1373 (parse_args): Handle OPTION_DEFAULT_SYMVER.
1375 2004-10-24 Danny Smith <dannysmith@users.sourceforge.net>
1377 * pe-dll.c (process_def_file): Don't export all symbols by default if
1378 building a position-independent executable.
1380 2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
1383 * ldmain.c (reloc_overflow): Accept a pointer to struct
1384 bfd_link_hash_entry. Report symbol location for relocation
1387 2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
1389 * genscripts.sh (libpath.exp): Really generate for first
1392 2004-10-19 Danny Smith <dannysmith@users.sourceforge.net>
1394 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify
1395 comparison and replacement of filenames.
1397 2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
1400 * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic
1401 option on linker script as the one for linker script.
1403 2004-10-16 Daniel Jacobowitz <dan@debian.org>
1405 * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
1406 (check_excluded_libs): New.
1407 (load_symbols): Call check_excluded_libs.
1408 * ldlang.h (add_excluded_libs): New prototype.
1409 * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
1410 (gld${EMULATION_NAME}_add_options): Add --exclude-libs.
1411 (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
1412 * ld.texinfo (Command Line Variables): Document --exclude-libs.
1413 (Options Specific to i386 PE Targets): Remove --exclude-libs.
1415 2004-10-15 Alan Modra <amodra@bigpond.net.au>
1417 * ldexp.c (exp_fold_tree): Don't immediately exit ld on a
1418 failing link script assert.
1420 * ldctor.c (ldctor_add_set_entry): Fix comment typo.
1422 2004-10-14 H.J. Lu <hongjiu.lu@intel.com>
1425 * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set.
1426 (SMALL_DATA_DTOR): Set.
1427 * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset.
1428 (SMALL_DATA_DTOR): Unset.
1429 * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors
1430 after .data. If SMALL_DATA_DTOR is set, move .dtors after
1433 2004-10-14 Alan Modra <amodra@bigpond.net.au>
1436 * ldlang.h (lang_output_section_statement_type): Make "next" a
1437 struct lang_output_section_statement_struct *.
1438 (struct orphan_save): Move from elf32.em. Add "name" and "flags".
1439 (lang_output_section_find_by_flags, lang_insert_orphan): Declare.
1440 * ldlang.c (lang_output_section_find_1): Adjust for changed
1441 output_section_statement "next".
1442 (strip_excluded_output_sections): Likewise.
1443 (lang_record_phdrs): Likewise.
1444 (lang_output_section_find_by_flags): New function.
1445 (output_prev_sec_find): Move from pe.em. Adjust iterator.
1446 (lang_insert_orphan): New function. Tail end of elf32.em's
1447 place_orphan merged with that from pe.em. Allow bfd_section to
1448 be placed first. New heuristic for placing new output section
1449 statement in existing script, and accompanying split of __start
1450 symbol alignment into a separate assignment to dot.
1451 (lang_add_section): Consistently use output->bfd_section rather than
1452 an alias, section->output_section.
1453 (map_input_to_output_sections): Rename overly long arg. Move
1454 initialization of data_statement output section to here..
1455 (lang_check_section_addresses): ..from here.
1456 (print_assignment): Correct printing of etree_assert.
1457 (print_all_symbols): Don't bomb if userdata is NULL.
1458 (IGNORE_SECTION): Rearrange.
1459 * emultempl/elf32.em (output_rel_find): Adjust interator.
1460 (output_prev_sec_find): Delete.
1461 (struct orphan_save): Delete.
1462 (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section
1463 flags without creating a duplicate output section statement.
1464 Revise code holding history of various orphan section placements.
1465 Allow orphan sections to place before script specified output
1466 sections. Call lang_output_section_find_by_flags when placement
1467 by name fails. Use lang_insert_orphan.
1468 * emultempl/mmo.em (output_prev_sec_find): Delete.
1469 (struct orphan_save): Delete.
1470 (mmo_place_orphan): Revise code holding history of orphan placement.
1471 Allow orphans to place before existing output sections. Use
1473 * emultempl/pe.em (output_prev_sec_find): Delete.
1474 (struct orphan_save): Delete.
1475 (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of
1478 2004-10-13 Mark Mitchell <mark@codesourcery.com>
1480 * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a
1483 2004-10-13 Alan Modra <amodra@bigpond.net.au>
1486 * ldcref.c (check_section_sym_xref): Delete.
1487 (check_local_sym_xref): New function.
1488 (check_nocrossrefs): Adjust call.
1489 * emultempl/pe.em (struct orphan_save): Add os_tail.
1490 (place_orphan): Backport assorted fixes from elf32.em.
1492 2004-10-12 Bob Wilson <bob.wilson@acm.org>
1494 * emultempl/xtensaelf.em: Use ISO C90 formatting.
1496 2004-10-11 Jakub Jelinek <jakub@redhat.com>
1498 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid
1499 getline for portability.
1501 * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure.
1502 (gld${EMULATION_NAME}_parse_ld_so_conf,
1503 gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions.
1504 (gld${EMULATION_NAME}_check_ld_so_conf): Use them.
1506 2004-10-11 Alan Modra <amodra@bigpond.net.au>
1509 * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are
1510 rejected when linking statically.
1512 2004-10-08 Daniel Jacobowitz <dan@debian.org>
1514 * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*.
1516 2004-10-07 Bob Wilson <bob.wilson@acm.org>
1518 * ld.texinfo (Xtensa): Describe new linker relaxation to optimize
1519 assembler-generated longcall sequences. Describe new --size-opt
1521 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section.
1522 * emultempl/xtensaelf.em (remove_section,
1523 replace_insn_sec_with_prop_sec, replace_instruction_table_sections,
1524 elf_xtensa_after_open): New.
1525 (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT,
1526 OPTION_NO_LITERAL_MOVEMENT): Define.
1527 (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals.
1528 (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement.
1529 (PARSE_AND_LIST_OPTIONS): Add --size-opt.
1530 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT,
1531 OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT.
1532 (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open.
1533 * scripttempl/elfxtensa.sc: Update with changes from elf.sc.
1534 * Makefile.am (eelf32xtensa.c): Update dependencies.
1535 * Makefile.in: Regenerate.
1537 2004-10-07 Jeff Baker <jbaker@qnx.com>
1539 * lexsup.c: Handle --warn-shared-textrel option.
1540 (ld_options): Restore alpha sorting of options.
1541 * ldmain.c (main): Initialise warn_shared_info field to FALSE.
1542 * ld.texinfo: Add documentation for --warn-shared-textrel.
1543 * NEWS: Added mention of --warn-shared-textrel option.
1545 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
1547 * emultempl/crxelf.em (disable_relaxation): Add.
1548 (crxelf_before_allocation): Enable --relax option by default.
1549 (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX.
1550 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax.
1551 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX.
1553 2004-10-04 H.J. Lu <hongjiu.lu@intel.com>
1555 * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and
1556 --sort-section name|alignment.
1558 * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and
1559 --sort-section name|alignment.
1561 * ld.h (sort_type): New enum.
1562 (wildcard_spec): Change the type of `sorted' to sort_type.
1564 * ldgram.y (SORT): Removed.
1565 (SORT_BY_NAME): Added.
1566 (SORT_BY_ALIGNMENT): Added.
1567 (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and
1569 (input_section_spec_no_keep): Updated `sorted'.
1570 (statement): Replace SORT with SORT_BY_NAME.
1572 * ldlang.c (compare_section): New function to compare 2
1573 sections with different sorting schemes.
1574 (wild_sort): Updated. Use compare_section.
1575 (update_wild_statements): New function.
1576 (lang_process): Call update_wild_statements before
1577 map_input_to_output_sections.
1579 * ldlex.l (SORT_BY_NAME): New.
1580 (SORT_BY_ALIGNMENT): New.
1581 (SORT): Return SORT_BY_NAME.
1583 * ldmain.c (sort_section): New. Defined.
1584 (main): Initialize it to none.
1586 * lexsup.c (option_values): Add OPTION_SORT_SECTION.
1587 (ld_options): Add an entry for OPTION_SORT_SECTION.
1588 (parse_args): Handle OPTION_SORT_SECTION.
1590 * mri.c (mri_draw_tree): Updated `sorted'.
1592 2004-10-04 Jakub Jelinek <jakub@redhat.com>
1594 * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument.
1595 * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first
1597 (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first
1598 and . as second argument.
1599 (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section.
1600 * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here.
1601 (fold_binary): Add it here. Insert padding to make relro_end
1602 COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in
1603 exp_dataseg_relro_adjust phase just use previously computed
1605 * ldlang.c (lang_size_sections): Set exp_data_seg.base for
1606 relro_adjust here. Call lang_size_sections_1 once more if there
1607 was too big padding at DATA_SEGMENT_RELRO_END.
1608 * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation.
1610 2004-10-01 Paul Brook <paul@codesourcery.com>
1612 * emulparams/armelf.sh: Add unwinding table sections.
1614 2004-09-30 Filip Navara <navaraf@reactos.com>
1616 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate
1617 correct base address for position independant executables.
1618 * pe-dll.c (pe_dll_fill_sections): Don't mark position independant
1619 executables as DLLs.
1621 2004-09-30 Paul Brook <paul@codesourcery.com>
1623 * ld.texinfo: Document --target2=abs.
1624 * emulparms/armsymbian.sh (TARGET2_TYPE): Set.
1626 2004-09-29 Nick Clifton <nickc@redhat.com>
1628 * scripttempl/xstormy16.sc: Only perform the assignments to the
1629 ROM region when not performing a relocatable link. The ROM region
1630 does not start at address 0, but the sections will.
1631 * Makefile.am: Fix linker script dependency for the generation of
1633 * Makefile.in: Regenerate.
1635 2004-09-18 Filip Navara <navaraf@reactos.com>
1637 * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh,
1638 emulparams/i386pe_posix.sh, emulparams/mcorepe.sh,
1639 emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define
1641 * scripttempl/pe.sc: Make the virtual address and file offset synced if
1642 the alignment is lower than the target page size.
1644 2004-09-27 Filip Navara <navaraf@reactos.com>
1646 * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow
1647 def_file_parse to handle pe_def_file if NULL and prevent crash with
1650 2004-09-27 Alan Modra <amodra@bigpond.net.au>
1652 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
1653 --emit-stub-syms automatically when --emit-relocs.
1655 2004-09-24 Paul Brook <paul@codeosurcery.com>
1657 * scripttempl/elf.sc: Keep .preinit_array, .init_array and
1658 .fini_array sections.
1660 2004-09-19 Andreas Schwab <schwab@suse.de>
1662 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment
1663 base so that relro end is suitably aligned.
1665 2004-09-17 Paul Brook <paul@codesourcery.com>
1667 * ld.texinfo: Rename arm-specific section. Document --target*
1668 * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
1669 * emulparams/armelf_linux.sh: Ditto.
1670 * emulparams/armelf_nbsd.sh: Ditto.
1671 * emultempl/armelf.em: Set default for TARGET2_TYPE.
1672 (target2_type): New variable.
1673 (arm_elf_before_allocation): Don't pass target1_type.
1674 (arm_elf_create_output_section_statements): New function.
1675 (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
1676 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
1677 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
1678 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
1679 * emultempl/armelf_oabi.em (_before_allocation): Remove extra
1680 argument to bfd_elf32_arm_process_before_allocation.
1682 2004-09-17 Alan Modra <amodra@bigpond.net.au>
1684 * ldexp.c (fold_name): Update u.undef.next refs.
1685 * emultempl/pe.em: Likewise.
1686 * emultempl/sunos.em: Likewise.
1688 2004-09-17 Alan Modra <amodra@bigpond.net.au>
1690 * Makefile.am: Run "make dep-am".
1691 * Makefile.in: Regenerate.
1692 * config.in: Regenerate.
1693 * configure: Regenerate.
1694 * aclocal.m4: Regenerate.
1695 * po/ld.pot: Regenerate.
1697 2004-09-16 Tomer Levi <Tomer.Levi@nsc.com>
1699 * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*.
1703 2004-09-16 Alan Modra <amodra@bigpond.net.au>
1705 * emultempl/armelf_oabi.em (before_allocation): Add extra zero param
1706 to bfd_elf32_arm_process_before_allocation call.
1708 2004-09-13 Paul Brook <paul@codesourcery.com>
1710 * emulparams/armsymbian.sh: Set TARGET1_IS_REL.
1711 * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}.
1713 2004-09-07 H.J. Lu <hongjiu.lu@intel.com>
1715 * configure: Regenerated with autconfig 2.13.
1717 2004-09-07 Andreas Schwab <schwab@suse.de>
1719 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
1720 alignment before adjusting DATA_SEGMENT_RELRO_END.
1722 2004-09-06 Mark Mitchell <mark@codesourcery.com>
1724 * emulparams/armsymbian.sh: Use armbpabi script.
1725 * scripttempl/armbpabi.sc: New script.
1727 2004-09-02 Mark Mitchell <mark@codesourcery.com>
1729 * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
1730 (earmsymbian.c): New target.
1731 * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
1732 * Makefile.in: Regenerated.
1733 * aclocal.m4: Likewise.
1734 * configure: Likewise.
1735 * emulparams/armsymbian.sh: New file.
1737 2004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
1739 * scripttempl/elf32crx.sc: Edit file with comments.
1740 (.init): Add new section.
1742 (.ctor): Control the linkage order.
1745 2004-08-27 Nick Clifton <nickc@redhat.com>
1747 * emultempl/pe.em (after_open): Do not assume that either bfd is
1750 2004-08-26 Alan Modra <amodra@bigpond.net.au>
1752 * ldlang.c (lang_init): Don't compare with TRUE.
1754 2004-08-25 Dmitry Diky <diwil@spec.ru>
1756 * emulparams/msp430all.sh: Fix RAM sizes for all targets.
1757 * scripttempl/elf32msp430.sc: Add .profiler section definition.
1759 2004-08-24 H.J. Lu <hongjiu.lu@intel.com>
1761 * ldlang.c (wildcardp): Defined as a macro with strpbrk.
1763 2004-08-19 Mark Mitchell <mark@codesourcery.com>
1765 * configure.tgt (arm*-*-symbianelf*): New target.
1766 (arm*-*-eabi*): Likewise.
1768 2004-08-19 Jakub Jelinek <jakub@redhat.com>
1770 * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
1771 (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
1772 (OPTION_NON_OVERLAPPING_OPD): Define.
1773 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
1774 --non-overlapping-opd option.
1776 2004-08-18 Alan Modra <amodra@bigpond.net.au>
1779 * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
1780 was already on the undefs list.
1782 2004-08-17 Alan Modra <amodra@bigpond.net.au>
1784 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
1785 prefix the symbol field too.
1787 2004-08-13 Alan Modra <amodra@bigpond.net.au>
1789 * ldmain.c (link_callbacks): Remove "error_handler".
1790 * ldmisc.c: Include elf-bfd.h.
1791 (vfinfo): Sort comment. Handle %A. Use %A instead of
1792 bfd_get_section_indent.
1793 (error_handler): Delete.
1794 * ldmisc.h (error_handler): Delete declaration.
1796 2004-08-10 Alan Modra <amodra@bigpond.net.au>
1798 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
1799 ppc64_elf_restore_symbols.
1801 2004-08-09 Alan Modra <amodra@bigpond.net.au>
1803 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
1804 .toc is too large on relocatable linking.
1806 2004-08-09 Alan Modra <amodra@bigpond.net.au>
1808 * emultempl/ppc64elf.em (ppc_after_open): Delete.
1809 (LDEMUL_AFTER_OPEN): Don't define.
1811 2004-08-02 Stephane Carrez <stcarrez@nerim.fr>
1813 * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
1815 2004-08-01 Stephane Carrez <stcarrez@nerim.fr>
1817 * scripttempl/elfm68hc12.sc: Align text, rodata and data section
1820 2004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
1822 * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
1824 2004-07-26 Dmitry Diky <diwil@spec.ru>
1826 * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
1827 msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
1829 * configure.tgt: Likewise.
1830 * emulparams/msp430all.sh: Likewise.
1831 * Makefile.in: Regenerate.
1833 2004-07-23 Nick Clifton <nickc@redhat.com>
1835 * emultempl/elf32.em (_place_orphan): Use an already existing
1836 section name if that section does not have any flags set.
1838 2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
1840 * ldlang.c (already_linked_hash_entry): Removed.
1841 (already_linked): Likewise.
1842 (already_linked_table): Likewise.
1843 (section_already_linked): Call bfd_section_already_linked.
1844 (lang_process): Replace already_linked_table_init with
1845 bfd_section_already_linked_table_init and check return. Replace
1846 already_linked_table_free with bfd_section_already_linked_table_free.
1848 2004-07-21 Nick Clifton <nickc@redhat.com>
1850 * ldlang.c (init_os): Make sure that the newly allocated userdata
1851 structure is zeroed out.
1853 2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
1855 * NEWS: Mention the new --add-needed/--no-add-needed and
1856 --as-needed/--no-as-needed options.
1858 2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
1860 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
1861 check the add_needed field.
1862 (dt_needed): New struct.
1863 (gld${EMULATION_NAME}_try_needed): Change the first argument
1864 to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
1865 bit in the file where the DT_NEEDED entry comes from.
1866 (gld${EMULATION_NAME}_search_needed): Change the second
1867 argument to a pointer to struct dt_needed.
1868 (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
1869 (gld${EMULATION_NAME}_after_open): Likewise.
1871 * ld.texinfo: Add --add-needed document.
1872 * ldlang.c (new_afile): Set p->add_needed.
1873 * ldlang.h (lang_input_statement_type): Add add_needed field.
1874 * ldmain.h (add_needed): Declare.
1875 * ldmain.c (add_needed): New global var.
1876 * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
1877 OPTION_NO_ADD_NEEDED.
1878 (ld_options): Likewise.
1879 (parse_args): Handle them.
1881 2004-07-13 Christof Petig <christof@petig-baender.de>
1883 * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
1884 for endian-ness of extracted addend.
1886 2004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net>
1888 * pe-dll.c (auto_export): Filter on just the import prefix,
1889 "_imp_", not "_imp__".
1891 2004-07-09 Nick Clifton <nickc@redhat.com>
1893 * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
1895 2004-07-06 Tomer Levi <Tomer.Levi@nsc.com>
1897 * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
1898 (eelf32crx.c): New target.
1899 * Makefile.in: Regenerate.
1900 * configure.tgt: Handle crx-*-elf*.
1901 * emulparams/elf32crx.sh: New file.
1902 * emultempl/crxelf.em: New file.
1903 * scripttempl/elf32crx.sc: New file.
1904 * NEWS: Mention new target.
1906 2004-07-06 Nick Clifton <nickc@redhat.com>
1908 * Makefile.am: Add eshlsymbian.c.
1909 * Makefile.in: Regenerate.
1910 * configure.tgt: Add sh*-symbian-elf target.
1911 * emulparams/shlsymbian.sh: New file. Configure the
1912 sh-symbian-elf linker scripts.
1913 * scripttemp/elf32sh-symbian.sc: New file. Linker script
1914 template for the sh-symbian-elf target.
1916 2004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1918 * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
1919 * emulparams/hppalinux.sh: Likewise.
1920 * scripttempl/elf.sc: Place .plt just before .got when .plt is in
1921 data segment and PLT_BEFORE_GOT is defined.
1923 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1925 * ld.texinfo (WIN32): Document PE weak symbols.
1927 2004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1929 * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
1931 2004-07-01 H.J. Lu <hongjiu.lu@intel.com>
1933 * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
1936 2004-06-29 Alan Modra <amodra@bigpond.net.au>
1938 * ldlang.c (lang_reset_memory_regions): Save last relax pass section
1941 2004-06-24 Alan Modra <amodra@bigpond.net.au>
1943 * ldlang.c (print_output_section_statement): Don't print size before
1945 (IGNORE_SECTION): Remove bfd arg. Update all callers.
1947 * ldexp.c (fold_name): .. See below.
1948 * ldlang.c (section_already_linked, print_output_section_statement,
1949 print_input_section, insert_pad, size_input_section,
1950 lang_check_section_addresses, lang_size_sections_1,
1951 lang_size_sections, lang_do_assignments_1, lang_set_startof,
1952 lang_one_common, lang_reset_memory_regions, lang_process,
1953 lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
1954 * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
1955 * pe-dll.c (process_def_file, generate_reloc): ..
1956 * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
1957 gld${EMULATION_NAME}_before_allocation): ..
1958 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
1959 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
1960 sh64_elf_${EMULATION_NAME}_after_allocation): ..
1961 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
1962 * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
1963 ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
1964 "size" instead of "_raw_size" and "_cooked_size". Expand
1965 bfd_section_size macro invocations.
1967 2004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1969 * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
1970 ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
1971 ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
1973 (.tls): Define ___tls_start__ and ___tls_end__.
1975 2004-06-21 Alexandre Oliva <aoliva@redhat.com>
1977 * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
1979 2004-06-18 Adam Nemet <anemet@lnxw.com>
1981 * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
1982 * configure: Regenerate.
1984 2004-06-15 Jakub Jelinek <jakub@redhat.com>
1986 * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
1987 .gcc_except_table output sections lost accidentally with
1990 2004-06-15 Alan Modra <amodra@bigpond.net.au>
1992 * ldwrite.c (build_link_order): Use bfd_get_section_size
1993 instead of bfd_get_section_size_before_reloc or _raw_size.
1994 * pe-dll.c (process_def_file): Likewise.
1996 2004-06-14 Alan Modra <amodra@bigpond.net.au>
1998 From Richard Wirth <r.wirth@wirthware.de>
1999 * ldlang.c (lang_finish): Don't free lang_definedness_table.
2001 2004-05-29 Alan Modra <amodra@bigpond.net.au>
2003 * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
2004 (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
2006 2004-05-28 Alan Modra <amodra@bigpond.net.au>
2008 * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
2010 * lexsup.c: Formatting. Wrap long lines.
2011 * ldwrite.c: Update copyright date.
2013 * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
2014 (output_section_callback): Nor SEC_KEEP here.
2015 (gc_section_callback): Twiddle SEC_EXCLUDE here.
2016 (lang_gc_wild): Delete. Fold into..
2017 (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage
2019 (lang_process): Always call lang_gc_sections.
2020 (lang_place_orphans): Handle SEC_EXCLUDE sections.
2021 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
2024 2004-05-26 H.J. Lu <hongjiu.lu@intel.com>
2026 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
2027 SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
2028 * ldlang.c (lang_add_section): Likewise.
2030 2004-05-26 Alan Modra <amodra@bigpond.net.au>
2032 * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
2033 sections when doing a final link. Clear SEC_EXCLUDE when doing
2034 a relocable link, except for SEC_DEBUGGING sections.
2035 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
2036 same condition here to drop SEC_EXCLUDE orphan sections.
2038 2004-05-25 Alan Modra <amodra@bigpond.net.au>
2040 * ldlang.c (lang_process): Call bfd_merge_sections later, and
2041 only when not a relocatable link.
2042 (print_input_section): Handle SEC_EXCLUDE sections.
2043 (size_input_section): Don't update dot on SEC_EXCLUDE sections.
2044 (lang_do_assignments_1): Likewise.
2045 * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
2046 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
2047 * emultempl/hppaelf.em (build_section_lists): Likewise.
2048 * emultempl/ppc64elf.em (build_toc_list): Likewise.
2049 (build_section_lists): Likewise.
2051 2004-05-23 Andreas Schwab <schwab@suse.de>
2053 * ld.texinfo (Options): Fix typo in last change.
2055 2004-05-21 Andy Chittenden <achittenden@bluearc.com>
2057 * ld.h (ld_config_type): Add new field: hash_table_size.
2058 * ldmain.c: Initialise the new field to zero. If it is non-zero
2059 after parsing the linker's command line call
2060 bfd_hash_set_default_size.
2061 * lexsup.c (option_values): Add OPTION_HASH_SIZE.
2062 (ld_options): Add hash-size.
2063 (parse_args): Parse --hash-size option. Allow
2064 --reduce-memory-overheads to set the default hash table size as
2066 * ld.texinfo: Document the new switch. Also mention that
2067 --reduce-memory-overheads can affect the hash table size.
2068 * NEWS: Mention the new feature.
2070 2004-05-19 J"orn Rennecke <joern.rennecke@superh.com>
2072 * NEWS: Mention new linker map file generation and the
2073 --reduce-memory-overheads option.
2074 * ld.texinfo: Document --reduce-memory-overheads option.
2075 * ld.h (map_symbol_def): New struct.
2076 (struct user_section_struct, section_userdata_type): Rename to:
2077 (struct lean_user_section_struct, lean_section_userdata_type).
2078 (struct fat_user_section_struct, fat_section_userdata_type): New.
2079 (SECTION_USERDATA_SIZE): Define.
2080 (args_type): New member reduce_memory_overheads.
2081 * ldlang.c (map_obstack): New static variable.
2082 (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
2083 (lang_map): Unless command_line.reduce_memory_overheads is set,
2084 initialize lists of defined symbols for each section.
2085 (print_input_section): Unless command_line.reduce_memory_overheads
2086 is set, use print_all_symbols.
2087 (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
2088 * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
2089 * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
2090 (ld_options): Add entry for --reduce-memory-overheads.
2091 (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
2093 2004-05-19 Jakub Jelinek <jakub@redhat.com>
2095 * ldgram.y (sect_constraint): New.
2096 (ONLY_IF_RO, ONLY_IF_RW): New tokens.
2097 (section): Add sect_constraint. Pass additional argument
2098 to lang_enter_output_section_statement.
2099 * mri.c (mri_draw_tree): Pass additional argument to
2100 lang_enter_output_section_statement.
2101 * emultempl/pe.em (place_orphan): Likewise.
2102 (output_prev_sec_find): Disregard output section statements with
2104 * emultempl/mmo.em (output_prev_sec_find): Likewise.
2105 (mmo_place_orphan): Pass additional argument to
2106 lang_enter_output_section_statement.
2107 * emultempl/elf32.em (output_prev_sec_find): Disregard output section
2108 statements with constraint == -1.
2109 (place_orphan): Pass additional argument to
2110 lang_enter_output_section_statement.
2111 * ldlang.c (lang_enter_overlay_section): Likewise.
2112 (lang_output_section_find_1): New.
2113 (lang_output_section_find): Use it.
2114 (lang_output_section_statement_lookup_1): New.
2115 (lang_output_section_statement_lookup): Use it.
2116 (check_section_callback, check_input_sections): New.
2117 (map_input_to_output_sections): Check if all input sections
2118 are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
2119 (strip_excluded_output_sections): Disregard output section statements
2120 with constraint == -1.
2121 (lang_record_phdrs): Likewise.
2122 (lang_enter_output_section_statement): Add constraint argument.
2123 Use lang_output_section_statement_lookup_1.
2124 * ldlang.h (lang_output_section_statement_type): Add constraint
2125 and all_input_readonly fields.
2126 (lang_enter_output_section_statement): Adjust prototype.
2127 * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
2128 * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
2129 segment if all input sections are readonly.
2131 2004-05-19 Adam Nemet <anemet@lnxw.com>
2133 * scripttempl/i386lynx.sc: Remove file.
2135 2004-05-17 Bob Wilson <bob.wilson@acm.org>
2137 * ld.texinfo (Output Section Address): Correct subsection name.
2139 2004-05-17 Adam Nemet <anemet@lnxw.com>
2141 * configure.tgt (powerpc-*-lynxos* case): New case.
2142 * configure.host (i[3-7]86-*-lynxos* case): Remove case.
2143 * emulparams/ppclynx.sh: New file.
2144 * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
2145 * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
2146 (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
2147 (eppclynx.c): New rule.
2148 * Makefile.in: Regenerate.
2150 2004-05-13 Joel Sherrill <joel@oarcorp.com>
2152 * configure.tgt (or32-*-rtems*): Switch to elf and
2153 support versioned targets.
2155 2004-05-13 Nick Clifton <nickc@redhat.com>
2157 * po/fr.po: Updated French translation.
2159 2004-05-11 Jakub Jelinek <jakub@redhat.com>
2161 * genscripts.sh: Generate -z combreloc -z now -z relro scripts
2162 for binaries, -shared and -pie.
2163 * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
2164 * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
2165 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
2166 (OTHER_RELRO_SECTIONS): ... this.
2167 * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
2168 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
2169 -z relro and -z norelro.
2170 (gld${EMULATION_NAME}_list_options): Add it to usage.
2171 (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
2172 -z relro scripts when appropriate.
2173 * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
2174 Create separate .got.plt section if SEPARATE_GOTPLT.
2175 Move sections which are only written during relocation handling
2176 to the beginning of RW segment. If NO_SMALL_DATA, move .got
2177 before .data. Add DATA_SEGMENT_RELRO_END directive.
2178 Include OTHER_RELRO_SECTIONS.
2179 * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
2180 * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
2181 (fold_unary): Likewise.
2182 (fold_binary): Handle -z relro.
2183 * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
2184 exp_dataseg_relro_adjust phases. Add relro_end field.
2185 * ldmain.c (main): Initialize link_info.relro to FALSE.
2186 * ldlang.c (lang_size_sections): Handle -z relro.
2188 2004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
2190 * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
2192 2004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
2194 * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
2195 before printing it with %W.
2197 2004-05-07 Brian Ford <ford@vss.fsi.com>
2198 DJ Delorie <dj@redhat.com>
2200 * emultempl/pe.em (real_flags): New static.
2201 (OPTION_LARGE_ADDRESS_AWARE): New define.
2202 (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
2203 (gld_${EMULATION_NAME}_list_options): Likewise.
2204 (gld${EMULATION_NAME}_handle_option): Likewise.
2205 (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
2206 * ld.texinfo: Document it.
2209 2004-05-07 Brian Ford <ford@vss.fsi.com>
2211 * NEWS: Mention DWARF 2 support for i386pe.
2213 2004-05-05 Alexandre Oliva <aoliva@redhat.com>
2215 * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
2218 2004-04-30 Alan Modra <amodra@bigpond.net.au>
2220 * ldlang.c (unique_section_p): Pass section parm, return true on
2222 (output_section_callback): Adjust.
2223 * ldlang.h (unique_section_p): Update prototype.
2224 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
2226 2004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
2228 * ld.texinfo (--gc-sections): Remove restriction for
2231 2004-04-29 Brian Ford <ford@vss.fsi.com>
2233 * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
2234 for DWARF 2/3. Update stab section's syntax.
2236 2004-04-29 Alan Modra <amodra@bigpond.net.au>
2238 * pe-dll.c: Revert changes accidentally committed 2004-03-08.
2239 (fill_edata): Correct pointer arithmetic.
2241 2004-04-21 Chris Demetriou <cgd@broadcom.com>
2243 * ld.texinfo: Remove MIPS --embedded-relocs documentation.
2244 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
2245 * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
2246 (EXTRA_EM_FILE): Use mipsecoff.em
2247 * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
2248 (EXTRA_EM_FILE): Use mipsecoff.em
2249 * emultempl/mipsecoff.em: Restructure to be included as an
2250 extra emulation file.
2251 (check_sections, gld${EMULATION_NAME}_after_open)
2252 (gld${EMULATION_NAME}_after_allocation)
2253 (gld${EMULATION_NAME}_get_script)
2254 (ld_${EMULATION_NAME}_emulation): Remove
2255 (gld${EMULATION_NAME}_before_parse): Rename to...
2256 (mipsecoff_before_parse): This.
2257 (LDEMUL_BEFORE_PARSE): Define.
2258 * emultempl/mipself.em: Remove file.
2259 * scripttempl/mips.sc (.rel.sdata): Do not include in output.
2260 (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
2262 * Makefile.am: Remove dependencies on emultempl/mipself.em.
2263 * Makefile.in: Regenerate.
2265 2004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
2267 * ld.texinfo (synthesizing on H8/300): Information about linker
2268 relaxation support for bit manipulation instructions and system
2269 control instructions is added.
2271 2004-04-21 Hans-Peter Nilsson <hp@axis.com>
2273 * NEWS: Mention change in DEFINED semantics.
2275 2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
2277 * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
2278 (.data): Add KEEP for .gnu.linkonce.d.*personality*.
2279 (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
2281 2004-04-21 Ben Elliston <bje@au.ibm.com>
2283 * ld.texinfo (Simple Example): Add missing punctuation.
2285 2004-04-20 Chris Demetriou <cgd@broadcom.com>
2287 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
2289 2004-04-19 Jakub Jelinek <jakub@redhat.com>
2291 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
2294 2004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
2296 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
2297 with default priority. Likewise for dtors.
2299 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2301 * configure.host: Remove mips*-dec-bsd* target.
2302 * configure.tgt: Likewise.
2304 2004-04-08 Richard Sandiford <rsandifo@redhat.com>
2306 * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
2307 * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
2308 * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
2309 * emultempl/irix.em: New file.
2310 * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
2312 * Makefile.in: Regenerate.
2314 2004-04-01 Paul Brook <paul@codesourcery.com>
2316 * emultempl/armelf.em (byteswap_code): Add.
2317 (arm_elf_before_allocation): Pass extra parameter.
2318 (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
2319 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
2320 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
2321 * emultempl/armelf_oabi.em: Pass extra parameter.
2322 * ld.texinfo: Document --be8.
2324 2004-03-30 Stan Shebs <shebs@apple.com>
2326 Remove long-obsolete MPW support.
2327 * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
2328 * Makefile.am (mpw): Remove file-presynthesizing actions.
2329 * Makefile.in: Likewise.
2330 * ldfile.c (slash): Remove MPW case.
2331 * ldlex.l [MPW]: Remove unused definition.
2333 2004-03-30 Galit Heller <Galit.Heller@nsc.com>
2335 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
2336 (eelf32cr16c.c): New target.
2337 * Makefile.in: Regenerate.
2338 * configure.tgt: Handle cr16c-*-elf*.
2339 * emulparams/elf32cr16c.sh: New file.
2340 * scripttempl/elfcr16c.sc: Likewise
2341 * NEWS: Mention support for new target.
2343 2004-03-30 Nick Clifton <nickc@redhat.com>
2345 * po/sv.po: Updated Swedish translation.
2347 2004-03-27 Alan Modra <amodra@bigpond.net.au>
2349 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
2350 * emultempl/hppaelf.em: Likewise.
2351 * emultempl/ppc64elf.em: Likewise.
2352 * emultempl/sh64elf.em: Likewise.
2354 2004-03-25 Alan Modra <amodra@bigpond.net.au>
2356 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
2357 size_dynamic_sections call.
2359 2004-03-23 Alan Modra <amodra@bigpond.net.au>
2362 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
2363 link_info.wrap_char.
2365 2004-03-20 H.J. Lu <hongjiu.lu@intel.com>
2367 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
2368 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
2370 2004-03-20 Alexandre Oliva <aoliva@redhat.com>
2372 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
2374 2004-03-19 Alan Modra <amodra@bigpond.net.au>
2376 * config.in: Regenerate.
2377 * po/ld.pot: Regenerate.
2379 2004-03-18 Alan Modra <amodra@bigpond.net.au>
2381 * ld.texinfo: Add --as-needed doco.
2382 * ldmain.c (as_needed): New global var.
2383 * ldmain.h (as_needed): Declare.
2384 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
2385 OPTION_NO_AS_NEEDED.
2386 (ld_options): Likewise.
2387 (parse_args): Handle them.
2388 * ldlang.h (lang_input_statement_type): Add as_needed field.
2389 * ldlang.c (new_afile): Set p->as_needed.
2390 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
2391 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
2392 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
2394 * ldlang.c (open_input_bfds): Remove useless cast.
2395 (lang_do_assignments_1): Likewise.
2396 (lang_for_each_input_section): Delete.
2398 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2400 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
2402 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
2404 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
2405 private when building implib.
2407 2004-03-05 Nathan Sidwell <nathan@codesourcery.com>
2409 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
2411 (IGNORE_SECTION): Ignore .tbss sections too.
2412 (lang_size_sections_1): .tbss sections do not advance dot.
2414 2004-03-01 Andreas Schwab <schwab@suse.de>
2416 * ld.texinfo (Options): Fix example for --wrap.
2418 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2420 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
2423 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
2425 * ldlang.c (lang_check): Use %P, not %E, in error message.
2427 2004-02-23 Nathan Sidwell <nathan@codesourcery.com>
2429 * ldlang.h (struct lang_output_section_state): Change processed
2431 * ldexp.c (check, invalid): Remove.
2432 (fold_name): Move valid_p assignments. Create undefined symbol
2433 when needed. Directly exampine section's processd flag.
2434 * ldlang.c (lang_output_section_statement_lookup): Adjust
2435 processed field init.
2436 (lang_size_sections_1): Allow LOADADDR when determining section's
2437 VMA. Adjust error message. Fold data statement's expr.
2438 (lang_size_sections): Correctly increment lang_statement_iteration.
2440 2004-02-23 Alan Modra <amodra@bigpond.net.au>
2442 * ldexp.c (fold_tree): Follow indirect symbols.
2444 2004-02-20 Nathan Sidwell <nathan@codesourcery.com>
2446 * ldgram.y (exp): Add two operand ALIGN.
2447 * ldexp.c (fold_binary): Add ALIGN_K case.
2448 * ld.texinfo (ALIGN): Document two operand version.
2450 2004-02-19 Nathan Sidwell <nathan@codesourcery.com>
2452 * ldlang.c (map_input_to_output_sections): Initialize sections
2453 mentioned in a data statement expression.
2454 (lang_do_assignments_1): Add data statement's expression's
2457 2004-02-18 Nathan Sidwell <nathan@codesourcery.com>
2459 * ldgram.y (statement_anywhere): Add assert rule.
2460 * ldlang.c (exp_init_os): Add assert case.
2462 2004-02-14 Andrew Cagney <cagney@redhat.com>
2464 * ldmain.c (remove_output): Call bfd_cache_close.
2466 2004-02-14 Richard Sandiford <rsandifo@redhat.com>
2468 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
2469 .MIPS.content* and .MIPS.events* sections.
2471 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
2473 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
2474 .note.gnu.arm.ident to after allocated sections. Mark its
2477 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
2479 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
2480 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
2481 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
2482 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
2483 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
2485 2004-02-05 Nick Clifton <nickc@redhat.com>
2487 * emultempl/pe.em (_after_open): Fix typo in previous delta.
2489 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
2491 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
2493 2004-01-28 Alan Modra <amodra@bigpond.net.au>
2495 * genscripts.sh: Fix typo.
2497 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
2499 2004-01-24 Jakub Jelinek <jakub@redhat.com>
2501 * emulparams/elf64_ia64.sh: Put .rela.opd into
2502 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
2504 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
2506 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
2507 * ld.texinfo (--omagic): Note that writable text section
2508 does not conform to published PE-COFF specs.
2509 (--enable-auto-import): Likewise.
2511 2004-01-15 Alan Modra <amodra@bigpond.net.au>
2513 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
2515 2004-01-13 Nick Clifton <nickc@redhat.com>
2517 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
2518 which if true will prevent the LMA region being used as a
2519 replacement for a default VMA region.
2520 (lang_leave_output_section_statement): Pass extra parameter.
2521 (lang_leave_overlay): Likewise.
2522 * ld.texinfo (Output Section LMA): Document that the LMA
2523 region can be set to the VMA region if no VMA has been set.
2524 * ldlang.h (struct lang_output_section_phdr_list): Create a
2525 typedef for this type. Minor formatting fixes.
2527 2004-01-13 Nick Clifton <nickc@redhat.com>
2529 * ldlang.c (lang_size_sections_1): If dot is advanced, then
2530 assume that the section should be allocated.
2532 2004-01-13 Alan Modra <amodra@bigpond.net.au>
2534 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
2535 sections. Do ignore SEC_NEVER_LOAD sections.
2536 (lang_size_sections_1): Remove test made redundant with the above.
2538 2004-01-09 Alan Modra <amodra@bigpond.net.au>
2540 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
2541 program_header_size.
2543 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
2545 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
2546 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
2547 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
2548 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
2549 (MAXPAGESIZE): Set to 64Kb.
2550 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
2551 __ROFIXUP_END__. Don't map .rofixup.got any more.
2552 * emulparams/elf32frv.sh (NOP): Set.
2553 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
2554 * configure.tgt: Add frv-*-*linux*.
2555 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
2556 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
2557 (eelf32frvfd.c): New.
2558 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
2559 * emulparams/elf32frv.sh: Reverted previous two patches.
2560 * emulparams/elf32frvfd.sh: New.
2561 * Makefile.in: Rebuilt.
2562 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
2563 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
2564 .rofixup.got to .rofixup.
2565 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
2566 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
2567 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
2569 2004-01-05 Jakub Jelinek <jakub@redhat.com>
2571 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
2572 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
2574 2004-01-03 Alan Modra <amodra@bigpond.net.au>
2576 * ldexp.c (align_n): Make static.
2577 * ldexp.h (align_n): Delete declaration.
2578 * ldlang.h (lang_enter_output_section_statement): Remove
2580 * ldlang.c (lang_enter_output_section_statement): Likewise.
2581 (TO_ADDR, TO_SIZE): Define.
2582 (opb_shift): New var.
2583 (init_opb): New function.
2584 (print_input_section): Call init_opb and use TO_ADDR.
2585 (print_data_statement, print_reloc_statement): Likewise.
2586 (print_padding_statement): Likewise.
2587 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
2588 (lang_check_section_addresses): Likewise.
2589 (lang_size_sections_1): Likewise.
2590 (lang_do_assignments_1): Likewise.
2591 (lang_set_startof): Likewise.
2592 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
2593 (lang_process): Call init_opb.
2594 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
2595 (lang_enter_overlay_section): Adjust
2596 lang_enter_output_section_statement call.
2597 * ldgram.y: Likewise.
2598 * mri.c (mri_draw_tree): Likewise.
2599 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
2600 * emultempl/mmo.em (mmo_place_orphan): Likewise.
2601 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
2603 * ldfile.c (ldfile_set_output_arch): Add defarch param.
2604 * ldfile.h (ldfile_set_output_arch): Ditto.
2605 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
2606 ldfile_set_output_arch.
2607 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
2608 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
2609 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
2610 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
2611 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
2612 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
2613 * ldgram.y: Adjust ldfile_set_output_arch call.
2614 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
2615 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
2616 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
2617 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
2618 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
2619 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
2620 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
2622 2004-01-02 Bernardo Innocenti <bernie@develer.com>
2624 * configure.tgt: Add m68k-uClinux target.
2626 For older changes see ChangeLog-0203
2632 version-control: never