bfd/
[platform/upstream/binutils.git] / ld / ChangeLog
1 2005-04-12  Alan Modra  <amodra@bigpond.net.au>
2
3         * Makefile.am: Run "make dep-am".
4         (ldgram.o, ldlex.o, deffilep.o): Add -Wno-error to command.
5         * Makefile.in: Regenerate.
6         * config.in: Regenerate.
7
8 2005-04-11  Alan Modra  <amodra@bigpond.net.au>
9
10         * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Ignore
11         as_needed libs that were not needed.
12         (gld${EMULATION_NAME}_check_needed): Likewise.
13
14 2005-04-07  Nick Clifton  <nickc@redhat.com>
15
16         * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h so that
17         ldfile.h can use the lang_input_statement type. 
18
19 2005-04-06  Jakub Jelinek  <jakub@redhat.com>
20
21         * ldlang.c: Formatting.
22         (walk_wild_consider_section): Remember return value from wildcardp.
23         (is_simple_wild): Use strcspn instead of 2 strpbrk calls and strlen.
24         (wild_spec_can_overlap): Use strcspn instead of strpbrk and strlen.
25
26 2005-04-06  Robert O'Callahan  <rocallahan@novell.com>
27
28         * ld.h (lean_section_userdata_type): Remove.
29         (fat_section_userdata_type): Remove file field.
30         (SECTION_USERDATA_SIZE): Remove.
31         * ldlang.c (init_os): Eliminate initialization of unused
32         lean_section_userdata_type.
33
34         * ldlang.h (callback_t, walk_wild_section_handler_t): New
35         typedefs.
36         (struct lang_wild_statement_struct): Add walk_wild_section_handler
37         and handler_data fields.
38         * ldlang.c (callback_t): Removed.
39         (walk_wild_consider_section, walk_wild_section_general,
40         section_iterator_callback, find_section, is_simple_wild,
41         match_simple_wild, walk_wild_section_specs1_wild0,
42         walk_wild_section_specs1_wild1, walk_wild_section_specs2_wild1,
43         walk_wild_section_specs3_wild2, walk_wild_section_specs4_wild2,
44         wild_spec_can_overlap, analyze_walk_wild_section_handler): New
45         functions.
46         (lang_add_wild): Call analyze_walk_wild_section_handler.
47         (walk_wild_section): Renamed to walk_wild_section_general and
48         created a wrapper function.
49         (section_iterator_callback_data): New typedef.
50
51 2005-04-04  Nick Clifton  <nickc@redhat.com>
52
53         * configure.in: Add a check for <unistd.h> providing a prototype
54         for getopt() which is compatible with the one in
55         include/getopt.h.  If so then define HAVE_DECL_GETOPT.
56         * configure: Regenerate.
57         * config.in (HAVE_DECL_GETOPT): Add.
58         * ldemul.c: Include config.h
59         * lexsup.c: Likewise.
60         * emultempl/elf32.sc: Likewise.
61
62 2005-03-29  Alan Modra  <amodra@bigpond.net.au>
63
64         * emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again):
65         New function, extracted from static void gld${EMULATION_NAME}_finish.
66         (gld${EMULATION_NAME}_strip_empty_sections): Likewise.
67         (gld${EMULATION_NAME}_provide_init_fini_syms): Likewise.
68         * emultempl/ppc64elf.em: Revert last change.
69         (ppc_layout_sections_again): Use
70         gld${EMULATION_NAME}_layout_sections_again.
71         (ppc_finish): Don't call gld${EMULATION_NAME}_finish.  Instead call
72         gld${EMULATION_NAME}_strip_empty_sections and
73         gld${EMULATION_NAME}_provide_init_fini_syms.
74         * emultempl/hppaelf.em: Similarly.
75
76 2005-03-29  Alan Modra  <amodra@bigpond.net.au>
77
78         * emultempl/ppc64elf.em (need_laying_out): Delete.  Remove all refs.
79         (ppc_finish): Don't call bfd_elf_discard_info.
80         * emultempl/hppaelf.em: Similarly.
81
82 2005-03-24  Nick Clifton  <nickc@redhat.com>
83
84         * po/fr.po: Updated French translation.
85
86 2005-03-23  Mike Frysinger  <vapier@gentoo.org>
87             Nick Clifton  <nickc@redhat.com>
88
89         * configure.host: Accept any C library to accompany a GNU Linux
90         implementation, not just the GNU C library.
91         * configure.tgt: Likewise.
92         * emultempl/elf32.em: Likewise.
93
94 2005-03-22  H.J. Lu  <hongjiu.lu@intel.com>
95
96         * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New
97         (gld${EMULATION_NAME}_finish): Call
98         gld${EMULATION_NAME}_provide_bound_symbols to provide
99         __preinit_array_start, __preinit_array_end, __init_array_start,
100         __init_array_end, __fini_array_start and __fini_array_end.
101
102         * scripttempl/elf.sc: Don't provide __preinit_array_start,
103         __preinit_array_end, __init_array_start, __init_array_end,
104         __fini_array_start nor __fini_array_end.
105
106 2005-03-23  Alan Modra  <amodra@bigpond.net.au>
107
108         * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set
109         SEC_EXCLUDE on .gnu.warning sections.
110
111 2005-03-22  Alan Modra  <amodra@bigpond.net.au>
112
113         * scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms.
114
115 2005-03-21  Alan Modra  <amodra@bigpond.net.au>
116
117         * emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New
118         function.
119         (LDEMUL_AFTER_ALLOCATION): Define.
120
121 2005-03-21  Alan Modra  <amodra@bigpond.net.au>
122
123         * emultempl/ppc64elf.em (ppc_finish): Rename from
124         gld${EMULATION_NAME}_finish.  Call gld${EMULATION_NAME}_finish.
125         (LDEMUL_FINISH): Update.
126         * emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise.
127         * emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise.
128
129 2005-03-18  Julian Brown  <julian@codesourcery.com>
130
131         * scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array,
132         .rel.fini_array.
133         (.rela.dyn): Add .rela.init_array, .rela.fini_array.
134         (SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs.
135
136 2005-03-18  H.J. Lu  <hongjiu.lu@intel.com>
137
138         * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set
139         bfd_section when removing unused empty output sections for
140         non-relocatable link.
141
142 2005-03-19  Alan Modra  <amodra@bigpond.net.au>
143
144         * ldlang.c (lang_insert_orphan): Use old section_tail rather than
145         traversing the bfd section list to find pointer to new section.
146
147 2005-03-18  Alan Modra  <amodra@bigpond.net.au>
148
149         * scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2
150         input sections into .sdata and .sbss output respectively.
151
152 2005-03-16  David Heine  <dlheine@tensilica.com>
153             Bob Wilson  <bob.wilson@acm.org>
154
155         * ldlang.c (IGNORE_SECTION): Remove check for zero size.
156         (lang_check_section_addresses): Ignore zero size sections here.
157
158 2005-03-16  H.J. Lu  <hongjiu.lu@intel.com>
159
160         * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove
161         unused empty output sections for non-relocatable link.
162
163         * ld.h (args_type): Remove gc_sections.
164
165         * ldlang.c (lang_mark_used_section): New.
166         (lang_gc_sections): Use link_info.gc_sections instead of
167         command_line.gc_sections.
168         * ldmain.c (main): Likewise.
169         * lexsup.c (parse_args): Likewise.
170         * ldlang.c (lang_process): Call lang_mark_used_section.
171
172         * ldmain.c (main): Initialize link_info.gc_sections to FALSE.
173
174 2005-03-16  Nick Clifton  <nickc@redhat.com>
175             Ben Elliston  <bje@au.ibm.com>
176
177         * configure.in (werror): New switch: Add -Werror to the
178         compiler command line.  Enabled by default.  Disable via
179         --disable-werror.
180         * configure: Regenerate.
181
182 2005-03-16  Alan Modra  <amodra@bigpond.net.au>
183
184         * emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete.
185         (OTHER_RELRO_SECTIONS): Set this instead.
186
187 2005-03-15  Nick Clifton  <nickc@redhat.com>
188
189         * NEWS: Add cutoff for changes in 2.16 release.
190
191 2005-03-15  Mikkel Krautz  <krautz@gmail.com>
192
193         * configure.tgt (x86_64-elf): Add target.
194
195 2005-03-15  Alan Modra  <amodra@bigpond.net.au>
196
197         * po/es.po: Commit new Spanish translation.
198
199 2005-03-14  Alan Modra  <amodra@bigpond.net.au>
200
201         * ldexp.c (exp_fold_tree): Ensure return value is initialized.
202         Tidy etree_assert case.
203
204 2005-03-14  Alan Modra  <amodra@bigpond.net.au>
205
206         * po/tr.po: Commit new Turkish translation.
207
208 2005-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
209
210         * Makefile.am: Remove references to em68klynx.o and esparclynx.o.
211         * Makefile.in: Regenerated.
212         * emulparams/m68klynx.sh, emulparams/sparclynx.sh: Remove.
213
214 2005-03-07  Nick Clifton  <nickc@redhat.com>
215
216         * po/fr.po: Updated translation.
217
218 2005-03-05  Alan Modra  <amodra@bigpond.net.au>
219
220         * po/ld.pot: Regenerate.
221
222 2005-03-02  Jan Beulich  <jbeulich@novell.com>
223
224         * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink.
225         * pe-dll.c (pe_dll_generate_implib): Likewise.
226
227 2005-02-24  Ben Elliston  <bje@au.ibm.com>
228
229         * ldfile.c: Remove GNU960 conditional code.
230         * emultempl/gld960.em: Likewise.
231         * emultempl/gld960c.em: Likewise.
232         * emultempl/lnk960.em: Likewise.
233
234 2005-02-24  Nick Clifton  <nickc@redhat.com>
235
236         * emultempl/lnk960.em (lnk960_before_parse): Remove redundant
237         empty string from calls to concat.
238
239 2005-02-23  Nick Clifton  <nickc@redhat.com>
240
241         * emultempl/lnk960.em (lnk960_before_parse): Terminate list of
242         arguments passed to concat() with a NULL.
243
244         * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h because they
245         define types needed by ldfile.h
246
247 2005-02-23  Alan Modra  <amodra@bigpond.net.au>
248
249         * pe-dll.c: Warning fixes.
250         * emultempl/sunos.em: Likewise.
251
252 2005-02-22  Daniel Jacobowitz  <dan@codesourcery.com>
253
254         * ldlang.c (section_already_linked): Don't call
255         bfd_section_already_linked for dynamic objects.
256
257 2005-02-22  Alan Modra  <amodra@bigpond.net.au>
258
259         * ldexp.c: Warning fixes.
260         * ldwrite.c: Likewise.
261         * emultempl/elf32.em: Likewise.
262
263 2005-02-21  H.J. Lu  <hongjiu.lu@intel.com>
264
265         * ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI
266         tic54x input only.
267         (lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF
268         and ECOFF output only.
269
270 2005-02-21  Alan Modra  <amodra@bigpond.net.au>
271
272         * config.in: Regenerate.
273         * configure: Regenerate.
274
275 2005-02-17  Zack Weinberg  <zack@codesourcery.com>
276
277         * ldexp.c (assigning_to_dot): New global flag.
278         (fold_name): If assigning_to_dot is true, object immediately to
279         an undefined symbol.
280         (exp_fold_tree): Set and clear assigning_to_dot around the
281         recursive call to exp_fold_tree to process the right-hand side
282         of an assignment to the location counter.
283
284 2005-02-17  Paul Brook  <paul@codesourcery.com>
285
286         * scripttempl/armbpabi.sc: Add dummy name to version block.
287
288 2005-02-17  Alan Modra  <amodra@bigpond.net.au>
289
290         * ldexp.c (new_abs): Init new.str.
291
292 2005-02-15  Mark Mitchell  <mark@codesourcery.com>
293
294         * configure.in (AC_CHECK_FUNCS): Add glob.
295         * configure: Regenerated.
296         * emultempl/elf32.em (<glob.h>): Do not include if HAVE_GLOB is
297         not defined.
298         (gld${EMULATION_NAME}_parse_ld_so_conf_include): Do not use glob
299         if HAVE_GLOB is not defined.
300
301 2005-02-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
302
303         * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define
304         lib_path if NATIVE is yes.
305
306 2005-02-16  Alan Modra  <amodra@bigpond.net.au>
307
308         * emultempl/ppc64elf.em (ppc_create_output_section_statements): Make
309         an error creating fake bfd fatal.
310         (ppc_before_allocation): Continue on after errors.
311         (gld${EMULATION_NAME}_finish): Likewise.
312
313 2005-02-15  Nick Clifton  <nickc@redhat.com>
314
315         * ldlex.l (YY_NO_UNPUT): Define so that the yy_unput function is
316         not declared.  It is not used and its presence causes a compile
317         time warning.
318
319 2005-02-11  Zack Weinberg  <zack@codesourcery.com>
320
321         * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed):
322         If st.st_ino is zero, do not treat the library as a duplicate.
323
324 2005-02-10  Jakub Jelinek  <jakub@redhat.com>
325
326         * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
327         Set BFD_LINKER_CREATED on the stubs bfd.
328         * emultempl/ppc64elf.em (ppc_create_output_section_statements):
329         Likewise.
330
331 2005-02-08  Mark Mitchell  <mark@codesourcery.com>
332
333         * scripttempl/armbpabi.sc (VERSION): Make special section symbols
334         local.
335         (Image$$ER_RO$$Base): Define whenever RELOCATING.
336         (Image$$ER_RO$$Limit): Likewise.
337         (SHT$$INIT_ARRAY$$Base): Likewise.
338         (SHT$$INIT_ARRAY$$Limit): Likeise.
339
340 2005-02-10  Ben Elliston  <bje@au.ibm.com>
341
342         * emultempl/beos.em: Remove #if 0 and #if 1 blocks.
343
344 2005-02-08  Richard Sandiford  <rsandifo@redhat.com>
345
346         * configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath
347         to include o32 and n64 emulations.
348         (mips64*-*-linux-gnu*): Likewise.
349
350 2005-02-08  Hans-Peter Nilsson  <hp@axis.com>
351
352         * ldmain.c (warning_callback, warning_find_reloc): Prepend
353         "warning: " to warning messages.
354
355 2005-02-04  Alan Modra  <amodra@bigpond.net.au>
356
357         * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't
358         look up symbol for etree_provide here.
359
360 2005-02-02  Daniel Jacobowitz  <dan@codesourcery.com>
361
362         * emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set.
363
364 2005-02-01  Edward Welbourne  <eddy@opera.com>
365             Nick Clifton  <nickc@redhat.com>
366
367         * ld.texinfo (Source Code Reference): New node describing how to
368         access linker script defined variables from source code.
369
370 2005-02-01  Alan Modra  <amodra@bigpond.net.au>
371
372         * ld.texinfo: Clarify --as-needed operation.
373
374 2005-01-31  Andrew Cagney  <cagney@gnu.org>
375
376         * configure: Regenerate to track ../gettext.m4.
377
378 2005-01-31  Nick Clifton  <nickc@redhat.com>
379
380         * ldver.c (ldversion): Bump reported copyright date to 2005.
381
382 2005-01-31  Nick Clifton  <nickc@redhat.com>
383
384         * configure.tgt: Remove obsolete targets m68k-lynxos and
385         sparc-lynxos.
386
387 2005-01-28  Julian Brown  <julian@codesourcery.com>
388
389         * emultempl/armelf.em (fix_v4bx): New variable.
390         (arm_elf_create_output_section_statements): Communicate fix_v4bx flag
391         value to bfd.
392         (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX.
393         (PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx.
394         (PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx.
395         (PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX.
396         * NEWS: Mention --fix-v4bx.
397         * ld.texinfo: Document --fix-v4bx.
398
399 2005-01-25  Mark Mitchell  <mark@codesourcery.com>
400
401         * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so
402         as to include .ARM.exidx$${Base,Limit}.
403         * ld/scripttempl/armbpabi.sc: Move .plt to end of text segment.
404         Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}.
405         Put .init_array, .fini_array, etc. into the read-only data
406         segment.
407
408 2005-01-25  Alan Modra  <amodra@bigpond.net.au>
409
410         * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting.
411         (gld${EMULATION_NAME}_after_open): Ignore needed libs if they were
412         only needed by an as-needed lib that didn't get linked.
413
414 2005-01-23  Alan Modra  <amodra@bigpond.net.au>
415
416         * ld.texinfo (Output Section Keywords <CONSTRUCTORS>): Correct
417         __DTOR_LIST__ description.
418
419 2005-01-23  Alan Modra  <amodra@bigpond.net.au>
420
421         * ld.texinfo (Location Counter <dot outside sections>): Document
422         effects of orphan section placement, and ". = ." workaround.
423         * Makefile.in: Regenerate.
424
425 2005-01-22  Richard Sandiford  <rsandifo@redhat.com>
426
427         * emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;".
428         * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise.
429
430 2005-01-21  Jakub Jelinek  <jakub@redhat.com>
431
432         * ldgram.y (AS_NEEDED): New token.
433         (input_list): Handle AS_NEEDED ( input_list ).
434         * ldlex.l (AS_NEEDED): Add.
435         * ld.texinfo: Document AS_NEEDED ().
436         * NEWS: Mention AS_NEEDED ().
437
438 2005-01-21  Ben Elliston  <bje@au.ibm.com>
439
440         * ldlang.c (lang_reasonable_defaults): Remove.
441         (lang_process): Don't call lang_reasonable_defaults.
442
443         * ldexp.c (exp_assop): Remove #if 0'd code.
444         (exp_print_tree): Likewise.
445         * ldlang.c (lang_memory_region_lookup): Likewise.
446         (open_output): Likewise.
447         (lang_do_assignments_1): Likewise.
448         (lang_place_orphans): Likewise.
449         (lang_enter_output_section_statement): Likewise.
450         (lang_reasonable_defaults): Likewise.
451         * ldlang.h (struct lang_input_statement_struct): Likewise.
452         * mri.c (mri_draw_tree): Likewise.
453         (mri_load): Likewise.
454         * pe-dll.c (generate_reloc): Likewise.
455         (make_import_fixup_entry): Likewise.
456         (pe_as16): Likewise.
457         * emultempl/beos.em (set_pe_subsystem): Likewise.
458         * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
459         * emultempl/pe.em: Likewise.
460         * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise.
461
462 2005-01-20  Daniel Jacobowitz  <dan@codesourcery.com>
463
464         * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o.
465         (earmelfb_linux_eabi.c): New target.
466         * Makefile.in: Regenerated.
467         * configure.tgt (arm*b-*-linux-gnueabi): New target.
468         * emulparams/armelfb_linux_eabi.sh: New file.
469
470 2005-01-20  Nick Hudson  <skrll@netbsd.org>
471
472         PR ld/676
473         * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
474         Handle bfd_elf32_hppa_nbsd_vec.
475
476 2005-01-19  Richard Sandiford  <rsandifo@redhat.com>
477
478         * ldmain.h (ld_sysroot): Change type to a constant string.
479         * ldmain.c (ld_sysroot): Likewise.
480         (get_relative_sysroot, get_sysroot): New functions, adding command-line
481         support for changing the sysroot.
482         (main): Call the new functions.
483         * lexsup.c (OPTION_SYSROOT): New.
484         (ld_options): Add --sysroot.
485         (parse_args): Add a dummy handler for it.
486         * ld.texinfo (--sysroot): Document.
487         * NEWS: Mention the new --sysroot option.
488
489 2005-01-18  Alan Modra  <amodra@bigpond.net.au>
490
491         * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call.
492         (lang_place_orphans): Don't abort on just_syms_flag, instead call
493         bfd_link_just_syms.
494
495 2005-01-16  Danny Smith  <dannysmith@users.sourceforge.net>
496
497         * defilep.y (def_name, def_library): Combine into...
498         (def_image_name): New function.  Strip name to basename,
499         with warning.
500
501 2005-01-12  Mark Kettenis  <kettenis@gnu.org>
502
503         * configure.in: Be sure to invoke config.sub using the shell.
504         * configure: Regenerate.
505
506 2005-01-11  Alan Modra  <amodra@bigpond.net.au>
507
508         * configure.host: Correct sed patterns for last change.
509
510 2005-01-10  Nick Clifton  <nickc@redhat.com>
511
512         PR binutils/609
513         * ldmisc.c (vfinfo): Add an extra argument: is_warning.  Use this
514         to determine whether config.make_executable should be set to FALSE in
515         conjunction with config.fatal_warnings.
516         (info_msg, minfo, lfinof): Pass FALSE as the extra argument.
517         (einfo): Pass TRUE as the extra argument.
518
519 2005-01-10  Greg Schaffer  <gschafer@zip.com.au>
520
521         * configure.host (linux targets): Use "${CC} -dumpspecs" instead
522         of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0.
523         (ia64-*-aix): Delete - this target is obsolete, and would be
524         broken by this patch.
525
526 2005-01-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
527
528         * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
529         (sparc64-sun-solaris2*): New host.
530
531 2005-01-06  Paul Brook  <paul@codesourcery.com>
532
533         * Makefie.am: Add earmelf_vxworks.
534         * Makefile.in: Regenerate.
535         * configure.tgt: Make arm-*-vxworks a separate case.
536         * emulparams/armelf_vxworks.sh: New function.
537
538 2005-01-06  Alan Modra  <amodra@bigpond.net.au>
539
540         * emultempl/ppc64elf.em (no_multi_toc): New var.
541         (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists.
542         (OPTION_NO_MULTI_TOC): Define.
543         (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support.
544         (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
545
546 2005-01-05  Nick Clifton  <nickc@redhat.com>
547
548         PR binutils/614
549         * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding
550         Standard's specification for parsable error messages.
551
552 2005-01-04  Paul Brook  <paul@codesourcery.com>
553
554         * Makefile.am: Correct dependency for earmsymbian.c.
555         * Makefile.in: Regenerate.
556
557 2004-12-28  Danny Smith  <dannysmith@users.sourceforge.net>
558
559         * emultempl/pe.em (set_pe_subsystem): Change second arg to
560         lang_add_entry to FALSE.
561
562 2004-12-23  Nick Clifton  <nickc@redhat.com>
563
564         PR 600
565         * emulparams/shelf.sh (.stack): Increase stack start address to
566         0x300000.
567
568 2004-12-20  Nick Clifton  <nickc@redhat.com>
569
570         * ldmain.c (main): Issue an error message if -static and -shared
571         are used together.
572
573 2004-12-17  Jakub Jelinek  <jakub@redhat.com>
574
575         * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
576         * ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them.
577         * ldlang.c (lang_size_sections): Use them to avoid wasting virtual
578         address space at DATA_SEGMENT_ALIGN.  Fix computation of expected
579         PT_GNU_RELRO segment end.
580
581 2004-12-14  P.J. Darcy  <darcypj@us.ibm.com>
582
583         * configure.tgt: Add s390x-ibm-tpf support.
584
585 2004-12-16  Martin Kögler  <mkoegler@auto.tuwien.ac.at>
586
587         * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL
588         BFD.
589
590 2004-12-07  Ben Elliston  <bje@gnu.org>
591
592         * ldemul.h: Forward declare struct option.
593
594 2004-12-01  Danny Smith  <dannysmith@users.sourceforge.net>
595
596         * scripttempl/pe.sc (.data): Add .jcr subsection.
597
598 2004-11-30  Paul Brook  <paul@codesourcery.com>
599
600         * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.
601
602 2004-11-30  Tero Niemela  <tero_niemela@yahoo.com>
603
604         * Makefile.am: Change LOCALEDIR to $(datadir)/share.
605         * Makefile.in: Regenerate.
606
607 2004-11-26  Melissa Mears  <asterisk@graces.dricas.com>
608
609         * emultempl/pe.em: Add --subsystem:xbox as well as
610         --subsystem:%d.
611         * ld.texinfo: (ld_options): Document acceptance of subsystem xbox
612         and numeric subsystems.
613
614 2004-11-24  Alan Modra  <amodra@bigpond.net.au>
615
616         * ldexp.c (fold_name): Correct PR 338 fix.
617
618 2004-11-19  Mark Mitchell  <mark@codesourcery.com>
619
620         * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
621         (earmelf_linux_eabi.c): New target.
622         * configure.tgt (arm*-*-linux-gnueabi): Handle it.
623         * emulparams/armelf_linux_eabi.sh: New file.
624         * Makefile.in: Regenerated.
625
626 2004-11-19  Nick Clifton  <nickc@redhat.com>
627
628         PR 518
629         * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and
630         LENGTH fields in the MEMORY command, to explicitly state that
631         symbols cannot be used in their expressions.
632
633 2004-11-19  Jon Beniston <jon@beniston.com>
634
635         * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION.
636         * ld/ldgram.y: Add ORIGIN and LENGTH expressions.
637         * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions
638         which return the length and origin of a memory.
639         * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions.
640         * NEWS: Mention support for ORIGIN and LENGTH operators.
641
642 2004-11-17  Daniel Jacobowitz  <dan@codesourcery.com>
643
644         * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use
645         a dynamic object for stubs.
646
647 2004-11-04  Paul Brook  <paul@codesourcery.com>
648
649         * ld.texinfo: Document --default-imported-symver.
650         * ldmain.c (main): Set link_info.default_imported_symver.
651         * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER.
652         (ld_options): Add --default-imported-symver.
653         (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.
654
655 2004-11-08  Inderpreet Singh   <inderpreetb@nioda.hcltech.com>
656             Vineet Sharma      <vineets@noida.hcltech.com>
657
658         * Makefile.am: Add entries for new maxq-coff target.
659         * Makefile.in: Regenerate.
660         * configure.tgt: Add support for maxq.
661         * emulparams/maxqcoff.sh: New File.
662         * scripttempl/maxqcoff.sc: New linker script for target maxq.
663         * NEWS: Mention the new target.
664
665 2004-11-08  Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
666
667         * testsuite/ld-scripts/weak.exp: Enable test on PE,
668         XFAIL non-i386 PE.
669         * testsuite/ld-undefined/weak-undef.exp: Enable test on PE,
670         XFAIL non-i386 PE.
671         * testsuite/lib/ld-lib.exp (is_pecoff_format): New.
672
673 2004-11-04  Daniel Jacobowitz  <dan@debian.org>
674
675         * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o.
676         (earmelf_oabi.c): Remove rule.
677         * configure.tgt: Remove arm-*-oabi and thumb-*-oabi.
678         * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files.
679         * Makefile.in: Regenerated.
680
681 2004-11-04  Hans-Peter Nilsson  <hp@axis.com>
682
683         * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout.
684         * emulparams/criself.sh (INIT_START): Remove emitted "push srp".
685         (FINI_START): Ditto.
686         (INIT_END): Remove emitted "jump [sp+]".
687         (FINI_END): Ditto.
688
689 2004-11-04  Alan Modra  <amodra@bigpond.net.au>
690
691         * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt.
692         (no_opd_opt, no_toc_opt): New static vars.
693         (ppc_before_allocation): Don't edit opt if no_opd_opt.  Call
694         ppc64_elf_edit_toc.
695         (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define.
696         (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize.
697         (PARSE_AND_LIST_OPTIONS): Describe new options.
698         (PARSE_AND_LIST_ARGS_CASES): Handle them.
699
700 2004-10-27  Nick Clifton  <nickc@redhat.com>
701
702         * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL,
703         parameter to invocation of lang_section_start.
704         * emultempl/aix.em (_handle_option): Likewise.
705
706         * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c,
707         eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em.
708         * Makefile.in: Regenerate.
709
710 2004-10-26  Mark Mitchell  <mark@codesourcery.com>
711
712         * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
713         __exidx_{start,end} when not relocating.
714
715 2004-10-25  Mark Mitchell  <mark@codesourcery.com>
716
717         * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
718         * ldexp.h (segment_type): New type.
719         (segments): New variable.
720         * ldexp.c (segments): New variable.
721         (exp_print_token): Handle SEGMENT_START.
722         (fold_binary): Likewise.
723         * ldgram.y (SEGMENT_START): Declare it as a token.
724         (exp): Handle SEGMENT_START.
725         * ldlang.h (lang_address_statement_type): Add segment field.
726         (lang_section_start): Change prototype.
727         * ldlang.c (map_input_to_output_sections): Do not process section
728         assignments if a corresponding SEGMENT_START has already been
729         seen.
730         (lang_section_start): Add segment parameter.
731         * ldlex.l (SEGMENT_START): Add it.
732         * lexsup.c (seg_segment_start): New function.
733         (parse_args): Use it for -Tbss, -Tdata, and -Ttext.
734         * ld.texinfo (SEGMENT_START): Document it.
735         * emulparams/armsymbian.sh (EMBEDDED): Set it.
736         * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment
737         base addresses.  Do not map relocations.
738         * NEWS: Mention SEGMENT_START.
739
740 2004-10-26  Paul Brook  <paul@codesourcery.com>
741
742         * ld.texinfo: Document --default-symver.
743         * ldmain.c (main): Set link_info.create_default_symver.
744         * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER.
745         (ld_options): Add default-symver.
746         (parse_args): Handle OPTION_DEFAULT_SYMVER.
747
748 2004-10-24 Danny Smith  <dannysmith@users.sourceforge.net>
749
750         * pe-dll.c (process_def_file): Don't export all symbols by default if
751         building a position-independent executable.
752
753 2004-10-21  H.J. Lu  <hongjiu.lu@intel.com>
754
755         PR 463
756         * ldmain.c (reloc_overflow): Accept a pointer to struct
757         bfd_link_hash_entry. Report symbol location for relocation
758         overflow.
759
760 2004-10-21  H.J. Lu  <hongjiu.lu@intel.com>
761
762         * genscripts.sh (libpath.exp): Really generate for first
763         emulation only.
764
765 2004-10-19  Danny Smith  <dannysmith@users.sourceforge.net>
766
767         * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify
768         comparison and replacement of filenames.
769
770 2004-10-19  H.J. Lu  <hongjiu.lu@intel.com>
771
772         PR 459
773         * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic
774         option on linker script as the one for linker script.
775
776 2004-10-16  Daniel Jacobowitz  <dan@debian.org>
777
778         * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
779         (check_excluded_libs): New.
780         (load_symbols): Call check_excluded_libs.
781         * ldlang.h (add_excluded_libs): New prototype.
782         * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
783         (gld${EMULATION_NAME}_add_options): Add --exclude-libs.
784         (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
785         * ld.texinfo (Command Line Variables): Document --exclude-libs.
786         (Options Specific to i386 PE Targets): Remove --exclude-libs.
787
788 2004-10-15  Alan Modra  <amodra@bigpond.net.au>
789
790         * ldexp.c (exp_fold_tree): Don't immediately exit ld on a
791         failing link script assert.
792
793         * ldctor.c (ldctor_add_set_entry): Fix comment typo.
794
795 2004-10-14  H.J. Lu  <hongjiu.lu@intel.com>
796
797         PR 445
798         * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set.
799         (SMALL_DATA_DTOR): Set.
800         * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset.
801         (SMALL_DATA_DTOR): Unset.
802         * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors
803         after .data. If SMALL_DATA_DTOR is set, move .dtors after
804         .data.
805
806 2004-10-14  Alan Modra  <amodra@bigpond.net.au>
807
808         PR 63
809         * ldlang.h (lang_output_section_statement_type): Make "next" a
810         struct lang_output_section_statement_struct *.
811         (struct orphan_save): Move from elf32.em.  Add "name" and "flags".
812         (lang_output_section_find_by_flags, lang_insert_orphan): Declare.
813         * ldlang.c (lang_output_section_find_1): Adjust for changed
814         output_section_statement "next".
815         (strip_excluded_output_sections): Likewise.
816         (lang_record_phdrs): Likewise.
817         (lang_output_section_find_by_flags): New function.
818         (output_prev_sec_find): Move from pe.em.  Adjust iterator.
819         (lang_insert_orphan): New function.  Tail end of elf32.em's
820         place_orphan merged with that from pe.em.  Allow bfd_section to
821         be placed first.  New heuristic for placing new output section
822         statement in existing script, and accompanying split of __start
823         symbol alignment into a separate assignment to dot.
824         (lang_add_section): Consistently use output->bfd_section rather than
825         an alias, section->output_section.
826         (map_input_to_output_sections): Rename overly long arg.  Move
827         initialization of data_statement output section to here..
828         (lang_check_section_addresses): ..from here.
829         (print_assignment): Correct printing of etree_assert.
830         (print_all_symbols): Don't bomb if userdata is NULL.
831         (IGNORE_SECTION): Rearrange.
832         * emultempl/elf32.em (output_rel_find): Adjust interator.
833         (output_prev_sec_find): Delete.
834         (struct orphan_save): Delete.
835         (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section
836         flags without creating a duplicate output section statement.
837         Revise code holding history of various orphan section placements.
838         Allow orphan sections to place before script specified output
839         sections.  Call lang_output_section_find_by_flags when placement
840         by name fails.  Use lang_insert_orphan.
841         * emultempl/mmo.em (output_prev_sec_find): Delete.
842         (struct orphan_save): Delete.
843         (mmo_place_orphan): Revise code holding history of orphan placement.
844         Allow orphans to place before existing output sections.  Use
845         lang_insert_orphan.
846         * emultempl/pe.em (output_prev_sec_find): Delete.
847         (struct orphan_save): Delete.
848         (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of
849         lang_insert_orphan.
850
851 2004-10-13  Mark Mitchell  <mark@codesourcery.com>
852
853         * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a
854         loadable segment.
855
856 2004-10-13  Alan Modra  <amodra@bigpond.net.au>
857
858         PR 44
859         * ldcref.c (check_section_sym_xref): Delete.
860         (check_local_sym_xref): New function.
861         (check_nocrossrefs): Adjust call.
862         * emultempl/pe.em (struct orphan_save): Add os_tail.
863         (place_orphan): Backport assorted fixes from elf32.em.
864
865 2004-10-12  Bob Wilson  <bob.wilson@acm.org>
866
867         * emultempl/xtensaelf.em: Use ISO C90 formatting.
868
869 2004-10-11  Jakub Jelinek  <jakub@redhat.com>
870
871         * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid
872         getline for portability.
873
874         * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure.
875         (gld${EMULATION_NAME}_parse_ld_so_conf,
876         gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions.
877         (gld${EMULATION_NAME}_check_ld_so_conf): Use them.
878
879 2004-10-11  Alan Modra  <amodra@bigpond.net.au>
880
881         PR 423
882         * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are
883         rejected when linking statically.
884
885 2004-10-08  Daniel Jacobowitz  <dan@debian.org>
886
887         * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*.
888
889 2004-10-07  Bob Wilson  <bob.wilson@acm.org>
890
891         * ld.texinfo (Xtensa): Describe new linker relaxation to optimize
892         assembler-generated longcall sequences.  Describe new --size-opt
893         option.
894         * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section.
895         * emultempl/xtensaelf.em (remove_section,
896         replace_insn_sec_with_prop_sec, replace_instruction_table_sections,
897         elf_xtensa_after_open): New.
898         (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT,
899         OPTION_NO_LITERAL_MOVEMENT): Define.
900         (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals.
901         (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement.
902         (PARSE_AND_LIST_OPTIONS): Add --size-opt.
903         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT,
904         OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT.
905         (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open.
906         * scripttempl/elfxtensa.sc: Update with changes from elf.sc.
907         * Makefile.am (eelf32xtensa.c): Update dependencies.
908         * Makefile.in: Regenerate.
909
910 2004-10-07  Jeff Baker  <jbaker@qnx.com>
911
912         * lexsup.c: Handle --warn-shared-textrel option.
913         (ld_options): Restore alpha sorting of options.
914         * ldmain.c (main): Initialise warn_shared_info field to FALSE.
915         * ld.texinfo: Add documentation for --warn-shared-textrel.
916         * NEWS: Added mention of --warn-shared-textrel option.
917
918 2004-10-05  Tomer Levi  <Tomer.Levi@nsc.com>
919
920         * emultempl/crxelf.em (disable_relaxation): Add.
921         (crxelf_before_allocation): Enable --relax option by default.
922         (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX.
923         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax.
924         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX.
925
926 2004-10-04  H.J. Lu  <hongjiu.lu@intel.com>
927
928         * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and
929         --sort-section name|alignment.
930
931         * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and
932         --sort-section name|alignment.
933
934         * ld.h (sort_type): New enum.
935         (wildcard_spec): Change the type of `sorted' to sort_type.
936
937         * ldgram.y (SORT): Removed.
938         (SORT_BY_NAME): Added.
939         (SORT_BY_ALIGNMENT): Added.
940         (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and
941         SORT_BY_ALIGNMENT.
942         (input_section_spec_no_keep): Updated `sorted'.
943         (statement): Replace SORT with SORT_BY_NAME.
944
945         * ldlang.c (compare_section): New function to compare 2
946         sections with different sorting schemes.
947         (wild_sort): Updated. Use compare_section.
948         (update_wild_statements): New function.
949         (lang_process): Call update_wild_statements before
950         map_input_to_output_sections.
951
952         * ldlex.l (SORT_BY_NAME): New.
953         (SORT_BY_ALIGNMENT): New.
954         (SORT): Return SORT_BY_NAME.
955
956         * ldmain.c (sort_section): New. Defined.
957         (main): Initialize it to none.
958
959         * lexsup.c (option_values): Add OPTION_SORT_SECTION.
960         (ld_options): Add an entry for OPTION_SORT_SECTION.
961         (parse_args): Handle OPTION_SORT_SECTION.
962
963         * mri.c (mri_draw_tree): Updated `sorted'.
964
965 2004-10-04  Jakub Jelinek  <jakub@redhat.com>
966
967         * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument.
968         * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first
969         argument.
970         (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first
971         and . as second argument.
972         (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section.
973         * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here.
974         (fold_binary): Add it here.  Insert padding to make relro_end
975         COMMONPAGESIZE bytes aligned.  For DATA_SEGMENT_ALIGN in
976         exp_dataseg_relro_adjust phase just use previously computed
977         exp_data_seg.base.
978         * ldlang.c (lang_size_sections): Set exp_data_seg.base for
979         relro_adjust here.  Call lang_size_sections_1 once more if there
980         was too big padding at DATA_SEGMENT_RELRO_END.
981         * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation.
982
983 2004-10-01  Paul Brook  <paul@codesourcery.com>
984
985         * emulparams/armelf.sh: Add unwinding table sections.
986
987 2004-09-30  Filip Navara  <navaraf@reactos.com>
988
989         * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate
990         correct base address for position independant executables.
991         * pe-dll.c (pe_dll_fill_sections): Don't mark position independant
992         executables as DLLs.
993
994 2004-09-30  Paul Brook  <paul@codesourcery.com>
995
996         * ld.texinfo: Document --target2=abs.
997         * emulparms/armsymbian.sh (TARGET2_TYPE): Set.
998
999 2004-09-29  Nick Clifton  <nickc@redhat.com>
1000
1001         * scripttempl/xstormy16.sc: Only perform the assignments to the
1002         ROM region when not performing a relocatable link.  The ROM region
1003         does not start at address 0, but the sections will.
1004         * Makefile.am: Fix linker script dependency for the generation of
1005         eelf32xstormy16.c.
1006         * Makefile.in: Regenerate.
1007
1008 2004-09-18  Filip Navara  <navaraf@reactos.com>
1009
1010         * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh,
1011         emulparams/i386pe_posix.sh, emulparams/mcorepe.sh,
1012         emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define
1013         TARGET_PAGE_SIZE.
1014         * scripttempl/pe.sc: Make the virtual address and file offset synced if
1015         the alignment is lower than the target page size.
1016
1017 2004-09-27  Filip Navara  <navaraf@reactos.com>
1018
1019         * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow
1020         def_file_parse to handle pe_def_file if NULL and prevent crash with
1021         invalid .def files.
1022
1023 2004-09-27  Alan Modra  <amodra@bigpond.net.au>
1024
1025         * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
1026         --emit-stub-syms automatically when --emit-relocs.
1027
1028 2004-09-24  Paul Brook  <paul@codeosurcery.com>
1029
1030         * scripttempl/elf.sc: Keep .preinit_array, .init_array and
1031         .fini_array sections.
1032
1033 2004-09-19  Andreas Schwab  <schwab@suse.de>
1034
1035         * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment
1036         base so that relro end is suitably aligned.
1037
1038 2004-09-17  Paul Brook  <paul@codesourcery.com>
1039
1040         * ld.texinfo: Rename arm-specific section.  Document --target*
1041         * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
1042         * emulparams/armelf_linux.sh: Ditto.
1043         * emulparams/armelf_nbsd.sh: Ditto.
1044         * emultempl/armelf.em: Set default for TARGET2_TYPE.
1045         (target2_type): New variable.
1046         (arm_elf_before_allocation): Don't pass target1_type.
1047         (arm_elf_create_output_section_statements): New function.
1048         (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
1049         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
1050         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
1051         (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
1052         * emultempl/armelf_oabi.em (_before_allocation): Remove extra
1053         argument to bfd_elf32_arm_process_before_allocation.
1054
1055 2004-09-17  Alan Modra  <amodra@bigpond.net.au>
1056
1057         * ldexp.c (fold_name): Update u.undef.next refs.
1058         * emultempl/pe.em: Likewise.
1059         * emultempl/sunos.em: Likewise.
1060
1061 2004-09-17  Alan Modra  <amodra@bigpond.net.au>
1062
1063         * Makefile.am: Run "make dep-am".
1064         * Makefile.in: Regenerate.
1065         * config.in: Regenerate.
1066         * configure: Regenerate.
1067         * aclocal.m4: Regenerate.
1068         * po/ld.pot: Regenerate.
1069
1070 2004-09-16  Tomer Levi  <Tomer.Levi@nsc.com>
1071
1072         * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*.
1073         (.fini): Likewise.
1074         (.jcr): Likewise.
1075
1076 2004-09-16  Alan Modra  <amodra@bigpond.net.au>
1077
1078         * emultempl/armelf_oabi.em (before_allocation): Add extra zero param
1079         to bfd_elf32_arm_process_before_allocation call.
1080
1081 2004-09-13  Paul Brook  <paul@codesourcery.com>
1082
1083         * emulparams/armsymbian.sh: Set TARGET1_IS_REL.
1084         * emultempl/armelf.em: Use TARGET1_IS_REL.  Add --target1-{rel,abs}.
1085
1086 2004-09-07  H.J. Lu  <hongjiu.lu@intel.com>
1087
1088         * configure: Regenerated with autconfig 2.13.
1089
1090 2004-09-07  Andreas Schwab  <schwab@suse.de>
1091
1092         * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
1093         alignment before adjusting DATA_SEGMENT_RELRO_END.
1094
1095 2004-09-06  Mark Mitchell  <mark@codesourcery.com>
1096
1097         * emulparams/armsymbian.sh: Use armbpabi script.
1098         * scripttempl/armbpabi.sc: New script.
1099
1100 2004-09-02  Mark Mitchell  <mark@codesourcery.com>
1101
1102         * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
1103         (earmsymbian.c): New target.
1104         * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
1105         * Makefile.in: Regenerated.
1106         * aclocal.m4: Likewise.
1107         * configure: Likewise.
1108         * emulparams/armsymbian.sh: New file.
1109
1110 2004-09-03  Tomer Levi  <Tomer.Levi@nsc.com>
1111
1112         * scripttempl/elf32crx.sc: Edit file with comments.
1113         (.init): Add new section.
1114         (.fini): Likewise.
1115         (.ctor): Control the linkage order.
1116         (.dtor): Likewise.
1117
1118 2004-08-27  Nick Clifton  <nickc@redhat.com>
1119
1120         * emultempl/pe.em (after_open): Do not assume that either bfd is
1121         an archive.
1122
1123 2004-08-26  Alan Modra  <amodra@bigpond.net.au>
1124
1125         * ldlang.c (lang_init): Don't compare with TRUE.
1126
1127 2004-08-25  Dmitry Diky  <diwil@spec.ru>
1128
1129         * emulparams/msp430all.sh: Fix RAM sizes for all targets.
1130         * scripttempl/elf32msp430.sc: Add .profiler section definition.
1131
1132 2004-08-24  H.J. Lu  <hongjiu.lu@intel.com>
1133
1134         * ldlang.c (wildcardp): Defined as a macro with strpbrk.
1135
1136 2004-08-19  Mark Mitchell  <mark@codesourcery.com>
1137
1138         * configure.tgt (arm*-*-symbianelf*): New target.
1139         (arm*-*-eabi*): Likewise.
1140
1141 2004-08-19  Jakub Jelinek  <jakub@redhat.com>
1142
1143         * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
1144         (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
1145         (OPTION_NON_OVERLAPPING_OPD): Define.
1146         (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
1147         --non-overlapping-opd option.
1148
1149 2004-08-18  Alan Modra  <amodra@bigpond.net.au>
1150
1151         PR 338
1152         * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
1153         was already on the undefs list.
1154
1155 2004-08-17  Alan Modra  <amodra@bigpond.net.au>
1156
1157         * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
1158         prefix the symbol field too.
1159
1160 2004-08-13  Alan Modra  <amodra@bigpond.net.au>
1161
1162         * ldmain.c (link_callbacks): Remove "error_handler".
1163         * ldmisc.c: Include elf-bfd.h.
1164         (vfinfo): Sort comment.  Handle %A.  Use %A instead of
1165         bfd_get_section_indent.
1166         (error_handler): Delete.
1167         * ldmisc.h (error_handler): Delete declaration.
1168
1169 2004-08-10  Alan Modra  <amodra@bigpond.net.au>
1170
1171         * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
1172         ppc64_elf_restore_symbols.
1173
1174 2004-08-09  Alan Modra  <amodra@bigpond.net.au>
1175
1176         * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
1177         .toc is too large on relocatable linking.
1178
1179 2004-08-09  Alan Modra  <amodra@bigpond.net.au>
1180
1181         * emultempl/ppc64elf.em (ppc_after_open): Delete.
1182         (LDEMUL_AFTER_OPEN): Don't define.
1183
1184 2004-08-02  Stephane Carrez  <stcarrez@nerim.fr>
1185
1186         * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
1187
1188 2004-08-01  Stephane Carrez  <stcarrez@nerim.fr>
1189
1190         * scripttempl/elfm68hc12.sc: Align text, rodata and data section
1191         on power of 2.
1192
1193 2004-07-27  Jason Thorpe  <thorpej@wasabisystems.com>
1194
1195         * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
1196
1197 2004-07-26  Dmitry Diky  <diwil@spec.ru>
1198
1199         * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
1200         msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
1201         msp430xG439.
1202         * configure.tgt: Likewise.
1203         * emulparams/msp430all.sh: Likewise.
1204         * Makefile.in: Regenerate.
1205
1206 2004-07-23  Nick Clifton  <nickc@redhat.com>
1207
1208         * emultempl/elf32.em (_place_orphan): Use an already existing
1209         section name if that section does not have any flags set.
1210
1211 2004-07-21  H.J. Lu  <hongjiu.lu@intel.com>
1212
1213         * ldlang.c (already_linked_hash_entry): Removed.
1214         (already_linked): Likewise.
1215         (already_linked_table): Likewise.
1216         (section_already_linked): Call bfd_section_already_linked.
1217         (lang_process): Replace already_linked_table_init with
1218         bfd_section_already_linked_table_init and check return. Replace
1219         already_linked_table_free with bfd_section_already_linked_table_free.
1220
1221 2004-07-21  Nick Clifton  <nickc@redhat.com>
1222
1223         * ldlang.c (init_os): Make sure that the newly allocated userdata
1224         structure is zeroed out.
1225
1226 2004-07-19  H.J. Lu  <hongjiu.lu@intel.com>
1227
1228         * NEWS: Mention the new --add-needed/--no-add-needed and
1229         --as-needed/--no-as-needed options.
1230
1231 2004-07-19  H.J. Lu  <hongjiu.lu@intel.com>
1232
1233         * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
1234         check the add_needed field.
1235         (dt_needed): New struct.
1236         (gld${EMULATION_NAME}_try_needed): Change the first argument
1237         to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
1238         bit in the file where the DT_NEEDED entry comes from.
1239         (gld${EMULATION_NAME}_search_needed): Change the second
1240         argument to a pointer to struct dt_needed.
1241         (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
1242         (gld${EMULATION_NAME}_after_open): Likewise.
1243
1244         * ld.texinfo: Add --add-needed document.
1245         * ldlang.c (new_afile): Set p->add_needed.
1246         * ldlang.h (lang_input_statement_type): Add add_needed field.
1247         * ldmain.h (add_needed): Declare.
1248         * ldmain.c (add_needed): New global var.
1249         * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
1250         OPTION_NO_ADD_NEEDED.
1251         (ld_options): Likewise.
1252         (parse_args): Handle them.
1253
1254 2004-07-13  Christof Petig  <christof@petig-baender.de>
1255
1256         * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
1257         for endian-ness of extracted addend.
1258
1259 2004-07-13  Danny Smith  <dannysmith@usesr.sourceforge.net>
1260
1261         * pe-dll.c (auto_export):  Filter on just the import prefix,
1262         "_imp_", not "_imp__".
1263
1264 2004-07-09  Nick Clifton  <nickc@redhat.com>
1265
1266         * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
1267
1268 2004-07-06  Tomer Levi  <Tomer.Levi@nsc.com>
1269
1270         * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
1271         (eelf32crx.c): New target.
1272         * Makefile.in: Regenerate.
1273         * configure.tgt: Handle crx-*-elf*.
1274         * emulparams/elf32crx.sh: New file.
1275         * emultempl/crxelf.em: New file.
1276         * scripttempl/elf32crx.sc: New file.
1277         * NEWS: Mention new target.
1278
1279 2004-07-06  Nick Clifton  <nickc@redhat.com>
1280
1281         * Makefile.am: Add eshlsymbian.c.
1282         * Makefile.in: Regenerate.
1283         * configure.tgt: Add sh*-symbian-elf target.
1284         * emulparams/shlsymbian.sh: New file.  Configure the
1285         sh-symbian-elf linker scripts.
1286         * scripttemp/elf32sh-symbian.sc: New file.  Linker script
1287         template for the sh-symbian-elf target.
1288
1289 2004-07-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1290
1291         * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
1292         * emulparams/hppalinux.sh: Likewise.
1293         * scripttempl/elf.sc: Place .plt just before .got when .plt is in
1294         data segment and PLT_BEFORE_GOT is defined.
1295
1296 2004-07-03  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
1297
1298         * ld.texinfo (WIN32): Document PE weak symbols.
1299
1300 2004-07-02  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1301
1302         * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
1303
1304 2004-07-01  H.J. Lu  <hongjiu.lu@intel.com>
1305
1306         * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
1307         the section.
1308
1309 2004-06-29  Alan Modra  <amodra@bigpond.net.au>
1310
1311         * ldlang.c (lang_reset_memory_regions): Save last relax pass section
1312         size in rawsize.
1313
1314 2004-06-24  Alan Modra  <amodra@bigpond.net.au>
1315
1316         * ldlang.c (print_output_section_statement): Don't print size before
1317         relaxation.
1318         (IGNORE_SECTION): Remove bfd arg.  Update all callers.
1319
1320         * ldexp.c (fold_name): .. See below.
1321         * ldlang.c (section_already_linked, print_output_section_statement,
1322         print_input_section, insert_pad, size_input_section,
1323         lang_check_section_addresses, lang_size_sections_1,
1324         lang_size_sections, lang_do_assignments_1, lang_set_startof,
1325         lang_one_common, lang_reset_memory_regions, lang_process,
1326         lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
1327         * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
1328         * pe-dll.c (process_def_file, generate_reloc): ..
1329         * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
1330         gld${EMULATION_NAME}_before_allocation): ..
1331         * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
1332         * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
1333         sh64_elf_${EMULATION_NAME}_after_allocation): ..
1334         * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
1335         * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
1336         ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
1337         "size" instead of "_raw_size" and "_cooked_size".  Expand
1338         bfd_section_size macro invocations.
1339
1340 2004-06-22  Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1341
1342         * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
1343         ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
1344         ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
1345         ___crt_xt_end__.
1346         (.tls): Define ___tls_start__ and ___tls_end__.
1347
1348 2004-06-21  Alexandre Oliva  <aoliva@redhat.com>
1349
1350         * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
1351
1352 2004-06-18  Adam Nemet  <anemet@lnxw.com>
1353
1354         * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
1355         * configure: Regenerate.
1356
1357 2004-06-15  Jakub Jelinek  <jakub@redhat.com>
1358
1359         * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
1360         .gcc_except_table output sections lost accidentally with
1361         -z relro patch.
1362
1363 2004-06-15  Alan Modra  <amodra@bigpond.net.au>
1364
1365         * ldwrite.c (build_link_order): Use bfd_get_section_size
1366         instead of bfd_get_section_size_before_reloc or _raw_size.
1367         * pe-dll.c (process_def_file): Likewise.
1368
1369 2004-06-14  Alan Modra  <amodra@bigpond.net.au>
1370
1371         From Richard Wirth <r.wirth@wirthware.de>
1372         * ldlang.c (lang_finish): Don't free lang_definedness_table.
1373
1374 2004-05-29  Alan Modra  <amodra@bigpond.net.au>
1375
1376         * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
1377         (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
1378
1379 2004-05-28  Andrew Stubbs <andrew.stubbs@superh.com>
1380
1381         * testsuite/ld-sh/arch/arch.exp: New test script.
1382         * testsuite/ld-sh/arch/arch_expected.txt: New file.
1383         * testsuite/ld-sh/arch/sh.s: New file.
1384         * testsuite/ld-sh/arch/sh2.s: New file.
1385         * testsuite/ld-sh/arch/sh-dsp.s: New file.
1386         * testsuite/ld-sh/arch/sh2e.s: New file.
1387         * testsuite/ld-sh/arch/sh3-nommu.s: New file.
1388         * testsuite/ld-sh/arch/sh3.s: New file.
1389         * testsuite/ld-sh/arch/sh3-dsp.s: New file.
1390         * testsuite/ld-sh/arch/sh3e.s: New file.
1391         * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
1392         * testsuite/ld-sh/arch/sh4-nofpu.s: New file.
1393         * testsuite/ld-sh/arch/sh4.s: New file.
1394         * testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
1395         * testsuite/ld-sh/arch/sh4al-dsp.s: New file.
1396         * testsuite/ld-sh/arch/sh4a.s: New file.
1397
1398 2004-05-28  Alan Modra  <amodra@bigpond.net.au>
1399
1400         * ldlang.c: Formatting.  Wrap long lines, expand bfd_get_section_flags
1401         throughout file.
1402         * lexsup.c: Formatting.  Wrap long lines.
1403         * ldwrite.c: Update copyright date.
1404
1405         * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
1406         (output_section_callback): Nor SEC_KEEP here.
1407         (gc_section_callback): Twiddle SEC_EXCLUDE here.
1408         (lang_gc_wild): Delete.  Fold into..
1409         (lang_gc_sections_1): ..here.  Only call bfd_gc_sections when garbage
1410         collecting.
1411         (lang_process): Always call lang_gc_sections.
1412         (lang_place_orphans): Handle SEC_EXCLUDE sections.
1413         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
1414         SEC_EXCLUDE code.
1415
1416 2004-05-26  H.J. Lu  <hongjiu.lu@intel.com>
1417
1418         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
1419         SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
1420         * ldlang.c (lang_add_section): Likewise.
1421
1422 2004-05-26  Alan Modra  <amodra@bigpond.net.au>
1423
1424         * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
1425         sections when doing a final link.  Clear SEC_EXCLUDE when doing
1426         a relocable link, except for SEC_DEBUGGING sections.
1427         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
1428         same condition here to drop SEC_EXCLUDE orphan sections.
1429
1430 2004-05-25  Alan Modra  <amodra@bigpond.net.au>
1431
1432         * ldlang.c (lang_process): Call bfd_merge_sections later, and
1433         only when not a relocatable link.
1434         (print_input_section): Handle SEC_EXCLUDE sections.
1435         (size_input_section): Don't update dot on SEC_EXCLUDE sections.
1436         (lang_do_assignments_1): Likewise.
1437         * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
1438         * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
1439         * emultempl/hppaelf.em (build_section_lists): Likewise.
1440         * emultempl/ppc64elf.em (build_toc_list): Likewise.
1441         (build_section_lists): Likewise.
1442
1443 2004-05-23  Andreas Schwab  <schwab@suse.de>
1444
1445         * ld.texinfo (Options): Fix typo in last change.
1446
1447 2004-05-21  Andy Chittenden  <achittenden@bluearc.com>
1448
1449         * ld.h (ld_config_type): Add new field: hash_table_size.
1450         * ldmain.c: Initialise the new field to zero.  If it is non-zero
1451         after parsing the linker's command line call
1452         bfd_hash_set_default_size.
1453         * lexsup.c (option_values): Add OPTION_HASH_SIZE.
1454         (ld_options): Add hash-size.
1455         (parse_args): Parse --hash-size option.  Allow
1456         --reduce-memory-overheads to set the default hash table size as
1457         well.
1458         * ld.texinfo: Document the new switch.  Also mention that
1459         --reduce-memory-overheads can affect the hash table size.
1460         * NEWS: Mention the new feature.
1461
1462 2004-05-19  J"orn Rennecke <joern.rennecke@superh.com>
1463
1464         * NEWS: Mention new linker map file generation and the
1465         --reduce-memory-overheads option.
1466         * ld.texinfo: Document --reduce-memory-overheads option.
1467         * ld.h (map_symbol_def): New struct.
1468         (struct user_section_struct, section_userdata_type): Rename to:
1469         (struct lean_user_section_struct, lean_section_userdata_type).
1470         (struct fat_user_section_struct, fat_section_userdata_type): New.
1471         (SECTION_USERDATA_SIZE): Define.
1472         (args_type): New member reduce_memory_overheads.
1473         * ldlang.c (map_obstack): New static variable.
1474         (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
1475         (lang_map): Unless command_line.reduce_memory_overheads is set,
1476         initialize lists of defined symbols for each section.
1477         (print_input_section): Unless command_line.reduce_memory_overheads
1478         is set, use print_all_symbols.
1479         (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
1480         * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
1481         * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
1482         (ld_options): Add entry for --reduce-memory-overheads.
1483         (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
1484
1485 2004-05-19  Jakub Jelinek  <jakub@redhat.com>
1486
1487         * ldgram.y (sect_constraint): New.
1488         (ONLY_IF_RO, ONLY_IF_RW): New tokens.
1489         (section): Add sect_constraint.  Pass additional argument
1490         to lang_enter_output_section_statement.
1491         * mri.c (mri_draw_tree): Pass additional argument to
1492         lang_enter_output_section_statement.
1493         * emultempl/pe.em (place_orphan): Likewise.
1494         (output_prev_sec_find): Disregard output section statements with
1495         constraint == -1.
1496         * emultempl/mmo.em (output_prev_sec_find): Likewise.
1497         (mmo_place_orphan): Pass additional argument to
1498         lang_enter_output_section_statement.
1499         * emultempl/elf32.em (output_prev_sec_find): Disregard output section
1500         statements with constraint == -1.
1501         (place_orphan): Pass additional argument to
1502         lang_enter_output_section_statement.
1503         * ldlang.c (lang_enter_overlay_section): Likewise.
1504         (lang_output_section_find_1): New.
1505         (lang_output_section_find): Use it.
1506         (lang_output_section_statement_lookup_1): New.
1507         (lang_output_section_statement_lookup): Use it.
1508         (check_section_callback, check_input_sections): New.
1509         (map_input_to_output_sections): Check if all input sections
1510         are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
1511         (strip_excluded_output_sections): Disregard output section statements
1512         with constraint == -1.
1513         (lang_record_phdrs): Likewise.
1514         (lang_enter_output_section_statement): Add constraint argument.
1515         Use lang_output_section_statement_lookup_1.
1516         * ldlang.h (lang_output_section_statement_type): Add constraint
1517         and all_input_readonly fields.
1518         (lang_enter_output_section_statement): Adjust prototype.
1519         * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
1520         * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
1521         segment if all input sections are readonly.
1522
1523 2004-05-19  Adam Nemet  <anemet@lnxw.com>
1524
1525         * scripttempl/i386lynx.sc: Remove file.
1526
1527 2004-05-17  Bob Wilson  <bob.wilson@acm.org>
1528
1529         * ld.texinfo (Output Section Address): Correct subsection name.
1530
1531 2004-05-17  Adam Nemet  <anemet@lnxw.com>
1532
1533         * configure.tgt (powerpc-*-lynxos* case): New case.
1534         * configure.host (i[3-7]86-*-lynxos* case): Remove case.
1535         * emulparams/ppclynx.sh: New file.
1536         * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
1537         * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
1538         (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
1539         (eppclynx.c): New rule.
1540         * Makefile.in: Regenerate.
1541
1542 2004-05-13  Joel Sherrill <joel@oarcorp.com>
1543
1544         * configure.tgt (or32-*-rtems*): Switch to elf and
1545         support versioned targets.
1546
1547 2004-05-13  Nick Clifton  <nickc@redhat.com>
1548
1549         * po/fr.po: Updated French translation.
1550
1551 2004-05-11  Jakub Jelinek  <jakub@redhat.com>
1552
1553         * genscripts.sh: Generate -z combreloc -z now -z relro scripts
1554         for binaries, -shared and -pie.
1555         * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
1556         * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
1557         * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
1558         (OTHER_RELRO_SECTIONS): ... this.
1559         * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
1560         * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
1561         -z relro and -z norelro.
1562         (gld${EMULATION_NAME}_list_options): Add it to usage.
1563         (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
1564         -z relro scripts when appropriate.
1565         * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
1566         Create separate .got.plt section if SEPARATE_GOTPLT.
1567         Move sections which are only written during relocation handling
1568         to the beginning of RW segment.  If NO_SMALL_DATA, move .got
1569         before .data.  Add DATA_SEGMENT_RELRO_END directive.
1570         Include OTHER_RELRO_SECTIONS.
1571         * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
1572         * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
1573         (fold_unary): Likewise.
1574         (fold_binary): Handle -z relro.
1575         * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
1576         exp_dataseg_relro_adjust phases.  Add relro_end field.
1577         * ldmain.c (main): Initialize link_info.relro to FALSE.
1578         * ldlang.c (lang_size_sections): Handle -z relro.
1579
1580 2004-05-08  Marek Michalkiewicz  <marekm@amelek.gda.pl>
1581
1582         * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
1583
1584 2004-05-07  J"orn Rennecke <joern.rennecke@superh.com>
1585
1586         * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
1587         before printing it with %W.
1588
1589 2004-05-07  Brian Ford  <ford@vss.fsi.com>
1590             DJ Delorie  <dj@redhat.com>
1591
1592         * emultempl/pe.em (real_flags): New static.
1593         (OPTION_LARGE_ADDRESS_AWARE): New define.
1594         (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
1595         (gld_${EMULATION_NAME}_list_options): Likewise.
1596         (gld${EMULATION_NAME}_handle_option): Likewise.
1597         (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
1598         * ld.texinfo: Document it.
1599         * NEWS: Mention it.
1600
1601 2004-05-07  Brian Ford  <ford@vss.fsi.com>
1602
1603         * NEWS: Mention DWARF 2 support for i386pe.
1604
1605 2004-05-05  Alexandre Oliva  <aoliva@redhat.com>
1606
1607         * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
1608         elf32-frvfdpic.
1609
1610 2004-04-30  Alan Modra  <amodra@bigpond.net.au>
1611
1612         * ldlang.c (unique_section_p): Pass section parm, return true on
1613         group sections.
1614         (output_section_callback): Adjust.
1615         * ldlang.h (unique_section_p): Update prototype.
1616         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
1617
1618 2004-04-30  Eric Botcazou  <ebotcazou@act-europe.fr>
1619
1620         * ld.texinfo (--gc-sections): Remove restriction for
1621         dynamic linking.
1622
1623 2004-04-29  Brian Ford  <ford@vss.fsi.com>
1624
1625         * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
1626         for DWARF 2/3.  Update stab section's syntax.
1627
1628 2004-04-29  Alan Modra  <amodra@bigpond.net.au>
1629
1630         * pe-dll.c: Revert changes accidentally committed 2004-03-08.
1631         (fill_edata): Correct pointer arithmetic.
1632
1633 2004-04-21  Chris Demetriou  <cgd@broadcom.com>
1634
1635         * ld.texinfo: Remove MIPS --embedded-relocs documentation.
1636         * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
1637         * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
1638         (EXTRA_EM_FILE): Use mipsecoff.em
1639         * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
1640         (EXTRA_EM_FILE): Use mipsecoff.em
1641         * emultempl/mipsecoff.em: Restructure to be included as an
1642         extra emulation file.
1643         (check_sections, gld${EMULATION_NAME}_after_open)
1644         (gld${EMULATION_NAME}_after_allocation)
1645         (gld${EMULATION_NAME}_get_script)
1646         (ld_${EMULATION_NAME}_emulation): Remove
1647         (gld${EMULATION_NAME}_before_parse): Rename to...
1648         (mipsecoff_before_parse): This.
1649         (LDEMUL_BEFORE_PARSE): Define.
1650         * emultempl/mipself.em: Remove file.
1651         * scripttempl/mips.sc (.rel.sdata): Do not include in output.
1652         (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
1653         these symbols.
1654         * Makefile.am: Remove dependencies on emultempl/mipself.em.
1655         * Makefile.in: Regenerate.
1656
1657 2004-04-21      Anil Paranjpe   <anilp1@kpitcummins.com>
1658
1659         * ld.texinfo (synthesizing on H8/300): Information about linker
1660         relaxation support for bit manipulation instructions and system
1661         control instructions is added.
1662
1663 2004-04-21  Hans-Peter Nilsson  <hp@axis.com>
1664
1665         * NEWS: Mention change in DEFINED semantics.
1666
1667 2004-04-21  Eric Botcazou  <ebotcazou@act-europe.fr>
1668
1669         * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
1670         (.data): Add KEEP for .gnu.linkonce.d.*personality*.
1671         (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
1672
1673 2004-04-21  Ben Elliston  <bje@au.ibm.com>
1674
1675         * ld.texinfo (Simple Example): Add missing punctuation.
1676
1677 2004-04-20  Chris Demetriou  <cgd@broadcom.com>
1678
1679         * NEWS: Note that MIPS --embedded-relocs option is deprecated.
1680
1681 2004-04-19  Jakub Jelinek  <jakub@redhat.com>
1682
1683         * ldlang.c (lang_do_assignments_1): Handle .tbss output section
1684         specially.
1685
1686 2004-04-18  Danny Smith  <dannysmith@users.sourceforge.net>
1687
1688         * scriptempl/pe.sc:  Put numbered .ctors.* after .ctors
1689         with default priority. Likewise for dtors.
1690
1691 2004-04-11  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
1692
1693         * configure.host: Remove mips*-dec-bsd* target.
1694         * configure.tgt: Likewise.
1695
1696 2004-04-08  Richard Sandiford  <rsandifo@redhat.com>
1697
1698         * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
1699         * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
1700         * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
1701         * emultempl/irix.em: New file.
1702         * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
1703         dependencies.
1704         * Makefile.in: Regenerate.
1705
1706 2004-04-01  Paul Brook  <paul@codesourcery.com>
1707
1708         * emultempl/armelf.em (byteswap_code): Add.
1709         (arm_elf_before_allocation): Pass extra parameter.
1710         (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
1711         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
1712         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
1713         * emultempl/armelf_oabi.em: Pass extra parameter.
1714         * ld.texinfo: Document --be8.
1715
1716 2004-03-30  Stan Shebs  <shebs@apple.com>
1717
1718         Remove long-obsolete MPW support.
1719         * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
1720         * Makefile.am (mpw): Remove file-presynthesizing actions.
1721         * Makefile.in: Likewise.
1722         * ldfile.c (slash): Remove MPW case.
1723         * ldlex.l [MPW]: Remove unused definition.
1724
1725 2004-03-30  Galit Heller  <Galit.Heller@nsc.com>
1726
1727         * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
1728         (eelf32cr16c.c): New target.
1729         * Makefile.in: Regenerate.
1730         * configure.tgt: Handle cr16c-*-elf*.
1731         * emulparams/elf32cr16c.sh: New file.
1732         * scripttempl/elfcr16c.sc: Likewise
1733         * NEWS: Mention support for new target.
1734
1735 2004-03-30  Nick Clifton  <nickc@redhat.com>
1736
1737         * po/sv.po: Updated Swedish translation.
1738
1739 2004-03-27  Alan Modra  <amodra@bigpond.net.au>
1740
1741         * emultempl/elf32.em: Update new bfd_elf_discard_info name.
1742         * emultempl/hppaelf.em: Likewise.
1743         * emultempl/ppc64elf.em: Likewise.
1744         * emultempl/sh64elf.em: Likewise.
1745
1746 2004-03-25  Alan Modra  <amodra@bigpond.net.au>
1747
1748         * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
1749         size_dynamic_sections call.
1750
1751 2004-03-23  Alan Modra  <amodra@bigpond.net.au>
1752
1753         PR 51.
1754         * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
1755         link_info.wrap_char.
1756
1757 2004-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1758
1759         * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
1760         or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
1761
1762 2004-03-20  Alexandre Oliva  <aoliva@redhat.com>
1763
1764         * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
1765
1766 2004-03-19  Alan Modra  <amodra@bigpond.net.au>
1767
1768         * config.in: Regenerate.
1769         * po/ld.pot: Regenerate.
1770
1771 2004-03-18  Alan Modra  <amodra@bigpond.net.au>
1772
1773         * ld.texinfo: Add --as-needed doco.
1774         * ldmain.c (as_needed): New global var.
1775         * ldmain.h (as_needed): Declare.
1776         * lexsup.c (option_values): Add OPTION_AS_NEEDED and
1777         OPTION_NO_AS_NEEDED.
1778         (ld_options): Likewise.
1779         (parse_args): Handle them.
1780         * ldlang.h (lang_input_statement_type): Add as_needed field.
1781         * ldlang.c (new_afile): Set p->as_needed.
1782         * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
1783         (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
1784         (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
1785
1786         * ldlang.c (open_input_bfds): Remove useless cast.
1787         (lang_do_assignments_1): Likewise.
1788         (lang_for_each_input_section): Delete.
1789
1790 2004-03-17  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1791
1792         * configure.tgt: Switch sh-*-rtems* to ELF.  Add sh-*-rtemscoff*.
1793
1794 2004-03-08  Danny Smith  <dannysmith@users.sourceforge.net>
1795
1796         * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
1797         private when building implib.
1798
1799 2004-03-05  Nathan Sidwell  <nathan@codesourcery.com>
1800
1801         * ldlang.c (lang_add_section): Don't force SEC_LOAD on
1802         SEC_THREAD_LOCAL.
1803         (IGNORE_SECTION): Ignore .tbss sections too.
1804         (lang_size_sections_1): .tbss sections do not advance dot.
1805
1806 2004-03-01  Andreas Schwab  <schwab@suse.de>
1807
1808         * ld.texinfo (Options): Fix example for --wrap.
1809
1810 2004-02-25  Danny Smith  <dannysmith@users.sourceforge.net>
1811
1812         * pe-dll.c (fill_edata): Check that exported_symbol_sections is
1813         not NULL.
1814
1815 2004-02-23  Ian Lance Taylor  <ian@wasabisystems.com>
1816
1817         * ldlang.c (lang_check): Use %P, not %E, in error message.
1818
1819 2004-02-23  Nathan Sidwell  <nathan@codesourcery.com>
1820
1821         * ldlang.h (struct lang_output_section_state): Change processed
1822         field's type.
1823         * ldexp.c (check, invalid): Remove.
1824         (fold_name): Move valid_p assignments. Create undefined symbol
1825         when needed. Directly exampine section's processd flag.
1826         * ldlang.c (lang_output_section_statement_lookup): Adjust
1827         processed field init.
1828         (lang_size_sections_1): Allow LOADADDR when determining section's
1829         VMA. Adjust error message. Fold data statement's expr.
1830         (lang_size_sections): Correctly increment lang_statement_iteration.
1831
1832 2004-02-23  Alan Modra <amodra@bigpond.net.au>
1833
1834         * ldexp.c (fold_tree): Follow indirect symbols.
1835
1836 2004-02-20  Nathan Sidwell  <nathan@codesourcery.com>
1837
1838         * ldgram.y (exp): Add two operand ALIGN.
1839         * ldexp.c (fold_binary): Add ALIGN_K case.
1840         * ld.texinfo (ALIGN): Document two operand version.
1841
1842 2004-02-19  Nathan Sidwell  <nathan@codesourcery.com>
1843
1844         * ldlang.c (map_input_to_output_sections): Initialize sections
1845         mentioned in a data statement expression.
1846         (lang_do_assignments_1): Add data statement's expression's
1847         section's vma.
1848
1849 2004-02-18  Nathan Sidwell  <nathan@codesourcery.com>
1850
1851         * ldgram.y (statement_anywhere): Add assert rule.
1852         * ldlang.c (exp_init_os): Add assert case.
1853
1854 2004-02-14  Andrew Cagney  <cagney@redhat.com>
1855
1856         * ldmain.c (remove_output): Call bfd_cache_close.
1857
1858 2004-02-14  Richard Sandiford  <rsandifo@redhat.com>
1859
1860         * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
1861         .MIPS.content* and .MIPS.events* sections.
1862
1863 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
1864
1865         * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
1866         .note.gnu.arm.ident to after allocated sections.  Mark its
1867         address as 0.
1868
1869 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
1870
1871         * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
1872         * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
1873         * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
1874         * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
1875         * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
1876
1877 2004-02-05  Nick Clifton  <nickc@redhat.com>
1878
1879         * emultempl/pe.em (_after_open): Fix typo in previous delta.
1880
1881 2004-02-04  Danny Smith  <dannysmith@users.sourceforge.net>
1882
1883         * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
1884
1885 2004-01-28  Alan Modra  <amodra@bigpond.net.au>
1886
1887         * genscripts.sh: Fix typo.
1888
1889         * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
1890
1891 2004-01-24  Jakub Jelinek  <jakub@redhat.com>
1892
1893         * emulparams/elf64_ia64.sh: Put .rela.opd into
1894         OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
1895
1896 2004-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
1897
1898         * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
1899         * ld.texinfo (--omagic): Note that writable text section
1900         does not conform to published PE-COFF specs.
1901         (--enable-auto-import): Likewise.
1902
1903 2004-01-15  Alan Modra  <amodra@bigpond.net.au>
1904
1905         * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
1906
1907 2004-01-13  Nick Clifton  <nickc@redhat.com>
1908
1909         * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
1910         which if true will prevent the LMA region being used as a
1911         replacement for a default VMA region.
1912         (lang_leave_output_section_statement): Pass extra parameter.
1913         (lang_leave_overlay): Likewise.
1914         * ld.texinfo (Output Section LMA): Document that the LMA
1915         region can be set to the VMA region if no VMA has been set.
1916         * ldlang.h (struct lang_output_section_phdr_list): Create a
1917         typedef for this type.  Minor formatting fixes.
1918
1919 2004-01-13  Nick Clifton  <nickc@redhat.com>
1920
1921         * ldlang.c (lang_size_sections_1): If dot is advanced, then
1922         assume that the section should be allocated.
1923
1924 2004-01-13  Alan Modra  <amodra@bigpond.net.au>
1925
1926         * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
1927         sections.  Do ignore SEC_NEVER_LOAD sections.
1928         (lang_size_sections_1): Remove test made redundant with the above.
1929
1930 2004-01-09  Alan Modra  <amodra@bigpond.net.au>
1931
1932         * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
1933         program_header_size.
1934
1935 2004-01-06  Alexandre Oliva  <aoliva@redhat.com>
1936
1937         2003-11-28  Alexandre Oliva  <aoliva@redhat.com>
1938         * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
1939         2003-11-05  Alexandre Oliva  <aoliva@redhat.com>
1940         * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
1941         (MAXPAGESIZE): Set to 64Kb.
1942         (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
1943         __ROFIXUP_END__.  Don't map .rofixup.got any more.
1944         * emulparams/elf32frv.sh (NOP): Set.
1945         2003-10-31  Alexandre Oliva  <aoliva@redhat.com>
1946         * configure.tgt: Add frv-*-*linux*.
1947         2003-09-30  Alexandre Oliva  <aoliva@redhat.com>
1948         * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
1949         (eelf32frvfd.c): New.
1950         * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
1951         * emulparams/elf32frv.sh: Reverted previous two patches.
1952         * emulparams/elf32frvfd.sh: New.
1953         * Makefile.in: Rebuilt.
1954         2003-09-18  Alexandre Oliva  <aoliva@redhat.com>
1955         * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
1956         .rofixup.got to .rofixup.
1957         2003-09-15  Alexandre Oliva  <aoliva@redhat.com>
1958         * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
1959         (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
1960
1961 2004-01-05  Jakub Jelinek  <jakub@redhat.com>
1962
1963         * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
1964         * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
1965
1966 2004-01-03  Alan Modra  <amodra@bigpond.net.au>
1967
1968         * ldexp.c (align_n): Make static.
1969         * ldexp.h (align_n): Delete declaration.
1970         * ldlang.h (lang_enter_output_section_statement): Remove
1971         block_value param.
1972         * ldlang.c (lang_enter_output_section_statement): Likewise.
1973         (TO_ADDR, TO_SIZE): Define.
1974         (opb_shift): New var.
1975         (init_opb): New function.
1976         (print_input_section): Call init_opb and use TO_ADDR.
1977         (print_data_statement, print_reloc_statement): Likewise.
1978         (print_padding_statement): Likewise.
1979         (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
1980         (lang_check_section_addresses): Likewise.
1981         (lang_size_sections_1): Likewise.
1982         (lang_do_assignments_1): Likewise.
1983         (lang_set_startof): Likewise.
1984         (lang_one_common): Likewise.  Combine power_of_two and opb_shift align.
1985         (lang_process): Call init_opb.
1986         (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
1987         (lang_enter_overlay_section): Adjust
1988         lang_enter_output_section_statement call.
1989         * ldgram.y: Likewise.
1990         * mri.c (mri_draw_tree): Likewise.
1991         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
1992         * emultempl/mmo.em (mmo_place_orphan): Likewise.
1993         * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
1994
1995         * ldfile.c (ldfile_set_output_arch): Add defarch param.
1996         * ldfile.h (ldfile_set_output_arch): Ditto.
1997         * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
1998         ldfile_set_output_arch.
1999         * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
2000         * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
2001         * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
2002         * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
2003         * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
2004         * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
2005         * ldgram.y: Adjust ldfile_set_output_arch call.
2006         * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
2007         * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
2008         * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
2009         * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
2010         * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
2011         * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
2012         * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
2013
2014 2004-01-02  Bernardo Innocenti  <bernie@develer.com>
2015
2016         * configure.tgt: Add m68k-uClinux target.
2017
2018 For older changes see ChangeLog-0203
2019 \f
2020 Local Variables:
2021 mode: change-log
2022 left-margin: 8
2023 fill-column: 74
2024 version-control: never
2025 End: