1 2005-11-25 Jan Beulich <jbeulich@novell.com>
3 * Makefile.am: Make configdoc.texi writeable before trying
5 * Makefile.in: Refresh.
7 2005-11-24 Alan Modra <amodra@bigpond.net.au>
9 * ldlang.c (lang_output_section_find_by_flags): Add match_type param.
10 Run two passes, first using match_type, second without.
11 * ldlang.h (lang_match_sec_type_func): New typedef.
12 (lang_output_section_find_by_flags): Update prototype.
13 bfd_match_sections_by_type and lang_output_section_find_by_flags.
14 * emultempl/pe.em (place_orphan): Likewise.
16 2005-11-24 Alan Modra <amodra@bigpond.net.au>
18 * ldlang.c (lang_insert_orphan): Skip first assignment to dot
19 in script when looking for place to insert orphan statements.
21 2005-11-18 Alan Modra <amodra@bigpond.net.au>
23 * emulparams/elf64ppc.sh (.tocbss): Use new section alignment scheme.
24 (.got, .toc1, .opd): Likewise.
26 2005-11-18 Alan Modra <amodra@bigpond.net.au>
28 * ldlang.c (lang_size_sections_1): Revert 2005-11-16 functional
29 changes to section alignment.
30 * ldmisc.c (vfinfo): Handle %ld and %lu.
32 2005-11-16 Mark Mitchell <mark@codesourcery.com>
34 * Makefile.am (configdoc.texi): Set top_srcdir in configdoc.texi..
35 * Makefile.in: Regenerated.
36 * ld.texinfo: Include configdoc.texi and ldver.texi in man pages.
37 Add @file documentation.
39 2005-11-17 Alan Modra <amodra@bigpond.net.au>
41 * ldlang.h (lang_input_section_type): Remove "ifile" field.
42 (lang_insert_orphan, lang_add_section): Update prototypes.
43 * ldlang.c (lang_insert_orphan): Remove "file" param.
44 (lang_add_section): Likewise. Update all callers.
45 (wild_sort): Get an input section's bfd via "section->owner".
46 (size_input_section): Access just_syms_flag via bfd usrdata.
47 (lang_place_orphans): Update ldemul_place_orphan call.
48 * ldemul.h (ldemul_place_orphan): Remove input_statement param.
49 (struct ld_emulation_xfer_struct <place_orphan>): Likewise.
50 * ldemul.c (ldemul_place_orphan): Likewise.
51 * ldwrite.c (build_link_order): Access just_syms_flag via bfd usrdata.
52 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
53 * emultempl/beos.em (sort_by_file_name): Access bfd by section->owner.
54 (sort_sections): Likewise.
55 (place_orphan): Remove "file" param. Adjust lang_add_section call.
56 * emultempl/elf32.em (place_orphan): Remove "file" param. Adjust
57 lang_add_section and lang_insert_orphan calls.
58 * emultempl/hppaelf.em (hppaelf_add_stub_section): Adjust
59 lang_add_section call.
60 (build_section_lists): Access just_syms_flag via bfd usrdata.
61 * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Adjust
62 lang_add_section call.
63 * emultempl/mmo.em (mmo_place_orphan): Remove "file" param. Adjust
64 lang_add_section and lang_insert_orphan calls.
65 * emultempl/pe.em (place_orphan): Likewise. Access bfd via section
67 * emultempl/ppc64elf.em (ppc_add_stub_section): Adjust
68 lang_add_section call.
69 (build_toc_list): Access just_syms_flag via bfd usrdata.
70 (build_section_lists): Likewise.
71 * emultempl/xtensaelf.em (elf_xtensa_place_orphan): Remove "file"
72 param. Adjust place_orphan call.
73 (ld_build_required_section_dependence): Access bfd via section owner.
75 2005-11-16 Alan Modra <amodra@bigpond.net.au>
77 * ldlang.h (lang_output_section_statement_type): Add prev.
78 * ldlang.c (new_afile): Always init header.type.
79 (output_statement_newfunc): Set os.prev.
80 (output_prev_sec_find): Use os.prev.
81 (lang_enter_output_section_statement): Formatting.
82 (lang_final, lang_add_target, lang_add_fill): Likewise.
83 (lang_add_data, lang_add_reloc): Likewise.
84 (lang_add_attribute): Only alloc the header.
86 2005-11-16 Alan Modra <amodra@bigpond.net.au>
88 * ld.texinfo (Forced Output Alignment): Specify that this is an
89 alignment increase, not an override.
90 * ldlang.c (init_os): Set output section alignment here..
91 (lang_add_section): ..rather than here.
92 (lang_size_sections_1): Consolidate alignment code. Warn if section
93 alignment affects start address when explicit address given.
95 2005-11-07 Steve Ellcey <sje@cup.hp.com>
97 * configure: Regenerate after modifying bfd/warning.m4.
99 2005-11-07 Olaf Hering <olh@suse.de>
101 * ldmain.c (main): Add \n to error message.
103 2005-11-04 Alan Modra <amodra@bigpond.net.au>
105 * ldlang.c (struct output_statement_hash_entry): Don't indirect to os.
106 (output_statement_newfunc): Rewrite.
107 (lang_output_section_find_1): Merge into..
108 (lang_output_section_find): ..here.
109 (lang_output_section_statement_lookup_1): Rewrite to handle
110 multiple sections with the same name.
111 (output_statement_table_init): Commonise error message.
112 (lang_init, open_output): Likewise.
114 2005-11-03 Paul Brook <paul@codesourcery.com>
116 * scripttempl/elf.sc: Add .init_array.* and .fini_array.*.
117 * scripttempl/armbpabi.sc: Make init/fini array consistent with
119 * scripttempl/elf32sh-symbian.sc: Ditto.
120 * scripttempl/elfxtensa.sc: Ditto.
122 2005-11-03 Alan Modra <amodra@bigpond.net.au>
124 * ldlang.h (lang_output_section_statement_type): Rearrange. Remove
125 memspec. Make "processed" a bitfield.
126 (lang_data_statement_type, lang_reloc_statement_type): Rename
127 output_vma to output_offset.
128 * ldlang.c (lang_output_section_statement_lookup_1): Init
129 all_input_readonly. Don't init memspec.
130 (init_os): Remove incorrect comment.
131 (print_data_statement, print_reloc_statement): Adjust for
132 lang_data_statement_type and lang_reloc_statement_type change.
133 (lang_size_sections_1, lang_add_reloc): Likewise.
134 * ldwrite.c (build_link_order): Likewise.
136 2005-10-30 Mark Mitchell <mark@codesourcery.com>
138 * lexsup.c (help): Document "@FILE".
140 2005-10-30 H.J. Lu <hongjiu.lu@intel.com>
142 * Makefile.am: Run "make dep-am".
143 * Makefile.in: Regenerated.
145 * dep-in.sed: Replace " ./" with " ".
147 2005-10-25 Arnold Metselaar <arnold.metselaar@planet.nl>
149 * Makefile.am: Add support for Z80
150 * Makefile.in: Regenerated
151 * configure.tgt: Add z80-*-coff
152 * emulparams/z80.sh: New file.
153 * emultempl/z80.em: New file.
154 * scripttempl/z80.sc New file.
155 * NEWS: Mention this new support.
157 2005-10-25 Alan Modra <amodra@bigpond.net.au>
159 * po/ld.pot: Regenerate.
161 2005-10-25 Chris Metcalf <cdmetcalf@comcast.net>
163 * ld.texinfo (--reduce-memory-overheads): Fix typo.
165 2005-10-23 H.J. Lu <hongjiu.lu@intel.com>
168 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
169 bfd_match_sections_by_type to match section types.
171 * ldlang.c (init_os): Take the input section. Call
172 bfd_init_private_section_data if the input section isn't NULL.
173 (exp_init_os): Pass NULL to init_os.
174 (map_input_to_output_sections): Likewise.
175 (lang_add_section): Pass the input section to init_os.
177 2005-10-19 Paul Brook <paul@codesourcery.com>
179 * emulparams/armelf.sh: Add .ARM.attributes to OTHER_SECTIONS.
181 2005-10-15 H.J. Lu <hongjiu.lu@intel.com>
184 * emultempl/elf32.em: Include "elf-bfd.h".
185 (gld${EMULATION_NAME}_place_orphan): Check section type and
186 don't use section name for ELF input sections.
188 * ld.texinfo: Document orphan section processing.
190 * ldlang.c (lang_output_section_find_by_flags): Match section
191 types by calling bfd_match_sections_by_type.
193 2005-10-13 Mark Mitchell <mark@codesourcery.com>
195 * ld.texino: Describe double-quoted string syntax for version
197 * ldlang.h (lang_new_vers_pattern): Add literal_p parameter.
198 * ldgram.y (vers_defns): Allow NAME as well as VERS_IDENTIFIER.
199 Adjust calls to lang_new_vers_pattern to pass literal_p argument.
200 * ldlang.c (lang_vers_match): Fix indentation. Do not glob-match
201 version nodes without a pattern.
202 (lang_new_vers_pattern): Add literal_p parameter.
203 (lang_do_version_exports_section): Pass it.
205 2005-10-12 Mark Mitchell <mark@codesourcery.com>
207 * NEWS: Mention @file.
209 2005-10-05 H.J. Lu <hongjiu.lu@intel.com>
212 * ldcref.c (check_refs): Accept bfd_boolean.
213 (check_local_sym_xref): Pass FALSE to check_refs.
214 (check_nocrossref): Pass TRUE to check_refs.
215 (check_refs_info): Add bfd_boolean.
216 (check_refs): Add bfd_boolean to check_refs_info.
217 (check_reloc_refs): Match relocations with proper symbols.
219 * ldmisc.c (vfinfo): Don't add extra ":\n".
221 2005-10-05 Danny Smith <dannysmith@users.sourceforge.net>
223 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
224 default entry symbol to ENTRY here.
225 * scripttempl/pe.sc: Not here.
227 2005-09-30 James E Wilson <wilson@specifix.com>
229 * ldlang.c (lang_startup): Add missing ": " to einfo call.
231 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
233 * Makefile.am: Run "make dep-am".
234 * Makefile.in: Regenerated.
235 * aclocal.m4: Likewise.
237 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
239 * ldlang.c (output_statement_hash_entry): New type.
240 (output_statement_table): New variable for hash table.
241 (output_statement_newfunc): New function.
242 (output_statement_table_init): Likewise.
243 (output_statement_table_free): Likewise.
244 (lang_init): Call output_statement_table_init.
245 (lang_finish): Renamed to ...
247 (lang_process): Updated.
248 (lang_finish): New function.
249 (lang_output_section_find_1): Use hash table.
250 (lang_output_section_statement_lookup_1): Likewise.
252 * ldlang.h (lang_finish): New.
254 * ldmain.c (main): Call lang_finish.
256 2005-09-30 Mark Mitchell <mark@codesourcery.com>
258 * ldmain.c (main): Use expandargv.
260 2005-09-30 Catherine Moore <clm@cm00re.com>
262 * Makefile.am: Bfin support.
263 * Makefile.in: Regenerated.
264 * aclocal.m4: Regenerated.
265 * configure.tgt: Bfin support.
266 * emulparams/bfin.sh: New file.
267 * emultempl/bfin.em: New file.
269 2005-09-30 Matthias Kurz <mk@baerlap.north.de>
271 * ld.h: Prevent the inclusion of <libintl.h> from the Solaris
272 version of <locale.h> when ENABLE_NLS is not defined.
274 2005-09-27 H.J. Lu <hongjiu.lu@intel.com>
276 * ld.texinfo (ALIGN): Document it as forcing output section
279 * ldgram.y (ALIGN): Support it for forcing output section
282 2005-09-20 Alan Modra <amodra@bigpond.net.au>
284 * ldlang.h (lang_output_section_statement_struct): Change type of
285 "processed" to bfd_boolean.
286 * ldexp.c (fold_name): Update references to os->processed.
287 * ldlang.c (lang_output_section_statement_lookup_1): Likewise.
288 (lang_size_sections_1): Likewise.
289 (lang_reset_memory_regions): Likewise.
292 * ldlang.c (lang_size_sections_1): Process addr_tree earlier,
293 so that unused output section statements affect dot.
295 2005-09-08 Jakub Jelinek <jakub@redhat.com>
297 * ld.texinfo: Document -z {no,}execstack, -z {no,}relro
298 and --eh-frame-hdr options.
300 2005-09-07 Alan Modra <amodra@bigpond.net.au>
302 * ldexp.c (fold_name <SIZEOF>): Return 0 for non-existent section.
303 (exp_fold_tree_1): Print assert message only in final stage of
304 linking. Trigger assertion failure if expression cannot be
307 2005-09-06 H.J. Lu <hongjiu.lu@intel.com>
310 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Check
311 --just-symbols on DSO.
313 2005-08-18 Alan Modra <amodra@bigpond.net.au>
315 * scripttempl/elf.sc: Remove commented out defines.
317 2005-08-18 Alan Modra <amodra@bigpond.net.au>
319 * emulparams/a29k.sh: Delete.
320 * emulparams/ebmon29k.sh: Delete.
321 * emulparams/sa29200.sh: Delete.
322 * Makefile.am: Remove a29k support.
323 * configure.tgt: Likewise.
324 * ld.texinfo: Likewise.
325 * Makefile.in: Regenerate.
327 2005-08-17 Jakub Jelinek <jakub@redhat.com>
329 * ldgram.y (vers_defns): Don't lose pattern list before
330 extern NAME {}. Handle global, local and extern symbol names.
332 2005-08-17 Kaz Kojima <kkojima@rr.iij4u.or.jp>
334 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
335 Don't increment rel_count of .cranges here. Set rawsize of .cranges.
337 2005-08-10 Nick Clifton <nickc@redhat.com>
339 * pe-dll.c (pe_exe_fill_sections): Call lang_reset_memory_regions
340 before lang_size_sections.
342 2005-08-09 Alan Modra <amodra@bigpond.net.au>
344 * emulparams/hppa64linux.sh (LARGE_SECTIONS): Remove .tbss.
346 2005-08-08 Eric Doenges <Eric.Doenges@betty-tv.com>
348 * Makefile.am (ALL_EMULATIONS): Add msp430x21xx variants.
349 Add rules to build these emulations.
350 * Makefile.in: Regenerate.
351 * configure.tgt (msp430): Add the new variants to the
352 targ_extra_emuls list.
353 * emulparams/msp430all.sh: Add entries for the msp430x21xx
356 2005-08-05 H.J. Lu <hongjiu.lu@intel.com>
358 * ld.texinfo: Document PROVIDE_HIDDEN.
360 * ldexp.c (exp_fold_tree_1): Hide a provided symbol if asked.
361 (exp_provide): Add and set hidden.
363 * ldexp.h (etree_type): Add hidden to assign.
365 * ldgram.y (PROVIDE_HIDDEN): New.
366 * ldlex.l (PROVIDE_HIDDEN): Likewise.
368 * scripttempl/elf.sc: Use PROVIDE_HIDDEN on array bound
371 2005-08-05 Alan Modra <amodra@bigpond.net.au>
373 * emulparams/elf_x86_64.sh: Revert last change.
374 * scripttempl/elf.sc (REL_LARGE, LARGE_SECTIONS): Define here.
376 2005-08-05 Alan Modra <amodra@bigpond.net.au>
378 * emulparams/armelf.sh (OTHER_BSS_END_SYMBOLS): Split out from
380 * emulparams/armelf_linux.sh: Likewise.
381 * emulparams/armnto.sh: Likewise.
382 * emulparams/criself.sh: Likewise.
383 * emulparams/elf32mcore.sh: Likewise.
384 * emulparams/criself.sh (OTHER_SYMBOLS): Define.
385 * emulparams/crislinux.sh (OTHER_SYMBOLS): Define.
386 (OTHER_END_SYMBOLS): Don't define.
387 * emulparams/elf32fr30.sh: Likewise.
388 * emulparams/elf64mmix.sh: Likewise.
389 * emulparams/hppa64linux.sh: Likewise.
390 * emulparams/m32relf.sh: Likewise.
391 * emulparams/vxworks.sh: Likewise.
392 * scripttempl/armbpabi.sc (OTHER_BSS_SECTIONS): Delete.
393 (OTHER_BSS_END_SYMBOLS): Add.
394 (OTHER_END_SYMBOLS): Move before current end sym definitions.
395 (OTHER_SYMBOLS): Replace OTHER_END_SYMBOLS near end of script.
396 * scripttempl/elf.sc: Likewise.
397 * scripttempl/elf32sh-symbian.sc: Likewise.
398 * scripttempl/elf_chaos.sc: Likewise.
399 * scripttempl/elfxtensa.sc: Likewise.
400 * scripttempl/iq2000.sc: Likewise.
401 * scripttempl/xstormy16.sc: Likewise.
403 * scripttempl/elf.sc (LBSS, LARGE_SECTIONS): Delete.
404 (REL_LDATA, REL_LBSS, REL_LRODATA): Delete.
405 (REL_LARGE, LARGE_SECTIONS): Add.
406 * emulparams/elf_x86_64.sh (LARGE_SECTIONS): Define as script text.
408 * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define.
409 (LARGE_SECTIONS): Define.
410 * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define.
411 (LARGE_SECTIONS): Define.
413 2005-08-04 Alan Modra <amodra@bigpond.net.au>
415 * ldemul.c (ldemul_do_assignments, do_assignments_default): Delete.
416 * ldemul.h (ldemul_do_assignments, do_assignments_default): Delete.
417 (struct ld_emulation_xfer_struct): Remove do_assignments field.
418 * ldlang.c (lang_do_assignments): Don't call ldemul_do_assignments.
419 * emulparams/elf32ppc.sh (SDATA_START_SYMBOLS): New.
420 (SDATA2_START_SYMBOLS, SBSS_START_SYMBOLS, SBSS_END_SYMBOLS): New.
421 * emultempl/aix.em (ld_*_emulation): Delete do_assignments init.
422 * emultempl/armcoff.em: Likewise.
423 * emultempl/beos.em: Likewise.
424 * emultempl/generic.em: Likewise.
425 * emultempl/gld960.em: Likewise.
426 * emultempl/gld960c.em: Likewise.
427 * emultempl/linux.em: Likewise.
428 * emultempl/lnk960.em: Likewise.
429 * emultempl/m68kcoff.em: Likewise.
430 * emultempl/pe.em: Likewise.
431 * emultempl/sunos.em: Likewise.
432 * emultempl/ticoff.em: Likewise.
433 * emultempl/vanilla.em: Likewise.
434 * emultempl/elf32.em: Likewise.
435 (gld*_provide_bound_symbols): Delete.
436 (gld*_provide_init_fini_syms): Delete.
437 (gld*_before_allocation): Don't call ldemul_do_assignments.
438 * emultempl/ppc32elf.em (ppc_do_assignments): Delete.
439 (LDEMUL_DO_ASSIGNMENTS): Delete.
440 * scripttempl/elf.sc: Provide init/fini syms. Add SBSS_START_SYMBOLS,
441 SBSS_END_SYMBOLS, SDATA2_START_SYMBOLS.
443 2005-08-04 Alan Modra <amodra@bigpond.net.au>
445 * Makefile.am (eelf32m32c.c): Fix dependencies.
446 * Makefile.in: Regenerate.
448 2005-08-04 Alan Modra <amodra@bigpond.net.au>
450 * ldemul.c (ldemul_finish): Call ld_emulation->finish unconditionally.
451 (finish_default): New function.
452 * ldemul.h (finish_default): Declare.
453 * emultempl/aix.em (gld*_before_allocation): Call
454 before_allocation_default rather than strip_excluded_output_sections.
455 (ld_*_emulation): Init finish field to finish_default.
456 * emultempl/armcoff.em: Likewise.
457 * emultempl/beos.em: Likewise.
458 * emultempl/elf32.em: Likewise.
459 * emultempl/generic.em: Likewise.
460 * emultempl/gld960.em: Likewise.
461 * emultempl/gld960c.em: Likewise.
462 * emultempl/hppaelf.em: Likewise.
463 * emultempl/linux.em: Likewise.
464 * emultempl/lnk960.em: Likewise.
465 * emultempl/m68kcoff.em: Likewise.
466 * emultempl/mmo.em: Likewise.
467 * emultempl/pe.em: Likewise.
468 * emultempl/ppc64elf.em: Likewise.
469 * emultempl/sunos.em: Likewise.
470 * emultempl/ticoff.em: Likewise.
471 * emultempl/vanilla.em: Likewise.
473 2005-08-03 Alan Modra <amodra@bigpond.net.au>
475 * ldlang.c (exp_init_os): Handle etree_provide.
476 * emulparams/armelf.sh (OTHER_END_SYMBOLS): Rename from..
477 (OTHER_BSS_END_SYMBOLS): ..this.
478 * emulparams/armelf_linux.sh: Likewise.
479 * emulparams/armnto.sh: Likewise.
480 * emulparams/criself.sh: Likewise.
481 * emulparams/crislinux.sh: Likewise.
482 * emulparams/elf32frv.sh: Likewise.
483 * emulparams/elf32mcore.sh: Likewise.
484 * emulparams/elf32ppc.sh: Likewise.
485 * emulparams/elf32ppclinux.sh: Likewise.
486 * emulparams/hppa64linux.sh: Likewise.
487 * scripttempl/armbpabi.sc: Substitute $OTHER_END_SYMBOLS, not
488 $OTHER_BSS_END_SYMBOLS.
489 * scripttempl/elf32sh-symbian.sc: Likewise.
490 * scripttempl/elf_chaos.sc: Likewise.
491 * scripttempl/iq2000.sc: Likewise.
492 * scripttempl/xstormy16.sc: Likewise.
493 * scripttempl/elf.sc: Likewise. Delete __bss_start comment.
494 * scripttempl/elfxtensa.sc: Likewise.
496 2005-07-29 Nick Clifton <nickc@redhat.com>
498 * ldmain.c (main): Allow -shared and -static to be used together.
499 * ld.texinfo (-static): Mention that it is allowed with -shared.
501 2005-07-28 DJ Delorie <dj@redhat.com>
503 * ldlang.c (lang_output_section_statement_lookup_1): Don't cast a
504 unary & address operator, as that breaks GCC's strict aliasing
507 2005-07-25 Jan Hubicka <jh@suse.cz>
508 H.J. Lu <hongjiu.lu@intel.com>
510 * emulparams/elf_x86_64.sh (LARGE_SECTIONS): New.
512 * scripttempl/elf.sc: Updated for large section support.
514 2005-07-21 Ralf Corsepius <ralf.corsepius@rtems.org>
516 * configure.tgt: Remove i[3-7]86-*-rtemself*.
517 Remove sparc-*-rtemself*.
519 2005-07-21 Ben Elliston <bje@gnu.org>
521 * ldgram.y (ldgram_want_filename): Remove unused static.
523 2005-07-20 DJ Delorie <dj@redhat.com>
525 * emulparams/elf32m32c.sh (TEMPLATE_NAME): New.
526 (EXTRA_EM_FILE): New.
528 2005-07-19 H.J. Lu <hongjiu.lu@intel.com>
530 * ldmain.c (main): Reindent.
532 2005-07-19 Paul Brook <paul@codesourcery.com>
534 * configure.host (HOSTING_CRT0): Parse output of gcc --help --verbose
535 to determine dynamic linker name.
537 2005-07-18 Nick Clifton <nickc@redhat.com>
539 * configure.tgt: Restore alpha ordering to list of arches.
541 2005-07-16 Alan Modra <amodra@bigpond.net.au>
543 * emultempl/elf32.em (gld*_provide_init_fini_syms): Prototype.
544 (gld*_before_allocation): Call ldemul_do_assignments rather than
545 gld*_provide_init_fini_syms directly.
546 * emultempl/ppc32elf.em (gld*_after_allocation): Delete.
547 (ppc_do_assignments): New function.
548 (LDEMUL_AFTER_ALLOCATION): Don't define.
549 (LDEMUL_DO_ASSIGNMENTS): Define.
551 2005-07-16 Alan Modra <amodra@bigpond.net.au>
553 * Makefile.am: Run "make dep-am".
554 (emipsidt.c, emipsidtl.c): Depend on generic.em.
555 * Makefile.in: Regenerate.
557 2005-07-15 Alan Modra <amodra@bigpond.net.au>
559 * ldemul.c (ldemul_do_assignments): New function.
560 (do_assignments_default): New function.
561 * ldemul.h (ldemul_do_assignments): Declare.
562 (do_assignments_default): Declare.
563 (struct ld_emulation_xfer_struct): Add do_assignments.
564 * ldlang.c (lang_do_assignments) Call ldemul_do_assignments.
565 * emultempl/aix.em (ld_*_emulation): Init do_assignments field.
566 * emultempl/armcoff.em: Likewise.
567 * emultempl/beos.em: Likewise.
568 * emultempl/generic.em: Likewise.
569 * emultempl/gld960.em: Likewise.
570 * emultempl/gld960c.em: Likewise.
571 * emultempl/linux.em: Likewise.
572 * emultempl/lnk960.em: Likewise.
573 * emultempl/m68kcoff.em: Likewise.
574 * emultempl/pe.em: Likewise.
575 * emultempl/sunos.em: Likewise.
576 * emultempl/ticoff.em: Likewise.
577 * emultempl/vanilla.em: Likewise.
578 * emultempl/elf32.em: Likewise, to call gld*_provide_init_fini_syms.
579 (gld*_find_exp_assignment): Adjust bfd_elf_record_link_assignment call.
581 2005-07-14 Jim Blandy <jimb@redhat.com>
583 Add support for the Renesas M32C and M16C.
584 * Makefile.am (ALL_EMULATIONS): Add eelf32m32c.o.
585 (eelf32m32c.c): New target.
586 * Makefile.in: Regenerated.
587 * configure.tgt: Add case for m32c-*-elf.
588 * emulparams/elf32m32c.sh: New file.
590 2005-07-14 Alan Modra <amodra@bigpond.net.au>
592 * ldlang.c (strip_excluded_output_sections): Don't call
594 * emultempl/elf32.em (gld*_provide_bound_symbols): Move.
595 (gld*_provide_init_fini_syms): Move.
596 (gld*_before_allocation): Call the above from here..
597 (gld*_finish): ..not here. Call _bfd_elf_fix_excluded_sec_syms.
598 * emultempl/hppaelf.em (hppaelf_finish): Likewise.
599 * emultempl/ppc64elf.em (ppc_finish): Likewise.
601 2005-07-10 Ralf Corsepius <ralf.corsepius@rtems.org>
603 * configure.tgt: Remove sparc*-*-rtemsaout*, i[3-7]86-go32-rtems*,
604 i[3-7]86-*-rtemscoff*, hppa*-*-rtems*, mips*el-*-rtems*,
607 2005-07-09 Christopher Faylor <cgf@timesys.com>
609 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Enable runtime
610 relocation by default.
611 (compute_dll_image_base): Avoid linking into cygwin dll address space.
613 2005-07-08 Alan Modra <amodra@bigpond.net.au>
615 * ldlang.c (wild_sort): Formatting.
616 (strip_excluded_output_sections): Strip zero size sections here.
617 * emultempl/elf32.em (gld*_strip_empty_sections): Delete.
618 (gld*_finish): Don't call the above.
619 * emultempl/hppaelf.em (hppaelf_finish): Likewise.
620 * emultempl/ppc64elf.em (ppc_finish): Likewise.
622 2005-07-05 Paul Brook <paul@codesourcery.com>
624 * Makefile.am (ALL_EMULATIONS): Add eelf32ppcvxworks.o.
625 (eelf32ppcvxworks.o): Add dependencies.
626 * Makefile.in: Regenerate.
627 * configure.tgt: Add entry for powerpc-vxworks.
628 * emulparams/elf32-ppc.c: Mention elf32ppcvxworks.sh in comment.
629 * emulparams/elf32ppcvxworks.sh: New file.
630 * emultempl/ppc32elf.em (bfd_elf32_powerpc_vxworks_vec): Declare.
631 (is_ppc_elf32_vec): New function.
632 (ppc_after_open, ppc_before_allocation,
633 gld${EMULATION_NAME}_after_allocation): Use it.
635 2005-07-05 Peter S. Mazinger" <ps.m@gmx.net>
637 * emulparams/elf32bmip.sh (GENERATE_PIE_SCRIPT): Define as "yes".
638 * emulparams/elf32bmipn32-defs.sh (GENERATE_PIE_SCRIPT): Define as "yes".
640 2005-07-04 Mike Frysinger <vapier@gentoo.org>
642 * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Fix typo in
645 2005-07-04 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
647 * emulparams/m32relf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
649 2005-07-04 Aurelien Jarno <aurel32@debian.org>
651 * emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*.
653 2005-07-01 Alan Modra <amodra@bigpond.net.au>
655 * scripttempl/elf.sc (.gcc_except_table): Don't KEEP.
657 2005-06-30 Ben Elliston <bje@gnu.org>
659 * Makefile.am (check-DEJAGNU): Don't search for expect.
660 * Makefile.in: Regenerate.
662 2005-06-30 Ben Elliston <bje@gnu.org>
664 * Makefile.am (EXPECT): Set to expect.
665 (RUNTEST): Likewise, set to runtest.
666 * Makefile.in: Regenerate.
668 2005-06-16 Alexander Klimov <alserkli@inbox.ru>
670 * emultempl/armelf.em: Add quotes to avoid a null test
673 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
675 * ld.texinfo (Command Line Options): Add @item for --hash-size.
677 2005-06-10 Alan Modra <amodra@bigpond.net.au>
679 * scripttempt/elf.sc (.bss): Align tail in a way that allows
680 empty section pruning.
682 2005-06-09 Steve Ellcey <sje@cup.hp.com>
684 * configure.in (AM_BINUTILS_WARNINGS): Add.
685 (BFD_NEED_DECLARATION) Replace with AC_CHECK_DECLS.
686 * config.in: Regenerate.
687 * configure: Regenerate.
688 * sysdep.h (NEED_DECLARATION_*): Replace with HAVE_DECL_*
691 2005-06-09 Alan Modra <amodra@bigpond.net.au>
693 * ldexp.c (fold_unary <ALIGN_K>): Revert last change.
695 2005-06-09 Alan Modra <amodra@bigpond.net.au>
697 * ld.h (lang_phase_type): Move to..
698 * ldexp.h: ..here. Add lang_mark_phase_enum.
699 (node_type): Remove etree_undef and etree_unspec.
700 (exp_data_seg): Delete.
701 (struct ldexp_control, expld): New.
702 (invalid, exp_mark_used_section): Delete.
703 (exp_fold_tree, exp_get_vma, exp_get_value_int, exp_get_fill,
704 exp_get_abs_int): Update prototypes.
705 * ldexp.c (assigning_to_dot): Delete.
707 (make_abs): Operate directly on expld.result. Update all callers.
708 (new_abs): Likewise. Return void.
709 (new_rel_from_abs): Rename from new_rel_from_section.
710 (new_rel, new_rel_from_abs): Operate on expld.result and return void.
712 (fold_unary): Operate on expld.result and return void. Remove
713 "current_section", "allocation_done", "dot", "dotp" and "mark_used"
714 params. Update all callers.
715 (fold_binary, fold_trinary, fold_name, exp_fold_tree_1): Likewise.
716 (fold_unary <ALIGN_K>): Ensure alignment is absolute.
717 (fold_unary <ABSOLUTE>): Use make_abs.
718 (fold_unary <DATA_SEGMENT_END>): Evaluate mark_phase as for
720 (fold_binary <DATA_SEGMENT_ALIGN, DATA_SEGMENT_RELRO_END, >): Ditto.
721 (fold_binary <'%','/'>): Don't error if marking.
722 (fold_name <SIZEOF_HEADERS>): Don't call bfd_sizeof_headers when
724 (fold_name <NAME>): Remove FIXME; -R is handled correctly. Don't
726 (fold_name <ADDR, LOADADDR, SIZEOF>): Don't set SEC_KEEP.
727 (exp_fold_tree_1): Don't error when marking.
728 (exp_fold_tree_1 <etree_rel>): Evaluate in all phases except first.
729 (exp_fold_tree_1 <etree_assign to dot>): Don't check for NULL
730 current section, instead check for NULL dotp.
731 (exp_fold_tree_1 <etree_provide>): Don't evaluate the assignment
732 source unless the symbol is referenced and undefined.
733 (exp_fold_tree): Remove "allocation_done" and "dot" params. Save
735 (exp_fold_tree_no_dot): Remove "current_section", "allocation_done
736 and "mark_used" params. Save params to expld. Update all callers.
737 (exp_assop): Do without temp var.
738 (exp_print_tree <etree_undef>): Delete code.
739 (exp_get_vma): Remove "allocation_done" param. Correct error return.
740 (exp_get_fill, exp_get_abs_int): Likewise.
741 (exp_get_value_int): Remove "allocation_done" param.
742 (exp_mark_used_section): Delete.
743 * ldgram.y (fill_exp): Update exp_get_fill call.
744 (origin_spec, length_spec): Update exp_get_vma call.
745 * ldlang.c (lang_init): Don't bother clearing lang_statement_iteration.
746 (lang_mark_used_section_1, lang_mark_used_section): Delete.
747 (strip_excluded_output_sections): Call one_lang_size_sections_pass in
748 marking mode. Merge old lang_mark_used_section code. Correct handling
749 of output sections with excluded input sections and data statements.
750 Don't drop non-zero sized sections. Don't zap os->bfd_section.
751 Do set SEC_EXCLUDE when appropriate.
752 (print_output_section_statement): Update for changed ldexp.c
754 (print_assignment, lang_size_sections_1): Likewise.
755 (lang_do_assignments_1, lang_enter_output_section_statement): Likewise.
756 (lang_new_phdr, lang_record_phdrs): Likewise.
757 (lang_size_sections): Likewise.
758 (insert_pad): Use following statement if it is a pad, rather than
760 (lang_size_sections_1 <lang_output_section_statement_enum>): Do
761 process ignored output section to set vma and lma, but don't
762 update dot for these sections. Don't error if marking.
763 (lang_size_sections_1 <lang_assignment_statement_enum>): Don't
764 update dot for ignored sections.
765 (lang_size_sections_1 <lang_data_statement_enum>): Don't mark absolute
766 section with SEC_ALLOC.
767 (one_lang_size_sections_pass): New function.
768 (lang_size_sections): Remove first five params. Set expld.phase on
769 entry and exit. Use one_lang_size_sections_pass.
770 (lang_do_assignments): Remove all params. Update all callers.
771 (lang_reset_memory_regions): Clear os->processed for all output
773 * ldlang.h (lang_do_assignments): Update prototype.
774 (lang_size_sections): Likewise.
775 (one_lang_size_sections_pass): Declare.
776 * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update
777 lang_size_sections and lang_do_assignments calls.
778 * emultempl/elf32.em (layout_sections_again): Likewise.
779 * emultempl/ppc64elf.em (ppc_before_allocation): Use
780 one_lang_size_sections_pass.
782 2005-06-08 Aldy Hernandez <aldyh@redhat.com>
784 * emulparams/elf32ms1.sh: New.
786 2005-06-07 Eric Christopher <echristo@redhat.com>
788 * Makefile.am (eelf32ms1.c): Use tab.
789 * Makefile.in: Regenerate.
791 2005-06-07 Aldy Hernandez <aldyh@redhat.com>
792 Michael Snyder <msnyder@redhat.com>
793 Stan Cox <scox@redhat.com>
795 * configure.tgt: Same.
797 * Makefile.am (ALL_EMULATIONS): Depend on eelf32ms1.o.
798 (eelf32ms1.c): Add eelf32ms1.c rule.
800 * Makefile.in: Regenerate.
802 2005-06-06 Alan Modra <amodra@bigpond.net.au>
804 * emultempl/ppc64elf.em (ppc_before_allocation): Always run
807 2005-06-05 H.J. Lu <hongjiu.lu@intel.com>
809 * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current
810 section only if the symbol will be defined.
812 2005-06-04 H.J. Lu <hongjiu.lu@intel.com>
815 * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current
816 section for etree_assign, etree_provide and etree_provided.
817 Call fold_binary on etree_binary.
819 * ldlang.c (lang_mark_used_section_1): Handle load base.
821 2005-06-03 Alan Modra <amodra@bigpond.net.au>
823 * ldmain.c (link_callbacks): Add einfo.
824 (add_archive_element): Use passed info, not link_info.
825 (constructor_callback): Likewise.
826 (reloc_overflow): Don't handle null bfd specially.
827 (reloc_dangerous, unattached_reloc): Likewise.
828 * ldmisc.c (vfinfo <B>): Print "ld generated" for null bfd.
829 (vfinfo <C, D, G>): Handle null bfd. Wrap comments.
831 2005-06-02 Alan Modra <amodra@bigpond.net.au>
833 * ldexp.h (etree_value_type): Use "asection *" in place of
834 "struct lang_output_section_statement_struct *" for "section".
835 (exp_fold_tree): Likewise.
836 (exp_mark_used_section): Likewise.
837 * ldexp.c (new_rel, new_rel_from_section, fold_unary, fold_binary,
838 fold_trinary, fold_name, exp_fold_tree_1, exp_fold_tree,
839 exp_mark_used_section): Likewise for "current_section" param.
840 (make_abs, new_abs, exp_binop, exp_unop, exp_get_vma, exp_get_fill,
841 exp_get_abs_int): Adjust for above changes.
842 * ldlang.c (lang_mark_used_section_1, print_assignment,
843 lang_size_sections_1, lang_do_assignments_1): Likewise.
844 * ldexp.c (fold_name): Init entire result struct.
846 2005-06-01 Maciej W. Rozycki <macro@linux-mips.org>
848 * emulparams/elf32btsmip.sh: Unset DATA_ADDR.
850 2005-05-31 Zack Weinberg <zack@codesourcery.com>
852 * ldlang.c (entry_symbol_default): New file-scope global.
853 (lang_finish): Use it, not a hardwired "start".
854 (lang_default_entry): Set it.
855 * ldlang.h: Declare lang_default_entry.
856 * emultempl/beos.em, emultempl/pe.em: Use lang_default_entry,
857 not lang_add_entry, to override default entry point symbol.
859 2005-05-29 Richard Henderson <rth@redhat.com>
861 * emulparams/elf64alpha.sh (PLT): New.
863 * emultempl/alphaelf.em (disable_relaxation): New.
864 (limit_32bit): Rename from elf64alpha_32bit; update all users.
865 (elf64_alpha_use_secureplt): Declare.
866 (bfd_elf64_alpha_vec, bfd_elf64_alpha_freebsd_vec): Declare.
867 (alpha_after_open): New.
868 (alpha_before_allocation): New.
869 (OPTION_NO_RELAX, OPTION_SECUREPLT, OPTION_NO_SECUREPLT): New.
870 (PARSE_AND_LIST_LONGOPTS): Include them.
871 (PARSE_AND_LIST_OPTIONS): Likewise.
872 (PARSE_AND_LIST_ARGS_CASES): Likewise.
873 (LDEMUL_AFTER_OPEN, LDEMUL_BEFORE_ALLOCATION): New.
874 * scripttempl/elf.sc (TEXT_PLT): New.
877 2005-05-27 Andreas Schwab <schwab@suse.de>
879 * configure.host (HOSTING_LIBS): Add libunwind.a if it exists.
881 2005-05-24 Alan Modra <amodra@bigpond.net.au>
883 * emultempl/ppc32elf.em (after_allocation): Don't call
884 ppc_elf_set_sdata_syms when relocatable.
886 2005-05-21 H.J. Lu <hongjiu.lu@intel.com>
888 * Makefile.am (ld.1): Revert the last 2 changes.
889 (info-recursive): Depend on ld.1.
890 * Makefile.in: Regenerated.
892 2005-05-21 H.J. Lu <hongjiu.lu@intel.com>
894 * Makefile.am (ld.1): Depend on "info" instead of
895 "configdoc.texi ldver.texi".
896 * Makefile.in: Regenerated.
898 2005-05-21 H.J. Lu <hongjiu.lu@intel.com>
900 * Makefile.am (ld.1): Depend on "info".
901 * Makefile.in: Regenerated.
903 2005-05-19 Zack Weinberg <zack@codesourcery.com>
905 * Makefile.am: Have 'all' depend on 'info' and 'ld.1'.
906 * Makefile.in: Regenerate.
908 2005-05-17 Zack Weinberg <zack@codesourcery.com>
910 * ld-arm/mixed-app.d: Adjust expected disassembly a little.
912 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
914 * Makefile.am (ldver.texi): Don't use $<.
915 * Makefile.in: Regenerated.
917 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
919 * Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Explicitly include
920 $(srcdir) before $(BFDDIR)/doc.
921 * Makefile.in: Regenerated.
923 2005-05-17 H.J. Lu <hongjiu.lu@intel.com>
926 * ldexp.c (exp_fold_tree_1): Renamed from exp_fold_tree and
927 take take a bfd_boolean, mark_used. Ignore assert failure if
929 (exp_fold_tree) Call exp_fold_tree_1 with mark_used == FALSE.
930 (exp_fold_tree_no_dot): Updated to take a bfd_boolean,
931 mark_used and pass down.
932 (fold_unary): Likewise.
933 (fold_binary): Likewise.
934 (fold_trinary): Likewise.
935 (exp_binop): Add FALSE to call to exp_fold_tree_no_dot.
936 (exp_trinop): Likewise.
937 (exp_unop): Likewise.
938 (exp_nameop): Likewise.
939 (exp_get_vma): Likewise.
940 (exp_get_fill): Likewise.
941 (exp_get_abs_int): Likewise.
942 (fold_name): Likewise. Set SEC_KEEP in output section flags.
943 (exp_mark_used_section): New.
945 * ldexp.h (exp_mark_used_section): New.
947 * ldlang.c (lang_output_section_statement_lookup_1): Set the
948 ignored field to FALSE.
949 (lang_mark_used_section_1): New.
950 (lang_mark_used_section): Call lang_mark_used_section_1.
951 (strip_excluded_output_sections): Call lang_mark_used_section
952 and check for unused sections.
953 (lang_size_sections_1): Skip an output section if it should
955 (lang_do_assignments_1): Likewise.
956 (lang_process): Don't call lang_mark_used_section here.
958 * ldlang.h (lang_output_section_statement_type): Change
959 all_input_readonly to bitfield. Add ignored.
961 2005-05-17 Lennert Buytenhek <buytenh@wantstofly.org>
962 Peter S. Mazinger" <ps.m@gmx.net>
964 * emulparams/armelf_linux.sh (GENERATE_PIE_SCRIPT): Define as "yes".
965 * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Define as "yes".
967 2005-05-17 Julian Brown <julian@codesourcery.com>
969 * ldlang.c (print_assignment): Do not rely upon a valid result
970 having a section associated with it.
972 2005-05-17 Nick Clifton <nickc@redhat.com>
974 * ldlang.c (Scan_for_self_assignment): Check an assignment tree to
975 see if the same value is being used on the rhs as on the lhs.
976 (print_assignment): Call scan_for_self_assignment and if it
977 returns true, do no display the result of the computation but
978 instead just the final value of the symbol on the lhs.
979 * ld.texinfo: Document this behaviour and provide an example of
982 2005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
984 * Makefile.am (AM_MAKEINFOFLAGS): Define.
986 (ldver.texi): Depend on distributed files instead of built files.
987 (ld.info): Include $(srcdir) in the rule target. Remove actions.
988 (ld.dvi): Remove actions.
989 (MAINTAINERCLEANFILES): Add configdoc.texi.
990 (CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in.
991 (install-data-local): Renamed from install.
992 (Makefile): Remove explicit dependency.
993 * acinclude.m4: Remove obsolete code.
994 * configure.in: Update AC_PREREQ. Remove extra $CONFIG_SHELL.
995 * Makefile.in, aclocal.m4, config.in, configure: Regenerated.
997 2005-05-11 Bob Wilson <bob.wilson@acm.org>
999 * scripttempl/elfxtensa.sc: Sync up with elf.sc.
1000 * emulparams/elf32xtensa.sh (PLT, GOT): Define.
1002 2005-05-11 Alan Modra <amodra@bigpond.net.au>
1004 * ldgram.y: Add SPECIAL token.
1005 (sect_constraint): Handle SPECIAL.
1006 * ldlang.c (lang_output_section_find_1): Don't match SPECIAL.
1007 (map_input_to_output_sections): Likewise.
1008 * ldlex.l (SPECIAL): Define.
1009 * emulparams/elf32ppc.sh (DATA_GOT, SDATA_GOT, SEPARATE_GOTPLT,
1010 GOT, PLT, GOTPLT): Define.
1011 * emultempl/ppc32elf.em (old_plt, old_got): New static vars.
1012 (ppc_after_open): New function.
1013 (PARSE_AND_LIST_PROLOGUE): Define OPTION_OLD_LPT and OPTION_OLD_GOT.
1014 (PARSE_AND_LIST_LONGOPTS): Add "bss-plt" and "sdata-got".
1015 (PARSE_AND_LIST_OPTIONS): Document them.
1016 (PARSE_AND_LIST_ARGS_CASES): Handle them.
1017 (LDEMUL_AFTER_OPEN): Define.
1018 * scripttempl/elf.sc (PLT): Don't override existing define.
1019 (DATA_GOT, SDATA_GOT): Define and use to enable alternate got
1020 placement rather than using NO_SMALL_DATA. Emit GOTPLT for RELRO_NOW.
1022 2005-05-10 Alan Modra <amodra@bigpond.net.au>
1024 * scripttempl/elf.sc (DATA_SEGMENT_RELRO_GOTPLT_END): Delete.
1025 (DATA_SEGMENT_RELRO_END): Use SEPARATE_GOTPLT value.
1026 (GOTPLT): Remove DATA_SEGMENT_RELRO_GOTPLT_END. Place after
1027 DATA_SEGMENT_RELRO_END in script.
1029 2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
1031 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
1032 Don't use a removed section.
1034 2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
1036 * ldmain.c (reloc_overflow): Use output_bfd if the symbol
1037 is defined in the ABS section.
1039 2005-05-06 H.J. Lu <hongjiu.lu@intel.com>
1041 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
1042 Put back !link_info.relocatable.
1044 2005-05-06 H.J. Lu <hongjiu.lu@intel.com>
1047 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
1048 Just check link_info.executable.
1050 2005-05-06 Nick Clifton <nickc@redhat.com>
1052 * Update the address and phone number of the FSF organization in
1053 the GPL notices in the following files:
1054 aclocal.m4, deffile.h, deffilep.y, fdl.texi, ld.h, ldcref.c,
1055 ldctor.c, ldctor.h, ldemul.c, ldexp.c, ldexp.h, ldfile.c,
1056 ldfile.h, 20ldgram.y, ldint.texinfo, ldlang.c, ldlang.h, ldlex.h,
1057 ldlex.l, ldmain.c, ldmain.h, ldmisc.c, ldmisc.h, ldver.c, ldver.h,
1058 ldwrite.c, ldwrite.h, lexsup.c, mri.c, mri.h, pe-dll.c, pe-dll.h,
1059 sysdep.h, emultempl/aix.em, emultempl/alphaelf.em,
1060 emultempl/armcoff.em, emultempl/armelf.em, emultempl/beos.em,
1061 emultempl/crxelf.em, emultempl/elf32.em, emultempl/generic.em,
1062 emultempl/gld960.em, emultempl/gld960c.em, emultempl/hppaelf.em,
1063 emultempl/ia64elf.em, emultempl/irix.em, emultempl/linux.em,
1064 emultempl/lnk960.em, emultempl/m68hc1xelf.em,
1065 emultempl/m68kcoff.em, emultempl/m68kelf.em,
1066 emultempl/mipsecoff.em, emultempl/mmix-elfnmmo.em,
1067 emultempl/mmixelf.em, emultempl/mmo.em, emultempl/needrelax.em,
1068 emultempl/pe.em, emultempl/ppc32elf.em, emultempl/ppc64elf.em,
1069 emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em,
1070 emultempl/vanilla.em, emultempl/xtensaelf.em
1072 2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
1074 * scripttempl/elf.sc: Document the usage of __bss_start.
1076 2005-05-05 Paul Brook <paul@codesourcery.com>
1078 * Makefile.am: Add eelf_i386_vxworks.
1079 * Makefile.in: Regenerate.
1080 * configure.tgt: Make i?86-*-vxworks use targ_emul=elf_i386_vxworks.
1081 * emulparams/elf_i386_vxworks.sh: New file.
1082 * emulparams/vxworks.sh: New file.
1083 * scripttempl/elf.sc: Add DATA_END_SYMBOLS and ETEXT_NAME.
1085 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
1087 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
1088 Call _bfd_elf_provide_section_bound_symbols.
1090 2005-05-04 Alan Modra <amodra@bigpond.net.au>
1092 * ldemul.c: Include bfdlink.h.
1093 (ldemul_before_allocation): Assume before_allocation is non-zero.
1094 (before_allocation_default): Call strip_excluded_output_sections.
1095 * ldlang.c (stripped_excluded_sections): New variable.
1096 (lang_add_section): Build input section list for each output
1097 section, attached via map_head and map_tail pointers.
1098 (strip_excluded_output_sections): Make global. Traverse the
1099 input section lists to find which output sections can go. Clear
1100 link_order pointers and set stripped_excluded_sections.
1101 (lang_process): Call strip_excluded_output_sections.
1102 * ldlang.h (strip_excluded_output_sections): Declare.
1103 * ldwrite.c: Update throuhout for link_order_head -> map_head change.
1104 * emultempl/aix.em (before_allocation): Call
1105 strip_excluded_output_sections.
1106 * emultempl/armcoff.em (before_allocation): Likewise.
1107 * emultempl/beos.em (before_allocation): Likewise.
1108 * emultempl/linux.em (before_allocation): Likewise.
1109 * emultempl/pe.em (before_allocation): Likewise.
1110 * emultempl/sunos.em (before_allocation): Likewise.
1111 * emultempl/elf32.em (before_allocation): Likewise. Call
1112 bfd_elf_size_dynsym_hash_dynstr too.
1113 * emultempl/lnk960.em (lnk960_before_allocation): Delete.
1114 (ld_lnk960): Use before_allocation_default.
1116 2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
1118 * emultempl/elf32.em (gld${EMULATION_NAME}_strip_empty_section):
1119 Updated for bfd_section_list_remove change.
1120 * ldlang.c (lang_insert_orphan): Likewise.
1121 (strip_excluded_output_sections): Likewise.
1122 (sort_sections_by_lma): New.
1123 (lang_check_section_addresses): Sort the sections before
1126 2005-04-29 Ralf Corsepius <ralf.corsepius@rtems.org>
1128 * configure.tgt: Add h8300*-*-rtemscoff.
1129 Switch h8300*-*-rtems* to elf.
1131 2005-04-29 Ben Elliston <bje@au.ibm.com>
1133 * ldgram.y (lang_memory_region_type): Make static.
1134 (ldgram_want_filename): Likewise.
1135 * ldemul.c (ld_emulation): Make static.
1136 * ldfile.h (ldfile_find_command_file): Remove extern.
1137 * ldfile.c (ldfile_find_command_file): Make static.
1138 * ldlang.h (unique_section_list): Remove extern declaration.
1139 * ldlang.c (unique_section_list): Make static.
1140 * mri.h (symbol_truncate): Remove extern declaration.
1141 * mri.c (symbol_truncate): Make static.
1142 (order, only_load, address, alias): Likewise.
1143 (alignment, subalignment): Likewise.
1145 2005-04-27 H.J. Lu <hongjiu.lu@intel.com>
1147 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
1148 Use the first SEC_ALLOC section which isn't SEC_READONLY or the
1149 last SEC_ALLOC section if such a section doesn't exist.
1151 2005-04-24 Mark Kettenis <kettenis@gnu.org>
1153 * configure.host: Add *-*-openbsd support.
1155 2005-04-15 Julian Brown <julian@codesourcery.com>
1157 * ld.texinfo: Document --use-blx.
1158 * emultempl/armelf.em (use_blx): New variable.
1159 (arm_elf_create_output_section_statements): Communicate value of
1161 (PARSE_AND_LIST_PROLOGUE): Add OPTION_USE_BLX.
1162 (PARSE_AND_LIST_OPTIONS): Add --use-blx option.
1163 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_USE_BLX case.
1165 2005-04-14 Alan Modra <amodra@bigpond.net.au>
1167 * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
1168 * configure.in: Include ../bfd/warning.m4 contents.
1169 * Makefile.in: Regenerate.
1170 * configure: Regenerate.
1172 2005-04-12 Alan Modra <amodra@bigpond.net.au>
1174 * Makefile.am: Run "make dep-am".
1175 (ldgram.o, ldlex.o, deffilep.o): Add -Wno-error to command.
1176 * Makefile.in: Regenerate.
1177 * config.in: Regenerate.
1179 2005-04-11 Alan Modra <amodra@bigpond.net.au>
1181 * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Ignore
1182 as_needed libs that were not needed.
1183 (gld${EMULATION_NAME}_check_needed): Likewise.
1185 2005-04-07 Nick Clifton <nickc@redhat.com>
1187 * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h so that
1188 ldfile.h can use the lang_input_statement type.
1190 2005-04-06 Jakub Jelinek <jakub@redhat.com>
1192 * ldlang.c: Formatting.
1193 (walk_wild_consider_section): Remember return value from wildcardp.
1194 (is_simple_wild): Use strcspn instead of 2 strpbrk calls and strlen.
1195 (wild_spec_can_overlap): Use strcspn instead of strpbrk and strlen.
1197 2005-04-06 Robert O'Callahan <rocallahan@novell.com>
1199 * ld.h (lean_section_userdata_type): Remove.
1200 (fat_section_userdata_type): Remove file field.
1201 (SECTION_USERDATA_SIZE): Remove.
1202 * ldlang.c (init_os): Eliminate initialization of unused
1203 lean_section_userdata_type.
1205 * ldlang.h (callback_t, walk_wild_section_handler_t): New
1207 (struct lang_wild_statement_struct): Add walk_wild_section_handler
1208 and handler_data fields.
1209 * ldlang.c (callback_t): Removed.
1210 (walk_wild_consider_section, walk_wild_section_general,
1211 section_iterator_callback, find_section, is_simple_wild,
1212 match_simple_wild, walk_wild_section_specs1_wild0,
1213 walk_wild_section_specs1_wild1, walk_wild_section_specs2_wild1,
1214 walk_wild_section_specs3_wild2, walk_wild_section_specs4_wild2,
1215 wild_spec_can_overlap, analyze_walk_wild_section_handler): New
1217 (lang_add_wild): Call analyze_walk_wild_section_handler.
1218 (walk_wild_section): Renamed to walk_wild_section_general and
1219 created a wrapper function.
1220 (section_iterator_callback_data): New typedef.
1222 2005-04-04 Nick Clifton <nickc@redhat.com>
1224 * configure.in: Add a check for <unistd.h> providing a prototype
1225 for getopt() which is compatible with the one in
1226 include/getopt.h. If so then define HAVE_DECL_GETOPT.
1227 * configure: Regenerate.
1228 * config.in (HAVE_DECL_GETOPT): Add.
1229 * ldemul.c: Include config.h
1230 * lexsup.c: Likewise.
1231 * emultempl/elf32.sc: Likewise.
1233 2005-03-29 Alan Modra <amodra@bigpond.net.au>
1235 * emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again):
1236 New function, extracted from static void gld${EMULATION_NAME}_finish.
1237 (gld${EMULATION_NAME}_strip_empty_sections): Likewise.
1238 (gld${EMULATION_NAME}_provide_init_fini_syms): Likewise.
1239 * emultempl/ppc64elf.em: Revert last change.
1240 (ppc_layout_sections_again): Use
1241 gld${EMULATION_NAME}_layout_sections_again.
1242 (ppc_finish): Don't call gld${EMULATION_NAME}_finish. Instead call
1243 gld${EMULATION_NAME}_strip_empty_sections and
1244 gld${EMULATION_NAME}_provide_init_fini_syms.
1245 * emultempl/hppaelf.em: Similarly.
1247 2005-03-29 Alan Modra <amodra@bigpond.net.au>
1249 * emultempl/ppc64elf.em (need_laying_out): Delete. Remove all refs.
1250 (ppc_finish): Don't call bfd_elf_discard_info.
1251 * emultempl/hppaelf.em: Similarly.
1253 2005-03-24 Nick Clifton <nickc@redhat.com>
1255 * po/fr.po: Updated French translation.
1257 2005-03-23 Mike Frysinger <vapier@gentoo.org>
1258 Nick Clifton <nickc@redhat.com>
1260 * configure.host: Accept any C library to accompany a GNU Linux
1261 implementation, not just the GNU C library.
1262 * configure.tgt: Likewise.
1263 * emultempl/elf32.em: Likewise.
1265 2005-03-22 H.J. Lu <hongjiu.lu@intel.com>
1267 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New
1268 (gld${EMULATION_NAME}_finish): Call
1269 gld${EMULATION_NAME}_provide_bound_symbols to provide
1270 __preinit_array_start, __preinit_array_end, __init_array_start,
1271 __init_array_end, __fini_array_start and __fini_array_end.
1273 * scripttempl/elf.sc: Don't provide __preinit_array_start,
1274 __preinit_array_end, __init_array_start, __init_array_end,
1275 __fini_array_start nor __fini_array_end.
1277 2005-03-23 Alan Modra <amodra@bigpond.net.au>
1279 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set
1280 SEC_EXCLUDE on .gnu.warning sections.
1282 2005-03-22 Alan Modra <amodra@bigpond.net.au>
1284 * scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms.
1286 2005-03-21 Alan Modra <amodra@bigpond.net.au>
1288 * emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New
1290 (LDEMUL_AFTER_ALLOCATION): Define.
1292 2005-03-21 Alan Modra <amodra@bigpond.net.au>
1294 * emultempl/ppc64elf.em (ppc_finish): Rename from
1295 gld${EMULATION_NAME}_finish. Call gld${EMULATION_NAME}_finish.
1296 (LDEMUL_FINISH): Update.
1297 * emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise.
1298 * emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise.
1300 2005-03-18 Julian Brown <julian@codesourcery.com>
1302 * scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array,
1304 (.rela.dyn): Add .rela.init_array, .rela.fini_array.
1305 (SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs.
1307 2005-03-18 H.J. Lu <hongjiu.lu@intel.com>
1309 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set
1310 bfd_section when removing unused empty output sections for
1311 non-relocatable link.
1313 2005-03-19 Alan Modra <amodra@bigpond.net.au>
1315 * ldlang.c (lang_insert_orphan): Use old section_tail rather than
1316 traversing the bfd section list to find pointer to new section.
1318 2005-03-18 Alan Modra <amodra@bigpond.net.au>
1320 * scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2
1321 input sections into .sdata and .sbss output respectively.
1323 2005-03-16 David Heine <dlheine@tensilica.com>
1324 Bob Wilson <bob.wilson@acm.org>
1326 * ldlang.c (IGNORE_SECTION): Remove check for zero size.
1327 (lang_check_section_addresses): Ignore zero size sections here.
1329 2005-03-16 H.J. Lu <hongjiu.lu@intel.com>
1331 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove
1332 unused empty output sections for non-relocatable link.
1334 * ld.h (args_type): Remove gc_sections.
1336 * ldlang.c (lang_mark_used_section): New.
1337 (lang_gc_sections): Use link_info.gc_sections instead of
1338 command_line.gc_sections.
1339 * ldmain.c (main): Likewise.
1340 * lexsup.c (parse_args): Likewise.
1341 * ldlang.c (lang_process): Call lang_mark_used_section.
1343 * ldmain.c (main): Initialize link_info.gc_sections to FALSE.
1345 2005-03-16 Nick Clifton <nickc@redhat.com>
1346 Ben Elliston <bje@au.ibm.com>
1348 * configure.in (werror): New switch: Add -Werror to the
1349 compiler command line. Enabled by default. Disable via
1351 * configure: Regenerate.
1353 2005-03-16 Alan Modra <amodra@bigpond.net.au>
1355 * emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete.
1356 (OTHER_RELRO_SECTIONS): Set this instead.
1358 2005-03-15 Nick Clifton <nickc@redhat.com>
1360 * NEWS: Add cutoff for changes in 2.16 release.
1362 2005-03-15 Mikkel Krautz <krautz@gmail.com>
1364 * configure.tgt (x86_64-elf): Add target.
1366 2005-03-15 Alan Modra <amodra@bigpond.net.au>
1368 * po/es.po: Commit new Spanish translation.
1370 2005-03-14 Alan Modra <amodra@bigpond.net.au>
1372 * ldexp.c (exp_fold_tree): Ensure return value is initialized.
1373 Tidy etree_assert case.
1375 2005-03-14 Alan Modra <amodra@bigpond.net.au>
1377 * po/tr.po: Commit new Turkish translation.
1379 2005-03-11 Daniel Jacobowitz <dan@codesourcery.com>
1381 * Makefile.am: Remove references to em68klynx.o and esparclynx.o.
1382 * Makefile.in: Regenerated.
1383 * emulparams/m68klynx.sh, emulparams/sparclynx.sh: Remove.
1385 2005-03-07 Nick Clifton <nickc@redhat.com>
1387 * po/fr.po: Updated translation.
1389 2005-03-05 Alan Modra <amodra@bigpond.net.au>
1391 * po/ld.pot: Regenerate.
1393 2005-03-02 Jan Beulich <jbeulich@novell.com>
1395 * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink.
1396 * pe-dll.c (pe_dll_generate_implib): Likewise.
1398 2005-02-24 Ben Elliston <bje@au.ibm.com>
1400 * ldfile.c: Remove GNU960 conditional code.
1401 * emultempl/gld960.em: Likewise.
1402 * emultempl/gld960c.em: Likewise.
1403 * emultempl/lnk960.em: Likewise.
1405 2005-02-24 Nick Clifton <nickc@redhat.com>
1407 * emultempl/lnk960.em (lnk960_before_parse): Remove redundant
1408 empty string from calls to concat.
1410 2005-02-23 Nick Clifton <nickc@redhat.com>
1412 * emultempl/lnk960.em (lnk960_before_parse): Terminate list of
1413 arguments passed to concat() with a NULL.
1415 * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h because they
1416 define types needed by ldfile.h
1418 2005-02-23 Alan Modra <amodra@bigpond.net.au>
1420 * pe-dll.c: Warning fixes.
1421 * emultempl/sunos.em: Likewise.
1423 2005-02-22 Daniel Jacobowitz <dan@codesourcery.com>
1425 * ldlang.c (section_already_linked): Don't call
1426 bfd_section_already_linked for dynamic objects.
1428 2005-02-22 Alan Modra <amodra@bigpond.net.au>
1430 * ldexp.c: Warning fixes.
1431 * ldwrite.c: Likewise.
1432 * emultempl/elf32.em: Likewise.
1434 2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
1436 * ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI
1438 (lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF
1439 and ECOFF output only.
1441 2005-02-21 Alan Modra <amodra@bigpond.net.au>
1443 * config.in: Regenerate.
1444 * configure: Regenerate.
1446 2005-02-17 Zack Weinberg <zack@codesourcery.com>
1448 * ldexp.c (assigning_to_dot): New global flag.
1449 (fold_name): If assigning_to_dot is true, object immediately to
1450 an undefined symbol.
1451 (exp_fold_tree): Set and clear assigning_to_dot around the
1452 recursive call to exp_fold_tree to process the right-hand side
1453 of an assignment to the location counter.
1455 2005-02-17 Paul Brook <paul@codesourcery.com>
1457 * scripttempl/armbpabi.sc: Add dummy name to version block.
1459 2005-02-17 Alan Modra <amodra@bigpond.net.au>
1461 * ldexp.c (new_abs): Init new.str.
1463 2005-02-15 Mark Mitchell <mark@codesourcery.com>
1465 * configure.in (AC_CHECK_FUNCS): Add glob.
1466 * configure: Regenerated.
1467 * emultempl/elf32.em (<glob.h>): Do not include if HAVE_GLOB is
1469 (gld${EMULATION_NAME}_parse_ld_so_conf_include): Do not use glob
1470 if HAVE_GLOB is not defined.
1472 2005-02-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1474 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define
1475 lib_path if NATIVE is yes.
1477 2005-02-16 Alan Modra <amodra@bigpond.net.au>
1479 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Make
1480 an error creating fake bfd fatal.
1481 (ppc_before_allocation): Continue on after errors.
1482 (gld${EMULATION_NAME}_finish): Likewise.
1484 2005-02-15 Nick Clifton <nickc@redhat.com>
1486 * ldlex.l (YY_NO_UNPUT): Define so that the yy_unput function is
1487 not declared. It is not used and its presence causes a compile
1490 2005-02-11 Zack Weinberg <zack@codesourcery.com>
1492 * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed):
1493 If st.st_ino is zero, do not treat the library as a duplicate.
1495 2005-02-10 Jakub Jelinek <jakub@redhat.com>
1497 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1498 Set BFD_LINKER_CREATED on the stubs bfd.
1499 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
1502 2005-02-08 Mark Mitchell <mark@codesourcery.com>
1504 * scripttempl/armbpabi.sc (VERSION): Make special section symbols
1506 (Image$$ER_RO$$Base): Define whenever RELOCATING.
1507 (Image$$ER_RO$$Limit): Likewise.
1508 (SHT$$INIT_ARRAY$$Base): Likewise.
1509 (SHT$$INIT_ARRAY$$Limit): Likeise.
1511 2005-02-10 Ben Elliston <bje@au.ibm.com>
1513 * emultempl/beos.em: Remove #if 0 and #if 1 blocks.
1515 2005-02-08 Richard Sandiford <rsandifo@redhat.com>
1517 * configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath
1518 to include o32 and n64 emulations.
1519 (mips64*-*-linux-gnu*): Likewise.
1521 2005-02-08 Hans-Peter Nilsson <hp@axis.com>
1523 * ldmain.c (warning_callback, warning_find_reloc): Prepend
1524 "warning: " to warning messages.
1526 2005-02-04 Alan Modra <amodra@bigpond.net.au>
1528 * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't
1529 look up symbol for etree_provide here.
1531 2005-02-02 Daniel Jacobowitz <dan@codesourcery.com>
1533 * emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set.
1535 2005-02-01 Edward Welbourne <eddy@opera.com>
1536 Nick Clifton <nickc@redhat.com>
1538 * ld.texinfo (Source Code Reference): New node describing how to
1539 access linker script defined variables from source code.
1541 2005-02-01 Alan Modra <amodra@bigpond.net.au>
1543 * ld.texinfo: Clarify --as-needed operation.
1545 2005-01-31 Andrew Cagney <cagney@gnu.org>
1547 * configure: Regenerate to track ../gettext.m4.
1549 2005-01-31 Nick Clifton <nickc@redhat.com>
1551 * ldver.c (ldversion): Bump reported copyright date to 2005.
1553 2005-01-31 Nick Clifton <nickc@redhat.com>
1555 * configure.tgt: Remove obsolete targets m68k-lynxos and
1558 2005-01-28 Julian Brown <julian@codesourcery.com>
1560 * emultempl/armelf.em (fix_v4bx): New variable.
1561 (arm_elf_create_output_section_statements): Communicate fix_v4bx flag
1563 (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX.
1564 (PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx.
1565 (PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx.
1566 (PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX.
1567 * NEWS: Mention --fix-v4bx.
1568 * ld.texinfo: Document --fix-v4bx.
1570 2005-01-25 Mark Mitchell <mark@codesourcery.com>
1572 * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so
1573 as to include .ARM.exidx$${Base,Limit}.
1574 * ld/scripttempl/armbpabi.sc: Move .plt to end of text segment.
1575 Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}.
1576 Put .init_array, .fini_array, etc. into the read-only data
1579 2005-01-25 Alan Modra <amodra@bigpond.net.au>
1581 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting.
1582 (gld${EMULATION_NAME}_after_open): Ignore needed libs if they were
1583 only needed by an as-needed lib that didn't get linked.
1585 2005-01-23 Alan Modra <amodra@bigpond.net.au>
1587 * ld.texinfo (Output Section Keywords <CONSTRUCTORS>): Correct
1588 __DTOR_LIST__ description.
1590 2005-01-23 Alan Modra <amodra@bigpond.net.au>
1592 * ld.texinfo (Location Counter <dot outside sections>): Document
1593 effects of orphan section placement, and ". = ." workaround.
1594 * Makefile.in: Regenerate.
1596 2005-01-22 Richard Sandiford <rsandifo@redhat.com>
1598 * emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;".
1599 * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise.
1601 2005-01-21 Jakub Jelinek <jakub@redhat.com>
1603 * ldgram.y (AS_NEEDED): New token.
1604 (input_list): Handle AS_NEEDED ( input_list ).
1605 * ldlex.l (AS_NEEDED): Add.
1606 * ld.texinfo: Document AS_NEEDED ().
1607 * NEWS: Mention AS_NEEDED ().
1609 2005-01-21 Ben Elliston <bje@au.ibm.com>
1611 * ldlang.c (lang_reasonable_defaults): Remove.
1612 (lang_process): Don't call lang_reasonable_defaults.
1614 * ldexp.c (exp_assop): Remove #if 0'd code.
1615 (exp_print_tree): Likewise.
1616 * ldlang.c (lang_memory_region_lookup): Likewise.
1617 (open_output): Likewise.
1618 (lang_do_assignments_1): Likewise.
1619 (lang_place_orphans): Likewise.
1620 (lang_enter_output_section_statement): Likewise.
1621 (lang_reasonable_defaults): Likewise.
1622 * ldlang.h (struct lang_input_statement_struct): Likewise.
1623 * mri.c (mri_draw_tree): Likewise.
1624 (mri_load): Likewise.
1625 * pe-dll.c (generate_reloc): Likewise.
1626 (make_import_fixup_entry): Likewise.
1627 (pe_as16): Likewise.
1628 * emultempl/beos.em (set_pe_subsystem): Likewise.
1629 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
1630 * emultempl/pe.em: Likewise.
1631 * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise.
1633 2005-01-20 Daniel Jacobowitz <dan@codesourcery.com>
1635 * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o.
1636 (earmelfb_linux_eabi.c): New target.
1637 * Makefile.in: Regenerated.
1638 * configure.tgt (arm*b-*-linux-gnueabi): New target.
1639 * emulparams/armelfb_linux_eabi.sh: New file.
1641 2005-01-20 Nick Hudson <skrll@netbsd.org>
1644 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1645 Handle bfd_elf32_hppa_nbsd_vec.
1647 2005-01-19 Richard Sandiford <rsandifo@redhat.com>
1649 * ldmain.h (ld_sysroot): Change type to a constant string.
1650 * ldmain.c (ld_sysroot): Likewise.
1651 (get_relative_sysroot, get_sysroot): New functions, adding command-line
1652 support for changing the sysroot.
1653 (main): Call the new functions.
1654 * lexsup.c (OPTION_SYSROOT): New.
1655 (ld_options): Add --sysroot.
1656 (parse_args): Add a dummy handler for it.
1657 * ld.texinfo (--sysroot): Document.
1658 * NEWS: Mention the new --sysroot option.
1660 2005-01-18 Alan Modra <amodra@bigpond.net.au>
1662 * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call.
1663 (lang_place_orphans): Don't abort on just_syms_flag, instead call
1666 2005-01-16 Danny Smith <dannysmith@users.sourceforge.net>
1668 * defilep.y (def_name, def_library): Combine into...
1669 (def_image_name): New function. Strip name to basename,
1672 2005-01-12 Mark Kettenis <kettenis@gnu.org>
1674 * configure.in: Be sure to invoke config.sub using the shell.
1675 * configure: Regenerate.
1677 2005-01-11 Alan Modra <amodra@bigpond.net.au>
1679 * configure.host: Correct sed patterns for last change.
1681 2005-01-10 Nick Clifton <nickc@redhat.com>
1684 * ldmisc.c (vfinfo): Add an extra argument: is_warning. Use this
1685 to determine whether config.make_executable should be set to FALSE in
1686 conjunction with config.fatal_warnings.
1687 (info_msg, minfo, lfinof): Pass FALSE as the extra argument.
1688 (einfo): Pass TRUE as the extra argument.
1690 2005-01-10 Greg Schaffer <gschafer@zip.com.au>
1692 * configure.host (linux targets): Use "${CC} -dumpspecs" instead
1693 of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0.
1694 (ia64-*-aix): Delete - this target is obsolete, and would be
1695 broken by this patch.
1697 2005-01-06 Eric Botcazou <ebotcazou@libertysurf.fr>
1699 * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
1700 (sparc64-sun-solaris2*): New host.
1702 2005-01-06 Paul Brook <paul@codesourcery.com>
1704 * Makefie.am: Add earmelf_vxworks.
1705 * Makefile.in: Regenerate.
1706 * configure.tgt: Make arm-*-vxworks a separate case.
1707 * emulparams/armelf_vxworks.sh: New function.
1709 2005-01-06 Alan Modra <amodra@bigpond.net.au>
1711 * emultempl/ppc64elf.em (no_multi_toc): New var.
1712 (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists.
1713 (OPTION_NO_MULTI_TOC): Define.
1714 (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support.
1715 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
1717 2005-01-05 Nick Clifton <nickc@redhat.com>
1720 * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding
1721 Standard's specification for parsable error messages.
1723 2005-01-04 Paul Brook <paul@codesourcery.com>
1725 * Makefile.am: Correct dependency for earmsymbian.c.
1726 * Makefile.in: Regenerate.
1728 2004-12-28 Danny Smith <dannysmith@users.sourceforge.net>
1730 * emultempl/pe.em (set_pe_subsystem): Change second arg to
1731 lang_add_entry to FALSE.
1733 2004-12-23 Nick Clifton <nickc@redhat.com>
1736 * emulparams/shelf.sh (.stack): Increase stack start address to
1739 2004-12-20 Nick Clifton <nickc@redhat.com>
1741 * ldmain.c (main): Issue an error message if -static and -shared
1744 2004-12-17 Jakub Jelinek <jakub@redhat.com>
1746 * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
1747 * ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them.
1748 * ldlang.c (lang_size_sections): Use them to avoid wasting virtual
1749 address space at DATA_SEGMENT_ALIGN. Fix computation of expected
1750 PT_GNU_RELRO segment end.
1752 2004-12-14 P.J. Darcy <darcypj@us.ibm.com>
1754 * configure.tgt: Add s390x-ibm-tpf support.
1756 2004-12-16 Martin Kögler <mkoegler@auto.tuwien.ac.at>
1758 * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL
1761 2004-12-07 Ben Elliston <bje@gnu.org>
1763 * ldemul.h: Forward declare struct option.
1765 2004-12-01 Danny Smith <dannysmith@users.sourceforge.net>
1767 * scripttempl/pe.sc (.data): Add .jcr subsection.
1769 2004-11-30 Paul Brook <paul@codesourcery.com>
1771 * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.
1773 2004-11-30 Tero Niemela <tero_niemela@yahoo.com>
1775 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
1776 * Makefile.in: Regenerate.
1778 2004-11-26 Melissa Mears <asterisk@graces.dricas.com>
1780 * emultempl/pe.em: Add --subsystem:xbox as well as
1782 * ld.texinfo: (ld_options): Document acceptance of subsystem xbox
1783 and numeric subsystems.
1785 2004-11-24 Alan Modra <amodra@bigpond.net.au>
1787 * ldexp.c (fold_name): Correct PR 338 fix.
1789 2004-11-19 Mark Mitchell <mark@codesourcery.com>
1791 * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
1792 (earmelf_linux_eabi.c): New target.
1793 * configure.tgt (arm*-*-linux-gnueabi): Handle it.
1794 * emulparams/armelf_linux_eabi.sh: New file.
1795 * Makefile.in: Regenerated.
1797 2004-11-19 Nick Clifton <nickc@redhat.com>
1800 * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and
1801 LENGTH fields in the MEMORY command, to explicitly state that
1802 symbols cannot be used in their expressions.
1804 2004-11-19 Jon Beniston <jon@beniston.com>
1806 * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION.
1807 * ld/ldgram.y: Add ORIGIN and LENGTH expressions.
1808 * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions
1809 which return the length and origin of a memory.
1810 * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions.
1811 * NEWS: Mention support for ORIGIN and LENGTH operators.
1813 2004-11-17 Daniel Jacobowitz <dan@codesourcery.com>
1815 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use
1816 a dynamic object for stubs.
1818 2004-11-04 Paul Brook <paul@codesourcery.com>
1820 * ld.texinfo: Document --default-imported-symver.
1821 * ldmain.c (main): Set link_info.default_imported_symver.
1822 * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER.
1823 (ld_options): Add --default-imported-symver.
1824 (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.
1826 2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
1827 Vineet Sharma <vineets@noida.hcltech.com>
1829 * Makefile.am: Add entries for new maxq-coff target.
1830 * Makefile.in: Regenerate.
1831 * configure.tgt: Add support for maxq.
1832 * emulparams/maxqcoff.sh: New File.
1833 * scripttempl/maxqcoff.sc: New linker script for target maxq.
1834 * NEWS: Mention the new target.
1836 2004-11-04 Daniel Jacobowitz <dan@debian.org>
1838 * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o.
1839 (earmelf_oabi.c): Remove rule.
1840 * configure.tgt: Remove arm-*-oabi and thumb-*-oabi.
1841 * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files.
1842 * Makefile.in: Regenerated.
1844 2004-11-04 Hans-Peter Nilsson <hp@axis.com>
1846 * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout.
1847 * emulparams/criself.sh (INIT_START): Remove emitted "push srp".
1848 (FINI_START): Ditto.
1849 (INIT_END): Remove emitted "jump [sp+]".
1852 2004-11-04 Alan Modra <amodra@bigpond.net.au>
1854 * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt.
1855 (no_opd_opt, no_toc_opt): New static vars.
1856 (ppc_before_allocation): Don't edit opt if no_opd_opt. Call
1858 (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define.
1859 (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize.
1860 (PARSE_AND_LIST_OPTIONS): Describe new options.
1861 (PARSE_AND_LIST_ARGS_CASES): Handle them.
1863 2004-10-27 Nick Clifton <nickc@redhat.com>
1865 * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL,
1866 parameter to invocation of lang_section_start.
1867 * emultempl/aix.em (_handle_option): Likewise.
1869 * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c,
1870 eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em.
1871 * Makefile.in: Regenerate.
1873 2004-10-26 Mark Mitchell <mark@codesourcery.com>
1875 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
1876 __exidx_{start,end} when not relocating.
1878 2004-10-25 Mark Mitchell <mark@codesourcery.com>
1880 * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
1881 * ldexp.h (segment_type): New type.
1882 (segments): New variable.
1883 * ldexp.c (segments): New variable.
1884 (exp_print_token): Handle SEGMENT_START.
1885 (fold_binary): Likewise.
1886 * ldgram.y (SEGMENT_START): Declare it as a token.
1887 (exp): Handle SEGMENT_START.
1888 * ldlang.h (lang_address_statement_type): Add segment field.
1889 (lang_section_start): Change prototype.
1890 * ldlang.c (map_input_to_output_sections): Do not process section
1891 assignments if a corresponding SEGMENT_START has already been
1893 (lang_section_start): Add segment parameter.
1894 * ldlex.l (SEGMENT_START): Add it.
1895 * lexsup.c (seg_segment_start): New function.
1896 (parse_args): Use it for -Tbss, -Tdata, and -Ttext.
1897 * ld.texinfo (SEGMENT_START): Document it.
1898 * emulparams/armsymbian.sh (EMBEDDED): Set it.
1899 * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment
1900 base addresses. Do not map relocations.
1901 * NEWS: Mention SEGMENT_START.
1903 2004-10-26 Paul Brook <paul@codesourcery.com>
1905 * ld.texinfo: Document --default-symver.
1906 * ldmain.c (main): Set link_info.create_default_symver.
1907 * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER.
1908 (ld_options): Add default-symver.
1909 (parse_args): Handle OPTION_DEFAULT_SYMVER.
1911 2004-10-24 Danny Smith <dannysmith@users.sourceforge.net>
1913 * pe-dll.c (process_def_file): Don't export all symbols by default if
1914 building a position-independent executable.
1916 2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
1919 * ldmain.c (reloc_overflow): Accept a pointer to struct
1920 bfd_link_hash_entry. Report symbol location for relocation
1923 2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
1925 * genscripts.sh (libpath.exp): Really generate for first
1928 2004-10-19 Danny Smith <dannysmith@users.sourceforge.net>
1930 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify
1931 comparison and replacement of filenames.
1933 2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
1936 * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic
1937 option on linker script as the one for linker script.
1939 2004-10-16 Daniel Jacobowitz <dan@debian.org>
1941 * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
1942 (check_excluded_libs): New.
1943 (load_symbols): Call check_excluded_libs.
1944 * ldlang.h (add_excluded_libs): New prototype.
1945 * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
1946 (gld${EMULATION_NAME}_add_options): Add --exclude-libs.
1947 (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
1948 * ld.texinfo (Command Line Variables): Document --exclude-libs.
1949 (Options Specific to i386 PE Targets): Remove --exclude-libs.
1951 2004-10-15 Alan Modra <amodra@bigpond.net.au>
1953 * ldexp.c (exp_fold_tree): Don't immediately exit ld on a
1954 failing link script assert.
1956 * ldctor.c (ldctor_add_set_entry): Fix comment typo.
1958 2004-10-14 H.J. Lu <hongjiu.lu@intel.com>
1961 * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set.
1962 (SMALL_DATA_DTOR): Set.
1963 * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset.
1964 (SMALL_DATA_DTOR): Unset.
1965 * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors
1966 after .data. If SMALL_DATA_DTOR is set, move .dtors after
1969 2004-10-14 Alan Modra <amodra@bigpond.net.au>
1972 * ldlang.h (lang_output_section_statement_type): Make "next" a
1973 struct lang_output_section_statement_struct *.
1974 (struct orphan_save): Move from elf32.em. Add "name" and "flags".
1975 (lang_output_section_find_by_flags, lang_insert_orphan): Declare.
1976 * ldlang.c (lang_output_section_find_1): Adjust for changed
1977 output_section_statement "next".
1978 (strip_excluded_output_sections): Likewise.
1979 (lang_record_phdrs): Likewise.
1980 (lang_output_section_find_by_flags): New function.
1981 (output_prev_sec_find): Move from pe.em. Adjust iterator.
1982 (lang_insert_orphan): New function. Tail end of elf32.em's
1983 place_orphan merged with that from pe.em. Allow bfd_section to
1984 be placed first. New heuristic for placing new output section
1985 statement in existing script, and accompanying split of __start
1986 symbol alignment into a separate assignment to dot.
1987 (lang_add_section): Consistently use output->bfd_section rather than
1988 an alias, section->output_section.
1989 (map_input_to_output_sections): Rename overly long arg. Move
1990 initialization of data_statement output section to here..
1991 (lang_check_section_addresses): ..from here.
1992 (print_assignment): Correct printing of etree_assert.
1993 (print_all_symbols): Don't bomb if userdata is NULL.
1994 (IGNORE_SECTION): Rearrange.
1995 * emultempl/elf32.em (output_rel_find): Adjust interator.
1996 (output_prev_sec_find): Delete.
1997 (struct orphan_save): Delete.
1998 (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section
1999 flags without creating a duplicate output section statement.
2000 Revise code holding history of various orphan section placements.
2001 Allow orphan sections to place before script specified output
2002 sections. Call lang_output_section_find_by_flags when placement
2003 by name fails. Use lang_insert_orphan.
2004 * emultempl/mmo.em (output_prev_sec_find): Delete.
2005 (struct orphan_save): Delete.
2006 (mmo_place_orphan): Revise code holding history of orphan placement.
2007 Allow orphans to place before existing output sections. Use
2009 * emultempl/pe.em (output_prev_sec_find): Delete.
2010 (struct orphan_save): Delete.
2011 (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of
2014 2004-10-13 Mark Mitchell <mark@codesourcery.com>
2016 * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a
2019 2004-10-13 Alan Modra <amodra@bigpond.net.au>
2022 * ldcref.c (check_section_sym_xref): Delete.
2023 (check_local_sym_xref): New function.
2024 (check_nocrossrefs): Adjust call.
2025 * emultempl/pe.em (struct orphan_save): Add os_tail.
2026 (place_orphan): Backport assorted fixes from elf32.em.
2028 2004-10-12 Bob Wilson <bob.wilson@acm.org>
2030 * emultempl/xtensaelf.em: Use ISO C90 formatting.
2032 2004-10-11 Jakub Jelinek <jakub@redhat.com>
2034 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid
2035 getline for portability.
2037 * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure.
2038 (gld${EMULATION_NAME}_parse_ld_so_conf,
2039 gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions.
2040 (gld${EMULATION_NAME}_check_ld_so_conf): Use them.
2042 2004-10-11 Alan Modra <amodra@bigpond.net.au>
2045 * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are
2046 rejected when linking statically.
2048 2004-10-08 Daniel Jacobowitz <dan@debian.org>
2050 * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*.
2052 2004-10-07 Bob Wilson <bob.wilson@acm.org>
2054 * ld.texinfo (Xtensa): Describe new linker relaxation to optimize
2055 assembler-generated longcall sequences. Describe new --size-opt
2057 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section.
2058 * emultempl/xtensaelf.em (remove_section,
2059 replace_insn_sec_with_prop_sec, replace_instruction_table_sections,
2060 elf_xtensa_after_open): New.
2061 (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT,
2062 OPTION_NO_LITERAL_MOVEMENT): Define.
2063 (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals.
2064 (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement.
2065 (PARSE_AND_LIST_OPTIONS): Add --size-opt.
2066 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT,
2067 OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT.
2068 (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open.
2069 * scripttempl/elfxtensa.sc: Update with changes from elf.sc.
2070 * Makefile.am (eelf32xtensa.c): Update dependencies.
2071 * Makefile.in: Regenerate.
2073 2004-10-07 Jeff Baker <jbaker@qnx.com>
2075 * lexsup.c: Handle --warn-shared-textrel option.
2076 (ld_options): Restore alpha sorting of options.
2077 * ldmain.c (main): Initialise warn_shared_info field to FALSE.
2078 * ld.texinfo: Add documentation for --warn-shared-textrel.
2079 * NEWS: Added mention of --warn-shared-textrel option.
2081 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
2083 * emultempl/crxelf.em (disable_relaxation): Add.
2084 (crxelf_before_allocation): Enable --relax option by default.
2085 (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX.
2086 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax.
2087 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX.
2089 2004-10-04 H.J. Lu <hongjiu.lu@intel.com>
2091 * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and
2092 --sort-section name|alignment.
2094 * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and
2095 --sort-section name|alignment.
2097 * ld.h (sort_type): New enum.
2098 (wildcard_spec): Change the type of `sorted' to sort_type.
2100 * ldgram.y (SORT): Removed.
2101 (SORT_BY_NAME): Added.
2102 (SORT_BY_ALIGNMENT): Added.
2103 (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and
2105 (input_section_spec_no_keep): Updated `sorted'.
2106 (statement): Replace SORT with SORT_BY_NAME.
2108 * ldlang.c (compare_section): New function to compare 2
2109 sections with different sorting schemes.
2110 (wild_sort): Updated. Use compare_section.
2111 (update_wild_statements): New function.
2112 (lang_process): Call update_wild_statements before
2113 map_input_to_output_sections.
2115 * ldlex.l (SORT_BY_NAME): New.
2116 (SORT_BY_ALIGNMENT): New.
2117 (SORT): Return SORT_BY_NAME.
2119 * ldmain.c (sort_section): New. Defined.
2120 (main): Initialize it to none.
2122 * lexsup.c (option_values): Add OPTION_SORT_SECTION.
2123 (ld_options): Add an entry for OPTION_SORT_SECTION.
2124 (parse_args): Handle OPTION_SORT_SECTION.
2126 * mri.c (mri_draw_tree): Updated `sorted'.
2128 2004-10-04 Jakub Jelinek <jakub@redhat.com>
2130 * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument.
2131 * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first
2133 (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first
2134 and . as second argument.
2135 (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section.
2136 * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here.
2137 (fold_binary): Add it here. Insert padding to make relro_end
2138 COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in
2139 exp_dataseg_relro_adjust phase just use previously computed
2141 * ldlang.c (lang_size_sections): Set exp_data_seg.base for
2142 relro_adjust here. Call lang_size_sections_1 once more if there
2143 was too big padding at DATA_SEGMENT_RELRO_END.
2144 * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation.
2146 2004-10-01 Paul Brook <paul@codesourcery.com>
2148 * emulparams/armelf.sh: Add unwinding table sections.
2150 2004-09-30 Filip Navara <navaraf@reactos.com>
2152 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate
2153 correct base address for position independant executables.
2154 * pe-dll.c (pe_dll_fill_sections): Don't mark position independant
2155 executables as DLLs.
2157 2004-09-30 Paul Brook <paul@codesourcery.com>
2159 * ld.texinfo: Document --target2=abs.
2160 * emulparms/armsymbian.sh (TARGET2_TYPE): Set.
2162 2004-09-29 Nick Clifton <nickc@redhat.com>
2164 * scripttempl/xstormy16.sc: Only perform the assignments to the
2165 ROM region when not performing a relocatable link. The ROM region
2166 does not start at address 0, but the sections will.
2167 * Makefile.am: Fix linker script dependency for the generation of
2169 * Makefile.in: Regenerate.
2171 2004-09-18 Filip Navara <navaraf@reactos.com>
2173 * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh,
2174 emulparams/i386pe_posix.sh, emulparams/mcorepe.sh,
2175 emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define
2177 * scripttempl/pe.sc: Make the virtual address and file offset synced if
2178 the alignment is lower than the target page size.
2180 2004-09-27 Filip Navara <navaraf@reactos.com>
2182 * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow
2183 def_file_parse to handle pe_def_file if NULL and prevent crash with
2186 2004-09-27 Alan Modra <amodra@bigpond.net.au>
2188 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
2189 --emit-stub-syms automatically when --emit-relocs.
2191 2004-09-24 Paul Brook <paul@codeosurcery.com>
2193 * scripttempl/elf.sc: Keep .preinit_array, .init_array and
2194 .fini_array sections.
2196 2004-09-19 Andreas Schwab <schwab@suse.de>
2198 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment
2199 base so that relro end is suitably aligned.
2201 2004-09-17 Paul Brook <paul@codesourcery.com>
2203 * ld.texinfo: Rename arm-specific section. Document --target*
2204 * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
2205 * emulparams/armelf_linux.sh: Ditto.
2206 * emulparams/armelf_nbsd.sh: Ditto.
2207 * emultempl/armelf.em: Set default for TARGET2_TYPE.
2208 (target2_type): New variable.
2209 (arm_elf_before_allocation): Don't pass target1_type.
2210 (arm_elf_create_output_section_statements): New function.
2211 (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
2212 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
2213 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
2214 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
2215 * emultempl/armelf_oabi.em (_before_allocation): Remove extra
2216 argument to bfd_elf32_arm_process_before_allocation.
2218 2004-09-17 Alan Modra <amodra@bigpond.net.au>
2220 * ldexp.c (fold_name): Update u.undef.next refs.
2221 * emultempl/pe.em: Likewise.
2222 * emultempl/sunos.em: Likewise.
2224 2004-09-17 Alan Modra <amodra@bigpond.net.au>
2226 * Makefile.am: Run "make dep-am".
2227 * Makefile.in: Regenerate.
2228 * config.in: Regenerate.
2229 * configure: Regenerate.
2230 * aclocal.m4: Regenerate.
2231 * po/ld.pot: Regenerate.
2233 2004-09-16 Tomer Levi <Tomer.Levi@nsc.com>
2235 * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*.
2239 2004-09-16 Alan Modra <amodra@bigpond.net.au>
2241 * emultempl/armelf_oabi.em (before_allocation): Add extra zero param
2242 to bfd_elf32_arm_process_before_allocation call.
2244 2004-09-13 Paul Brook <paul@codesourcery.com>
2246 * emulparams/armsymbian.sh: Set TARGET1_IS_REL.
2247 * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}.
2249 2004-09-07 H.J. Lu <hongjiu.lu@intel.com>
2251 * configure: Regenerated with autconfig 2.13.
2253 2004-09-07 Andreas Schwab <schwab@suse.de>
2255 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
2256 alignment before adjusting DATA_SEGMENT_RELRO_END.
2258 2004-09-06 Mark Mitchell <mark@codesourcery.com>
2260 * emulparams/armsymbian.sh: Use armbpabi script.
2261 * scripttempl/armbpabi.sc: New script.
2263 2004-09-02 Mark Mitchell <mark@codesourcery.com>
2265 * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
2266 (earmsymbian.c): New target.
2267 * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
2268 * Makefile.in: Regenerated.
2269 * aclocal.m4: Likewise.
2270 * configure: Likewise.
2271 * emulparams/armsymbian.sh: New file.
2273 2004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
2275 * scripttempl/elf32crx.sc: Edit file with comments.
2276 (.init): Add new section.
2278 (.ctor): Control the linkage order.
2281 2004-08-27 Nick Clifton <nickc@redhat.com>
2283 * emultempl/pe.em (after_open): Do not assume that either bfd is
2286 2004-08-26 Alan Modra <amodra@bigpond.net.au>
2288 * ldlang.c (lang_init): Don't compare with TRUE.
2290 2004-08-25 Dmitry Diky <diwil@spec.ru>
2292 * emulparams/msp430all.sh: Fix RAM sizes for all targets.
2293 * scripttempl/elf32msp430.sc: Add .profiler section definition.
2295 2004-08-24 H.J. Lu <hongjiu.lu@intel.com>
2297 * ldlang.c (wildcardp): Defined as a macro with strpbrk.
2299 2004-08-19 Mark Mitchell <mark@codesourcery.com>
2301 * configure.tgt (arm*-*-symbianelf*): New target.
2302 (arm*-*-eabi*): Likewise.
2304 2004-08-19 Jakub Jelinek <jakub@redhat.com>
2306 * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
2307 (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
2308 (OPTION_NON_OVERLAPPING_OPD): Define.
2309 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
2310 --non-overlapping-opd option.
2312 2004-08-18 Alan Modra <amodra@bigpond.net.au>
2315 * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
2316 was already on the undefs list.
2318 2004-08-17 Alan Modra <amodra@bigpond.net.au>
2320 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
2321 prefix the symbol field too.
2323 2004-08-13 Alan Modra <amodra@bigpond.net.au>
2325 * ldmain.c (link_callbacks): Remove "error_handler".
2326 * ldmisc.c: Include elf-bfd.h.
2327 (vfinfo): Sort comment. Handle %A. Use %A instead of
2328 bfd_get_section_indent.
2329 (error_handler): Delete.
2330 * ldmisc.h (error_handler): Delete declaration.
2332 2004-08-10 Alan Modra <amodra@bigpond.net.au>
2334 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
2335 ppc64_elf_restore_symbols.
2337 2004-08-09 Alan Modra <amodra@bigpond.net.au>
2339 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
2340 .toc is too large on relocatable linking.
2342 2004-08-09 Alan Modra <amodra@bigpond.net.au>
2344 * emultempl/ppc64elf.em (ppc_after_open): Delete.
2345 (LDEMUL_AFTER_OPEN): Don't define.
2347 2004-08-02 Stephane Carrez <stcarrez@nerim.fr>
2349 * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
2351 2004-08-01 Stephane Carrez <stcarrez@nerim.fr>
2353 * scripttempl/elfm68hc12.sc: Align text, rodata and data section
2356 2004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
2358 * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
2360 2004-07-26 Dmitry Diky <diwil@spec.ru>
2362 * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
2363 msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
2365 * configure.tgt: Likewise.
2366 * emulparams/msp430all.sh: Likewise.
2367 * Makefile.in: Regenerate.
2369 2004-07-23 Nick Clifton <nickc@redhat.com>
2371 * emultempl/elf32.em (_place_orphan): Use an already existing
2372 section name if that section does not have any flags set.
2374 2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
2376 * ldlang.c (already_linked_hash_entry): Removed.
2377 (already_linked): Likewise.
2378 (already_linked_table): Likewise.
2379 (section_already_linked): Call bfd_section_already_linked.
2380 (lang_process): Replace already_linked_table_init with
2381 bfd_section_already_linked_table_init and check return. Replace
2382 already_linked_table_free with bfd_section_already_linked_table_free.
2384 2004-07-21 Nick Clifton <nickc@redhat.com>
2386 * ldlang.c (init_os): Make sure that the newly allocated userdata
2387 structure is zeroed out.
2389 2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
2391 * NEWS: Mention the new --add-needed/--no-add-needed and
2392 --as-needed/--no-as-needed options.
2394 2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
2396 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
2397 check the add_needed field.
2398 (dt_needed): New struct.
2399 (gld${EMULATION_NAME}_try_needed): Change the first argument
2400 to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
2401 bit in the file where the DT_NEEDED entry comes from.
2402 (gld${EMULATION_NAME}_search_needed): Change the second
2403 argument to a pointer to struct dt_needed.
2404 (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
2405 (gld${EMULATION_NAME}_after_open): Likewise.
2407 * ld.texinfo: Add --add-needed document.
2408 * ldlang.c (new_afile): Set p->add_needed.
2409 * ldlang.h (lang_input_statement_type): Add add_needed field.
2410 * ldmain.h (add_needed): Declare.
2411 * ldmain.c (add_needed): New global var.
2412 * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
2413 OPTION_NO_ADD_NEEDED.
2414 (ld_options): Likewise.
2415 (parse_args): Handle them.
2417 2004-07-13 Christof Petig <christof@petig-baender.de>
2419 * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
2420 for endian-ness of extracted addend.
2422 2004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net>
2424 * pe-dll.c (auto_export): Filter on just the import prefix,
2425 "_imp_", not "_imp__".
2427 2004-07-09 Nick Clifton <nickc@redhat.com>
2429 * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
2431 2004-07-06 Tomer Levi <Tomer.Levi@nsc.com>
2433 * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
2434 (eelf32crx.c): New target.
2435 * Makefile.in: Regenerate.
2436 * configure.tgt: Handle crx-*-elf*.
2437 * emulparams/elf32crx.sh: New file.
2438 * emultempl/crxelf.em: New file.
2439 * scripttempl/elf32crx.sc: New file.
2440 * NEWS: Mention new target.
2442 2004-07-06 Nick Clifton <nickc@redhat.com>
2444 * Makefile.am: Add eshlsymbian.c.
2445 * Makefile.in: Regenerate.
2446 * configure.tgt: Add sh*-symbian-elf target.
2447 * emulparams/shlsymbian.sh: New file. Configure the
2448 sh-symbian-elf linker scripts.
2449 * scripttemp/elf32sh-symbian.sc: New file. Linker script
2450 template for the sh-symbian-elf target.
2452 2004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2454 * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
2455 * emulparams/hppalinux.sh: Likewise.
2456 * scripttempl/elf.sc: Place .plt just before .got when .plt is in
2457 data segment and PLT_BEFORE_GOT is defined.
2459 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
2461 * ld.texinfo (WIN32): Document PE weak symbols.
2463 2004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2465 * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
2467 2004-07-01 H.J. Lu <hongjiu.lu@intel.com>
2469 * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
2472 2004-06-29 Alan Modra <amodra@bigpond.net.au>
2474 * ldlang.c (lang_reset_memory_regions): Save last relax pass section
2477 2004-06-24 Alan Modra <amodra@bigpond.net.au>
2479 * ldlang.c (print_output_section_statement): Don't print size before
2481 (IGNORE_SECTION): Remove bfd arg. Update all callers.
2483 * ldexp.c (fold_name): .. See below.
2484 * ldlang.c (section_already_linked, print_output_section_statement,
2485 print_input_section, insert_pad, size_input_section,
2486 lang_check_section_addresses, lang_size_sections_1,
2487 lang_size_sections, lang_do_assignments_1, lang_set_startof,
2488 lang_one_common, lang_reset_memory_regions, lang_process,
2489 lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
2490 * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
2491 * pe-dll.c (process_def_file, generate_reloc): ..
2492 * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
2493 gld${EMULATION_NAME}_before_allocation): ..
2494 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
2495 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
2496 sh64_elf_${EMULATION_NAME}_after_allocation): ..
2497 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
2498 * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
2499 ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
2500 "size" instead of "_raw_size" and "_cooked_size". Expand
2501 bfd_section_size macro invocations.
2503 2004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
2505 * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
2506 ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
2507 ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
2509 (.tls): Define ___tls_start__ and ___tls_end__.
2511 2004-06-21 Alexandre Oliva <aoliva@redhat.com>
2513 * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
2515 2004-06-18 Adam Nemet <anemet@lnxw.com>
2517 * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
2518 * configure: Regenerate.
2520 2004-06-15 Jakub Jelinek <jakub@redhat.com>
2522 * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
2523 .gcc_except_table output sections lost accidentally with
2526 2004-06-15 Alan Modra <amodra@bigpond.net.au>
2528 * ldwrite.c (build_link_order): Use bfd_get_section_size
2529 instead of bfd_get_section_size_before_reloc or _raw_size.
2530 * pe-dll.c (process_def_file): Likewise.
2532 2004-06-14 Alan Modra <amodra@bigpond.net.au>
2534 From Richard Wirth <r.wirth@wirthware.de>
2535 * ldlang.c (lang_finish): Don't free lang_definedness_table.
2537 2004-05-29 Alan Modra <amodra@bigpond.net.au>
2539 * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
2540 (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
2542 2004-05-28 Alan Modra <amodra@bigpond.net.au>
2544 * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
2546 * lexsup.c: Formatting. Wrap long lines.
2547 * ldwrite.c: Update copyright date.
2549 * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
2550 (output_section_callback): Nor SEC_KEEP here.
2551 (gc_section_callback): Twiddle SEC_EXCLUDE here.
2552 (lang_gc_wild): Delete. Fold into..
2553 (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage
2555 (lang_process): Always call lang_gc_sections.
2556 (lang_place_orphans): Handle SEC_EXCLUDE sections.
2557 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
2560 2004-05-26 H.J. Lu <hongjiu.lu@intel.com>
2562 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
2563 SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
2564 * ldlang.c (lang_add_section): Likewise.
2566 2004-05-26 Alan Modra <amodra@bigpond.net.au>
2568 * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
2569 sections when doing a final link. Clear SEC_EXCLUDE when doing
2570 a relocable link, except for SEC_DEBUGGING sections.
2571 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
2572 same condition here to drop SEC_EXCLUDE orphan sections.
2574 2004-05-25 Alan Modra <amodra@bigpond.net.au>
2576 * ldlang.c (lang_process): Call bfd_merge_sections later, and
2577 only when not a relocatable link.
2578 (print_input_section): Handle SEC_EXCLUDE sections.
2579 (size_input_section): Don't update dot on SEC_EXCLUDE sections.
2580 (lang_do_assignments_1): Likewise.
2581 * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
2582 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
2583 * emultempl/hppaelf.em (build_section_lists): Likewise.
2584 * emultempl/ppc64elf.em (build_toc_list): Likewise.
2585 (build_section_lists): Likewise.
2587 2004-05-23 Andreas Schwab <schwab@suse.de>
2589 * ld.texinfo (Options): Fix typo in last change.
2591 2004-05-21 Andy Chittenden <achittenden@bluearc.com>
2593 * ld.h (ld_config_type): Add new field: hash_table_size.
2594 * ldmain.c: Initialise the new field to zero. If it is non-zero
2595 after parsing the linker's command line call
2596 bfd_hash_set_default_size.
2597 * lexsup.c (option_values): Add OPTION_HASH_SIZE.
2598 (ld_options): Add hash-size.
2599 (parse_args): Parse --hash-size option. Allow
2600 --reduce-memory-overheads to set the default hash table size as
2602 * ld.texinfo: Document the new switch. Also mention that
2603 --reduce-memory-overheads can affect the hash table size.
2604 * NEWS: Mention the new feature.
2606 2004-05-19 J"orn Rennecke <joern.rennecke@superh.com>
2608 * NEWS: Mention new linker map file generation and the
2609 --reduce-memory-overheads option.
2610 * ld.texinfo: Document --reduce-memory-overheads option.
2611 * ld.h (map_symbol_def): New struct.
2612 (struct user_section_struct, section_userdata_type): Rename to:
2613 (struct lean_user_section_struct, lean_section_userdata_type).
2614 (struct fat_user_section_struct, fat_section_userdata_type): New.
2615 (SECTION_USERDATA_SIZE): Define.
2616 (args_type): New member reduce_memory_overheads.
2617 * ldlang.c (map_obstack): New static variable.
2618 (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
2619 (lang_map): Unless command_line.reduce_memory_overheads is set,
2620 initialize lists of defined symbols for each section.
2621 (print_input_section): Unless command_line.reduce_memory_overheads
2622 is set, use print_all_symbols.
2623 (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
2624 * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
2625 * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
2626 (ld_options): Add entry for --reduce-memory-overheads.
2627 (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
2629 2004-05-19 Jakub Jelinek <jakub@redhat.com>
2631 * ldgram.y (sect_constraint): New.
2632 (ONLY_IF_RO, ONLY_IF_RW): New tokens.
2633 (section): Add sect_constraint. Pass additional argument
2634 to lang_enter_output_section_statement.
2635 * mri.c (mri_draw_tree): Pass additional argument to
2636 lang_enter_output_section_statement.
2637 * emultempl/pe.em (place_orphan): Likewise.
2638 (output_prev_sec_find): Disregard output section statements with
2640 * emultempl/mmo.em (output_prev_sec_find): Likewise.
2641 (mmo_place_orphan): Pass additional argument to
2642 lang_enter_output_section_statement.
2643 * emultempl/elf32.em (output_prev_sec_find): Disregard output section
2644 statements with constraint == -1.
2645 (place_orphan): Pass additional argument to
2646 lang_enter_output_section_statement.
2647 * ldlang.c (lang_enter_overlay_section): Likewise.
2648 (lang_output_section_find_1): New.
2649 (lang_output_section_find): Use it.
2650 (lang_output_section_statement_lookup_1): New.
2651 (lang_output_section_statement_lookup): Use it.
2652 (check_section_callback, check_input_sections): New.
2653 (map_input_to_output_sections): Check if all input sections
2654 are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
2655 (strip_excluded_output_sections): Disregard output section statements
2656 with constraint == -1.
2657 (lang_record_phdrs): Likewise.
2658 (lang_enter_output_section_statement): Add constraint argument.
2659 Use lang_output_section_statement_lookup_1.
2660 * ldlang.h (lang_output_section_statement_type): Add constraint
2661 and all_input_readonly fields.
2662 (lang_enter_output_section_statement): Adjust prototype.
2663 * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
2664 * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
2665 segment if all input sections are readonly.
2667 2004-05-19 Adam Nemet <anemet@lnxw.com>
2669 * scripttempl/i386lynx.sc: Remove file.
2671 2004-05-17 Bob Wilson <bob.wilson@acm.org>
2673 * ld.texinfo (Output Section Address): Correct subsection name.
2675 2004-05-17 Adam Nemet <anemet@lnxw.com>
2677 * configure.tgt (powerpc-*-lynxos* case): New case.
2678 * configure.host (i[3-7]86-*-lynxos* case): Remove case.
2679 * emulparams/ppclynx.sh: New file.
2680 * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
2681 * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
2682 (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
2683 (eppclynx.c): New rule.
2684 * Makefile.in: Regenerate.
2686 2004-05-13 Joel Sherrill <joel@oarcorp.com>
2688 * configure.tgt (or32-*-rtems*): Switch to elf and
2689 support versioned targets.
2691 2004-05-13 Nick Clifton <nickc@redhat.com>
2693 * po/fr.po: Updated French translation.
2695 2004-05-11 Jakub Jelinek <jakub@redhat.com>
2697 * genscripts.sh: Generate -z combreloc -z now -z relro scripts
2698 for binaries, -shared and -pie.
2699 * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
2700 * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
2701 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
2702 (OTHER_RELRO_SECTIONS): ... this.
2703 * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
2704 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
2705 -z relro and -z norelro.
2706 (gld${EMULATION_NAME}_list_options): Add it to usage.
2707 (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
2708 -z relro scripts when appropriate.
2709 * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
2710 Create separate .got.plt section if SEPARATE_GOTPLT.
2711 Move sections which are only written during relocation handling
2712 to the beginning of RW segment. If NO_SMALL_DATA, move .got
2713 before .data. Add DATA_SEGMENT_RELRO_END directive.
2714 Include OTHER_RELRO_SECTIONS.
2715 * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
2716 * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
2717 (fold_unary): Likewise.
2718 (fold_binary): Handle -z relro.
2719 * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
2720 exp_dataseg_relro_adjust phases. Add relro_end field.
2721 * ldmain.c (main): Initialize link_info.relro to FALSE.
2722 * ldlang.c (lang_size_sections): Handle -z relro.
2724 2004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
2726 * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
2728 2004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
2730 * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
2731 before printing it with %W.
2733 2004-05-07 Brian Ford <ford@vss.fsi.com>
2734 DJ Delorie <dj@redhat.com>
2736 * emultempl/pe.em (real_flags): New static.
2737 (OPTION_LARGE_ADDRESS_AWARE): New define.
2738 (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
2739 (gld_${EMULATION_NAME}_list_options): Likewise.
2740 (gld${EMULATION_NAME}_handle_option): Likewise.
2741 (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
2742 * ld.texinfo: Document it.
2745 2004-05-07 Brian Ford <ford@vss.fsi.com>
2747 * NEWS: Mention DWARF 2 support for i386pe.
2749 2004-05-05 Alexandre Oliva <aoliva@redhat.com>
2751 * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
2754 2004-04-30 Alan Modra <amodra@bigpond.net.au>
2756 * ldlang.c (unique_section_p): Pass section parm, return true on
2758 (output_section_callback): Adjust.
2759 * ldlang.h (unique_section_p): Update prototype.
2760 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
2762 2004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
2764 * ld.texinfo (--gc-sections): Remove restriction for
2767 2004-04-29 Brian Ford <ford@vss.fsi.com>
2769 * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
2770 for DWARF 2/3. Update stab section's syntax.
2772 2004-04-29 Alan Modra <amodra@bigpond.net.au>
2774 * pe-dll.c: Revert changes accidentally committed 2004-03-08.
2775 (fill_edata): Correct pointer arithmetic.
2777 2004-04-21 Chris Demetriou <cgd@broadcom.com>
2779 * ld.texinfo: Remove MIPS --embedded-relocs documentation.
2780 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
2781 * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
2782 (EXTRA_EM_FILE): Use mipsecoff.em
2783 * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
2784 (EXTRA_EM_FILE): Use mipsecoff.em
2785 * emultempl/mipsecoff.em: Restructure to be included as an
2786 extra emulation file.
2787 (check_sections, gld${EMULATION_NAME}_after_open)
2788 (gld${EMULATION_NAME}_after_allocation)
2789 (gld${EMULATION_NAME}_get_script)
2790 (ld_${EMULATION_NAME}_emulation): Remove
2791 (gld${EMULATION_NAME}_before_parse): Rename to...
2792 (mipsecoff_before_parse): This.
2793 (LDEMUL_BEFORE_PARSE): Define.
2794 * emultempl/mipself.em: Remove file.
2795 * scripttempl/mips.sc (.rel.sdata): Do not include in output.
2796 (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
2798 * Makefile.am: Remove dependencies on emultempl/mipself.em.
2799 * Makefile.in: Regenerate.
2801 2004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
2803 * ld.texinfo (synthesizing on H8/300): Information about linker
2804 relaxation support for bit manipulation instructions and system
2805 control instructions is added.
2807 2004-04-21 Hans-Peter Nilsson <hp@axis.com>
2809 * NEWS: Mention change in DEFINED semantics.
2811 2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
2813 * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
2814 (.data): Add KEEP for .gnu.linkonce.d.*personality*.
2815 (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
2817 2004-04-21 Ben Elliston <bje@au.ibm.com>
2819 * ld.texinfo (Simple Example): Add missing punctuation.
2821 2004-04-20 Chris Demetriou <cgd@broadcom.com>
2823 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
2825 2004-04-19 Jakub Jelinek <jakub@redhat.com>
2827 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
2830 2004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
2832 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
2833 with default priority. Likewise for dtors.
2835 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2837 * configure.host: Remove mips*-dec-bsd* target.
2838 * configure.tgt: Likewise.
2840 2004-04-08 Richard Sandiford <rsandifo@redhat.com>
2842 * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
2843 * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
2844 * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
2845 * emultempl/irix.em: New file.
2846 * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
2848 * Makefile.in: Regenerate.
2850 2004-04-01 Paul Brook <paul@codesourcery.com>
2852 * emultempl/armelf.em (byteswap_code): Add.
2853 (arm_elf_before_allocation): Pass extra parameter.
2854 (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
2855 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
2856 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
2857 * emultempl/armelf_oabi.em: Pass extra parameter.
2858 * ld.texinfo: Document --be8.
2860 2004-03-30 Stan Shebs <shebs@apple.com>
2862 Remove long-obsolete MPW support.
2863 * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
2864 * Makefile.am (mpw): Remove file-presynthesizing actions.
2865 * Makefile.in: Likewise.
2866 * ldfile.c (slash): Remove MPW case.
2867 * ldlex.l [MPW]: Remove unused definition.
2869 2004-03-30 Galit Heller <Galit.Heller@nsc.com>
2871 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
2872 (eelf32cr16c.c): New target.
2873 * Makefile.in: Regenerate.
2874 * configure.tgt: Handle cr16c-*-elf*.
2875 * emulparams/elf32cr16c.sh: New file.
2876 * scripttempl/elfcr16c.sc: Likewise
2877 * NEWS: Mention support for new target.
2879 2004-03-30 Nick Clifton <nickc@redhat.com>
2881 * po/sv.po: Updated Swedish translation.
2883 2004-03-27 Alan Modra <amodra@bigpond.net.au>
2885 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
2886 * emultempl/hppaelf.em: Likewise.
2887 * emultempl/ppc64elf.em: Likewise.
2888 * emultempl/sh64elf.em: Likewise.
2890 2004-03-25 Alan Modra <amodra@bigpond.net.au>
2892 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
2893 size_dynamic_sections call.
2895 2004-03-23 Alan Modra <amodra@bigpond.net.au>
2898 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
2899 link_info.wrap_char.
2901 2004-03-20 H.J. Lu <hongjiu.lu@intel.com>
2903 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
2904 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
2906 2004-03-20 Alexandre Oliva <aoliva@redhat.com>
2908 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
2910 2004-03-19 Alan Modra <amodra@bigpond.net.au>
2912 * config.in: Regenerate.
2913 * po/ld.pot: Regenerate.
2915 2004-03-18 Alan Modra <amodra@bigpond.net.au>
2917 * ld.texinfo: Add --as-needed doco.
2918 * ldmain.c (as_needed): New global var.
2919 * ldmain.h (as_needed): Declare.
2920 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
2921 OPTION_NO_AS_NEEDED.
2922 (ld_options): Likewise.
2923 (parse_args): Handle them.
2924 * ldlang.h (lang_input_statement_type): Add as_needed field.
2925 * ldlang.c (new_afile): Set p->as_needed.
2926 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
2927 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
2928 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
2930 * ldlang.c (open_input_bfds): Remove useless cast.
2931 (lang_do_assignments_1): Likewise.
2932 (lang_for_each_input_section): Delete.
2934 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2936 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
2938 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
2940 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
2941 private when building implib.
2943 2004-03-05 Nathan Sidwell <nathan@codesourcery.com>
2945 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
2947 (IGNORE_SECTION): Ignore .tbss sections too.
2948 (lang_size_sections_1): .tbss sections do not advance dot.
2950 2004-03-01 Andreas Schwab <schwab@suse.de>
2952 * ld.texinfo (Options): Fix example for --wrap.
2954 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2956 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
2959 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
2961 * ldlang.c (lang_check): Use %P, not %E, in error message.
2963 2004-02-23 Nathan Sidwell <nathan@codesourcery.com>
2965 * ldlang.h (struct lang_output_section_state): Change processed
2967 * ldexp.c (check, invalid): Remove.
2968 (fold_name): Move valid_p assignments. Create undefined symbol
2969 when needed. Directly exampine section's processd flag.
2970 * ldlang.c (lang_output_section_statement_lookup): Adjust
2971 processed field init.
2972 (lang_size_sections_1): Allow LOADADDR when determining section's
2973 VMA. Adjust error message. Fold data statement's expr.
2974 (lang_size_sections): Correctly increment lang_statement_iteration.
2976 2004-02-23 Alan Modra <amodra@bigpond.net.au>
2978 * ldexp.c (fold_tree): Follow indirect symbols.
2980 2004-02-20 Nathan Sidwell <nathan@codesourcery.com>
2982 * ldgram.y (exp): Add two operand ALIGN.
2983 * ldexp.c (fold_binary): Add ALIGN_K case.
2984 * ld.texinfo (ALIGN): Document two operand version.
2986 2004-02-19 Nathan Sidwell <nathan@codesourcery.com>
2988 * ldlang.c (map_input_to_output_sections): Initialize sections
2989 mentioned in a data statement expression.
2990 (lang_do_assignments_1): Add data statement's expression's
2993 2004-02-18 Nathan Sidwell <nathan@codesourcery.com>
2995 * ldgram.y (statement_anywhere): Add assert rule.
2996 * ldlang.c (exp_init_os): Add assert case.
2998 2004-02-14 Andrew Cagney <cagney@redhat.com>
3000 * ldmain.c (remove_output): Call bfd_cache_close.
3002 2004-02-14 Richard Sandiford <rsandifo@redhat.com>
3004 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
3005 .MIPS.content* and .MIPS.events* sections.
3007 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
3009 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
3010 .note.gnu.arm.ident to after allocated sections. Mark its
3013 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
3015 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
3016 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
3017 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
3018 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
3019 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
3021 2004-02-05 Nick Clifton <nickc@redhat.com>
3023 * emultempl/pe.em (_after_open): Fix typo in previous delta.
3025 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
3027 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
3029 2004-01-28 Alan Modra <amodra@bigpond.net.au>
3031 * genscripts.sh: Fix typo.
3033 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
3035 2004-01-24 Jakub Jelinek <jakub@redhat.com>
3037 * emulparams/elf64_ia64.sh: Put .rela.opd into
3038 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
3040 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
3042 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
3043 * ld.texinfo (--omagic): Note that writable text section
3044 does not conform to published PE-COFF specs.
3045 (--enable-auto-import): Likewise.
3047 2004-01-15 Alan Modra <amodra@bigpond.net.au>
3049 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
3051 2004-01-13 Nick Clifton <nickc@redhat.com>
3053 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
3054 which if true will prevent the LMA region being used as a
3055 replacement for a default VMA region.
3056 (lang_leave_output_section_statement): Pass extra parameter.
3057 (lang_leave_overlay): Likewise.
3058 * ld.texinfo (Output Section LMA): Document that the LMA
3059 region can be set to the VMA region if no VMA has been set.
3060 * ldlang.h (struct lang_output_section_phdr_list): Create a
3061 typedef for this type. Minor formatting fixes.
3063 2004-01-13 Nick Clifton <nickc@redhat.com>
3065 * ldlang.c (lang_size_sections_1): If dot is advanced, then
3066 assume that the section should be allocated.
3068 2004-01-13 Alan Modra <amodra@bigpond.net.au>
3070 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
3071 sections. Do ignore SEC_NEVER_LOAD sections.
3072 (lang_size_sections_1): Remove test made redundant with the above.
3074 2004-01-09 Alan Modra <amodra@bigpond.net.au>
3076 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
3077 program_header_size.
3079 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
3081 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
3082 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
3083 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
3084 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
3085 (MAXPAGESIZE): Set to 64Kb.
3086 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
3087 __ROFIXUP_END__. Don't map .rofixup.got any more.
3088 * emulparams/elf32frv.sh (NOP): Set.
3089 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
3090 * configure.tgt: Add frv-*-*linux*.
3091 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
3092 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
3093 (eelf32frvfd.c): New.
3094 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
3095 * emulparams/elf32frv.sh: Reverted previous two patches.
3096 * emulparams/elf32frvfd.sh: New.
3097 * Makefile.in: Rebuilt.
3098 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
3099 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
3100 .rofixup.got to .rofixup.
3101 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
3102 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
3103 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
3105 2004-01-05 Jakub Jelinek <jakub@redhat.com>
3107 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
3108 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
3110 2004-01-03 Alan Modra <amodra@bigpond.net.au>
3112 * ldexp.c (align_n): Make static.
3113 * ldexp.h (align_n): Delete declaration.
3114 * ldlang.h (lang_enter_output_section_statement): Remove
3116 * ldlang.c (lang_enter_output_section_statement): Likewise.
3117 (TO_ADDR, TO_SIZE): Define.
3118 (opb_shift): New var.
3119 (init_opb): New function.
3120 (print_input_section): Call init_opb and use TO_ADDR.
3121 (print_data_statement, print_reloc_statement): Likewise.
3122 (print_padding_statement): Likewise.
3123 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
3124 (lang_check_section_addresses): Likewise.
3125 (lang_size_sections_1): Likewise.
3126 (lang_do_assignments_1): Likewise.
3127 (lang_set_startof): Likewise.
3128 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
3129 (lang_process): Call init_opb.
3130 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
3131 (lang_enter_overlay_section): Adjust
3132 lang_enter_output_section_statement call.
3133 * ldgram.y: Likewise.
3134 * mri.c (mri_draw_tree): Likewise.
3135 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
3136 * emultempl/mmo.em (mmo_place_orphan): Likewise.
3137 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
3139 * ldfile.c (ldfile_set_output_arch): Add defarch param.
3140 * ldfile.h (ldfile_set_output_arch): Ditto.
3141 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
3142 ldfile_set_output_arch.
3143 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
3144 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
3145 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
3146 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
3147 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
3148 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
3149 * ldgram.y: Adjust ldfile_set_output_arch call.
3150 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
3151 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
3152 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
3153 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
3154 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
3155 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
3156 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
3158 2004-01-02 Bernardo Innocenti <bernie@develer.com>
3160 * configure.tgt: Add m68k-uClinux target.
3162 For older changes see ChangeLog-0203
3168 version-control: never