1 2005-01-25 Alan Modra <amodra@bigpond.net.au>
3 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting.
4 (gld${EMULATION_NAME}_after_open): Ignore needed libs if they were
5 only needed by an as-needed lib that didn't get linked.
7 2005-01-23 Alan Modra <amodra@bigpond.net.au>
9 * ld.texinfo (Output Section Keywords <CONSTRUCTORS>): Correct
10 __DTOR_LIST__ description.
12 2005-01-23 Alan Modra <amodra@bigpond.net.au>
14 * ld.texinfo (Location Counter <dot outside sections>): Document
15 effects of orphan section placement, and ". = ." workaround.
16 * Makefile.in: Regenerate.
18 2005-01-22 Richard Sandiford <rsandifo@redhat.com>
20 * emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;".
21 * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise.
23 2005-01-21 Jakub Jelinek <jakub@redhat.com>
25 * ldgram.y (AS_NEEDED): New token.
26 (input_list): Handle AS_NEEDED ( input_list ).
27 * ldlex.l (AS_NEEDED): Add.
28 * ld.texinfo: Document AS_NEEDED ().
29 * NEWS: Mention AS_NEEDED ().
31 2005-01-21 Ben Elliston <bje@au.ibm.com>
33 * ldlang.c (lang_reasonable_defaults): Remove.
34 (lang_process): Don't call lang_reasonable_defaults.
36 * ldexp.c (exp_assop): Remove #if 0'd code.
37 (exp_print_tree): Likewise.
38 * ldlang.c (lang_memory_region_lookup): Likewise.
39 (open_output): Likewise.
40 (lang_do_assignments_1): Likewise.
41 (lang_place_orphans): Likewise.
42 (lang_enter_output_section_statement): Likewise.
43 (lang_reasonable_defaults): Likewise.
44 * ldlang.h (struct lang_input_statement_struct): Likewise.
45 * mri.c (mri_draw_tree): Likewise.
47 * pe-dll.c (generate_reloc): Likewise.
48 (make_import_fixup_entry): Likewise.
50 * emultempl/beos.em (set_pe_subsystem): Likewise.
51 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
52 * emultempl/pe.em: Likewise.
53 * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise.
55 2005-01-20 Daniel Jacobowitz <dan@codesourcery.com>
57 * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o.
58 (earmelfb_linux_eabi.c): New target.
59 * Makefile.in: Regenerated.
60 * configure.tgt (arm*b-*-linux-gnueabi): New target.
61 * emulparams/armelfb_linux_eabi.sh: New file.
63 2005-01-20 Nick Hudson <skrll@netbsd.org>
66 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
67 Handle bfd_elf32_hppa_nbsd_vec.
69 2005-01-19 Richard Sandiford <rsandifo@redhat.com>
71 * ldmain.h (ld_sysroot): Change type to a constant string.
72 * ldmain.c (ld_sysroot): Likewise.
73 (get_relative_sysroot, get_sysroot): New functions, adding command-line
74 support for changing the sysroot.
75 (main): Call the new functions.
76 * lexsup.c (OPTION_SYSROOT): New.
77 (ld_options): Add --sysroot.
78 (parse_args): Add a dummy handler for it.
79 * ld.texinfo (--sysroot): Document.
80 * NEWS: Mention the new --sysroot option.
82 2005-01-18 Alan Modra <amodra@bigpond.net.au>
84 * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call.
85 (lang_place_orphans): Don't abort on just_syms_flag, instead call
88 2005-01-16 Danny Smith <dannysmith@users.sourceforge.net>
90 * defilep.y (def_name, def_library): Combine into...
91 (def_image_name): New function. Strip name to basename,
94 2005-01-12 Mark Kettenis <kettenis@gnu.org>
96 * configure.in: Be sure to invoke config.sub using the shell.
97 * configure: Regenerate.
99 2005-01-11 Alan Modra <amodra@bigpond.net.au>
101 * configure.host: Correct sed patterns for last change.
103 2005-01-10 Nick Clifton <nickc@redhat.com>
106 * ldmisc.c (vfinfo): Add an extra argument: is_warning. Use this
107 to determine whether config.make_executable should be set to FALSE in
108 conjunction with config.fatal_warnings.
109 (info_msg, minfo, lfinof): Pass FALSE as the extra argument.
110 (einfo): Pass TRUE as the extra argument.
112 2005-01-10 Greg Schaffer <gschafer@zip.com.au>
114 * configure.host (linux targets): Use "${CC} -dumpspecs" instead
115 of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0.
116 (ia64-*-aix): Delete - this target is obsolete, and would be
117 broken by this patch.
119 2005-01-06 Eric Botcazou <ebotcazou@libertysurf.fr>
121 * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
122 (sparc64-sun-solaris2*): New host.
124 2005-01-06 Paul Brook <paul@codesourcery.com>
126 * Makefie.am: Add earmelf_vxworks.
127 * Makefile.in: Regenerate.
128 * configure.tgt: Make arm-*-vxworks a separate case.
129 * emulparams/armelf_vxworks.sh: New function.
131 2005-01-06 Alan Modra <amodra@bigpond.net.au>
133 * emultempl/ppc64elf.em (no_multi_toc): New var.
134 (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists.
135 (OPTION_NO_MULTI_TOC): Define.
136 (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support.
137 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
139 2005-01-05 Nick Clifton <nickc@redhat.com>
142 * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding
143 Standard's specification for parsable error messages.
145 2005-01-04 Paul Brook <paul@codesourcery.com>
147 * Makefile.am: Correct dependency for earmsymbian.c.
148 * Makefile.in: Regenerate.
150 2004-12-28 Danny Smith <dannysmith@users.sourceforge.net>
152 * emultempl/pe.em (set_pe_subsystem): Change second arg to
153 lang_add_entry to FALSE.
155 2004-12-23 Nick Clifton <nickc@redhat.com>
158 * emulparams/shelf.sh (.stack): Increase stack start address to
161 2004-12-20 Nick Clifton <nickc@redhat.com>
163 * ldmain.c (main): Issue an error message if -static and -shared
166 2004-12-17 Jakub Jelinek <jakub@redhat.com>
168 * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
169 * ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them.
170 * ldlang.c (lang_size_sections): Use them to avoid wasting virtual
171 address space at DATA_SEGMENT_ALIGN. Fix computation of expected
172 PT_GNU_RELRO segment end.
174 2004-12-14 P.J. Darcy <darcypj@us.ibm.com>
176 * configure.tgt: Add s390x-ibm-tpf support.
178 2004-12-16 Martin Kögler <mkoegler@auto.tuwien.ac.at>
180 * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL
183 2004-12-07 Ben Elliston <bje@gnu.org>
185 * ldemul.h: Forward declare struct option.
187 2004-12-01 Danny Smith <dannysmith@users.sourceforge.net>
189 * scripttempl/pe.sc (.data): Add .jcr subsection.
191 2004-11-30 Paul Brook <paul@codesourcery.com>
193 * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.
195 2004-11-30 Tero Niemela <tero_niemela@yahoo.com>
197 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
198 * Makefile.in: Regenerate.
200 2004-11-26 Melissa Mears <asterisk@graces.dricas.com>
202 * emultempl/pe.em: Add --subsystem:xbox as well as
204 * ld.texinfo: (ld_options): Document acceptance of subsystem xbox
205 and numeric subsystems.
207 2004-11-24 Alan Modra <amodra@bigpond.net.au>
209 * ldexp.c (fold_name): Correct PR 338 fix.
211 2004-11-19 Mark Mitchell <mark@codesourcery.com>
213 * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
214 (earmelf_linux_eabi.c): New target.
215 * configure.tgt (arm*-*-linux-gnueabi): Handle it.
216 * emulparams/armelf_linux_eabi.sh: New file.
217 * Makefile.in: Regenerated.
219 2004-11-19 Nick Clifton <nickc@redhat.com>
222 * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and
223 LENGTH fields in the MEMORY command, to explicitly state that
224 symbols cannot be used in their expressions.
226 2004-11-19 Jon Beniston <jon@beniston.com>
228 * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION.
229 * ld/ldgram.y: Add ORIGIN and LENGTH expressions.
230 * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions
231 which return the length and origin of a memory.
232 * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions.
233 * NEWS: Mention support for ORIGIN and LENGTH operators.
235 2004-11-17 Daniel Jacobowitz <dan@codesourcery.com>
237 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use
238 a dynamic object for stubs.
240 2004-11-04 Paul Brook <paul@codesourcery.com>
242 * ld.texinfo: Document --default-imported-symver.
243 * ldmain.c (main): Set link_info.default_imported_symver.
244 * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER.
245 (ld_options): Add --default-imported-symver.
246 (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.
248 2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
249 Vineet Sharma <vineets@noida.hcltech.com>
251 * Makefile.am: Add entries for new maxq-coff target.
252 * Makefile.in: Regenerate.
253 * configure.tgt: Add support for maxq.
254 * emulparams/maxqcoff.sh: New File.
255 * scripttempl/maxqcoff.sc: New linker script for target maxq.
256 * NEWS: Mention the new target.
258 2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
260 * testsuite/ld-scripts/weak.exp: Enable test on PE,
262 * testsuite/ld-undefined/weak-undef.exp: Enable test on PE,
264 * testsuite/lib/ld-lib.exp (is_pecoff_format): New.
266 2004-11-04 Daniel Jacobowitz <dan@debian.org>
268 * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o.
269 (earmelf_oabi.c): Remove rule.
270 * configure.tgt: Remove arm-*-oabi and thumb-*-oabi.
271 * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files.
272 * Makefile.in: Regenerated.
274 2004-11-04 Hans-Peter Nilsson <hp@axis.com>
276 * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout.
277 * emulparams/criself.sh (INIT_START): Remove emitted "push srp".
279 (INIT_END): Remove emitted "jump [sp+]".
282 2004-11-04 Alan Modra <amodra@bigpond.net.au>
284 * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt.
285 (no_opd_opt, no_toc_opt): New static vars.
286 (ppc_before_allocation): Don't edit opt if no_opd_opt. Call
288 (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define.
289 (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize.
290 (PARSE_AND_LIST_OPTIONS): Describe new options.
291 (PARSE_AND_LIST_ARGS_CASES): Handle them.
293 2004-10-27 Nick Clifton <nickc@redhat.com>
295 * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL,
296 parameter to invocation of lang_section_start.
297 * emultempl/aix.em (_handle_option): Likewise.
299 * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c,
300 eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em.
301 * Makefile.in: Regenerate.
303 2004-10-26 Mark Mitchell <mark@codesourcery.com>
305 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
306 __exidx_{start,end} when not relocating.
308 2004-10-25 Mark Mitchell <mark@codesourcery.com>
310 * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
311 * ldexp.h (segment_type): New type.
312 (segments): New variable.
313 * ldexp.c (segments): New variable.
314 (exp_print_token): Handle SEGMENT_START.
315 (fold_binary): Likewise.
316 * ldgram.y (SEGMENT_START): Declare it as a token.
317 (exp): Handle SEGMENT_START.
318 * ldlang.h (lang_address_statement_type): Add segment field.
319 (lang_section_start): Change prototype.
320 * ldlang.c (map_input_to_output_sections): Do not process section
321 assignments if a corresponding SEGMENT_START has already been
323 (lang_section_start): Add segment parameter.
324 * ldlex.l (SEGMENT_START): Add it.
325 * lexsup.c (seg_segment_start): New function.
326 (parse_args): Use it for -Tbss, -Tdata, and -Ttext.
327 * ld.texinfo (SEGMENT_START): Document it.
328 * emulparams/armsymbian.sh (EMBEDDED): Set it.
329 * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment
330 base addresses. Do not map relocations.
331 * NEWS: Mention SEGMENT_START.
333 2004-10-26 Paul Brook <paul@codesourcery.com>
335 * ld.texinfo: Document --default-symver.
336 * ldmain.c (main): Set link_info.create_default_symver.
337 * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER.
338 (ld_options): Add default-symver.
339 (parse_args): Handle OPTION_DEFAULT_SYMVER.
341 2004-10-24 Danny Smith <dannysmith@users.sourceforge.net>
343 * pe-dll.c (process_def_file): Don't export all symbols by default if
344 building a position-independent executable.
346 2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
349 * ldmain.c (reloc_overflow): Accept a pointer to struct
350 bfd_link_hash_entry. Report symbol location for relocation
353 2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
355 * genscripts.sh (libpath.exp): Really generate for first
358 2004-10-19 Danny Smith <dannysmith@users.sourceforge.net>
360 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify
361 comparison and replacement of filenames.
363 2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
366 * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic
367 option on linker script as the one for linker script.
369 2004-10-16 Daniel Jacobowitz <dan@debian.org>
371 * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
372 (check_excluded_libs): New.
373 (load_symbols): Call check_excluded_libs.
374 * ldlang.h (add_excluded_libs): New prototype.
375 * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
376 (gld${EMULATION_NAME}_add_options): Add --exclude-libs.
377 (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
378 * ld.texinfo (Command Line Variables): Document --exclude-libs.
379 (Options Specific to i386 PE Targets): Remove --exclude-libs.
381 2004-10-15 Alan Modra <amodra@bigpond.net.au>
383 * ldexp.c (exp_fold_tree): Don't immediately exit ld on a
384 failing link script assert.
386 * ldctor.c (ldctor_add_set_entry): Fix comment typo.
388 2004-10-14 H.J. Lu <hongjiu.lu@intel.com>
391 * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set.
392 (SMALL_DATA_DTOR): Set.
393 * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset.
394 (SMALL_DATA_DTOR): Unset.
395 * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors
396 after .data. If SMALL_DATA_DTOR is set, move .dtors after
399 2004-10-14 Alan Modra <amodra@bigpond.net.au>
402 * ldlang.h (lang_output_section_statement_type): Make "next" a
403 struct lang_output_section_statement_struct *.
404 (struct orphan_save): Move from elf32.em. Add "name" and "flags".
405 (lang_output_section_find_by_flags, lang_insert_orphan): Declare.
406 * ldlang.c (lang_output_section_find_1): Adjust for changed
407 output_section_statement "next".
408 (strip_excluded_output_sections): Likewise.
409 (lang_record_phdrs): Likewise.
410 (lang_output_section_find_by_flags): New function.
411 (output_prev_sec_find): Move from pe.em. Adjust iterator.
412 (lang_insert_orphan): New function. Tail end of elf32.em's
413 place_orphan merged with that from pe.em. Allow bfd_section to
414 be placed first. New heuristic for placing new output section
415 statement in existing script, and accompanying split of __start
416 symbol alignment into a separate assignment to dot.
417 (lang_add_section): Consistently use output->bfd_section rather than
418 an alias, section->output_section.
419 (map_input_to_output_sections): Rename overly long arg. Move
420 initialization of data_statement output section to here..
421 (lang_check_section_addresses): ..from here.
422 (print_assignment): Correct printing of etree_assert.
423 (print_all_symbols): Don't bomb if userdata is NULL.
424 (IGNORE_SECTION): Rearrange.
425 * emultempl/elf32.em (output_rel_find): Adjust interator.
426 (output_prev_sec_find): Delete.
427 (struct orphan_save): Delete.
428 (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section
429 flags without creating a duplicate output section statement.
430 Revise code holding history of various orphan section placements.
431 Allow orphan sections to place before script specified output
432 sections. Call lang_output_section_find_by_flags when placement
433 by name fails. Use lang_insert_orphan.
434 * emultempl/mmo.em (output_prev_sec_find): Delete.
435 (struct orphan_save): Delete.
436 (mmo_place_orphan): Revise code holding history of orphan placement.
437 Allow orphans to place before existing output sections. Use
439 * emultempl/pe.em (output_prev_sec_find): Delete.
440 (struct orphan_save): Delete.
441 (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of
444 2004-10-13 Mark Mitchell <mark@codesourcery.com>
446 * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a
449 2004-10-13 Alan Modra <amodra@bigpond.net.au>
452 * ldcref.c (check_section_sym_xref): Delete.
453 (check_local_sym_xref): New function.
454 (check_nocrossrefs): Adjust call.
455 * emultempl/pe.em (struct orphan_save): Add os_tail.
456 (place_orphan): Backport assorted fixes from elf32.em.
458 2004-10-12 Bob Wilson <bob.wilson@acm.org>
460 * emultempl/xtensaelf.em: Use ISO C90 formatting.
462 2004-10-11 Jakub Jelinek <jakub@redhat.com>
464 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid
465 getline for portability.
467 * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure.
468 (gld${EMULATION_NAME}_parse_ld_so_conf,
469 gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions.
470 (gld${EMULATION_NAME}_check_ld_so_conf): Use them.
472 2004-10-11 Alan Modra <amodra@bigpond.net.au>
475 * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are
476 rejected when linking statically.
478 2004-10-08 Daniel Jacobowitz <dan@debian.org>
480 * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*.
482 2004-10-07 Bob Wilson <bob.wilson@acm.org>
484 * ld.texinfo (Xtensa): Describe new linker relaxation to optimize
485 assembler-generated longcall sequences. Describe new --size-opt
487 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section.
488 * emultempl/xtensaelf.em (remove_section,
489 replace_insn_sec_with_prop_sec, replace_instruction_table_sections,
490 elf_xtensa_after_open): New.
491 (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT,
492 OPTION_NO_LITERAL_MOVEMENT): Define.
493 (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals.
494 (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement.
495 (PARSE_AND_LIST_OPTIONS): Add --size-opt.
496 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT,
497 OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT.
498 (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open.
499 * scripttempl/elfxtensa.sc: Update with changes from elf.sc.
500 * Makefile.am (eelf32xtensa.c): Update dependencies.
501 * Makefile.in: Regenerate.
503 2004-10-07 Jeff Baker <jbaker@qnx.com>
505 * lexsup.c: Handle --warn-shared-textrel option.
506 (ld_options): Restore alpha sorting of options.
507 * ldmain.c (main): Initialise warn_shared_info field to FALSE.
508 * ld.texinfo: Add documentation for --warn-shared-textrel.
509 * NEWS: Added mention of --warn-shared-textrel option.
511 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
513 * emultempl/crxelf.em (disable_relaxation): Add.
514 (crxelf_before_allocation): Enable --relax option by default.
515 (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX.
516 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax.
517 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX.
519 2004-10-04 H.J. Lu <hongjiu.lu@intel.com>
521 * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and
522 --sort-section name|alignment.
524 * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and
525 --sort-section name|alignment.
527 * ld.h (sort_type): New enum.
528 (wildcard_spec): Change the type of `sorted' to sort_type.
530 * ldgram.y (SORT): Removed.
531 (SORT_BY_NAME): Added.
532 (SORT_BY_ALIGNMENT): Added.
533 (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and
535 (input_section_spec_no_keep): Updated `sorted'.
536 (statement): Replace SORT with SORT_BY_NAME.
538 * ldlang.c (compare_section): New function to compare 2
539 sections with different sorting schemes.
540 (wild_sort): Updated. Use compare_section.
541 (update_wild_statements): New function.
542 (lang_process): Call update_wild_statements before
543 map_input_to_output_sections.
545 * ldlex.l (SORT_BY_NAME): New.
546 (SORT_BY_ALIGNMENT): New.
547 (SORT): Return SORT_BY_NAME.
549 * ldmain.c (sort_section): New. Defined.
550 (main): Initialize it to none.
552 * lexsup.c (option_values): Add OPTION_SORT_SECTION.
553 (ld_options): Add an entry for OPTION_SORT_SECTION.
554 (parse_args): Handle OPTION_SORT_SECTION.
556 * mri.c (mri_draw_tree): Updated `sorted'.
558 2004-10-04 Jakub Jelinek <jakub@redhat.com>
560 * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument.
561 * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first
563 (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first
564 and . as second argument.
565 (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section.
566 * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here.
567 (fold_binary): Add it here. Insert padding to make relro_end
568 COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in
569 exp_dataseg_relro_adjust phase just use previously computed
571 * ldlang.c (lang_size_sections): Set exp_data_seg.base for
572 relro_adjust here. Call lang_size_sections_1 once more if there
573 was too big padding at DATA_SEGMENT_RELRO_END.
574 * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation.
576 2004-10-01 Paul Brook <paul@codesourcery.com>
578 * emulparams/armelf.sh: Add unwinding table sections.
580 2004-09-30 Filip Navara <navaraf@reactos.com>
582 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate
583 correct base address for position independant executables.
584 * pe-dll.c (pe_dll_fill_sections): Don't mark position independant
587 2004-09-30 Paul Brook <paul@codesourcery.com>
589 * ld.texinfo: Document --target2=abs.
590 * emulparms/armsymbian.sh (TARGET2_TYPE): Set.
592 2004-09-29 Nick Clifton <nickc@redhat.com>
594 * scripttempl/xstormy16.sc: Only perform the assignments to the
595 ROM region when not performing a relocatable link. The ROM region
596 does not start at address 0, but the sections will.
597 * Makefile.am: Fix linker script dependency for the generation of
599 * Makefile.in: Regenerate.
601 2004-09-18 Filip Navara <navaraf@reactos.com>
603 * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh,
604 emulparams/i386pe_posix.sh, emulparams/mcorepe.sh,
605 emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define
607 * scripttempl/pe.sc: Make the virtual address and file offset synced if
608 the alignment is lower than the target page size.
610 2004-09-27 Filip Navara <navaraf@reactos.com>
612 * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow
613 def_file_parse to handle pe_def_file if NULL and prevent crash with
616 2004-09-27 Alan Modra <amodra@bigpond.net.au>
618 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
619 --emit-stub-syms automatically when --emit-relocs.
621 2004-09-24 Paul Brook <paul@codeosurcery.com>
623 * scripttempl/elf.sc: Keep .preinit_array, .init_array and
624 .fini_array sections.
626 2004-09-19 Andreas Schwab <schwab@suse.de>
628 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment
629 base so that relro end is suitably aligned.
631 2004-09-17 Paul Brook <paul@codesourcery.com>
633 * ld.texinfo: Rename arm-specific section. Document --target*
634 * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
635 * emulparams/armelf_linux.sh: Ditto.
636 * emulparams/armelf_nbsd.sh: Ditto.
637 * emultempl/armelf.em: Set default for TARGET2_TYPE.
638 (target2_type): New variable.
639 (arm_elf_before_allocation): Don't pass target1_type.
640 (arm_elf_create_output_section_statements): New function.
641 (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
642 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
643 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
644 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
645 * emultempl/armelf_oabi.em (_before_allocation): Remove extra
646 argument to bfd_elf32_arm_process_before_allocation.
648 2004-09-17 Alan Modra <amodra@bigpond.net.au>
650 * ldexp.c (fold_name): Update u.undef.next refs.
651 * emultempl/pe.em: Likewise.
652 * emultempl/sunos.em: Likewise.
654 2004-09-17 Alan Modra <amodra@bigpond.net.au>
656 * Makefile.am: Run "make dep-am".
657 * Makefile.in: Regenerate.
658 * config.in: Regenerate.
659 * configure: Regenerate.
660 * aclocal.m4: Regenerate.
661 * po/ld.pot: Regenerate.
663 2004-09-16 Tomer Levi <Tomer.Levi@nsc.com>
665 * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*.
669 2004-09-16 Alan Modra <amodra@bigpond.net.au>
671 * emultempl/armelf_oabi.em (before_allocation): Add extra zero param
672 to bfd_elf32_arm_process_before_allocation call.
674 2004-09-13 Paul Brook <paul@codesourcery.com>
676 * emulparams/armsymbian.sh: Set TARGET1_IS_REL.
677 * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}.
679 2004-09-07 H.J. Lu <hongjiu.lu@intel.com>
681 * configure: Regenerated with autconfig 2.13.
683 2004-09-07 Andreas Schwab <schwab@suse.de>
685 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
686 alignment before adjusting DATA_SEGMENT_RELRO_END.
688 2004-09-06 Mark Mitchell <mark@codesourcery.com>
690 * emulparams/armsymbian.sh: Use armbpabi script.
691 * scripttempl/armbpabi.sc: New script.
693 2004-09-02 Mark Mitchell <mark@codesourcery.com>
695 * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
696 (earmsymbian.c): New target.
697 * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
698 * Makefile.in: Regenerated.
699 * aclocal.m4: Likewise.
700 * configure: Likewise.
701 * emulparams/armsymbian.sh: New file.
703 2004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
705 * scripttempl/elf32crx.sc: Edit file with comments.
706 (.init): Add new section.
708 (.ctor): Control the linkage order.
711 2004-08-27 Nick Clifton <nickc@redhat.com>
713 * emultempl/pe.em (after_open): Do not assume that either bfd is
716 2004-08-26 Alan Modra <amodra@bigpond.net.au>
718 * ldlang.c (lang_init): Don't compare with TRUE.
720 2004-08-25 Dmitry Diky <diwil@spec.ru>
722 * emulparams/msp430all.sh: Fix RAM sizes for all targets.
723 * scripttempl/elf32msp430.sc: Add .profiler section definition.
725 2004-08-24 H.J. Lu <hongjiu.lu@intel.com>
727 * ldlang.c (wildcardp): Defined as a macro with strpbrk.
729 2004-08-19 Mark Mitchell <mark@codesourcery.com>
731 * configure.tgt (arm*-*-symbianelf*): New target.
732 (arm*-*-eabi*): Likewise.
734 2004-08-19 Jakub Jelinek <jakub@redhat.com>
736 * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
737 (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
738 (OPTION_NON_OVERLAPPING_OPD): Define.
739 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
740 --non-overlapping-opd option.
742 2004-08-18 Alan Modra <amodra@bigpond.net.au>
745 * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
746 was already on the undefs list.
748 2004-08-17 Alan Modra <amodra@bigpond.net.au>
750 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
751 prefix the symbol field too.
753 2004-08-13 Alan Modra <amodra@bigpond.net.au>
755 * ldmain.c (link_callbacks): Remove "error_handler".
756 * ldmisc.c: Include elf-bfd.h.
757 (vfinfo): Sort comment. Handle %A. Use %A instead of
758 bfd_get_section_indent.
759 (error_handler): Delete.
760 * ldmisc.h (error_handler): Delete declaration.
762 2004-08-10 Alan Modra <amodra@bigpond.net.au>
764 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
765 ppc64_elf_restore_symbols.
767 2004-08-09 Alan Modra <amodra@bigpond.net.au>
769 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
770 .toc is too large on relocatable linking.
772 2004-08-09 Alan Modra <amodra@bigpond.net.au>
774 * emultempl/ppc64elf.em (ppc_after_open): Delete.
775 (LDEMUL_AFTER_OPEN): Don't define.
777 2004-08-02 Stephane Carrez <stcarrez@nerim.fr>
779 * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
781 2004-08-01 Stephane Carrez <stcarrez@nerim.fr>
783 * scripttempl/elfm68hc12.sc: Align text, rodata and data section
786 2004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
788 * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
790 2004-07-26 Dmitry Diky <diwil@spec.ru>
792 * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
793 msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
795 * configure.tgt: Likewise.
796 * emulparams/msp430all.sh: Likewise.
797 * Makefile.in: Regenerate.
799 2004-07-23 Nick Clifton <nickc@redhat.com>
801 * emultempl/elf32.em (_place_orphan): Use an already existing
802 section name if that section does not have any flags set.
804 2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
806 * ldlang.c (already_linked_hash_entry): Removed.
807 (already_linked): Likewise.
808 (already_linked_table): Likewise.
809 (section_already_linked): Call bfd_section_already_linked.
810 (lang_process): Replace already_linked_table_init with
811 bfd_section_already_linked_table_init and check return. Replace
812 already_linked_table_free with bfd_section_already_linked_table_free.
814 2004-07-21 Nick Clifton <nickc@redhat.com>
816 * ldlang.c (init_os): Make sure that the newly allocated userdata
817 structure is zeroed out.
819 2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
821 * NEWS: Mention the new --add-needed/--no-add-needed and
822 --as-needed/--no-as-needed options.
824 2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
826 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
827 check the add_needed field.
828 (dt_needed): New struct.
829 (gld${EMULATION_NAME}_try_needed): Change the first argument
830 to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
831 bit in the file where the DT_NEEDED entry comes from.
832 (gld${EMULATION_NAME}_search_needed): Change the second
833 argument to a pointer to struct dt_needed.
834 (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
835 (gld${EMULATION_NAME}_after_open): Likewise.
837 * ld.texinfo: Add --add-needed document.
838 * ldlang.c (new_afile): Set p->add_needed.
839 * ldlang.h (lang_input_statement_type): Add add_needed field.
840 * ldmain.h (add_needed): Declare.
841 * ldmain.c (add_needed): New global var.
842 * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
843 OPTION_NO_ADD_NEEDED.
844 (ld_options): Likewise.
845 (parse_args): Handle them.
847 2004-07-13 Christof Petig <christof@petig-baender.de>
849 * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
850 for endian-ness of extracted addend.
852 2004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net>
854 * pe-dll.c (auto_export): Filter on just the import prefix,
855 "_imp_", not "_imp__".
857 2004-07-09 Nick Clifton <nickc@redhat.com>
859 * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
861 2004-07-06 Tomer Levi <Tomer.Levi@nsc.com>
863 * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
864 (eelf32crx.c): New target.
865 * Makefile.in: Regenerate.
866 * configure.tgt: Handle crx-*-elf*.
867 * emulparams/elf32crx.sh: New file.
868 * emultempl/crxelf.em: New file.
869 * scripttempl/elf32crx.sc: New file.
870 * NEWS: Mention new target.
872 2004-07-06 Nick Clifton <nickc@redhat.com>
874 * Makefile.am: Add eshlsymbian.c.
875 * Makefile.in: Regenerate.
876 * configure.tgt: Add sh*-symbian-elf target.
877 * emulparams/shlsymbian.sh: New file. Configure the
878 sh-symbian-elf linker scripts.
879 * scripttemp/elf32sh-symbian.sc: New file. Linker script
880 template for the sh-symbian-elf target.
882 2004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
884 * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
885 * emulparams/hppalinux.sh: Likewise.
886 * scripttempl/elf.sc: Place .plt just before .got when .plt is in
887 data segment and PLT_BEFORE_GOT is defined.
889 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
891 * ld.texinfo (WIN32): Document PE weak symbols.
893 2004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
895 * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
897 2004-07-01 H.J. Lu <hongjiu.lu@intel.com>
899 * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
902 2004-06-29 Alan Modra <amodra@bigpond.net.au>
904 * ldlang.c (lang_reset_memory_regions): Save last relax pass section
907 2004-06-24 Alan Modra <amodra@bigpond.net.au>
909 * ldlang.c (print_output_section_statement): Don't print size before
911 (IGNORE_SECTION): Remove bfd arg. Update all callers.
913 * ldexp.c (fold_name): .. See below.
914 * ldlang.c (section_already_linked, print_output_section_statement,
915 print_input_section, insert_pad, size_input_section,
916 lang_check_section_addresses, lang_size_sections_1,
917 lang_size_sections, lang_do_assignments_1, lang_set_startof,
918 lang_one_common, lang_reset_memory_regions, lang_process,
919 lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
920 * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
921 * pe-dll.c (process_def_file, generate_reloc): ..
922 * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
923 gld${EMULATION_NAME}_before_allocation): ..
924 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
925 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
926 sh64_elf_${EMULATION_NAME}_after_allocation): ..
927 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
928 * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
929 ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
930 "size" instead of "_raw_size" and "_cooked_size". Expand
931 bfd_section_size macro invocations.
933 2004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
935 * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
936 ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
937 ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
939 (.tls): Define ___tls_start__ and ___tls_end__.
941 2004-06-21 Alexandre Oliva <aoliva@redhat.com>
943 * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
945 2004-06-18 Adam Nemet <anemet@lnxw.com>
947 * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
948 * configure: Regenerate.
950 2004-06-15 Jakub Jelinek <jakub@redhat.com>
952 * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
953 .gcc_except_table output sections lost accidentally with
956 2004-06-15 Alan Modra <amodra@bigpond.net.au>
958 * ldwrite.c (build_link_order): Use bfd_get_section_size
959 instead of bfd_get_section_size_before_reloc or _raw_size.
960 * pe-dll.c (process_def_file): Likewise.
962 2004-06-14 Alan Modra <amodra@bigpond.net.au>
964 From Richard Wirth <r.wirth@wirthware.de>
965 * ldlang.c (lang_finish): Don't free lang_definedness_table.
967 2004-05-29 Alan Modra <amodra@bigpond.net.au>
969 * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
970 (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
972 2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
974 * testsuite/ld-sh/arch/arch.exp: New test script.
975 * testsuite/ld-sh/arch/arch_expected.txt: New file.
976 * testsuite/ld-sh/arch/sh.s: New file.
977 * testsuite/ld-sh/arch/sh2.s: New file.
978 * testsuite/ld-sh/arch/sh-dsp.s: New file.
979 * testsuite/ld-sh/arch/sh2e.s: New file.
980 * testsuite/ld-sh/arch/sh3-nommu.s: New file.
981 * testsuite/ld-sh/arch/sh3.s: New file.
982 * testsuite/ld-sh/arch/sh3-dsp.s: New file.
983 * testsuite/ld-sh/arch/sh3e.s: New file.
984 * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
985 * testsuite/ld-sh/arch/sh4-nofpu.s: New file.
986 * testsuite/ld-sh/arch/sh4.s: New file.
987 * testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
988 * testsuite/ld-sh/arch/sh4al-dsp.s: New file.
989 * testsuite/ld-sh/arch/sh4a.s: New file.
991 2004-05-28 Alan Modra <amodra@bigpond.net.au>
993 * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
995 * lexsup.c: Formatting. Wrap long lines.
996 * ldwrite.c: Update copyright date.
998 * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
999 (output_section_callback): Nor SEC_KEEP here.
1000 (gc_section_callback): Twiddle SEC_EXCLUDE here.
1001 (lang_gc_wild): Delete. Fold into..
1002 (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage
1004 (lang_process): Always call lang_gc_sections.
1005 (lang_place_orphans): Handle SEC_EXCLUDE sections.
1006 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
1009 2004-05-26 H.J. Lu <hongjiu.lu@intel.com>
1011 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
1012 SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
1013 * ldlang.c (lang_add_section): Likewise.
1015 2004-05-26 Alan Modra <amodra@bigpond.net.au>
1017 * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
1018 sections when doing a final link. Clear SEC_EXCLUDE when doing
1019 a relocable link, except for SEC_DEBUGGING sections.
1020 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
1021 same condition here to drop SEC_EXCLUDE orphan sections.
1023 2004-05-25 Alan Modra <amodra@bigpond.net.au>
1025 * ldlang.c (lang_process): Call bfd_merge_sections later, and
1026 only when not a relocatable link.
1027 (print_input_section): Handle SEC_EXCLUDE sections.
1028 (size_input_section): Don't update dot on SEC_EXCLUDE sections.
1029 (lang_do_assignments_1): Likewise.
1030 * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
1031 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
1032 * emultempl/hppaelf.em (build_section_lists): Likewise.
1033 * emultempl/ppc64elf.em (build_toc_list): Likewise.
1034 (build_section_lists): Likewise.
1036 2004-05-23 Andreas Schwab <schwab@suse.de>
1038 * ld.texinfo (Options): Fix typo in last change.
1040 2004-05-21 Andy Chittenden <achittenden@bluearc.com>
1042 * ld.h (ld_config_type): Add new field: hash_table_size.
1043 * ldmain.c: Initialise the new field to zero. If it is non-zero
1044 after parsing the linker's command line call
1045 bfd_hash_set_default_size.
1046 * lexsup.c (option_values): Add OPTION_HASH_SIZE.
1047 (ld_options): Add hash-size.
1048 (parse_args): Parse --hash-size option. Allow
1049 --reduce-memory-overheads to set the default hash table size as
1051 * ld.texinfo: Document the new switch. Also mention that
1052 --reduce-memory-overheads can affect the hash table size.
1053 * NEWS: Mention the new feature.
1055 2004-05-19 J"orn Rennecke <joern.rennecke@superh.com>
1057 * NEWS: Mention new linker map file generation and the
1058 --reduce-memory-overheads option.
1059 * ld.texinfo: Document --reduce-memory-overheads option.
1060 * ld.h (map_symbol_def): New struct.
1061 (struct user_section_struct, section_userdata_type): Rename to:
1062 (struct lean_user_section_struct, lean_section_userdata_type).
1063 (struct fat_user_section_struct, fat_section_userdata_type): New.
1064 (SECTION_USERDATA_SIZE): Define.
1065 (args_type): New member reduce_memory_overheads.
1066 * ldlang.c (map_obstack): New static variable.
1067 (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
1068 (lang_map): Unless command_line.reduce_memory_overheads is set,
1069 initialize lists of defined symbols for each section.
1070 (print_input_section): Unless command_line.reduce_memory_overheads
1071 is set, use print_all_symbols.
1072 (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
1073 * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
1074 * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
1075 (ld_options): Add entry for --reduce-memory-overheads.
1076 (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
1078 2004-05-19 Jakub Jelinek <jakub@redhat.com>
1080 * ldgram.y (sect_constraint): New.
1081 (ONLY_IF_RO, ONLY_IF_RW): New tokens.
1082 (section): Add sect_constraint. Pass additional argument
1083 to lang_enter_output_section_statement.
1084 * mri.c (mri_draw_tree): Pass additional argument to
1085 lang_enter_output_section_statement.
1086 * emultempl/pe.em (place_orphan): Likewise.
1087 (output_prev_sec_find): Disregard output section statements with
1089 * emultempl/mmo.em (output_prev_sec_find): Likewise.
1090 (mmo_place_orphan): Pass additional argument to
1091 lang_enter_output_section_statement.
1092 * emultempl/elf32.em (output_prev_sec_find): Disregard output section
1093 statements with constraint == -1.
1094 (place_orphan): Pass additional argument to
1095 lang_enter_output_section_statement.
1096 * ldlang.c (lang_enter_overlay_section): Likewise.
1097 (lang_output_section_find_1): New.
1098 (lang_output_section_find): Use it.
1099 (lang_output_section_statement_lookup_1): New.
1100 (lang_output_section_statement_lookup): Use it.
1101 (check_section_callback, check_input_sections): New.
1102 (map_input_to_output_sections): Check if all input sections
1103 are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
1104 (strip_excluded_output_sections): Disregard output section statements
1105 with constraint == -1.
1106 (lang_record_phdrs): Likewise.
1107 (lang_enter_output_section_statement): Add constraint argument.
1108 Use lang_output_section_statement_lookup_1.
1109 * ldlang.h (lang_output_section_statement_type): Add constraint
1110 and all_input_readonly fields.
1111 (lang_enter_output_section_statement): Adjust prototype.
1112 * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
1113 * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
1114 segment if all input sections are readonly.
1116 2004-05-19 Adam Nemet <anemet@lnxw.com>
1118 * scripttempl/i386lynx.sc: Remove file.
1120 2004-05-17 Bob Wilson <bob.wilson@acm.org>
1122 * ld.texinfo (Output Section Address): Correct subsection name.
1124 2004-05-17 Adam Nemet <anemet@lnxw.com>
1126 * configure.tgt (powerpc-*-lynxos* case): New case.
1127 * configure.host (i[3-7]86-*-lynxos* case): Remove case.
1128 * emulparams/ppclynx.sh: New file.
1129 * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
1130 * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
1131 (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
1132 (eppclynx.c): New rule.
1133 * Makefile.in: Regenerate.
1135 2004-05-13 Joel Sherrill <joel@oarcorp.com>
1137 * configure.tgt (or32-*-rtems*): Switch to elf and
1138 support versioned targets.
1140 2004-05-13 Nick Clifton <nickc@redhat.com>
1142 * po/fr.po: Updated French translation.
1144 2004-05-11 Jakub Jelinek <jakub@redhat.com>
1146 * genscripts.sh: Generate -z combreloc -z now -z relro scripts
1147 for binaries, -shared and -pie.
1148 * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
1149 * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
1150 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
1151 (OTHER_RELRO_SECTIONS): ... this.
1152 * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
1153 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
1154 -z relro and -z norelro.
1155 (gld${EMULATION_NAME}_list_options): Add it to usage.
1156 (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
1157 -z relro scripts when appropriate.
1158 * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
1159 Create separate .got.plt section if SEPARATE_GOTPLT.
1160 Move sections which are only written during relocation handling
1161 to the beginning of RW segment. If NO_SMALL_DATA, move .got
1162 before .data. Add DATA_SEGMENT_RELRO_END directive.
1163 Include OTHER_RELRO_SECTIONS.
1164 * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
1165 * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
1166 (fold_unary): Likewise.
1167 (fold_binary): Handle -z relro.
1168 * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
1169 exp_dataseg_relro_adjust phases. Add relro_end field.
1170 * ldmain.c (main): Initialize link_info.relro to FALSE.
1171 * ldlang.c (lang_size_sections): Handle -z relro.
1173 2004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
1175 * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
1177 2004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
1179 * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
1180 before printing it with %W.
1182 2004-05-07 Brian Ford <ford@vss.fsi.com>
1183 DJ Delorie <dj@redhat.com>
1185 * emultempl/pe.em (real_flags): New static.
1186 (OPTION_LARGE_ADDRESS_AWARE): New define.
1187 (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
1188 (gld_${EMULATION_NAME}_list_options): Likewise.
1189 (gld${EMULATION_NAME}_handle_option): Likewise.
1190 (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
1191 * ld.texinfo: Document it.
1194 2004-05-07 Brian Ford <ford@vss.fsi.com>
1196 * NEWS: Mention DWARF 2 support for i386pe.
1198 2004-05-05 Alexandre Oliva <aoliva@redhat.com>
1200 * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
1203 2004-04-30 Alan Modra <amodra@bigpond.net.au>
1205 * ldlang.c (unique_section_p): Pass section parm, return true on
1207 (output_section_callback): Adjust.
1208 * ldlang.h (unique_section_p): Update prototype.
1209 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
1211 2004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
1213 * ld.texinfo (--gc-sections): Remove restriction for
1216 2004-04-29 Brian Ford <ford@vss.fsi.com>
1218 * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
1219 for DWARF 2/3. Update stab section's syntax.
1221 2004-04-29 Alan Modra <amodra@bigpond.net.au>
1223 * pe-dll.c: Revert changes accidentally committed 2004-03-08.
1224 (fill_edata): Correct pointer arithmetic.
1226 2004-04-21 Chris Demetriou <cgd@broadcom.com>
1228 * ld.texinfo: Remove MIPS --embedded-relocs documentation.
1229 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
1230 * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
1231 (EXTRA_EM_FILE): Use mipsecoff.em
1232 * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
1233 (EXTRA_EM_FILE): Use mipsecoff.em
1234 * emultempl/mipsecoff.em: Restructure to be included as an
1235 extra emulation file.
1236 (check_sections, gld${EMULATION_NAME}_after_open)
1237 (gld${EMULATION_NAME}_after_allocation)
1238 (gld${EMULATION_NAME}_get_script)
1239 (ld_${EMULATION_NAME}_emulation): Remove
1240 (gld${EMULATION_NAME}_before_parse): Rename to...
1241 (mipsecoff_before_parse): This.
1242 (LDEMUL_BEFORE_PARSE): Define.
1243 * emultempl/mipself.em: Remove file.
1244 * scripttempl/mips.sc (.rel.sdata): Do not include in output.
1245 (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
1247 * Makefile.am: Remove dependencies on emultempl/mipself.em.
1248 * Makefile.in: Regenerate.
1250 2004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
1252 * ld.texinfo (synthesizing on H8/300): Information about linker
1253 relaxation support for bit manipulation instructions and system
1254 control instructions is added.
1256 2004-04-21 Hans-Peter Nilsson <hp@axis.com>
1258 * NEWS: Mention change in DEFINED semantics.
1260 2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
1262 * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
1263 (.data): Add KEEP for .gnu.linkonce.d.*personality*.
1264 (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
1266 2004-04-21 Ben Elliston <bje@au.ibm.com>
1268 * ld.texinfo (Simple Example): Add missing punctuation.
1270 2004-04-20 Chris Demetriou <cgd@broadcom.com>
1272 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
1274 2004-04-19 Jakub Jelinek <jakub@redhat.com>
1276 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
1279 2004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
1281 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
1282 with default priority. Likewise for dtors.
1284 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1286 * configure.host: Remove mips*-dec-bsd* target.
1287 * configure.tgt: Likewise.
1289 2004-04-08 Richard Sandiford <rsandifo@redhat.com>
1291 * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
1292 * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
1293 * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
1294 * emultempl/irix.em: New file.
1295 * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
1297 * Makefile.in: Regenerate.
1299 2004-04-01 Paul Brook <paul@codesourcery.com>
1301 * emultempl/armelf.em (byteswap_code): Add.
1302 (arm_elf_before_allocation): Pass extra parameter.
1303 (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
1304 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
1305 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
1306 * emultempl/armelf_oabi.em: Pass extra parameter.
1307 * ld.texinfo: Document --be8.
1309 2004-03-30 Stan Shebs <shebs@apple.com>
1311 Remove long-obsolete MPW support.
1312 * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
1313 * Makefile.am (mpw): Remove file-presynthesizing actions.
1314 * Makefile.in: Likewise.
1315 * ldfile.c (slash): Remove MPW case.
1316 * ldlex.l [MPW]: Remove unused definition.
1318 2004-03-30 Galit Heller <Galit.Heller@nsc.com>
1320 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
1321 (eelf32cr16c.c): New target.
1322 * Makefile.in: Regenerate.
1323 * configure.tgt: Handle cr16c-*-elf*.
1324 * emulparams/elf32cr16c.sh: New file.
1325 * scripttempl/elfcr16c.sc: Likewise
1326 * NEWS: Mention support for new target.
1328 2004-03-30 Nick Clifton <nickc@redhat.com>
1330 * po/sv.po: Updated Swedish translation.
1332 2004-03-27 Alan Modra <amodra@bigpond.net.au>
1334 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
1335 * emultempl/hppaelf.em: Likewise.
1336 * emultempl/ppc64elf.em: Likewise.
1337 * emultempl/sh64elf.em: Likewise.
1339 2004-03-25 Alan Modra <amodra@bigpond.net.au>
1341 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
1342 size_dynamic_sections call.
1344 2004-03-23 Alan Modra <amodra@bigpond.net.au>
1347 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
1348 link_info.wrap_char.
1350 2004-03-20 H.J. Lu <hongjiu.lu@intel.com>
1352 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
1353 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
1355 2004-03-20 Alexandre Oliva <aoliva@redhat.com>
1357 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
1359 2004-03-19 Alan Modra <amodra@bigpond.net.au>
1361 * config.in: Regenerate.
1362 * po/ld.pot: Regenerate.
1364 2004-03-18 Alan Modra <amodra@bigpond.net.au>
1366 * ld.texinfo: Add --as-needed doco.
1367 * ldmain.c (as_needed): New global var.
1368 * ldmain.h (as_needed): Declare.
1369 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
1370 OPTION_NO_AS_NEEDED.
1371 (ld_options): Likewise.
1372 (parse_args): Handle them.
1373 * ldlang.h (lang_input_statement_type): Add as_needed field.
1374 * ldlang.c (new_afile): Set p->as_needed.
1375 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
1376 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
1377 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
1379 * ldlang.c (open_input_bfds): Remove useless cast.
1380 (lang_do_assignments_1): Likewise.
1381 (lang_for_each_input_section): Delete.
1383 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1385 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
1387 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
1389 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
1390 private when building implib.
1392 2004-03-05 Nathan Sidwell <nathan@codesourcery.com>
1394 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
1396 (IGNORE_SECTION): Ignore .tbss sections too.
1397 (lang_size_sections_1): .tbss sections do not advance dot.
1399 2004-03-01 Andreas Schwab <schwab@suse.de>
1401 * ld.texinfo (Options): Fix example for --wrap.
1403 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
1405 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
1408 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
1410 * ldlang.c (lang_check): Use %P, not %E, in error message.
1412 2004-02-23 Nathan Sidwell <nathan@codesourcery.com>
1414 * ldlang.h (struct lang_output_section_state): Change processed
1416 * ldexp.c (check, invalid): Remove.
1417 (fold_name): Move valid_p assignments. Create undefined symbol
1418 when needed. Directly exampine section's processd flag.
1419 * ldlang.c (lang_output_section_statement_lookup): Adjust
1420 processed field init.
1421 (lang_size_sections_1): Allow LOADADDR when determining section's
1422 VMA. Adjust error message. Fold data statement's expr.
1423 (lang_size_sections): Correctly increment lang_statement_iteration.
1425 2004-02-23 Alan Modra <amodra@bigpond.net.au>
1427 * ldexp.c (fold_tree): Follow indirect symbols.
1429 2004-02-20 Nathan Sidwell <nathan@codesourcery.com>
1431 * ldgram.y (exp): Add two operand ALIGN.
1432 * ldexp.c (fold_binary): Add ALIGN_K case.
1433 * ld.texinfo (ALIGN): Document two operand version.
1435 2004-02-19 Nathan Sidwell <nathan@codesourcery.com>
1437 * ldlang.c (map_input_to_output_sections): Initialize sections
1438 mentioned in a data statement expression.
1439 (lang_do_assignments_1): Add data statement's expression's
1442 2004-02-18 Nathan Sidwell <nathan@codesourcery.com>
1444 * ldgram.y (statement_anywhere): Add assert rule.
1445 * ldlang.c (exp_init_os): Add assert case.
1447 2004-02-14 Andrew Cagney <cagney@redhat.com>
1449 * ldmain.c (remove_output): Call bfd_cache_close.
1451 2004-02-14 Richard Sandiford <rsandifo@redhat.com>
1453 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
1454 .MIPS.content* and .MIPS.events* sections.
1456 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
1458 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
1459 .note.gnu.arm.ident to after allocated sections. Mark its
1462 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
1464 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
1465 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
1466 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
1467 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
1468 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
1470 2004-02-05 Nick Clifton <nickc@redhat.com>
1472 * emultempl/pe.em (_after_open): Fix typo in previous delta.
1474 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
1476 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
1478 2004-01-28 Alan Modra <amodra@bigpond.net.au>
1480 * genscripts.sh: Fix typo.
1482 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
1484 2004-01-24 Jakub Jelinek <jakub@redhat.com>
1486 * emulparams/elf64_ia64.sh: Put .rela.opd into
1487 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
1489 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
1491 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
1492 * ld.texinfo (--omagic): Note that writable text section
1493 does not conform to published PE-COFF specs.
1494 (--enable-auto-import): Likewise.
1496 2004-01-15 Alan Modra <amodra@bigpond.net.au>
1498 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
1500 2004-01-13 Nick Clifton <nickc@redhat.com>
1502 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
1503 which if true will prevent the LMA region being used as a
1504 replacement for a default VMA region.
1505 (lang_leave_output_section_statement): Pass extra parameter.
1506 (lang_leave_overlay): Likewise.
1507 * ld.texinfo (Output Section LMA): Document that the LMA
1508 region can be set to the VMA region if no VMA has been set.
1509 * ldlang.h (struct lang_output_section_phdr_list): Create a
1510 typedef for this type. Minor formatting fixes.
1512 2004-01-13 Nick Clifton <nickc@redhat.com>
1514 * ldlang.c (lang_size_sections_1): If dot is advanced, then
1515 assume that the section should be allocated.
1517 2004-01-13 Alan Modra <amodra@bigpond.net.au>
1519 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
1520 sections. Do ignore SEC_NEVER_LOAD sections.
1521 (lang_size_sections_1): Remove test made redundant with the above.
1523 2004-01-09 Alan Modra <amodra@bigpond.net.au>
1525 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
1526 program_header_size.
1528 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
1530 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
1531 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
1532 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
1533 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
1534 (MAXPAGESIZE): Set to 64Kb.
1535 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
1536 __ROFIXUP_END__. Don't map .rofixup.got any more.
1537 * emulparams/elf32frv.sh (NOP): Set.
1538 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
1539 * configure.tgt: Add frv-*-*linux*.
1540 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
1541 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
1542 (eelf32frvfd.c): New.
1543 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
1544 * emulparams/elf32frv.sh: Reverted previous two patches.
1545 * emulparams/elf32frvfd.sh: New.
1546 * Makefile.in: Rebuilt.
1547 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
1548 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
1549 .rofixup.got to .rofixup.
1550 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
1551 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
1552 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
1554 2004-01-05 Jakub Jelinek <jakub@redhat.com>
1556 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
1557 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
1559 2004-01-03 Alan Modra <amodra@bigpond.net.au>
1561 * ldexp.c (align_n): Make static.
1562 * ldexp.h (align_n): Delete declaration.
1563 * ldlang.h (lang_enter_output_section_statement): Remove
1565 * ldlang.c (lang_enter_output_section_statement): Likewise.
1566 (TO_ADDR, TO_SIZE): Define.
1567 (opb_shift): New var.
1568 (init_opb): New function.
1569 (print_input_section): Call init_opb and use TO_ADDR.
1570 (print_data_statement, print_reloc_statement): Likewise.
1571 (print_padding_statement): Likewise.
1572 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
1573 (lang_check_section_addresses): Likewise.
1574 (lang_size_sections_1): Likewise.
1575 (lang_do_assignments_1): Likewise.
1576 (lang_set_startof): Likewise.
1577 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
1578 (lang_process): Call init_opb.
1579 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
1580 (lang_enter_overlay_section): Adjust
1581 lang_enter_output_section_statement call.
1582 * ldgram.y: Likewise.
1583 * mri.c (mri_draw_tree): Likewise.
1584 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
1585 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1586 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
1588 * ldfile.c (ldfile_set_output_arch): Add defarch param.
1589 * ldfile.h (ldfile_set_output_arch): Ditto.
1590 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
1591 ldfile_set_output_arch.
1592 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
1593 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
1594 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
1595 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1596 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
1597 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
1598 * ldgram.y: Adjust ldfile_set_output_arch call.
1599 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1600 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
1601 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
1602 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
1603 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
1604 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1605 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1607 2004-01-02 Bernardo Innocenti <bernie@develer.com>
1609 * configure.tgt: Add m68k-uClinux target.
1611 For older changes see ChangeLog-0203
1617 version-control: never