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