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