1 2004-10-04 H.J. Lu <hongjiu.lu@intel.com>
3 * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and
4 --sort-section name|alignment.
6 * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and
7 --sort-section name|alignment.
9 * ld.h (sort_type): New enum.
10 (wildcard_spec): Change the type of `sorted' to sort_type.
12 * ldgram.y (SORT): Removed.
13 (SORT_BY_NAME): Added.
14 (SORT_BY_ALIGNMENT): Added.
15 (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and
17 (input_section_spec_no_keep): Updated `sorted'.
18 (statement): Replace SORT with SORT_BY_NAME.
20 * ldlang.c (compare_section): New function to compare 2
21 sections with different sorting schemes.
22 (wild_sort): Updated. Use compare_section.
23 (update_wild_statements): New function.
24 (lang_process): Call update_wild_statements before
25 map_input_to_output_sections.
27 * ldlex.l (SORT_BY_NAME): New.
28 (SORT_BY_ALIGNMENT): New.
29 (SORT): Return SORT_BY_NAME.
31 * ldmain.c (sort_section): New. Defined.
32 (main): Initialize it to none.
34 * lexsup.c (option_values): Add OPTION_SORT_SECTION.
35 (ld_options): Add an entry for OPTION_SORT_SECTION.
36 (parse_args): Handle OPTION_SORT_SECTION.
38 * mri.c (mri_draw_tree): Updated `sorted'.
40 2004-10-04 Jakub Jelinek <jakub@redhat.com>
42 * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument.
43 * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first
45 (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first
46 and . as second argument.
47 (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section.
48 * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here.
49 (fold_binary): Add it here. Insert padding to make relro_end
50 COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in
51 exp_dataseg_relro_adjust phase just use previously computed
53 * ldlang.c (lang_size_sections): Set exp_data_seg.base for
54 relro_adjust here. Call lang_size_sections_1 once more if there
55 was too big padding at DATA_SEGMENT_RELRO_END.
56 * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation.
58 2004-10-01 Paul Brook <paul@codesourcery.com>
60 * emulparams/armelf.sh: Add unwinding table sections.
62 2004-09-30 Filip Navara <navaraf@reactos.com>
64 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate
65 correct base address for position independant executables.
66 * pe-dll.c (pe_dll_fill_sections): Don't mark position independant
69 2004-09-30 Paul Brook <paul@codesourcery.com>
71 * ld.texinfo: Document --target2=abs.
72 * emulparms/armsymbian.sh (TARGET2_TYPE): Set.
74 2004-09-29 Nick Clifton <nickc@redhat.com>
76 * scripttempl/xstormy16.sc: Only perform the assignments to the
77 ROM region when not performing a relocatable link. The ROM region
78 does not start at address 0, but the sections will.
79 * Makefile.am: Fix linker script dependency for the generation of
81 * Makefile.in: Regenerate.
83 2004-09-18 Filip Navara <navaraf@reactos.com>
85 * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh,
86 emulparams/i386pe_posix.sh, emulparams/mcorepe.sh,
87 emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define
89 * scripttempl/pe.sc: Make the virtual address and file offset synced if
90 the alignment is lower than the target page size.
92 2004-09-27 Filip Navara <navaraf@reactos.com>
94 * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow
95 def_file_parse to handle pe_def_file if NULL and prevent crash with
98 2004-09-27 Alan Modra <amodra@bigpond.net.au>
100 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
101 --emit-stub-syms automatically when --emit-relocs.
103 2004-09-24 Paul Brook <paul@codeosurcery.com>
105 * scripttempl/elf.sc: Keep .preinit_array, .init_array and
106 .fini_array sections.
108 2004-09-19 Andreas Schwab <schwab@suse.de>
110 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment
111 base so that relro end is suitably aligned.
113 2004-09-17 Paul Brook <paul@codesourcery.com>
115 * ld.texinfo: Rename arm-specific section. Document --target*
116 * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
117 * emulparams/armelf_linux.sh: Ditto.
118 * emulparams/armelf_nbsd.sh: Ditto.
119 * emultempl/armelf.em: Set default for TARGET2_TYPE.
120 (target2_type): New variable.
121 (arm_elf_before_allocation): Don't pass target1_type.
122 (arm_elf_create_output_section_statements): New function.
123 (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
124 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
125 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
126 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
127 * emultempl/armelf_oabi.em (_before_allocation): Remove extra
128 argument to bfd_elf32_arm_process_before_allocation.
130 2004-09-17 Alan Modra <amodra@bigpond.net.au>
132 * ldexp.c (fold_name): Update u.undef.next refs.
133 * emultempl/pe.em: Likewise.
134 * emultempl/sunos.em: Likewise.
136 2004-09-17 Alan Modra <amodra@bigpond.net.au>
138 * Makefile.am: Run "make dep-am".
139 * Makefile.in: Regenerate.
140 * config.in: Regenerate.
141 * configure: Regenerate.
142 * aclocal.m4: Regenerate.
143 * po/ld.pot: Regenerate.
145 2004-09-16 Tomer Levi <Tomer.Levi@nsc.com>
147 * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*.
151 2004-09-16 Alan Modra <amodra@bigpond.net.au>
153 * emultempl/armelf_oabi.em (before_allocation): Add extra zero param
154 to bfd_elf32_arm_process_before_allocation call.
156 2004-09-13 Paul Brook <paul@codesourcery.com>
158 * emulparams/armsymbian.sh: Set TARGET1_IS_REL.
159 * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}.
161 2004-09-07 H.J. Lu <hongjiu.lu@intel.com>
163 * configure: Regenerated with autconfig 2.13.
165 2004-09-07 Andreas Schwab <schwab@suse.de>
167 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
168 alignment before adjusting DATA_SEGMENT_RELRO_END.
170 2004-09-06 Mark Mitchell <mark@codesourcery.com>
172 * emulparams/armsymbian.sh: Use armbpabi script.
173 * scripttempl/armbpabi.sc: New script.
175 2004-09-02 Mark Mitchell <mark@codesourcery.com>
177 * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
178 (earmsymbian.c): New target.
179 * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
180 * Makefile.in: Regenerated.
181 * aclocal.m4: Likewise.
182 * configure: Likewise.
183 * emulparams/armsymbian.sh: New file.
185 2004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
187 * scripttempl/elf32crx.sc: Edit file with comments.
188 (.init): Add new section.
190 (.ctor): Control the linkage order.
193 2004-08-27 Nick Clifton <nickc@redhat.com>
195 * emultempl/pe.em (after_open): Do not assume that either bfd is
198 2004-08-26 Alan Modra <amodra@bigpond.net.au>
200 * ldlang.c (lang_init): Don't compare with TRUE.
202 2004-08-25 Dmitry Diky <diwil@spec.ru>
204 * emulparams/msp430all.sh: Fix RAM sizes for all targets.
205 * scripttempl/elf32msp430.sc: Add .profiler section definition.
207 2004-08-24 H.J. Lu <hongjiu.lu@intel.com>
209 * ldlang.c (wildcardp): Defined as a macro with strpbrk.
211 2004-08-19 Mark Mitchell <mark@codesourcery.com>
213 * configure.tgt (arm*-*-symbianelf*): New target.
214 (arm*-*-eabi*): Likewise.
216 2004-08-19 Jakub Jelinek <jakub@redhat.com>
218 * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
219 (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
220 (OPTION_NON_OVERLAPPING_OPD): Define.
221 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
222 --non-overlapping-opd option.
224 2004-08-18 Alan Modra <amodra@bigpond.net.au>
227 * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
228 was already on the undefs list.
230 2004-08-17 Alan Modra <amodra@bigpond.net.au>
232 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
233 prefix the symbol field too.
235 2004-08-13 Alan Modra <amodra@bigpond.net.au>
237 * ldmain.c (link_callbacks): Remove "error_handler".
238 * ldmisc.c: Include elf-bfd.h.
239 (vfinfo): Sort comment. Handle %A. Use %A instead of
240 bfd_get_section_indent.
241 (error_handler): Delete.
242 * ldmisc.h (error_handler): Delete declaration.
244 2004-08-10 Alan Modra <amodra@bigpond.net.au>
246 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
247 ppc64_elf_restore_symbols.
249 2004-08-09 Alan Modra <amodra@bigpond.net.au>
251 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
252 .toc is too large on relocatable linking.
254 2004-08-09 Alan Modra <amodra@bigpond.net.au>
256 * emultempl/ppc64elf.em (ppc_after_open): Delete.
257 (LDEMUL_AFTER_OPEN): Don't define.
259 2004-08-02 Stephane Carrez <stcarrez@nerim.fr>
261 * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
263 2004-08-01 Stephane Carrez <stcarrez@nerim.fr>
265 * scripttempl/elfm68hc12.sc: Align text, rodata and data section
268 2004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
270 * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
272 2004-07-26 Dmitry Diky <diwil@spec.ru>
274 * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
275 msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
277 * configure.tgt: Likewise.
278 * emulparams/msp430all.sh: Likewise.
279 * Makefile.in: Regenerate.
281 2004-07-23 Nick Clifton <nickc@redhat.com>
283 * emultempl/elf32.em (_place_orphan): Use an already existing
284 section name if that section does not have any flags set.
286 2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
288 * ldlang.c (already_linked_hash_entry): Removed.
289 (already_linked): Likewise.
290 (already_linked_table): Likewise.
291 (section_already_linked): Call bfd_section_already_linked.
292 (lang_process): Replace already_linked_table_init with
293 bfd_section_already_linked_table_init and check return. Replace
294 already_linked_table_free with bfd_section_already_linked_table_free.
296 2004-07-21 Nick Clifton <nickc@redhat.com>
298 * ldlang.c (init_os): Make sure that the newly allocated userdata
299 structure is zeroed out.
301 2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
303 * NEWS: Mention the new --add-needed/--no-add-needed and
304 --as-needed/--no-as-needed options.
306 2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
308 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
309 check the add_needed field.
310 (dt_needed): New struct.
311 (gld${EMULATION_NAME}_try_needed): Change the first argument
312 to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
313 bit in the file where the DT_NEEDED entry comes from.
314 (gld${EMULATION_NAME}_search_needed): Change the second
315 argument to a pointer to struct dt_needed.
316 (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
317 (gld${EMULATION_NAME}_after_open): Likewise.
319 * ld.texinfo: Add --add-needed document.
320 * ldlang.c (new_afile): Set p->add_needed.
321 * ldlang.h (lang_input_statement_type): Add add_needed field.
322 * ldmain.h (add_needed): Declare.
323 * ldmain.c (add_needed): New global var.
324 * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
325 OPTION_NO_ADD_NEEDED.
326 (ld_options): Likewise.
327 (parse_args): Handle them.
329 2004-07-13 Christof Petig <christof@petig-baender.de>
331 * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
332 for endian-ness of extracted addend.
334 2004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net>
336 * pe-dll.c (auto_export): Filter on just the import prefix,
337 "_imp_", not "_imp__".
339 2004-07-09 Nick Clifton <nickc@redhat.com>
341 * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
343 2004-07-06 Tomer Levi <Tomer.Levi@nsc.com>
345 * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
346 (eelf32crx.c): New target.
347 * Makefile.in: Regenerate.
348 * configure.tgt: Handle crx-*-elf*.
349 * emulparams/elf32crx.sh: New file.
350 * emultempl/crxelf.em: New file.
351 * scripttempl/elf32crx.sc: New file.
352 * NEWS: Mention new target.
354 2004-07-06 Nick Clifton <nickc@redhat.com>
356 * Makefile.am: Add eshlsymbian.c.
357 * Makefile.in: Regenerate.
358 * configure.tgt: Add sh*-symbian-elf target.
359 * emulparams/shlsymbian.sh: New file. Configure the
360 sh-symbian-elf linker scripts.
361 * scripttemp/elf32sh-symbian.sc: New file. Linker script
362 template for the sh-symbian-elf target.
364 2004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
366 * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
367 * emulparams/hppalinux.sh: Likewise.
368 * scripttempl/elf.sc: Place .plt just before .got when .plt is in
369 data segment and PLT_BEFORE_GOT is defined.
371 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
373 * ld.texinfo (WIN32): Document PE weak symbols.
375 2004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
377 * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
379 2004-07-01 H.J. Lu <hongjiu.lu@intel.com>
381 * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
384 2004-06-29 Alan Modra <amodra@bigpond.net.au>
386 * ldlang.c (lang_reset_memory_regions): Save last relax pass section
389 2004-06-24 Alan Modra <amodra@bigpond.net.au>
391 * ldlang.c (print_output_section_statement): Don't print size before
393 (IGNORE_SECTION): Remove bfd arg. Update all callers.
395 * ldexp.c (fold_name): .. See below.
396 * ldlang.c (section_already_linked, print_output_section_statement,
397 print_input_section, insert_pad, size_input_section,
398 lang_check_section_addresses, lang_size_sections_1,
399 lang_size_sections, lang_do_assignments_1, lang_set_startof,
400 lang_one_common, lang_reset_memory_regions, lang_process,
401 lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
402 * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
403 * pe-dll.c (process_def_file, generate_reloc): ..
404 * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
405 gld${EMULATION_NAME}_before_allocation): ..
406 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
407 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
408 sh64_elf_${EMULATION_NAME}_after_allocation): ..
409 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
410 * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
411 ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
412 "size" instead of "_raw_size" and "_cooked_size". Expand
413 bfd_section_size macro invocations.
415 2004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
417 * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
418 ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
419 ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
421 (.tls): Define ___tls_start__ and ___tls_end__.
423 2004-06-21 Alexandre Oliva <aoliva@redhat.com>
425 * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
427 2004-06-18 Adam Nemet <anemet@lnxw.com>
429 * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
430 * configure: Regenerate.
432 2004-06-15 Jakub Jelinek <jakub@redhat.com>
434 * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
435 .gcc_except_table output sections lost accidentally with
438 2004-06-15 Alan Modra <amodra@bigpond.net.au>
440 * ldwrite.c (build_link_order): Use bfd_get_section_size
441 instead of bfd_get_section_size_before_reloc or _raw_size.
442 * pe-dll.c (process_def_file): Likewise.
444 2004-06-14 Alan Modra <amodra@bigpond.net.au>
446 From Richard Wirth <r.wirth@wirthware.de>
447 * ldlang.c (lang_finish): Don't free lang_definedness_table.
449 2004-05-29 Alan Modra <amodra@bigpond.net.au>
451 * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
452 (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
454 2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
456 * testsuite/ld-sh/arch/arch.exp: New test script.
457 * testsuite/ld-sh/arch/arch_expected.txt: New file.
458 * testsuite/ld-sh/arch/sh.s: New file.
459 * testsuite/ld-sh/arch/sh2.s: New file.
460 * testsuite/ld-sh/arch/sh-dsp.s: New file.
461 * testsuite/ld-sh/arch/sh2e.s: New file.
462 * testsuite/ld-sh/arch/sh3-nommu.s: New file.
463 * testsuite/ld-sh/arch/sh3.s: New file.
464 * testsuite/ld-sh/arch/sh3-dsp.s: New file.
465 * testsuite/ld-sh/arch/sh3e.s: New file.
466 * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
467 * testsuite/ld-sh/arch/sh4-nofpu.s: New file.
468 * testsuite/ld-sh/arch/sh4.s: New file.
469 * testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
470 * testsuite/ld-sh/arch/sh4al-dsp.s: New file.
471 * testsuite/ld-sh/arch/sh4a.s: New file.
473 2004-05-28 Alan Modra <amodra@bigpond.net.au>
475 * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
477 * lexsup.c: Formatting. Wrap long lines.
478 * ldwrite.c: Update copyright date.
480 * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
481 (output_section_callback): Nor SEC_KEEP here.
482 (gc_section_callback): Twiddle SEC_EXCLUDE here.
483 (lang_gc_wild): Delete. Fold into..
484 (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage
486 (lang_process): Always call lang_gc_sections.
487 (lang_place_orphans): Handle SEC_EXCLUDE sections.
488 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
491 2004-05-26 H.J. Lu <hongjiu.lu@intel.com>
493 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
494 SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
495 * ldlang.c (lang_add_section): Likewise.
497 2004-05-26 Alan Modra <amodra@bigpond.net.au>
499 * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
500 sections when doing a final link. Clear SEC_EXCLUDE when doing
501 a relocable link, except for SEC_DEBUGGING sections.
502 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
503 same condition here to drop SEC_EXCLUDE orphan sections.
505 2004-05-25 Alan Modra <amodra@bigpond.net.au>
507 * ldlang.c (lang_process): Call bfd_merge_sections later, and
508 only when not a relocatable link.
509 (print_input_section): Handle SEC_EXCLUDE sections.
510 (size_input_section): Don't update dot on SEC_EXCLUDE sections.
511 (lang_do_assignments_1): Likewise.
512 * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
513 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
514 * emultempl/hppaelf.em (build_section_lists): Likewise.
515 * emultempl/ppc64elf.em (build_toc_list): Likewise.
516 (build_section_lists): Likewise.
518 2004-05-23 Andreas Schwab <schwab@suse.de>
520 * ld.texinfo (Options): Fix typo in last change.
522 2004-05-21 Andy Chittenden <achittenden@bluearc.com>
524 * ld.h (ld_config_type): Add new field: hash_table_size.
525 * ldmain.c: Initialise the new field to zero. If it is non-zero
526 after parsing the linker's command line call
527 bfd_hash_set_default_size.
528 * lexsup.c (option_values): Add OPTION_HASH_SIZE.
529 (ld_options): Add hash-size.
530 (parse_args): Parse --hash-size option. Allow
531 --reduce-memory-overheads to set the default hash table size as
533 * ld.texinfo: Document the new switch. Also mention that
534 --reduce-memory-overheads can affect the hash table size.
535 * NEWS: Mention the new feature.
537 2004-05-19 J"orn Rennecke <joern.rennecke@superh.com>
539 * NEWS: Mention new linker map file generation and the
540 --reduce-memory-overheads option.
541 * ld.texinfo: Document --reduce-memory-overheads option.
542 * ld.h (map_symbol_def): New struct.
543 (struct user_section_struct, section_userdata_type): Rename to:
544 (struct lean_user_section_struct, lean_section_userdata_type).
545 (struct fat_user_section_struct, fat_section_userdata_type): New.
546 (SECTION_USERDATA_SIZE): Define.
547 (args_type): New member reduce_memory_overheads.
548 * ldlang.c (map_obstack): New static variable.
549 (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
550 (lang_map): Unless command_line.reduce_memory_overheads is set,
551 initialize lists of defined symbols for each section.
552 (print_input_section): Unless command_line.reduce_memory_overheads
553 is set, use print_all_symbols.
554 (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
555 * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
556 * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
557 (ld_options): Add entry for --reduce-memory-overheads.
558 (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
560 2004-05-19 Jakub Jelinek <jakub@redhat.com>
562 * ldgram.y (sect_constraint): New.
563 (ONLY_IF_RO, ONLY_IF_RW): New tokens.
564 (section): Add sect_constraint. Pass additional argument
565 to lang_enter_output_section_statement.
566 * mri.c (mri_draw_tree): Pass additional argument to
567 lang_enter_output_section_statement.
568 * emultempl/pe.em (place_orphan): Likewise.
569 (output_prev_sec_find): Disregard output section statements with
571 * emultempl/mmo.em (output_prev_sec_find): Likewise.
572 (mmo_place_orphan): Pass additional argument to
573 lang_enter_output_section_statement.
574 * emultempl/elf32.em (output_prev_sec_find): Disregard output section
575 statements with constraint == -1.
576 (place_orphan): Pass additional argument to
577 lang_enter_output_section_statement.
578 * ldlang.c (lang_enter_overlay_section): Likewise.
579 (lang_output_section_find_1): New.
580 (lang_output_section_find): Use it.
581 (lang_output_section_statement_lookup_1): New.
582 (lang_output_section_statement_lookup): Use it.
583 (check_section_callback, check_input_sections): New.
584 (map_input_to_output_sections): Check if all input sections
585 are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
586 (strip_excluded_output_sections): Disregard output section statements
587 with constraint == -1.
588 (lang_record_phdrs): Likewise.
589 (lang_enter_output_section_statement): Add constraint argument.
590 Use lang_output_section_statement_lookup_1.
591 * ldlang.h (lang_output_section_statement_type): Add constraint
592 and all_input_readonly fields.
593 (lang_enter_output_section_statement): Adjust prototype.
594 * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
595 * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
596 segment if all input sections are readonly.
598 2004-05-19 Adam Nemet <anemet@lnxw.com>
600 * scripttempl/i386lynx.sc: Remove file.
602 2004-05-17 Bob Wilson <bob.wilson@acm.org>
604 * ld.texinfo (Output Section Address): Correct subsection name.
606 2004-05-17 Adam Nemet <anemet@lnxw.com>
608 * configure.tgt (powerpc-*-lynxos* case): New case.
609 * configure.host (i[3-7]86-*-lynxos* case): Remove case.
610 * emulparams/ppclynx.sh: New file.
611 * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
612 * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
613 (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
614 (eppclynx.c): New rule.
615 * Makefile.in: Regenerate.
617 2004-05-13 Joel Sherrill <joel@oarcorp.com>
619 * configure.tgt (or32-*-rtems*): Switch to elf and
620 support versioned targets.
622 2004-05-13 Nick Clifton <nickc@redhat.com>
624 * po/fr.po: Updated French translation.
626 2004-05-11 Jakub Jelinek <jakub@redhat.com>
628 * genscripts.sh: Generate -z combreloc -z now -z relro scripts
629 for binaries, -shared and -pie.
630 * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
631 * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
632 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
633 (OTHER_RELRO_SECTIONS): ... this.
634 * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
635 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
636 -z relro and -z norelro.
637 (gld${EMULATION_NAME}_list_options): Add it to usage.
638 (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
639 -z relro scripts when appropriate.
640 * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
641 Create separate .got.plt section if SEPARATE_GOTPLT.
642 Move sections which are only written during relocation handling
643 to the beginning of RW segment. If NO_SMALL_DATA, move .got
644 before .data. Add DATA_SEGMENT_RELRO_END directive.
645 Include OTHER_RELRO_SECTIONS.
646 * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
647 * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
648 (fold_unary): Likewise.
649 (fold_binary): Handle -z relro.
650 * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
651 exp_dataseg_relro_adjust phases. Add relro_end field.
652 * ldmain.c (main): Initialize link_info.relro to FALSE.
653 * ldlang.c (lang_size_sections): Handle -z relro.
655 2004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
657 * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
659 2004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
661 * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
662 before printing it with %W.
664 2004-05-07 Brian Ford <ford@vss.fsi.com>
665 DJ Delorie <dj@redhat.com>
667 * emultempl/pe.em (real_flags): New static.
668 (OPTION_LARGE_ADDRESS_AWARE): New define.
669 (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
670 (gld_${EMULATION_NAME}_list_options): Likewise.
671 (gld${EMULATION_NAME}_handle_option): Likewise.
672 (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
673 * ld.texinfo: Document it.
676 2004-05-07 Brian Ford <ford@vss.fsi.com>
678 * NEWS: Mention DWARF 2 support for i386pe.
680 2004-05-05 Alexandre Oliva <aoliva@redhat.com>
682 * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
685 2004-04-30 Alan Modra <amodra@bigpond.net.au>
687 * ldlang.c (unique_section_p): Pass section parm, return true on
689 (output_section_callback): Adjust.
690 * ldlang.h (unique_section_p): Update prototype.
691 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
693 2004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
695 * ld.texinfo (--gc-sections): Remove restriction for
698 2004-04-29 Brian Ford <ford@vss.fsi.com>
700 * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
701 for DWARF 2/3. Update stab section's syntax.
703 2004-04-29 Alan Modra <amodra@bigpond.net.au>
705 * pe-dll.c: Revert changes accidentally committed 2004-03-08.
706 (fill_edata): Correct pointer arithmetic.
708 2004-04-21 Chris Demetriou <cgd@broadcom.com>
710 * ld.texinfo: Remove MIPS --embedded-relocs documentation.
711 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
712 * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
713 (EXTRA_EM_FILE): Use mipsecoff.em
714 * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
715 (EXTRA_EM_FILE): Use mipsecoff.em
716 * emultempl/mipsecoff.em: Restructure to be included as an
717 extra emulation file.
718 (check_sections, gld${EMULATION_NAME}_after_open)
719 (gld${EMULATION_NAME}_after_allocation)
720 (gld${EMULATION_NAME}_get_script)
721 (ld_${EMULATION_NAME}_emulation): Remove
722 (gld${EMULATION_NAME}_before_parse): Rename to...
723 (mipsecoff_before_parse): This.
724 (LDEMUL_BEFORE_PARSE): Define.
725 * emultempl/mipself.em: Remove file.
726 * scripttempl/mips.sc (.rel.sdata): Do not include in output.
727 (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
729 * Makefile.am: Remove dependencies on emultempl/mipself.em.
730 * Makefile.in: Regenerate.
732 2004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
734 * ld.texinfo (synthesizing on H8/300): Information about linker
735 relaxation support for bit manipulation instructions and system
736 control instructions is added.
738 2004-04-21 Hans-Peter Nilsson <hp@axis.com>
740 * NEWS: Mention change in DEFINED semantics.
742 2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
744 * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
745 (.data): Add KEEP for .gnu.linkonce.d.*personality*.
746 (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
748 2004-04-21 Ben Elliston <bje@au.ibm.com>
750 * ld.texinfo (Simple Example): Add missing punctuation.
752 2004-04-20 Chris Demetriou <cgd@broadcom.com>
754 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
756 2004-04-19 Jakub Jelinek <jakub@redhat.com>
758 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
761 2004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
763 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
764 with default priority. Likewise for dtors.
766 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
768 * configure.host: Remove mips*-dec-bsd* target.
769 * configure.tgt: Likewise.
771 2004-04-08 Richard Sandiford <rsandifo@redhat.com>
773 * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
774 * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
775 * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
776 * emultempl/irix.em: New file.
777 * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
779 * Makefile.in: Regenerate.
781 2004-04-01 Paul Brook <paul@codesourcery.com>
783 * emultempl/armelf.em (byteswap_code): Add.
784 (arm_elf_before_allocation): Pass extra parameter.
785 (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
786 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
787 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
788 * emultempl/armelf_oabi.em: Pass extra parameter.
789 * ld.texinfo: Document --be8.
791 2004-03-30 Stan Shebs <shebs@apple.com>
793 Remove long-obsolete MPW support.
794 * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
795 * Makefile.am (mpw): Remove file-presynthesizing actions.
796 * Makefile.in: Likewise.
797 * ldfile.c (slash): Remove MPW case.
798 * ldlex.l [MPW]: Remove unused definition.
800 2004-03-30 Galit Heller <Galit.Heller@nsc.com>
802 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
803 (eelf32cr16c.c): New target.
804 * Makefile.in: Regenerate.
805 * configure.tgt: Handle cr16c-*-elf*.
806 * emulparams/elf32cr16c.sh: New file.
807 * scripttempl/elfcr16c.sc: Likewise
808 * NEWS: Mention support for new target.
810 2004-03-30 Nick Clifton <nickc@redhat.com>
812 * po/sv.po: Updated Swedish translation.
814 2004-03-27 Alan Modra <amodra@bigpond.net.au>
816 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
817 * emultempl/hppaelf.em: Likewise.
818 * emultempl/ppc64elf.em: Likewise.
819 * emultempl/sh64elf.em: Likewise.
821 2004-03-25 Alan Modra <amodra@bigpond.net.au>
823 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
824 size_dynamic_sections call.
826 2004-03-23 Alan Modra <amodra@bigpond.net.au>
829 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
832 2004-03-20 H.J. Lu <hongjiu.lu@intel.com>
834 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
835 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
837 2004-03-20 Alexandre Oliva <aoliva@redhat.com>
839 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
841 2004-03-19 Alan Modra <amodra@bigpond.net.au>
843 * config.in: Regenerate.
844 * po/ld.pot: Regenerate.
846 2004-03-18 Alan Modra <amodra@bigpond.net.au>
848 * ld.texinfo: Add --as-needed doco.
849 * ldmain.c (as_needed): New global var.
850 * ldmain.h (as_needed): Declare.
851 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
853 (ld_options): Likewise.
854 (parse_args): Handle them.
855 * ldlang.h (lang_input_statement_type): Add as_needed field.
856 * ldlang.c (new_afile): Set p->as_needed.
857 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
858 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
859 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
861 * ldlang.c (open_input_bfds): Remove useless cast.
862 (lang_do_assignments_1): Likewise.
863 (lang_for_each_input_section): Delete.
865 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
867 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
869 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
871 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
872 private when building implib.
874 2004-03-05 Nathan Sidwell <nathan@codesourcery.com>
876 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
878 (IGNORE_SECTION): Ignore .tbss sections too.
879 (lang_size_sections_1): .tbss sections do not advance dot.
881 2004-03-01 Andreas Schwab <schwab@suse.de>
883 * ld.texinfo (Options): Fix example for --wrap.
885 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
887 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
890 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
892 * ldlang.c (lang_check): Use %P, not %E, in error message.
894 2004-02-23 Nathan Sidwell <nathan@codesourcery.com>
896 * ldlang.h (struct lang_output_section_state): Change processed
898 * ldexp.c (check, invalid): Remove.
899 (fold_name): Move valid_p assignments. Create undefined symbol
900 when needed. Directly exampine section's processd flag.
901 * ldlang.c (lang_output_section_statement_lookup): Adjust
902 processed field init.
903 (lang_size_sections_1): Allow LOADADDR when determining section's
904 VMA. Adjust error message. Fold data statement's expr.
905 (lang_size_sections): Correctly increment lang_statement_iteration.
907 2004-02-23 Alan Modra <amodra@bigpond.net.au>
909 * ldexp.c (fold_tree): Follow indirect symbols.
911 2004-02-20 Nathan Sidwell <nathan@codesourcery.com>
913 * ldgram.y (exp): Add two operand ALIGN.
914 * ldexp.c (fold_binary): Add ALIGN_K case.
915 * ld.texinfo (ALIGN): Document two operand version.
917 2004-02-19 Nathan Sidwell <nathan@codesourcery.com>
919 * ldlang.c (map_input_to_output_sections): Initialize sections
920 mentioned in a data statement expression.
921 (lang_do_assignments_1): Add data statement's expression's
924 2004-02-18 Nathan Sidwell <nathan@codesourcery.com>
926 * ldgram.y (statement_anywhere): Add assert rule.
927 * ldlang.c (exp_init_os): Add assert case.
929 2004-02-14 Andrew Cagney <cagney@redhat.com>
931 * ldmain.c (remove_output): Call bfd_cache_close.
933 2004-02-14 Richard Sandiford <rsandifo@redhat.com>
935 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
936 .MIPS.content* and .MIPS.events* sections.
938 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
940 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
941 .note.gnu.arm.ident to after allocated sections. Mark its
944 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
946 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
947 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
948 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
949 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
950 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
952 2004-02-05 Nick Clifton <nickc@redhat.com>
954 * emultempl/pe.em (_after_open): Fix typo in previous delta.
956 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
958 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
960 2004-01-28 Alan Modra <amodra@bigpond.net.au>
962 * genscripts.sh: Fix typo.
964 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
966 2004-01-24 Jakub Jelinek <jakub@redhat.com>
968 * emulparams/elf64_ia64.sh: Put .rela.opd into
969 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
971 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
973 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
974 * ld.texinfo (--omagic): Note that writable text section
975 does not conform to published PE-COFF specs.
976 (--enable-auto-import): Likewise.
978 2004-01-15 Alan Modra <amodra@bigpond.net.au>
980 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
982 2004-01-13 Nick Clifton <nickc@redhat.com>
984 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
985 which if true will prevent the LMA region being used as a
986 replacement for a default VMA region.
987 (lang_leave_output_section_statement): Pass extra parameter.
988 (lang_leave_overlay): Likewise.
989 * ld.texinfo (Output Section LMA): Document that the LMA
990 region can be set to the VMA region if no VMA has been set.
991 * ldlang.h (struct lang_output_section_phdr_list): Create a
992 typedef for this type. Minor formatting fixes.
994 2004-01-13 Nick Clifton <nickc@redhat.com>
996 * ldlang.c (lang_size_sections_1): If dot is advanced, then
997 assume that the section should be allocated.
999 2004-01-13 Alan Modra <amodra@bigpond.net.au>
1001 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
1002 sections. Do ignore SEC_NEVER_LOAD sections.
1003 (lang_size_sections_1): Remove test made redundant with the above.
1005 2004-01-09 Alan Modra <amodra@bigpond.net.au>
1007 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
1008 program_header_size.
1010 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
1012 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
1013 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
1014 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
1015 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
1016 (MAXPAGESIZE): Set to 64Kb.
1017 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
1018 __ROFIXUP_END__. Don't map .rofixup.got any more.
1019 * emulparams/elf32frv.sh (NOP): Set.
1020 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
1021 * configure.tgt: Add frv-*-*linux*.
1022 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
1023 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
1024 (eelf32frvfd.c): New.
1025 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
1026 * emulparams/elf32frv.sh: Reverted previous two patches.
1027 * emulparams/elf32frvfd.sh: New.
1028 * Makefile.in: Rebuilt.
1029 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
1030 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
1031 .rofixup.got to .rofixup.
1032 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
1033 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
1034 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
1036 2004-01-05 Jakub Jelinek <jakub@redhat.com>
1038 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
1039 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
1041 2004-01-03 Alan Modra <amodra@bigpond.net.au>
1043 * ldexp.c (align_n): Make static.
1044 * ldexp.h (align_n): Delete declaration.
1045 * ldlang.h (lang_enter_output_section_statement): Remove
1047 * ldlang.c (lang_enter_output_section_statement): Likewise.
1048 (TO_ADDR, TO_SIZE): Define.
1049 (opb_shift): New var.
1050 (init_opb): New function.
1051 (print_input_section): Call init_opb and use TO_ADDR.
1052 (print_data_statement, print_reloc_statement): Likewise.
1053 (print_padding_statement): Likewise.
1054 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
1055 (lang_check_section_addresses): Likewise.
1056 (lang_size_sections_1): Likewise.
1057 (lang_do_assignments_1): Likewise.
1058 (lang_set_startof): Likewise.
1059 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
1060 (lang_process): Call init_opb.
1061 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
1062 (lang_enter_overlay_section): Adjust
1063 lang_enter_output_section_statement call.
1064 * ldgram.y: Likewise.
1065 * mri.c (mri_draw_tree): Likewise.
1066 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
1067 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1068 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
1070 * ldfile.c (ldfile_set_output_arch): Add defarch param.
1071 * ldfile.h (ldfile_set_output_arch): Ditto.
1072 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
1073 ldfile_set_output_arch.
1074 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
1075 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
1076 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
1077 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1078 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
1079 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
1080 * ldgram.y: Adjust ldfile_set_output_arch call.
1081 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1082 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
1083 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
1084 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
1085 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
1086 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1087 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1089 2004-01-02 Bernardo Innocenti <bernie@develer.com>
1091 * configure.tgt: Add m68k-uClinux target.
1093 For older changes see ChangeLog-0203
1099 version-control: never