(linux targets): Use "${CC} -dumpspecs" instead of "${CC} --print-file-name=specs...
[platform/upstream/binutils.git] / ld / ChangeLog
1 2005-01-10  Greg Schaffer  <gschafer@zip.com.au>
2
3         * configure.host (linux targets): Use "${CC} -dumpspecs" instead
4         of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0.
5         (ia64-*-aix): Delete - this target is obsolete, and would be
6         broken by this patch.
7
8 2005-01-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
9
10         * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
11         (sparc64-sun-solaris2*): New host.
12
13 2005-01-06  Paul Brook  <paul@codesourcery.com>
14
15         * Makefie.am: Add earmelf_vxworks.
16         * Makefile.in: Regenerate.
17         * configure.tgt: Make arm-*-vxworks a separate case.
18         * emulparams/armelf_vxworks.sh: New function.
19
20 2005-01-06  Alan Modra  <amodra@bigpond.net.au>
21
22         * emultempl/ppc64elf.em (no_multi_toc): New var.
23         (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists.
24         (OPTION_NO_MULTI_TOC): Define.
25         (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support.
26         (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
27
28 2005-01-05  Nick Clifton  <nickc@redhat.com>
29
30         PR binutils/614
31         * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding
32         Standard's specification for parsable error messages.
33
34 2005-01-04  Paul Brook  <paul@codesourcery.com>
35
36         * Makefile.am: Correct dependency for earmsymbian.c.
37         * Makefile.in: Regenerate.
38
39 2004-12-28  Danny Smith  <dannysmith@users.sourceforge.net>
40
41         * emultempl/pe.em (set_pe_subsystem): Change second arg to
42         lang_add_entry to FALSE.
43
44 2004-12-23  Nick Clifton  <nickc@redhat.com>
45
46         PR 600
47         * emulparams/shelf.sh (.stack): Increase stack start address to
48         0x300000.
49
50 2004-12-20  Nick Clifton  <nickc@redhat.com>
51
52         * ldmain.c (main): Issue an error message if -static and -shared
53         are used together.
54
55 2004-12-17  Jakub Jelinek  <jakub@redhat.com>
56
57         * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
58         * ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them.
59         * ldlang.c (lang_size_sections): Use them to avoid wasting virtual
60         address space at DATA_SEGMENT_ALIGN.  Fix computation of expected
61         PT_GNU_RELRO segment end.
62
63 2004-12-14  P.J. Darcy  <darcypj@us.ibm.com>
64
65         * configure.tgt: Add s390x-ibm-tpf support.
66
67 2004-12-16  Martin Kögler  <mkoegler@auto.tuwien.ac.at>
68
69         * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL
70         BFD.
71
72 2004-12-07  Ben Elliston  <bje@gnu.org>
73
74         * ldemul.h: Forward declare struct option.
75
76 2004-12-01  Danny Smith  <dannysmith@users.sourceforge.net>
77
78         * scripttempl/pe.sc (.data): Add .jcr subsection.
79
80 2004-11-30  Paul Brook  <paul@codesourcery.com>
81
82         * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.
83
84 2004-11-30  Tero Niemela  <tero_niemela@yahoo.com>
85
86         * Makefile.am: Change LOCALEDIR to $(datadir)/share.
87         * Makefile.in: Regenerate.
88
89 2004-11-26  Melissa Mears  <asterisk@graces.dricas.com>
90
91         * emultempl/pe.em: Add --subsystem:xbox as well as
92         --subsystem:%d.
93         * ld.texinfo: (ld_options): Document acceptance of subsystem xbox
94         and numeric subsystems.
95
96 2004-11-24  Alan Modra  <amodra@bigpond.net.au>
97
98         * ldexp.c (fold_name): Correct PR 338 fix.
99
100 2004-11-19  Mark Mitchell  <mark@codesourcery.com>
101
102         * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
103         (earmelf_linux_eabi.c): New target.
104         * configure.tgt (arm*-*-linux-gnueabi): Handle it.
105         * emulparams/armelf_linux_eabi.sh: New file.
106         * Makefile.in: Regenerated.
107
108 2004-11-19  Nick Clifton  <nickc@redhat.com>
109
110         PR 518
111         * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and
112         LENGTH fields in the MEMORY command, to explicitly state that
113         symbols cannot be used in their expressions.
114
115 2004-11-19  Jon Beniston <jon@beniston.com>
116
117         * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION.
118         * ld/ldgram.y: Add ORIGIN and LENGTH expressions.
119         * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions
120         which return the length and origin of a memory.
121         * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions.
122         * NEWS: Mention support for ORIGIN and LENGTH operators.
123
124 2004-11-17  Daniel Jacobowitz  <dan@codesourcery.com>
125
126         * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use
127         a dynamic object for stubs.
128
129 2004-11-04  Paul Brook  <paul@codesourcery.com>
130
131         * ld.texinfo: Document --default-imported-symver.
132         * ldmain.c (main): Set link_info.default_imported_symver.
133         * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER.
134         (ld_options): Add --default-imported-symver.
135         (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.
136
137 2004-11-08  Inderpreet Singh   <inderpreetb@nioda.hcltech.com>
138             Vineet Sharma      <vineets@noida.hcltech.com>
139
140         * Makefile.am: Add entries for new maxq-coff target.
141         * Makefile.in: Regenerate.
142         * configure.tgt: Add support for maxq.
143         * emulparams/maxqcoff.sh: New File.
144         * scripttempl/maxqcoff.sc: New linker script for target maxq.
145         * NEWS: Mention the new target.
146
147 2004-11-08  Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
148
149         * testsuite/ld-scripts/weak.exp: Enable test on PE,
150         XFAIL non-i386 PE.
151         * testsuite/ld-undefined/weak-undef.exp: Enable test on PE,
152         XFAIL non-i386 PE.
153         * testsuite/lib/ld-lib.exp (is_pecoff_format): New.
154
155 2004-11-04  Daniel Jacobowitz  <dan@debian.org>
156
157         * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o.
158         (earmelf_oabi.c): Remove rule.
159         * configure.tgt: Remove arm-*-oabi and thumb-*-oabi.
160         * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files.
161         * Makefile.in: Regenerated.
162
163 2004-11-04  Hans-Peter Nilsson  <hp@axis.com>
164
165         * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout.
166         * emulparams/criself.sh (INIT_START): Remove emitted "push srp".
167         (FINI_START): Ditto.
168         (INIT_END): Remove emitted "jump [sp+]".
169         (FINI_END): Ditto.
170
171 2004-11-04  Alan Modra  <amodra@bigpond.net.au>
172
173         * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt.
174         (no_opd_opt, no_toc_opt): New static vars.
175         (ppc_before_allocation): Don't edit opt if no_opd_opt.  Call
176         ppc64_elf_edit_toc.
177         (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define.
178         (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize.
179         (PARSE_AND_LIST_OPTIONS): Describe new options.
180         (PARSE_AND_LIST_ARGS_CASES): Handle them.
181
182 2004-10-27  Nick Clifton  <nickc@redhat.com>
183
184         * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL,
185         parameter to invocation of lang_section_start.
186         * emultempl/aix.em (_handle_option): Likewise.
187
188         * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c,
189         eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em.
190         * Makefile.in: Regenerate.
191
192 2004-10-26  Mark Mitchell  <mark@codesourcery.com>
193
194         * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
195         __exidx_{start,end} when not relocating.
196
197 2004-10-25  Mark Mitchell  <mark@codesourcery.com>
198
199         * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
200         * ldexp.h (segment_type): New type.
201         (segments): New variable.
202         * ldexp.c (segments): New variable.
203         (exp_print_token): Handle SEGMENT_START.
204         (fold_binary): Likewise.
205         * ldgram.y (SEGMENT_START): Declare it as a token.
206         (exp): Handle SEGMENT_START.
207         * ldlang.h (lang_address_statement_type): Add segment field.
208         (lang_section_start): Change prototype.
209         * ldlang.c (map_input_to_output_sections): Do not process section
210         assignments if a corresponding SEGMENT_START has already been
211         seen.
212         (lang_section_start): Add segment parameter.
213         * ldlex.l (SEGMENT_START): Add it.
214         * lexsup.c (seg_segment_start): New function.
215         (parse_args): Use it for -Tbss, -Tdata, and -Ttext.
216         * ld.texinfo (SEGMENT_START): Document it.
217         * emulparams/armsymbian.sh (EMBEDDED): Set it.
218         * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment
219         base addresses.  Do not map relocations.
220         * NEWS: Mention SEGMENT_START.
221
222 2004-10-26  Paul Brook  <paul@codesourcery.com>
223
224         * ld.texinfo: Document --default-symver.
225         * ldmain.c (main): Set link_info.create_default_symver.
226         * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER.
227         (ld_options): Add default-symver.
228         (parse_args): Handle OPTION_DEFAULT_SYMVER.
229
230 2004-10-24 Danny Smith  <dannysmith@users.sourceforge.net>
231
232         * pe-dll.c (process_def_file): Don't export all symbols by default if
233         building a position-independent executable.
234
235 2004-10-21  H.J. Lu  <hongjiu.lu@intel.com>
236
237         PR 463
238         * ldmain.c (reloc_overflow): Accept a pointer to struct
239         bfd_link_hash_entry. Report symbol location for relocation
240         overflow.
241
242 2004-10-21  H.J. Lu  <hongjiu.lu@intel.com>
243
244         * genscripts.sh (libpath.exp): Really generate for first
245         emulation only.
246
247 2004-10-19  Danny Smith  <dannysmith@users.sourceforge.net>
248
249         * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify
250         comparison and replacement of filenames.
251
252 2004-10-19  H.J. Lu  <hongjiu.lu@intel.com>
253
254         PR 459
255         * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic
256         option on linker script as the one for linker script.
257
258 2004-10-16  Daniel Jacobowitz  <dan@debian.org>
259
260         * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
261         (check_excluded_libs): New.
262         (load_symbols): Call check_excluded_libs.
263         * ldlang.h (add_excluded_libs): New prototype.
264         * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
265         (gld${EMULATION_NAME}_add_options): Add --exclude-libs.
266         (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
267         * ld.texinfo (Command Line Variables): Document --exclude-libs.
268         (Options Specific to i386 PE Targets): Remove --exclude-libs.
269
270 2004-10-15  Alan Modra  <amodra@bigpond.net.au>
271
272         * ldexp.c (exp_fold_tree): Don't immediately exit ld on a
273         failing link script assert.
274
275         * ldctor.c (ldctor_add_set_entry): Fix comment typo.
276
277 2004-10-14  H.J. Lu  <hongjiu.lu@intel.com>
278
279         PR 445
280         * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set.
281         (SMALL_DATA_DTOR): Set.
282         * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset.
283         (SMALL_DATA_DTOR): Unset.
284         * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors
285         after .data. If SMALL_DATA_DTOR is set, move .dtors after
286         .data.
287
288 2004-10-14  Alan Modra  <amodra@bigpond.net.au>
289
290         PR 63
291         * ldlang.h (lang_output_section_statement_type): Make "next" a
292         struct lang_output_section_statement_struct *.
293         (struct orphan_save): Move from elf32.em.  Add "name" and "flags".
294         (lang_output_section_find_by_flags, lang_insert_orphan): Declare.
295         * ldlang.c (lang_output_section_find_1): Adjust for changed
296         output_section_statement "next".
297         (strip_excluded_output_sections): Likewise.
298         (lang_record_phdrs): Likewise.
299         (lang_output_section_find_by_flags): New function.
300         (output_prev_sec_find): Move from pe.em.  Adjust iterator.
301         (lang_insert_orphan): New function.  Tail end of elf32.em's
302         place_orphan merged with that from pe.em.  Allow bfd_section to
303         be placed first.  New heuristic for placing new output section
304         statement in existing script, and accompanying split of __start
305         symbol alignment into a separate assignment to dot.
306         (lang_add_section): Consistently use output->bfd_section rather than
307         an alias, section->output_section.
308         (map_input_to_output_sections): Rename overly long arg.  Move
309         initialization of data_statement output section to here..
310         (lang_check_section_addresses): ..from here.
311         (print_assignment): Correct printing of etree_assert.
312         (print_all_symbols): Don't bomb if userdata is NULL.
313         (IGNORE_SECTION): Rearrange.
314         * emultempl/elf32.em (output_rel_find): Adjust interator.
315         (output_prev_sec_find): Delete.
316         (struct orphan_save): Delete.
317         (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section
318         flags without creating a duplicate output section statement.
319         Revise code holding history of various orphan section placements.
320         Allow orphan sections to place before script specified output
321         sections.  Call lang_output_section_find_by_flags when placement
322         by name fails.  Use lang_insert_orphan.
323         * emultempl/mmo.em (output_prev_sec_find): Delete.
324         (struct orphan_save): Delete.
325         (mmo_place_orphan): Revise code holding history of orphan placement.
326         Allow orphans to place before existing output sections.  Use
327         lang_insert_orphan.
328         * emultempl/pe.em (output_prev_sec_find): Delete.
329         (struct orphan_save): Delete.
330         (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of
331         lang_insert_orphan.
332
333 2004-10-13  Mark Mitchell  <mark@codesourcery.com>
334
335         * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a
336         loadable segment.
337
338 2004-10-13  Alan Modra  <amodra@bigpond.net.au>
339
340         PR 44
341         * ldcref.c (check_section_sym_xref): Delete.
342         (check_local_sym_xref): New function.
343         (check_nocrossrefs): Adjust call.
344         * emultempl/pe.em (struct orphan_save): Add os_tail.
345         (place_orphan): Backport assorted fixes from elf32.em.
346
347 2004-10-12  Bob Wilson  <bob.wilson@acm.org>
348
349         * emultempl/xtensaelf.em: Use ISO C90 formatting.
350
351 2004-10-11  Jakub Jelinek  <jakub@redhat.com>
352
353         * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid
354         getline for portability.
355
356         * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure.
357         (gld${EMULATION_NAME}_parse_ld_so_conf,
358         gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions.
359         (gld${EMULATION_NAME}_check_ld_so_conf): Use them.
360
361 2004-10-11  Alan Modra  <amodra@bigpond.net.au>
362
363         PR 423
364         * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are
365         rejected when linking statically.
366
367 2004-10-08  Daniel Jacobowitz  <dan@debian.org>
368
369         * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*.
370
371 2004-10-07  Bob Wilson  <bob.wilson@acm.org>
372
373         * ld.texinfo (Xtensa): Describe new linker relaxation to optimize
374         assembler-generated longcall sequences.  Describe new --size-opt
375         option.
376         * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section.
377         * emultempl/xtensaelf.em (remove_section,
378         replace_insn_sec_with_prop_sec, replace_instruction_table_sections,
379         elf_xtensa_after_open): New.
380         (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT,
381         OPTION_NO_LITERAL_MOVEMENT): Define.
382         (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals.
383         (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement.
384         (PARSE_AND_LIST_OPTIONS): Add --size-opt.
385         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT,
386         OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT.
387         (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open.
388         * scripttempl/elfxtensa.sc: Update with changes from elf.sc.
389         * Makefile.am (eelf32xtensa.c): Update dependencies.
390         * Makefile.in: Regenerate.
391
392 2004-10-07  Jeff Baker  <jbaker@qnx.com>
393
394         * lexsup.c: Handle --warn-shared-textrel option.
395         (ld_options): Restore alpha sorting of options.
396         * ldmain.c (main): Initialise warn_shared_info field to FALSE.
397         * ld.texinfo: Add documentation for --warn-shared-textrel.
398         * NEWS: Added mention of --warn-shared-textrel option.
399
400 2004-10-05  Tomer Levi  <Tomer.Levi@nsc.com>
401
402         * emultempl/crxelf.em (disable_relaxation): Add.
403         (crxelf_before_allocation): Enable --relax option by default.
404         (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX.
405         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax.
406         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX.
407
408 2004-10-04  H.J. Lu  <hongjiu.lu@intel.com>
409
410         * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and
411         --sort-section name|alignment.
412
413         * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and
414         --sort-section name|alignment.
415
416         * ld.h (sort_type): New enum.
417         (wildcard_spec): Change the type of `sorted' to sort_type.
418
419         * ldgram.y (SORT): Removed.
420         (SORT_BY_NAME): Added.
421         (SORT_BY_ALIGNMENT): Added.
422         (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and
423         SORT_BY_ALIGNMENT.
424         (input_section_spec_no_keep): Updated `sorted'.
425         (statement): Replace SORT with SORT_BY_NAME.
426
427         * ldlang.c (compare_section): New function to compare 2
428         sections with different sorting schemes.
429         (wild_sort): Updated. Use compare_section.
430         (update_wild_statements): New function.
431         (lang_process): Call update_wild_statements before
432         map_input_to_output_sections.
433
434         * ldlex.l (SORT_BY_NAME): New.
435         (SORT_BY_ALIGNMENT): New.
436         (SORT): Return SORT_BY_NAME.
437
438         * ldmain.c (sort_section): New. Defined.
439         (main): Initialize it to none.
440
441         * lexsup.c (option_values): Add OPTION_SORT_SECTION.
442         (ld_options): Add an entry for OPTION_SORT_SECTION.
443         (parse_args): Handle OPTION_SORT_SECTION.
444
445         * mri.c (mri_draw_tree): Updated `sorted'.
446
447 2004-10-04  Jakub Jelinek  <jakub@redhat.com>
448
449         * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument.
450         * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first
451         argument.
452         (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first
453         and . as second argument.
454         (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section.
455         * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here.
456         (fold_binary): Add it here.  Insert padding to make relro_end
457         COMMONPAGESIZE bytes aligned.  For DATA_SEGMENT_ALIGN in
458         exp_dataseg_relro_adjust phase just use previously computed
459         exp_data_seg.base.
460         * ldlang.c (lang_size_sections): Set exp_data_seg.base for
461         relro_adjust here.  Call lang_size_sections_1 once more if there
462         was too big padding at DATA_SEGMENT_RELRO_END.
463         * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation.
464
465 2004-10-01  Paul Brook  <paul@codesourcery.com>
466
467         * emulparams/armelf.sh: Add unwinding table sections.
468
469 2004-09-30  Filip Navara  <navaraf@reactos.com>
470
471         * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate
472         correct base address for position independant executables.
473         * pe-dll.c (pe_dll_fill_sections): Don't mark position independant
474         executables as DLLs.
475
476 2004-09-30  Paul Brook  <paul@codesourcery.com>
477
478         * ld.texinfo: Document --target2=abs.
479         * emulparms/armsymbian.sh (TARGET2_TYPE): Set.
480
481 2004-09-29  Nick Clifton  <nickc@redhat.com>
482
483         * scripttempl/xstormy16.sc: Only perform the assignments to the
484         ROM region when not performing a relocatable link.  The ROM region
485         does not start at address 0, but the sections will.
486         * Makefile.am: Fix linker script dependency for the generation of
487         eelf32xstormy16.c.
488         * Makefile.in: Regenerate.
489
490 2004-09-18  Filip Navara  <navaraf@reactos.com>
491
492         * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh,
493         emulparams/i386pe_posix.sh, emulparams/mcorepe.sh,
494         emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define
495         TARGET_PAGE_SIZE.
496         * scripttempl/pe.sc: Make the virtual address and file offset synced if
497         the alignment is lower than the target page size.
498
499 2004-09-27  Filip Navara  <navaraf@reactos.com>
500
501         * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow
502         def_file_parse to handle pe_def_file if NULL and prevent crash with
503         invalid .def files.
504
505 2004-09-27  Alan Modra  <amodra@bigpond.net.au>
506
507         * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
508         --emit-stub-syms automatically when --emit-relocs.
509
510 2004-09-24  Paul Brook  <paul@codeosurcery.com>
511
512         * scripttempl/elf.sc: Keep .preinit_array, .init_array and
513         .fini_array sections.
514
515 2004-09-19  Andreas Schwab  <schwab@suse.de>
516
517         * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment
518         base so that relro end is suitably aligned.
519
520 2004-09-17  Paul Brook  <paul@codesourcery.com>
521
522         * ld.texinfo: Rename arm-specific section.  Document --target*
523         * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
524         * emulparams/armelf_linux.sh: Ditto.
525         * emulparams/armelf_nbsd.sh: Ditto.
526         * emultempl/armelf.em: Set default for TARGET2_TYPE.
527         (target2_type): New variable.
528         (arm_elf_before_allocation): Don't pass target1_type.
529         (arm_elf_create_output_section_statements): New function.
530         (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
531         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
532         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
533         (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
534         * emultempl/armelf_oabi.em (_before_allocation): Remove extra
535         argument to bfd_elf32_arm_process_before_allocation.
536
537 2004-09-17  Alan Modra  <amodra@bigpond.net.au>
538
539         * ldexp.c (fold_name): Update u.undef.next refs.
540         * emultempl/pe.em: Likewise.
541         * emultempl/sunos.em: Likewise.
542
543 2004-09-17  Alan Modra  <amodra@bigpond.net.au>
544
545         * Makefile.am: Run "make dep-am".
546         * Makefile.in: Regenerate.
547         * config.in: Regenerate.
548         * configure: Regenerate.
549         * aclocal.m4: Regenerate.
550         * po/ld.pot: Regenerate.
551
552 2004-09-16  Tomer Levi  <Tomer.Levi@nsc.com>
553
554         * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*.
555         (.fini): Likewise.
556         (.jcr): Likewise.
557
558 2004-09-16  Alan Modra  <amodra@bigpond.net.au>
559
560         * emultempl/armelf_oabi.em (before_allocation): Add extra zero param
561         to bfd_elf32_arm_process_before_allocation call.
562
563 2004-09-13  Paul Brook  <paul@codesourcery.com>
564
565         * emulparams/armsymbian.sh: Set TARGET1_IS_REL.
566         * emultempl/armelf.em: Use TARGET1_IS_REL.  Add --target1-{rel,abs}.
567
568 2004-09-07  H.J. Lu  <hongjiu.lu@intel.com>
569
570         * configure: Regenerated with autconfig 2.13.
571
572 2004-09-07  Andreas Schwab  <schwab@suse.de>
573
574         * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
575         alignment before adjusting DATA_SEGMENT_RELRO_END.
576
577 2004-09-06  Mark Mitchell  <mark@codesourcery.com>
578
579         * emulparams/armsymbian.sh: Use armbpabi script.
580         * scripttempl/armbpabi.sc: New script.
581
582 2004-09-02  Mark Mitchell  <mark@codesourcery.com>
583
584         * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
585         (earmsymbian.c): New target.
586         * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
587         * Makefile.in: Regenerated.
588         * aclocal.m4: Likewise.
589         * configure: Likewise.
590         * emulparams/armsymbian.sh: New file.
591
592 2004-09-03  Tomer Levi  <Tomer.Levi@nsc.com>
593
594         * scripttempl/elf32crx.sc: Edit file with comments.
595         (.init): Add new section.
596         (.fini): Likewise.
597         (.ctor): Control the linkage order.
598         (.dtor): Likewise.
599
600 2004-08-27  Nick Clifton  <nickc@redhat.com>
601
602         * emultempl/pe.em (after_open): Do not assume that either bfd is
603         an archive.
604
605 2004-08-26  Alan Modra  <amodra@bigpond.net.au>
606
607         * ldlang.c (lang_init): Don't compare with TRUE.
608
609 2004-08-25  Dmitry Diky  <diwil@spec.ru>
610
611         * emulparams/msp430all.sh: Fix RAM sizes for all targets.
612         * scripttempl/elf32msp430.sc: Add .profiler section definition.
613
614 2004-08-24  H.J. Lu  <hongjiu.lu@intel.com>
615
616         * ldlang.c (wildcardp): Defined as a macro with strpbrk.
617
618 2004-08-19  Mark Mitchell  <mark@codesourcery.com>
619
620         * configure.tgt (arm*-*-symbianelf*): New target.
621         (arm*-*-eabi*): Likewise.
622
623 2004-08-19  Jakub Jelinek  <jakub@redhat.com>
624
625         * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
626         (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
627         (OPTION_NON_OVERLAPPING_OPD): Define.
628         (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
629         --non-overlapping-opd option.
630
631 2004-08-18  Alan Modra  <amodra@bigpond.net.au>
632
633         PR 338
634         * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
635         was already on the undefs list.
636
637 2004-08-17  Alan Modra  <amodra@bigpond.net.au>
638
639         * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
640         prefix the symbol field too.
641
642 2004-08-13  Alan Modra  <amodra@bigpond.net.au>
643
644         * ldmain.c (link_callbacks): Remove "error_handler".
645         * ldmisc.c: Include elf-bfd.h.
646         (vfinfo): Sort comment.  Handle %A.  Use %A instead of
647         bfd_get_section_indent.
648         (error_handler): Delete.
649         * ldmisc.h (error_handler): Delete declaration.
650
651 2004-08-10  Alan Modra  <amodra@bigpond.net.au>
652
653         * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
654         ppc64_elf_restore_symbols.
655
656 2004-08-09  Alan Modra  <amodra@bigpond.net.au>
657
658         * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
659         .toc is too large on relocatable linking.
660
661 2004-08-09  Alan Modra  <amodra@bigpond.net.au>
662
663         * emultempl/ppc64elf.em (ppc_after_open): Delete.
664         (LDEMUL_AFTER_OPEN): Don't define.
665
666 2004-08-02  Stephane Carrez  <stcarrez@nerim.fr>
667
668         * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
669
670 2004-08-01  Stephane Carrez  <stcarrez@nerim.fr>
671
672         * scripttempl/elfm68hc12.sc: Align text, rodata and data section
673         on power of 2.
674
675 2004-07-27  Jason Thorpe  <thorpej@wasabisystems.com>
676
677         * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
678
679 2004-07-26  Dmitry Diky  <diwil@spec.ru>
680
681         * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
682         msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
683         msp430xG439.
684         * configure.tgt: Likewise.
685         * emulparams/msp430all.sh: Likewise.
686         * Makefile.in: Regenerate.
687
688 2004-07-23  Nick Clifton  <nickc@redhat.com>
689
690         * emultempl/elf32.em (_place_orphan): Use an already existing
691         section name if that section does not have any flags set.
692
693 2004-07-21  H.J. Lu  <hongjiu.lu@intel.com>
694
695         * ldlang.c (already_linked_hash_entry): Removed.
696         (already_linked): Likewise.
697         (already_linked_table): Likewise.
698         (section_already_linked): Call bfd_section_already_linked.
699         (lang_process): Replace already_linked_table_init with
700         bfd_section_already_linked_table_init and check return. Replace
701         already_linked_table_free with bfd_section_already_linked_table_free.
702
703 2004-07-21  Nick Clifton  <nickc@redhat.com>
704
705         * ldlang.c (init_os): Make sure that the newly allocated userdata
706         structure is zeroed out.
707
708 2004-07-19  H.J. Lu  <hongjiu.lu@intel.com>
709
710         * NEWS: Mention the new --add-needed/--no-add-needed and
711         --as-needed/--no-as-needed options.
712
713 2004-07-19  H.J. Lu  <hongjiu.lu@intel.com>
714
715         * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
716         check the add_needed field.
717         (dt_needed): New struct.
718         (gld${EMULATION_NAME}_try_needed): Change the first argument
719         to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
720         bit in the file where the DT_NEEDED entry comes from.
721         (gld${EMULATION_NAME}_search_needed): Change the second
722         argument to a pointer to struct dt_needed.
723         (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
724         (gld${EMULATION_NAME}_after_open): Likewise.
725
726         * ld.texinfo: Add --add-needed document.
727         * ldlang.c (new_afile): Set p->add_needed.
728         * ldlang.h (lang_input_statement_type): Add add_needed field.
729         * ldmain.h (add_needed): Declare.
730         * ldmain.c (add_needed): New global var.
731         * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
732         OPTION_NO_ADD_NEEDED.
733         (ld_options): Likewise.
734         (parse_args): Handle them.
735
736 2004-07-13  Christof Petig  <christof@petig-baender.de>
737
738         * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
739         for endian-ness of extracted addend.
740
741 2004-07-13  Danny Smith  <dannysmith@usesr.sourceforge.net>
742
743         * pe-dll.c (auto_export):  Filter on just the import prefix,
744         "_imp_", not "_imp__".
745
746 2004-07-09  Nick Clifton  <nickc@redhat.com>
747
748         * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
749
750 2004-07-06  Tomer Levi  <Tomer.Levi@nsc.com>
751
752         * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
753         (eelf32crx.c): New target.
754         * Makefile.in: Regenerate.
755         * configure.tgt: Handle crx-*-elf*.
756         * emulparams/elf32crx.sh: New file.
757         * emultempl/crxelf.em: New file.
758         * scripttempl/elf32crx.sc: New file.
759         * NEWS: Mention new target.
760
761 2004-07-06  Nick Clifton  <nickc@redhat.com>
762
763         * Makefile.am: Add eshlsymbian.c.
764         * Makefile.in: Regenerate.
765         * configure.tgt: Add sh*-symbian-elf target.
766         * emulparams/shlsymbian.sh: New file.  Configure the
767         sh-symbian-elf linker scripts.
768         * scripttemp/elf32sh-symbian.sc: New file.  Linker script
769         template for the sh-symbian-elf target.
770
771 2004-07-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
772
773         * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
774         * emulparams/hppalinux.sh: Likewise.
775         * scripttempl/elf.sc: Place .plt just before .got when .plt is in
776         data segment and PLT_BEFORE_GOT is defined.
777
778 2004-07-03  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
779
780         * ld.texinfo (WIN32): Document PE weak symbols.
781
782 2004-07-02  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
783
784         * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
785
786 2004-07-01  H.J. Lu  <hongjiu.lu@intel.com>
787
788         * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
789         the section.
790
791 2004-06-29  Alan Modra  <amodra@bigpond.net.au>
792
793         * ldlang.c (lang_reset_memory_regions): Save last relax pass section
794         size in rawsize.
795
796 2004-06-24  Alan Modra  <amodra@bigpond.net.au>
797
798         * ldlang.c (print_output_section_statement): Don't print size before
799         relaxation.
800         (IGNORE_SECTION): Remove bfd arg.  Update all callers.
801
802         * ldexp.c (fold_name): .. See below.
803         * ldlang.c (section_already_linked, print_output_section_statement,
804         print_input_section, insert_pad, size_input_section,
805         lang_check_section_addresses, lang_size_sections_1,
806         lang_size_sections, lang_do_assignments_1, lang_set_startof,
807         lang_one_common, lang_reset_memory_regions, lang_process,
808         lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
809         * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
810         * pe-dll.c (process_def_file, generate_reloc): ..
811         * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
812         gld${EMULATION_NAME}_before_allocation): ..
813         * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
814         * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
815         sh64_elf_${EMULATION_NAME}_after_allocation): ..
816         * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
817         * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
818         ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
819         "size" instead of "_raw_size" and "_cooked_size".  Expand
820         bfd_section_size macro invocations.
821
822 2004-06-22  Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
823
824         * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
825         ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
826         ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
827         ___crt_xt_end__.
828         (.tls): Define ___tls_start__ and ___tls_end__.
829
830 2004-06-21  Alexandre Oliva  <aoliva@redhat.com>
831
832         * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
833
834 2004-06-18  Adam Nemet  <anemet@lnxw.com>
835
836         * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
837         * configure: Regenerate.
838
839 2004-06-15  Jakub Jelinek  <jakub@redhat.com>
840
841         * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
842         .gcc_except_table output sections lost accidentally with
843         -z relro patch.
844
845 2004-06-15  Alan Modra  <amodra@bigpond.net.au>
846
847         * ldwrite.c (build_link_order): Use bfd_get_section_size
848         instead of bfd_get_section_size_before_reloc or _raw_size.
849         * pe-dll.c (process_def_file): Likewise.
850
851 2004-06-14  Alan Modra  <amodra@bigpond.net.au>
852
853         From Richard Wirth <r.wirth@wirthware.de>
854         * ldlang.c (lang_finish): Don't free lang_definedness_table.
855
856 2004-05-29  Alan Modra  <amodra@bigpond.net.au>
857
858         * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
859         (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
860
861 2004-05-28  Andrew Stubbs <andrew.stubbs@superh.com>
862
863         * testsuite/ld-sh/arch/arch.exp: New test script.
864         * testsuite/ld-sh/arch/arch_expected.txt: New file.
865         * testsuite/ld-sh/arch/sh.s: New file.
866         * testsuite/ld-sh/arch/sh2.s: New file.
867         * testsuite/ld-sh/arch/sh-dsp.s: New file.
868         * testsuite/ld-sh/arch/sh2e.s: New file.
869         * testsuite/ld-sh/arch/sh3-nommu.s: New file.
870         * testsuite/ld-sh/arch/sh3.s: New file.
871         * testsuite/ld-sh/arch/sh3-dsp.s: New file.
872         * testsuite/ld-sh/arch/sh3e.s: New file.
873         * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
874         * testsuite/ld-sh/arch/sh4-nofpu.s: New file.
875         * testsuite/ld-sh/arch/sh4.s: New file.
876         * testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
877         * testsuite/ld-sh/arch/sh4al-dsp.s: New file.
878         * testsuite/ld-sh/arch/sh4a.s: New file.
879
880 2004-05-28  Alan Modra  <amodra@bigpond.net.au>
881
882         * ldlang.c: Formatting.  Wrap long lines, expand bfd_get_section_flags
883         throughout file.
884         * lexsup.c: Formatting.  Wrap long lines.
885         * ldwrite.c: Update copyright date.
886
887         * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
888         (output_section_callback): Nor SEC_KEEP here.
889         (gc_section_callback): Twiddle SEC_EXCLUDE here.
890         (lang_gc_wild): Delete.  Fold into..
891         (lang_gc_sections_1): ..here.  Only call bfd_gc_sections when garbage
892         collecting.
893         (lang_process): Always call lang_gc_sections.
894         (lang_place_orphans): Handle SEC_EXCLUDE sections.
895         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
896         SEC_EXCLUDE code.
897
898 2004-05-26  H.J. Lu  <hongjiu.lu@intel.com>
899
900         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
901         SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
902         * ldlang.c (lang_add_section): Likewise.
903
904 2004-05-26  Alan Modra  <amodra@bigpond.net.au>
905
906         * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
907         sections when doing a final link.  Clear SEC_EXCLUDE when doing
908         a relocable link, except for SEC_DEBUGGING sections.
909         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
910         same condition here to drop SEC_EXCLUDE orphan sections.
911
912 2004-05-25  Alan Modra  <amodra@bigpond.net.au>
913
914         * ldlang.c (lang_process): Call bfd_merge_sections later, and
915         only when not a relocatable link.
916         (print_input_section): Handle SEC_EXCLUDE sections.
917         (size_input_section): Don't update dot on SEC_EXCLUDE sections.
918         (lang_do_assignments_1): Likewise.
919         * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
920         * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
921         * emultempl/hppaelf.em (build_section_lists): Likewise.
922         * emultempl/ppc64elf.em (build_toc_list): Likewise.
923         (build_section_lists): Likewise.
924
925 2004-05-23  Andreas Schwab  <schwab@suse.de>
926
927         * ld.texinfo (Options): Fix typo in last change.
928
929 2004-05-21  Andy Chittenden  <achittenden@bluearc.com>
930
931         * ld.h (ld_config_type): Add new field: hash_table_size.
932         * ldmain.c: Initialise the new field to zero.  If it is non-zero
933         after parsing the linker's command line call
934         bfd_hash_set_default_size.
935         * lexsup.c (option_values): Add OPTION_HASH_SIZE.
936         (ld_options): Add hash-size.
937         (parse_args): Parse --hash-size option.  Allow
938         --reduce-memory-overheads to set the default hash table size as
939         well.
940         * ld.texinfo: Document the new switch.  Also mention that
941         --reduce-memory-overheads can affect the hash table size.
942         * NEWS: Mention the new feature.
943
944 2004-05-19  J"orn Rennecke <joern.rennecke@superh.com>
945
946         * NEWS: Mention new linker map file generation and the
947         --reduce-memory-overheads option.
948         * ld.texinfo: Document --reduce-memory-overheads option.
949         * ld.h (map_symbol_def): New struct.
950         (struct user_section_struct, section_userdata_type): Rename to:
951         (struct lean_user_section_struct, lean_section_userdata_type).
952         (struct fat_user_section_struct, fat_section_userdata_type): New.
953         (SECTION_USERDATA_SIZE): Define.
954         (args_type): New member reduce_memory_overheads.
955         * ldlang.c (map_obstack): New static variable.
956         (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
957         (lang_map): Unless command_line.reduce_memory_overheads is set,
958         initialize lists of defined symbols for each section.
959         (print_input_section): Unless command_line.reduce_memory_overheads
960         is set, use print_all_symbols.
961         (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
962         * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
963         * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
964         (ld_options): Add entry for --reduce-memory-overheads.
965         (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
966
967 2004-05-19  Jakub Jelinek  <jakub@redhat.com>
968
969         * ldgram.y (sect_constraint): New.
970         (ONLY_IF_RO, ONLY_IF_RW): New tokens.
971         (section): Add sect_constraint.  Pass additional argument
972         to lang_enter_output_section_statement.
973         * mri.c (mri_draw_tree): Pass additional argument to
974         lang_enter_output_section_statement.
975         * emultempl/pe.em (place_orphan): Likewise.
976         (output_prev_sec_find): Disregard output section statements with
977         constraint == -1.
978         * emultempl/mmo.em (output_prev_sec_find): Likewise.
979         (mmo_place_orphan): Pass additional argument to
980         lang_enter_output_section_statement.
981         * emultempl/elf32.em (output_prev_sec_find): Disregard output section
982         statements with constraint == -1.
983         (place_orphan): Pass additional argument to
984         lang_enter_output_section_statement.
985         * ldlang.c (lang_enter_overlay_section): Likewise.
986         (lang_output_section_find_1): New.
987         (lang_output_section_find): Use it.
988         (lang_output_section_statement_lookup_1): New.
989         (lang_output_section_statement_lookup): Use it.
990         (check_section_callback, check_input_sections): New.
991         (map_input_to_output_sections): Check if all input sections
992         are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
993         (strip_excluded_output_sections): Disregard output section statements
994         with constraint == -1.
995         (lang_record_phdrs): Likewise.
996         (lang_enter_output_section_statement): Add constraint argument.
997         Use lang_output_section_statement_lookup_1.
998         * ldlang.h (lang_output_section_statement_type): Add constraint
999         and all_input_readonly fields.
1000         (lang_enter_output_section_statement): Adjust prototype.
1001         * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
1002         * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
1003         segment if all input sections are readonly.
1004
1005 2004-05-19  Adam Nemet  <anemet@lnxw.com>
1006
1007         * scripttempl/i386lynx.sc: Remove file.
1008
1009 2004-05-17  Bob Wilson  <bob.wilson@acm.org>
1010
1011         * ld.texinfo (Output Section Address): Correct subsection name.
1012
1013 2004-05-17  Adam Nemet  <anemet@lnxw.com>
1014
1015         * configure.tgt (powerpc-*-lynxos* case): New case.
1016         * configure.host (i[3-7]86-*-lynxos* case): Remove case.
1017         * emulparams/ppclynx.sh: New file.
1018         * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
1019         * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
1020         (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
1021         (eppclynx.c): New rule.
1022         * Makefile.in: Regenerate.
1023
1024 2004-05-13  Joel Sherrill <joel@oarcorp.com>
1025
1026         * configure.tgt (or32-*-rtems*): Switch to elf and
1027         support versioned targets.
1028
1029 2004-05-13  Nick Clifton  <nickc@redhat.com>
1030
1031         * po/fr.po: Updated French translation.
1032
1033 2004-05-11  Jakub Jelinek  <jakub@redhat.com>
1034
1035         * genscripts.sh: Generate -z combreloc -z now -z relro scripts
1036         for binaries, -shared and -pie.
1037         * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
1038         * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
1039         * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
1040         (OTHER_RELRO_SECTIONS): ... this.
1041         * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
1042         * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
1043         -z relro and -z norelro.
1044         (gld${EMULATION_NAME}_list_options): Add it to usage.
1045         (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
1046         -z relro scripts when appropriate.
1047         * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
1048         Create separate .got.plt section if SEPARATE_GOTPLT.
1049         Move sections which are only written during relocation handling
1050         to the beginning of RW segment.  If NO_SMALL_DATA, move .got
1051         before .data.  Add DATA_SEGMENT_RELRO_END directive.
1052         Include OTHER_RELRO_SECTIONS.
1053         * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
1054         * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
1055         (fold_unary): Likewise.
1056         (fold_binary): Handle -z relro.
1057         * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
1058         exp_dataseg_relro_adjust phases.  Add relro_end field.
1059         * ldmain.c (main): Initialize link_info.relro to FALSE.
1060         * ldlang.c (lang_size_sections): Handle -z relro.
1061
1062 2004-05-08  Marek Michalkiewicz  <marekm@amelek.gda.pl>
1063
1064         * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
1065
1066 2004-05-07  J"orn Rennecke <joern.rennecke@superh.com>
1067
1068         * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
1069         before printing it with %W.
1070
1071 2004-05-07  Brian Ford  <ford@vss.fsi.com>
1072             DJ Delorie  <dj@redhat.com>
1073
1074         * emultempl/pe.em (real_flags): New static.
1075         (OPTION_LARGE_ADDRESS_AWARE): New define.
1076         (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
1077         (gld_${EMULATION_NAME}_list_options): Likewise.
1078         (gld${EMULATION_NAME}_handle_option): Likewise.
1079         (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
1080         * ld.texinfo: Document it.
1081         * NEWS: Mention it.
1082
1083 2004-05-07  Brian Ford  <ford@vss.fsi.com>
1084
1085         * NEWS: Mention DWARF 2 support for i386pe.
1086
1087 2004-05-05  Alexandre Oliva  <aoliva@redhat.com>
1088
1089         * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
1090         elf32-frvfdpic.
1091
1092 2004-04-30  Alan Modra  <amodra@bigpond.net.au>
1093
1094         * ldlang.c (unique_section_p): Pass section parm, return true on
1095         group sections.
1096         (output_section_callback): Adjust.
1097         * ldlang.h (unique_section_p): Update prototype.
1098         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
1099
1100 2004-04-30  Eric Botcazou  <ebotcazou@act-europe.fr>
1101
1102         * ld.texinfo (--gc-sections): Remove restriction for
1103         dynamic linking.
1104
1105 2004-04-29  Brian Ford  <ford@vss.fsi.com>
1106
1107         * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
1108         for DWARF 2/3.  Update stab section's syntax.
1109
1110 2004-04-29  Alan Modra  <amodra@bigpond.net.au>
1111
1112         * pe-dll.c: Revert changes accidentally committed 2004-03-08.
1113         (fill_edata): Correct pointer arithmetic.
1114
1115 2004-04-21  Chris Demetriou  <cgd@broadcom.com>
1116
1117         * ld.texinfo: Remove MIPS --embedded-relocs documentation.
1118         * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
1119         * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
1120         (EXTRA_EM_FILE): Use mipsecoff.em
1121         * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
1122         (EXTRA_EM_FILE): Use mipsecoff.em
1123         * emultempl/mipsecoff.em: Restructure to be included as an
1124         extra emulation file.
1125         (check_sections, gld${EMULATION_NAME}_after_open)
1126         (gld${EMULATION_NAME}_after_allocation)
1127         (gld${EMULATION_NAME}_get_script)
1128         (ld_${EMULATION_NAME}_emulation): Remove
1129         (gld${EMULATION_NAME}_before_parse): Rename to...
1130         (mipsecoff_before_parse): This.
1131         (LDEMUL_BEFORE_PARSE): Define.
1132         * emultempl/mipself.em: Remove file.
1133         * scripttempl/mips.sc (.rel.sdata): Do not include in output.
1134         (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
1135         these symbols.
1136         * Makefile.am: Remove dependencies on emultempl/mipself.em.
1137         * Makefile.in: Regenerate.
1138
1139 2004-04-21      Anil Paranjpe   <anilp1@kpitcummins.com>
1140
1141         * ld.texinfo (synthesizing on H8/300): Information about linker
1142         relaxation support for bit manipulation instructions and system
1143         control instructions is added.
1144
1145 2004-04-21  Hans-Peter Nilsson  <hp@axis.com>
1146
1147         * NEWS: Mention change in DEFINED semantics.
1148
1149 2004-04-21  Eric Botcazou  <ebotcazou@act-europe.fr>
1150
1151         * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
1152         (.data): Add KEEP for .gnu.linkonce.d.*personality*.
1153         (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
1154
1155 2004-04-21  Ben Elliston  <bje@au.ibm.com>
1156
1157         * ld.texinfo (Simple Example): Add missing punctuation.
1158
1159 2004-04-20  Chris Demetriou  <cgd@broadcom.com>
1160
1161         * NEWS: Note that MIPS --embedded-relocs option is deprecated.
1162
1163 2004-04-19  Jakub Jelinek  <jakub@redhat.com>
1164
1165         * ldlang.c (lang_do_assignments_1): Handle .tbss output section
1166         specially.
1167
1168 2004-04-18  Danny Smith  <dannysmith@users.sourceforge.net>
1169
1170         * scriptempl/pe.sc:  Put numbered .ctors.* after .ctors
1171         with default priority. Likewise for dtors.
1172
1173 2004-04-11  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
1174
1175         * configure.host: Remove mips*-dec-bsd* target.
1176         * configure.tgt: Likewise.
1177
1178 2004-04-08  Richard Sandiford  <rsandifo@redhat.com>
1179
1180         * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
1181         * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
1182         * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
1183         * emultempl/irix.em: New file.
1184         * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
1185         dependencies.
1186         * Makefile.in: Regenerate.
1187
1188 2004-04-01  Paul Brook  <paul@codesourcery.com>
1189
1190         * emultempl/armelf.em (byteswap_code): Add.
1191         (arm_elf_before_allocation): Pass extra parameter.
1192         (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
1193         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
1194         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
1195         * emultempl/armelf_oabi.em: Pass extra parameter.
1196         * ld.texinfo: Document --be8.
1197
1198 2004-03-30  Stan Shebs  <shebs@apple.com>
1199
1200         Remove long-obsolete MPW support.
1201         * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
1202         * Makefile.am (mpw): Remove file-presynthesizing actions.
1203         * Makefile.in: Likewise.
1204         * ldfile.c (slash): Remove MPW case.
1205         * ldlex.l [MPW]: Remove unused definition.
1206
1207 2004-03-30  Galit Heller  <Galit.Heller@nsc.com>
1208
1209         * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
1210         (eelf32cr16c.c): New target.
1211         * Makefile.in: Regenerate.
1212         * configure.tgt: Handle cr16c-*-elf*.
1213         * emulparams/elf32cr16c.sh: New file.
1214         * scripttempl/elfcr16c.sc: Likewise
1215         * NEWS: Mention support for new target.
1216
1217 2004-03-30  Nick Clifton  <nickc@redhat.com>
1218
1219         * po/sv.po: Updated Swedish translation.
1220
1221 2004-03-27  Alan Modra  <amodra@bigpond.net.au>
1222
1223         * emultempl/elf32.em: Update new bfd_elf_discard_info name.
1224         * emultempl/hppaelf.em: Likewise.
1225         * emultempl/ppc64elf.em: Likewise.
1226         * emultempl/sh64elf.em: Likewise.
1227
1228 2004-03-25  Alan Modra  <amodra@bigpond.net.au>
1229
1230         * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
1231         size_dynamic_sections call.
1232
1233 2004-03-23  Alan Modra  <amodra@bigpond.net.au>
1234
1235         PR 51.
1236         * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
1237         link_info.wrap_char.
1238
1239 2004-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1240
1241         * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
1242         or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
1243
1244 2004-03-20  Alexandre Oliva  <aoliva@redhat.com>
1245
1246         * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
1247
1248 2004-03-19  Alan Modra  <amodra@bigpond.net.au>
1249
1250         * config.in: Regenerate.
1251         * po/ld.pot: Regenerate.
1252
1253 2004-03-18  Alan Modra  <amodra@bigpond.net.au>
1254
1255         * ld.texinfo: Add --as-needed doco.
1256         * ldmain.c (as_needed): New global var.
1257         * ldmain.h (as_needed): Declare.
1258         * lexsup.c (option_values): Add OPTION_AS_NEEDED and
1259         OPTION_NO_AS_NEEDED.
1260         (ld_options): Likewise.
1261         (parse_args): Handle them.
1262         * ldlang.h (lang_input_statement_type): Add as_needed field.
1263         * ldlang.c (new_afile): Set p->as_needed.
1264         * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
1265         (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
1266         (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
1267
1268         * ldlang.c (open_input_bfds): Remove useless cast.
1269         (lang_do_assignments_1): Likewise.
1270         (lang_for_each_input_section): Delete.
1271
1272 2004-03-17  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1273
1274         * configure.tgt: Switch sh-*-rtems* to ELF.  Add sh-*-rtemscoff*.
1275
1276 2004-03-08  Danny Smith  <dannysmith@users.sourceforge.net>
1277
1278         * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
1279         private when building implib.
1280
1281 2004-03-05  Nathan Sidwell  <nathan@codesourcery.com>
1282
1283         * ldlang.c (lang_add_section): Don't force SEC_LOAD on
1284         SEC_THREAD_LOCAL.
1285         (IGNORE_SECTION): Ignore .tbss sections too.
1286         (lang_size_sections_1): .tbss sections do not advance dot.
1287
1288 2004-03-01  Andreas Schwab  <schwab@suse.de>
1289
1290         * ld.texinfo (Options): Fix example for --wrap.
1291
1292 2004-02-25  Danny Smith  <dannysmith@users.sourceforge.net>
1293
1294         * pe-dll.c (fill_edata): Check that exported_symbol_sections is
1295         not NULL.
1296
1297 2004-02-23  Ian Lance Taylor  <ian@wasabisystems.com>
1298
1299         * ldlang.c (lang_check): Use %P, not %E, in error message.
1300
1301 2004-02-23  Nathan Sidwell  <nathan@codesourcery.com>
1302
1303         * ldlang.h (struct lang_output_section_state): Change processed
1304         field's type.
1305         * ldexp.c (check, invalid): Remove.
1306         (fold_name): Move valid_p assignments. Create undefined symbol
1307         when needed. Directly exampine section's processd flag.
1308         * ldlang.c (lang_output_section_statement_lookup): Adjust
1309         processed field init.
1310         (lang_size_sections_1): Allow LOADADDR when determining section's
1311         VMA. Adjust error message. Fold data statement's expr.
1312         (lang_size_sections): Correctly increment lang_statement_iteration.
1313
1314 2004-02-23  Alan Modra <amodra@bigpond.net.au>
1315
1316         * ldexp.c (fold_tree): Follow indirect symbols.
1317
1318 2004-02-20  Nathan Sidwell  <nathan@codesourcery.com>
1319
1320         * ldgram.y (exp): Add two operand ALIGN.
1321         * ldexp.c (fold_binary): Add ALIGN_K case.
1322         * ld.texinfo (ALIGN): Document two operand version.
1323
1324 2004-02-19  Nathan Sidwell  <nathan@codesourcery.com>
1325
1326         * ldlang.c (map_input_to_output_sections): Initialize sections
1327         mentioned in a data statement expression.
1328         (lang_do_assignments_1): Add data statement's expression's
1329         section's vma.
1330
1331 2004-02-18  Nathan Sidwell  <nathan@codesourcery.com>
1332
1333         * ldgram.y (statement_anywhere): Add assert rule.
1334         * ldlang.c (exp_init_os): Add assert case.
1335
1336 2004-02-14  Andrew Cagney  <cagney@redhat.com>
1337
1338         * ldmain.c (remove_output): Call bfd_cache_close.
1339
1340 2004-02-14  Richard Sandiford  <rsandifo@redhat.com>
1341
1342         * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
1343         .MIPS.content* and .MIPS.events* sections.
1344
1345 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
1346
1347         * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
1348         .note.gnu.arm.ident to after allocated sections.  Mark its
1349         address as 0.
1350
1351 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
1352
1353         * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
1354         * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
1355         * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
1356         * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
1357         * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
1358
1359 2004-02-05  Nick Clifton  <nickc@redhat.com>
1360
1361         * emultempl/pe.em (_after_open): Fix typo in previous delta.
1362
1363 2004-02-04  Danny Smith  <dannysmith@users.sourceforge.net>
1364
1365         * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
1366
1367 2004-01-28  Alan Modra  <amodra@bigpond.net.au>
1368
1369         * genscripts.sh: Fix typo.
1370
1371         * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
1372
1373 2004-01-24  Jakub Jelinek  <jakub@redhat.com>
1374
1375         * emulparams/elf64_ia64.sh: Put .rela.opd into
1376         OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
1377
1378 2004-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
1379
1380         * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
1381         * ld.texinfo (--omagic): Note that writable text section
1382         does not conform to published PE-COFF specs.
1383         (--enable-auto-import): Likewise.
1384
1385 2004-01-15  Alan Modra  <amodra@bigpond.net.au>
1386
1387         * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
1388
1389 2004-01-13  Nick Clifton  <nickc@redhat.com>
1390
1391         * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
1392         which if true will prevent the LMA region being used as a
1393         replacement for a default VMA region.
1394         (lang_leave_output_section_statement): Pass extra parameter.
1395         (lang_leave_overlay): Likewise.
1396         * ld.texinfo (Output Section LMA): Document that the LMA
1397         region can be set to the VMA region if no VMA has been set.
1398         * ldlang.h (struct lang_output_section_phdr_list): Create a
1399         typedef for this type.  Minor formatting fixes.
1400
1401 2004-01-13  Nick Clifton  <nickc@redhat.com>
1402
1403         * ldlang.c (lang_size_sections_1): If dot is advanced, then
1404         assume that the section should be allocated.
1405
1406 2004-01-13  Alan Modra  <amodra@bigpond.net.au>
1407
1408         * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
1409         sections.  Do ignore SEC_NEVER_LOAD sections.
1410         (lang_size_sections_1): Remove test made redundant with the above.
1411
1412 2004-01-09  Alan Modra  <amodra@bigpond.net.au>
1413
1414         * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
1415         program_header_size.
1416
1417 2004-01-06  Alexandre Oliva  <aoliva@redhat.com>
1418
1419         2003-11-28  Alexandre Oliva  <aoliva@redhat.com>
1420         * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
1421         2003-11-05  Alexandre Oliva  <aoliva@redhat.com>
1422         * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
1423         (MAXPAGESIZE): Set to 64Kb.
1424         (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
1425         __ROFIXUP_END__.  Don't map .rofixup.got any more.
1426         * emulparams/elf32frv.sh (NOP): Set.
1427         2003-10-31  Alexandre Oliva  <aoliva@redhat.com>
1428         * configure.tgt: Add frv-*-*linux*.
1429         2003-09-30  Alexandre Oliva  <aoliva@redhat.com>
1430         * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
1431         (eelf32frvfd.c): New.
1432         * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
1433         * emulparams/elf32frv.sh: Reverted previous two patches.
1434         * emulparams/elf32frvfd.sh: New.
1435         * Makefile.in: Rebuilt.
1436         2003-09-18  Alexandre Oliva  <aoliva@redhat.com>
1437         * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
1438         .rofixup.got to .rofixup.
1439         2003-09-15  Alexandre Oliva  <aoliva@redhat.com>
1440         * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
1441         (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
1442
1443 2004-01-05  Jakub Jelinek  <jakub@redhat.com>
1444
1445         * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
1446         * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
1447
1448 2004-01-03  Alan Modra  <amodra@bigpond.net.au>
1449
1450         * ldexp.c (align_n): Make static.
1451         * ldexp.h (align_n): Delete declaration.
1452         * ldlang.h (lang_enter_output_section_statement): Remove
1453         block_value param.
1454         * ldlang.c (lang_enter_output_section_statement): Likewise.
1455         (TO_ADDR, TO_SIZE): Define.
1456         (opb_shift): New var.
1457         (init_opb): New function.
1458         (print_input_section): Call init_opb and use TO_ADDR.
1459         (print_data_statement, print_reloc_statement): Likewise.
1460         (print_padding_statement): Likewise.
1461         (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
1462         (lang_check_section_addresses): Likewise.
1463         (lang_size_sections_1): Likewise.
1464         (lang_do_assignments_1): Likewise.
1465         (lang_set_startof): Likewise.
1466         (lang_one_common): Likewise.  Combine power_of_two and opb_shift align.
1467         (lang_process): Call init_opb.
1468         (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
1469         (lang_enter_overlay_section): Adjust
1470         lang_enter_output_section_statement call.
1471         * ldgram.y: Likewise.
1472         * mri.c (mri_draw_tree): Likewise.
1473         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
1474         * emultempl/mmo.em (mmo_place_orphan): Likewise.
1475         * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
1476
1477         * ldfile.c (ldfile_set_output_arch): Add defarch param.
1478         * ldfile.h (ldfile_set_output_arch): Ditto.
1479         * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
1480         ldfile_set_output_arch.
1481         * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
1482         * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
1483         * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
1484         * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1485         * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
1486         * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
1487         * ldgram.y: Adjust ldfile_set_output_arch call.
1488         * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1489         * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
1490         * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
1491         * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
1492         * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
1493         * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1494         * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1495
1496 2004-01-02  Bernardo Innocenti  <bernie@develer.com>
1497
1498         * configure.tgt: Add m68k-uClinux target.
1499
1500 For older changes see ChangeLog-0203
1501 \f
1502 Local Variables:
1503 mode: change-log
1504 left-margin: 8
1505 fill-column: 74
1506 version-control: never
1507 End: