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