* elf.c (elf_fake_sections): Fix up .tbss sh_size and sh_type.
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2002-07-30 Jakub Jelinek <jakub@redhat.com>
2
3 * ldlang.c (lang_add_section): Don't turn .tbss into normal sections
4 for relocatable link.
5 (lang_size_sections_1): Don't make .tbss zero size for relocatable
6 link.
7
8 2002-07-26 Bernd Schmidt <bernds@redhat.com>
9
10 * emulparams/elf32frv.sh (OTHER_RELOCATING_SECTIONS): Delete.
11 (STACK_ADDR): New.
12
13 2002-07-25 Nick Clifton <nickc@redhat.com>
14
15 * po/sv.po: Updated Swedish translation.
16 * po/es.po: Updated Spanish translation.
17 * po/fr.po: Updated French translation.
18
19 2002-07-24 Nick Clifton <nickc@redhat.com>
20
21 * po/sv.po: Updated Swedish translation.
22 * po/es.po: Updated Spanish translation.
23
24 2002-07-23 Nick Clifton <nickc@redhat.com>
25
26 * po/fr.po: Updated French translation.
27
28 2002-07-20 Alan Modra <amodra@bigpond.net.au>
29
30 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
31 bomb on /DISCARD/ input section.
32 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
33 * emultempl/mmo.em (mmo_place_orphan): Likewise.
34
35 2002-07-19 Hans-Peter Nilsson <hp@bitrange.com>
36
37 * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text
38 output section.
39
40 2002-07-16 Denis Chertykov <denisc@overta.ru>
41 Nick Clifton <nickc@redhat.com>
42 Frank Ch. Eigler <fche@redhat.com>
43 John Healy <jhealy@redhat.com>
44
45 * configure.tgt: Add support for ip2k-elf.
46 * Makefile.am: Add support for ip2k-elf.
47 * Makefile.in: Regenerate.
48 * emulparams/elf32ip2k.sh: New file.
49 * scripttempl/ip2k.sc: New file
50 * NEWS: Mention support for new port.
51
52 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
53
54 * NEWS: Add 'Changes in 2.13'.
55
56 2002-07-14 H.J. Lu <hjl@gnu.org>
57
58 * ld.texinfo: Document a .symver takes precedence over a
59 version script.
60
61 2002-07-12 Alan Modra <amodra@bigpond.net.au>
62
63 * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
64 (COMMONPAGESIZE): Define.
65
66 2002-07-09 Alan Modra <amodra@bigpond.net.au>
67
68 * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.
69
70 2002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
71
72 * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
73 powerpc-*-openbsd* and sparc64-*-openbsd*.
74 * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o.
75 * Makefile.in: Regenerate.
76 * emulparams/hppaobsd.sh: New file.
77
78 2002-07-05 Alan Modra <amodra@bigpond.net.au>
79
80 * ldlang.c (print_wild_statement): Fix output formatting.
81
82 2002-07-04 Alan Modra <amodra@bigpond.net.au>
83
84 * ldlang.c: (strip_excluded_output_sections): New function.
85 (lang_process): Call it.
86 (lang_size_sections_1): Revert 2002-06-10 change.
87
88 2002-07-03 Alan Modra <amodra@bigpond.net.au>
89
90 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
91 Run "make dep-am".
92 * Makefile.in: Regenerate.
93
94 2002-07-02 Alan Modra <amodra@bigpond.net.au>
95
96 * ldfile.c (ldfile_try_open_bfd): Formatting.
97
98 * ldmisc.c (demangle): Move so that it doesn't intrude between
99 vfinfo comment and body. Add comment.
100
101 2002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
102
103 * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
104
105 2002-07-01 Alan Modra <amodra@bigpond.net.au>
106
107 * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
108 * ldlang.c (entry_sym): Likewise.
109 (ldlang_undef_chain_list_type): Likewise.
110 (lang_finish): Adjust references to entry_symbol.
111 (lang_add_entry): Likewise.
112 (lang_gc_sections): Use link_info.gc_sym_list.
113 (lang_process): Set link_info.gc_sym_list.
114 * ldlex.l: Include bfdlink.h.
115 * ldmain.c (main): Init link_info.gc_sym_list.
116 * emultempl/aix.em: Adjust references to entry_symbol.
117 * emultempl/armcoff.em: Likewise.
118 * emultempl/armelf.em: Likewise.
119 * emultempl/pe.em: Likewise.
120 * emultempl/ppc64elf.em (ppc_after_open): New function.
121 (LDEMUL_AFTER_OPEN): Define.
122 * emulparams/elf64ppc.sh: KEEP .opd sections.
123
124 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
125
126 * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
127 * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
128 * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
129 (EEPROM_START_ADDR): Define.
130 (EEPROM_MEMORY): Define.
131 * emulparams/m68hc12elf.sh: Likewise.
132 * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
133 section to put soft registers in .page0.
134 * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
135
136 2002-06-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
137
138 * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
139 section. Add ${RELOCATING-0}.
140
141 2002-06-26 J"orn Rennecke <joern.rennecke@superh.com>
142
143 * emulparams/shelf.sh (STACK_ADDR): Don't define.
144 (OTHER_SECTIONS): Define.
145 * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
146 (OTHER_SECTIONS): Undef.
147
148 2002-06-26 Alan Modra <amodra@bigpond.net.au>
149
150 * ldmisc.c (demangle): Restore dots stripped from sym name.
151
152 2002-06-25 H.J. Lu <hjl@gnu.org>
153
154 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
155 * Makefile.in: Regenerated.
156
157 2002-06-20 Nick Clifton <nickc@cambridge.redhat.com>
158
159 * ld.texinfo (Bug Reporting): Update text to suggest a limit on
160 the size of attached object files, to allow make the object files
161 available via FTP or HTTP and to mention that the mail will be
162 sent to a mailing list.
163
164 2002-06-20 Nathanael Nerode <neroden@twcny.rr.com>
165
166 * ld/configure.host (romp): Drop support.
167
168 2002-06-18 Chris Demetriou <cgd@broadcom.com>
169
170 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check
171 section flags for SEC_DATA, rather than for SEC_CODE being unset.
172
173 2002-06-18 Chris Demetriou <cgd@broadcom.com>
174
175 * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix
176 format specifier used to print BFD name.
177
178 2002-06-18 Dave Brolley <brolley@redhat.com>
179
180 From Catherine Moore, Michael Meissner, Jim Blandy:
181 * emulparams/elf32frv.sh: New file.
182 * configure.tgt: Support frv-*-*.
183 * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o.
184 (eelf32frv.c): New target.
185
186 2002-06-17 Tom Rix <trix@redhat.com>
187
188 * emultempl/elf32.em: gld*_get_script: Check for
189 GENERATE_COMBRELOC_SCRIPT.
190 * scripttempl/elfd10v.sc : Fix STACK and INSN.
191 * emulparams/d10velf.sh : Fix TEXT_START_ADDR.
192
193 2002-06-13 J"orn Rennecke <joern.rennecke@superh.com>
194
195 * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.
196
197 2002-06-12 H.J. Lu <hjl@gnu.org>
198
199 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return
200 false if xvec doesn't match.
201
202 2002-06-10 Richard Sandiford <rsandifo@redhat.com>
203
204 * ldlang.c (lang_size_sections_1): Skip removed output sections.
205
206 2002-06-08 Alan Modra <amodra@bigpond.net.au>
207
208 * ldexp.c: Replace CONST with const.
209 * ldfile.c: Likewise.
210 * ldfile.h: Likewise.
211 * ldlex.l: Likewise.
212 * mri.c: Likewise.
213 * pe-dll.h: Likewise.
214
215 2002-06-07 Alan Modra <amodra@bigpond.net.au>
216
217 * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
218
219 2002-06-07 Charles Wilson <cwilson@ece.gatech.edu>
220
221 * ld/ldmain.c (main): initialize link_info.pei386_auto_import
222 to -1 == implicit enable.
223 * ld/emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
224 initialize link_info.pei386_auto_import to -1 == implicit
225 enable.
226 (gld_${EMULATION_NAME}_parse_args): When processing
227 --enable-auto-import and --disable-auto-import options, use
228 '1' and '0' instead of 'true' and 'false'.
229 (pe_find_data_imports): Only issue message about auto-import
230 when the feature is implicitly enabled. Downgrade message to
231 informational instead of warning.
232
233 2002-06-07 Alan Modra <amodra@bigpond.net.au>
234
235 * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.
236
237 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
238
239 * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
240 HOSTING_CRT0 and HOSTING_LIBS.
241
242 2002-06-05 J"orn Rennecke <joern.rennecke@superh.com>
243
244 * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.
245
246 2002-06-05 Jason Thorpe <thorpej@wasabisystems.com>
247
248 * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.
249 (NONPAGED_TEXT_START_ADDR): Set to 0x1000.
250
251 2002-06-05 Alan Modra <amodra@bigpond.net.au>
252
253 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
254 SEC_EXCLUDE sections when doing a relocatable link.
255
256 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
257
258 * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o,
259 eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o.
260 (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c)
261 (eshlelf64_nbsd.c): New rules.
262 * Makefile.in: Regenerate.
263 * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*)
264 (sh64-*-netbsd*): New targets.
265 * emulparams/shelf32_nbsd.sh: New file.
266 * emulparams/shelf64_nbsd.sh: New file.
267 * emulparams/shlelf32_nbsd.sh: New file.
268 * emulparams/shlelf64_nbsd.sh: New file.
269
270 2002-06-04 Alan Modra <amodra@bigpond.net.au>
271
272 * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix.
273
274 2002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl>
275
276 * scripttempl/avr.sc: Changes to support current GCC and avr-libc,
277 C++ constructors/destructors, loosely based on the m68hc11 port.
278
279 2002-05-31 Alan Modra <amodra@bigpond.net.au>
280
281 * Makefile.in: Regenerate.
282 * aclocal.m4: Regenerate.
283 * config.in: Regenerate.
284 * configure: Regenerate.
285
286 2002-05-31 Graeme Peterson <gp@qnx.com>
287
288 * Makefile.am (ALL_EMULATIONS): Add ei386nto.o.
289 (ei386nto.c): Add rule.
290 * Makefile.in: Regenerate.
291 * configure.tgt: Add i[3456]86-*-nto-qnx*.
292 * emulparams/i386nto.sh: New file.
293
294 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
295
296 * NEWS: Add entry for VAX ELF support.
297
298 2002-05-29 Matt Thomas <matt@3am-software.com>
299 Jason Thorpe <thorpej@wasabisystems.com>
300
301 * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o.
302 (eelf32vax.c)
303 (evaxnbsd.c): New rules.
304 * Makefile.in: Regenerate.
305 * configure.tgt (vax-*-netbsdelf*)
306 (vax-*-netbsdaout*)
307 (vax-*-netbsd*): New targets.
308 * emulparams/elf32vax.sh: New file.
309 * emulparams/vaxnbsd.sh: New file.
310
311 2002-05-29 Adam Nemet <anemet@lnxw.com>
312
313 * emultempl/armelf.em (arm_elf_after_open): Don't determine
314 bfd_for_interwork, instead add glue sections to each input bfd.
315 (bfd_for_interwork): New global.
316 (arm_elf_set_bfd_for_interworking): New function.
317 (arm_elf_before_allocation): Use it.
318
319 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
320
321 * Makefile.am: Add DLX make target.
322 * configure.tgt: Add DLX configuration.
323 * Makefile.in: Regenerate.
324 * emulparams/elf32_dlx.sh: New file
325 * scripttempl/dlx.sc: New file
326
327 2002-05-27 Per Lundberg <per@caleb.dnsalias.org>
328
329 * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script.
330 * Makefile.in: Regenerate.
331 * emulparams/elf_chaos.sh: Use elf_chaos script.
332 * scripttempl/elf_chaos.sc: New file.
333
334 2002-05-27 Richard Sandiford <rsandifo@redhat.com>
335
336 * ldlang.c (lang_size_sections_1): Move check for conflicting load
337 addresses and regions from here...
338 (lang_get_regions): ...to this new function.
339 (lang_leave_output_section_statement): Use lang_get_regions.
340 (lang_leave_overlay): Likewise.
341 * mri.c (mri_draw_tree): Pass null as last argument to
342 lang_leave_output_section_statement.
343 * emultempl/elf32.em (gld*_place_orphan): Likewise.
344 * emultempl/mmo.em (mmo_place_orphan): Likewise.
345 * emultempl/pe.em (gld*_place_orphan): Likewise.
346
347 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
348
349 * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
350
351 2002-05-25 Kazu Hirata <kazu@cs.umass.edu>
352
353 * ldemul.c: Fix formatting.
354 * ldfile.c: Likewise.
355 * pe-dll.c: Likewise.
356 * pe-dll.h: Likewise.
357
358 2002-05-25 Alan Modra <amodra@bigpond.net.au>
359
360 * ldlang.c (lang_process): Formatting, grammar.
361
362 * ldlex.l: Use #include "" instead of <> for local header files.
363
364 2002-05-24 TAMURA Kent <kent@netbsd.org>
365
366 * configure.tgt: Add a target for i386-netbsdpe.
367
368 2002-05-23 Jakub Jelinek <jakub@redhat.com>
369
370 * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss.
371 * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for
372 output section if necessary. Handle .tbss.
373 (lang_size_sections): Clear _raw_size for .tbss section
374 (it allocates space in PT_TLS segment only).
375 * ldwrite.c (build_link_order): Build link order for .tbss too.
376
377 2002-05-23 Alan Modra <amodra@bigpond.net.au>
378
379 * configure.in: Correct spelling of AC_PREREQ.
380
381 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
382
383 * pe-dll.c (autofilter_liblist): Add more system libs excluded by
384 default.
385 (autofilter_objlist): Add crtbegin.o, crtend.o.
386
387 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
388
389 * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define.
390 (longopts): Add new option --exclude-libs.
391 (gld_${EMULATION_NAME}_list_options): Give quick help about it.
392 (gld_${EMULATION_NAME}_parse_args): Use it.
393 * pe-dll.h (pe_dll_add_excludes): Add second param to prototype.
394 * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols
395 from whole archives.
396 (pe_dll_add_excludes): Set excludes->type.
397 (auto_export): Add new variable libname and set to archive basename if
398 abfd. Use it when filtering default and user-specified libarary
399 excludes. Let string "ALL" mean all libs when filtering user-specified
400 libs.
401 * ld.texinfo: Document --exclude-libs.
402
403 2002-05-22 Alan Modra <amodra@bigpond.net.au>
404
405 * ldemul.c (ldemul_new_vers_pattern): New function.
406 * ldemul.h (ldemul_new_vers_pattern): Declare.
407 (struct ld_emulation_xfer_struct): Add new_vers_pattern.
408 * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern.
409 * emultempl/ppc64elf.em (dotsyms): New static var.
410 (gld${EMULATION_NAME}_new_vers_pattern): New function.
411 (LDEMUL_NEW_VERS_PATTERN): Define.
412 (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS.
413 (PARSE_AND_LIST_LONGOPTS): Likewise.
414 (PARSE_AND_LIST_ARGS_CASES): Handle them.
415 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update
416 initialiser.
417 * emultempl/armcoff.em: Likewise.
418 * emultempl/armelf_oabi.em: Likewise.
419 * emultempl/beos.em: Likewise.
420 * emultempl/elf32.em: Likewise.
421 * emultempl/generic.em: Likewise.
422 * emultempl/gld960.em: Likewise.
423 * emultempl/gld960c.em: Likewise.
424 * emultempl/linux.em: Likewise.
425 * emultempl/lnk960.em: Likewise.
426 * emultempl/m68kcoff.em: Likewise.
427 * emultempl/mipsecoff.em: Likewise.
428 * emultempl/pe.em: Likewise.
429 * emultempl/sunos.em: Likewise.
430 * emultempl/ticoff.em: Likewise.
431 * emultempl/vanilla.em: Likewise.
432
433 2002-05-22 Alan Modra <amodra@bigpond.net.au>
434
435 * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir
436 and $NATIVE_LIB_DIRS. Add $tool_lib before other libs.
437 (LIB_SEARCH_DIRS): No need to use "tr".
438 (COMPILE_IN): Only set for native targets.
439 * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs
440 here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh.
441 * configure.tgt (powerpc*): Set tdir_*.
442 (powerpcle*): Correct targ_extra_emuls.
443 * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs.
444 * emulparams/elf64ppc.sh (LIB_PATH): Likewise.
445
446 2002-05-22 Alan Modra <amodra@bigpond.net.au>
447
448 * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
449 calling lang_add_entry.
450
451 2002-05-21 H.J. Lu (hjl@gnu.org)
452
453 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle
454 "-z muldefs".
455 (gld${EMULATION_NAME}_list_options): Add "-z muldefs".
456
457 * ld.texinfo: Updated for --allow-multiple-definition and
458 "-z muldefs".
459
460 * ldmain.c (main): Initialize the allow_multiple_definition
461 field to false.
462
463 * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New.
464 (ld_options): Add --allow-multiple-definition.
465 (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION.
466
467 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com>
468
469 * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o.
470 (earmelfb_nbsd.c): New rule.
471 * Makefile.in: Regenerate.
472 * configure.tgt (armeb-*-netbsdelf*): New target.
473 (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls.
474 (arm-*-netbsd*): Likewise.
475 * emulparams/armelfb_nbsd.sh: New file.
476
477 2002-05-18 Tom Rix <trix@redhat.com>
478
479 * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib
480 support.
481
482 2002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
483
484 * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
485 * Makefile.in: Regenerate.
486 * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls.
487
488 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
489
490 * emulparams/avr1.sh: New file.
491 * emulparams/avr2.sh: New file.
492 * emulparams/avr3.sh: New file.
493 * emulparams/avr4.sh: New file.
494 * emulparams/avr5.sh: New file.
495 * scripttempl/avr.sc: New file.
496
497 2002-05-15 Alan Modra <amodra@bigpond.net.au>
498
499 * ldlang.c (section_already_linked): Call bfd_link_just_syms.
500 (lang_place_orphans): Abort if just_syms_flag.
501
502 2002-05-10 Tom Rix <trix@redhat.com>
503
504 * emultempl/aix.em: (gld*_set_output_arch): New function. Use
505 architecture and machine information in the output bfd.
506 (gld*_before_parse): Remove old arch and machine code.
507 (choose_target): Rename to gld*_choose_target.
508 (rtld): Change type to int.
509 * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for
510 objects in XCOFF archives.
511 * ldfile.h: Update copyright date.
512
513 2002-05-10 Jakub Jelinek <jakub@redhat.com>
514
515 * ldmain.c (main): Enable -z combreloc by default.
516
517 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
518
519 * Makefile.am: Honour DESTDIR.
520 * Makefile.in: Regenerate.
521
522 2002-05-07 Richard Sandiford <rsandifo@redhat.com>
523
524 * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
525 (lang_enter_overlay): Remove the last two parameters.
526 (lang_leave_overlay): Take them here instead.
527 * ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
528 (section): Pass LMA and crossref flag to lang_leave_overlay rather
529 than lang_enter_overlay.
530 * ldlang.c (lang_memory_region_lookup): Return null for null names.
531 (lang_output_section_statement_lookup): Initialize update_dot_tree.
532 (lang_size_sections_1): Evaluate it.
533 (lang_leave_output_section_statement): Rework LMA lookup.
534 (overlay_lma, overlay_nocrossrefs): Remove.
535 (lang_enter_overlay): Remove LMA and crossref arguments.
536 (lang_enter_overlay_section): Don't set the LMA here.
537 (lang_leave_overlay): Take LMA and crossref arguments. Move the '.'
538 assignment to the last section's update_dot_tree. Unconditionally
539 use the load and run-time regions specified in the OVERLAY statement.
540 Likewise the first section's LMA. Only set the other sections' LMAs
541 when no load region is given.
542
543 2002-05-06 Nick Clifton <nickc@redhat.com>
544
545 * po/sv.po: New translation.
546
547 2002-05-04 Alan Modra <amodra@bigpond.net.au>
548
549 * emultempl/hppaelf.em (build_section_lists): New function.
550 (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
551 and build_section_lists.
552
553 2002-05-03 Kazu Hirata <kazu@cs.umass.edu>
554
555 * ld.h: Fix formatting.
556 * ldexp.c: Likewise.
557 * ldfile.c: Likewise.
558 * ldlang.c: Likewise.
559 * ldmain.c: Likewise.
560 * lexsup.c: Likewise.
561 * pe-dll.c: Likewise.
562
563 2002-05-02 Alan Modra <amodra@bigpond.net.au>
564
565 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
566 Adjust for ppc64_elf_set_toc change. #include libbfd.h.
567 (build_section_lists): Do output_section tests here.
568
569 2002-04-30 Tom Rix <trix@redhat.com>
570
571 * emultempl/aix.em : (gld*_parse_arge): Formatting changes.
572
573 2002-05-01 Alan Modra <amodra@bigpond.net.au>
574
575 Long branch stubs, multiple stub sections.
576 * emultempl/ppc64elf.em: Include ldctor.h.
577 (stub_file): New var.
578 (group_size): New var.
579 (ppc_create_output_section_statements): New function.
580 (struct hook_stub_info): New.
581 (hook_in_stub): New function.
582 (ppc_add_stub_section): New function.
583 (ppc_layout_sections_again): New function.
584 (build_section_lists): New function.
585 (gld${EMULATION_NAME}_finish): Rewrite.
586 (real_func): New var.
587 (ppc_for_each_input_file_wrapper): New function.
588 (ppc_lang_for_each_input_file): New function.
589 (lang_for_each_input_file): Define.
590 (PARSE_AND_LIST_PROLOGUE): Define.
591 (PARSE_AND_LIST_LONGOPTS): Define.
592 (PARSE_AND_LIST_OPTIONS): Define.
593 (PARSE_AND_LIST_ARGS_CASES): Define.
594 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
595
596 2002-04-30 Tom Rix <trix@redhat.com>
597
598 * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add
599 -blibpath, -bnolibpath support.
600
601 2002-04-30 Mark Mitchell <mark@codesourcery.com>
602
603 * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
604 (eelf32ppcwindiss.c): New target.
605 * Makefile.in: Regenerated.
606 * configure.tgt: Add support for powerpc-*-windiss.
607 * emulparams/elf32ppcwindiss.sh: New file.
608
609 2002-04-30 Richard Sandiford <rsandifo@redhat.com>
610
611 * ldlang.c (print_assignment): Update print_dot for assignments to ".".
612 * ldexp.c (exp_print_token): Add "infix_p" argument.
613 (exp_print_tree): Update accordingly.
614
615 2002-04-28 Alan Modra <amodra@bigpond.net.au>
616
617 * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
618 * Makefile.in: Regenerate.
619 * mpw-elfmips.c: Delete.
620 * mpw-eppcmac.c: Delete.
621 * mpw-esh.c: Delete.
622 * mpw-idtmips.c: Delete.
623
624 2002-04-17 J"orn Rennecke <joern.rennecke@superh.com>
625
626 * emulparams/shelf32.sh (MACHINE): Now sh5.
627
628 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
629
630 * ldgram.y: Fix syntax warning.
631
632 2002-04-11 Nick Clifton <nickc@cambridge.redhat.com>
633
634 * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order
635 to prevent "-n" from being taken as an abbreviation for
636 "--no-pipeline-knowledge".
637
638 2002-04-08 Alan Modra <amodra@bigpond.net.au>
639
640 * ldlang.c (lang_size_sections_1): Don't complain about
641 SEC_NEVER_LOAD sections having no memory region specified.
642
643 * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
644
645 2002-04-07 matthew green <mrg@redhat.com>
646
647 * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
648
649 2002-04-04 Alan Modra <amodra@bigpond.net.au>
650
651 * dep-in.sed: Cope with absolute paths.
652 * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
653 Run "make dep-am".
654 * Makefile.in: Regenerate.
655
656 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
657
658 * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
659
660 2002-04-03 Jakub Jelinek <jakub@redhat.com>
661
662 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
663 is smaller than maximum, round dot up to common page boundary.
664
665 2002-03-28 Alan Modra <amodra@bigpond.net.au>
666
667 * configure.host: Set up for generic hosts first, then tweak as
668 necessary in more specific targets.
669 (HOSTING_LIBS): Include libgcc_eh.a if found.
670
671 2002-03-23 Andreas Jaeger <aj@suse.de>
672
673 * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
674
675 2002-03-21 Alan Modra <amodra@bigpond.net.au>
676
677 * Makefile.am: Run "make dep-am".
678 * Makefile.in: Regenerate.
679
680 2002-03-21 Albert Chin-A-Young <china@thewrittenword.com>
681
682 * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
683
684 2002-03-20 Alan Modra <amodra@bigpond.net.au>
685
686 * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
687 add the symbol to the linker hash table immediately.
688 (lang_place_undefineds): Split symbol creation out..
689 (insert_undefined): ..to here.
690
691 2002-03-18 David O'Brien <obrien@FreeBSD.org>
692
693 * emultempl/elf32.em: Use lbasename vs. basename to fix problem where
694 the contents of the buffer returned from basename function will are
695 getting overwritten while still being used.
696
697 2002-03-18 Jan Hubicka <jh@suse.cz>
698 Andreas Jaeger <aj@suse.de>
699 Andreas Schwab <schwab@suse.de>
700
701 * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.
702 * elf_x86_64.sh (ARCH): Set to i386:x86-64
703 set libraries to default to lib64 paths.
704
705 2002-03-18 Tom Rix <trix@redhat.com>
706
707 * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support.
708 * configure.tgt : Same.
709 * emulparms/aix5ppc.sh : New file. For eaix5ppc.
710 * emulparms/aix5rs6.sh : New file. For eaix5rs6.
711 * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT
712 emulation parameters for better -b32, -b64 support.
713 * emulparms/aixrs6.sh : Same.
714 * emulparms/ppcmacos.sh : Same.
715 * emultempl/aix.em (choose_target) : Use new emulation parameters
716 OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT.
717 * Makefile.in : Regenerate.
718
719 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
720
721 * po/fr.po: Updated version.
722
723 2002-03-18 Alan Modra <amodra@bigpond.net.au>
724
725 * ldmain.c (main): Move .text readonly flag fudges from here..
726 * ldlang.c (lang_process): ..to here.
727
728 2002-03-14 Alan Modra <amodra@bigpond.net.au>
729
730 * ldlang.c (lang_check): Remove the word size check added in last
731 change. Treat emitrelocations case as for relocatable links.
732
733 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
734
735 * po/fr.po: Updated version.
736
737 2002-03-13 Alan Modra <amodra@bigpond.net.au>
738
739 * ldlang.c (lang_check): Do relocatable link checks first, so that
740 warn_mismatch can't override. Check compatible and word size too.
741
742 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
743
744 * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
745
746 2002-03-05 Jakub Jelinek <jakub@redhat.com>
747
748 * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
749 DATA_SEGMENT_ALIGN.
750
751 2002-03-04 H.J. Lu <hjl@gnu.org>
752
753 * scripttempl/elf.sc: Put .preinit_array, .init_array and
754 .fini_array in the data segment.
755
756 2002-03-04 Alan Modra <amodra@bigpond.net.au>
757
758 * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
759
760 2002-03-01 David Mosberger <davidm@hpl.hp.com>
761
762 * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
763 .init_array, and .fini_array.
764
765 2002-02-20 Andreas Schwab <schwab@suse.de>
766
767 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
768 .IA64_unwind* in a relocatable link.
769
770 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
771
772 * NEWS: Mark 2.12 branch.
773
774 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
775
776 * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
777 * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
778
779 2002-02-18 Tom Rix <trix@redhat.com>
780
781 * emultempl/aix.em (gld*_parse_args): Add -brtl support.
782 (gld*_before_allocation): Same.
783 (gld*_create_output_section_statements): Generate
784 __rtinit if run time linking. Add librtl.a to the link.
785 (gld*_read_file): Clean.
786
787 2002-02-18 Alan Modra <amodra@bigpond.net.au>
788
789 * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
790
791 2002-02-18 David O'Brien <obrien@FreeBSD.org>
792
793 * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
794 eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
795 and eelf64alpha_fbsd.
796 * Makefile.in: Regenerate.
797 * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
798 x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
799 use a FreeBSD-specific emulation rather than the psABI one.
800 * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
801 for all FreeBSD ELF systems.
802 * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
803 emulation.
804 * emulparams/elf32ppc_fbsd.sh: Likewise.
805 * emulparams/elf64_ia64_fbsd.sh: Likewise.
806 * emulparams/elf64_sparc_fbsd.sh: Likewise.
807 * emulparams/elf64alpha_fbsd.sh: Likewise.
808 * emulparams/elf_i386_fbsd.sh: Likewise.
809 * emulparams/elf_x86_64_fbsd.sh: Likewise.
810
811 2002-02-18 Nick Clifton <nickc@cambridge.redhat.com>
812
813 * po/tr.po: Updated version.
814
815 2002-02-18 Alan Modra <amodra@bigpond.net.au>
816
817 * ld.texinfo (Output Section Fill): Fix amateur texinfo.
818 (FILL): Likewise.
819
820 2002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
821
822 * emultempl/mmo.em (mmo_after_open): Don't call
823 _bfd_mmix_check_all_relocs when producing ELF output.
824
825 2002-02-15 Richard Henderson <rth@redhat.com>
826
827 * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
828 definition. Emit a unop+nop pair.
829
830 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
831
832 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
833 for presence of .MMIX.reg_contents.linker_allocated before early
834 exit.
835
836 * NEWS: Mention support for MMIX.
837
838 2002-02-15 Alan Modra <amodra@bigpond.net.au>
839
840 Support arbitrary length fill patterns.
841 * ld.texinfo (Output Section Fill): Describe fill expressions.
842 (FILL): Refer to the above.
843 * ldexp.h (etree_value_type): Add "str" field.
844 (union etree_union): Add "str" to "value" struct.
845 (exp_bigintop): Declare.
846 (exp_get_fill): Declare.
847 * ldexp.c: Include "safe-ctype.h".
848 (exp_intop): Set value.str to NULL.
849 (exp_bigintop): New function.
850 (new_rel): Pass in "str", and set new.str from it.
851 (new_rel_from_section): Set new.str to NULL.
852 (fold_name): Adjust calls to new_rel.
853 (exp_fold_tree): Likewise.
854 (exp_get_fill): New function.
855 * ldgram.y (struct big_int bigint, fill_type *fill): New.
856 (INT): Returns a "bigint". Adjust all code handling INTs.
857 (fill_opt): Returns a "fill".
858 (fill_exp): Split out of fill_opt, use for FILL.
859 * ldlang.h (struct _fill_type): New.
860 (fill_type): Move typedef to ldexp.h.
861 (lang_output_section_statement_type): "fill" is now a pointer.
862 (lang_fill_statement_type): Likewise.
863 (lang_padding_statement_type): Likewise.
864 (lang_add_fill): Now takes a "fill_type *" param.
865 (lang_leave_output_section_statement): Likewise.
866 (lang_do_assignments): Likewise.
867 (lang_size_sections): Likewise.
868 (lang_leave_overlay_section): Likewise.
869 (lang_leave_overlay): Likewise.
870 * ldlang.c: Include ldgram.h after ldexp.h.
871 (lang_output_section_statement_lookup): Adjust for fill_type change.
872 (print_fill_statement): Likewise.
873 (print_padding_statement): Likewise.
874 (insert_pad): Now takes a "fill_type *" arg.
875 (size_input_section): Likewise.
876 (lang_size_sections_1): Likewise.
877 (lang_size_sections): Likewise.
878 (lang_do_assignments): Likewise.
879 (lang_add_fill): Likewise.
880 (lang_leave_output_section_statement): Likewise.
881 (lang_leave_overlay_section): Likewise.
882 (lang_leave_overlay): Likewise.
883 Adjust all callers of the above function.
884 * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers
885 starting with "0X" as well as "0x". Return bigint.str for hex
886 numbers starting with "0x" or "0X", zero bigint.str otherwise.
887 Always use base 16 for numbers starting with "$".
888 * ldmain.c: Include ldgram.h after ldexp.h.
889 * ldwrite.c (build_link_order): Use bfd_data_link_order in place
890 of bfd_fill_link_order.
891 * pe-dll.c: Adjust lang_do_assignments calls.
892 * emultempl/elf32.em: Likewise.
893 * emultempl/hppaelf.em: Likewise.
894 * emultempl/ppc64elf.em: Likewise.
895 * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
896 lang_add_assignment call.
897 * emultempl/pe.em: Likewise.
898
899 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
900
901 * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
902 * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
903 the pattern in question is not a regexp.
904 * ldlang.c: Likewise.
905 * ldlang.h: Likewise.
906 * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
907
908 2002-02-12 Jakub Jelinek <jakub@redhat.com>
909
910 * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
911 * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
912 (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
913 * ldexp.c (exp_data_seg): New variable.
914 (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
915 (fold_binary): Handle DATA_SEGMENT_ALIGN.
916 (exp_fold_tree): Handle DATA_SEGMENT_END.
917 Pass allocation_done when recursing instead of hardcoding
918 lang_allocating_phase_enum.
919 * ldexp.h (exp_data_seg): New.
920 * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
921 (lang_size_sections): New.
922 * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
923 * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
924 if COMMONPAGESIZE is defined.
925 * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
926 * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
927 * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
928 * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
929 * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
930 libraries only.
931
932 2002-02-11 Alan Modra <amodra@bigpond.net.au>
933
934 * Makefile.in: Regenerate.
935
936 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
937
938 * lexsup.c: Remove strtoul declaration.
939
940 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
941
942 * ldmain.c: Add prototype for main ().
943 * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
944 * emultempl/lnk960.em (lnk960_choose_target): Function should
945 take two arguments.
946
947 2002-02-10 Alan Modra <amodra@bigpond.net.au>
948
949 * ldlang.c (entry_section): New initialised variable.
950 (lang_finish): Use it.
951 * ldlang.h (entry_section): Declare.
952 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
953 entry_section to ".opd".
954
955 2002-02-09 Chris Demetriou <cgd@broadcom.com>
956
957 * ld.texinfo (Options): Add back in -nostdlib documentation,
958 which had been inadvertently removed.
959
960 2002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
961
962 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
963 register section vma to a sane value after emitting error. Make
964 fatal conditions cause program exit when emitting message.
965
966 2002-02-08 Ivan Guzvinec <ivang@opencores.org>
967
968 * configure.tgt: Add or32-*-rtems target.
969
970 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
971
972 Contribute sh64-elf.
973 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
974 * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
975 in OTHER_RELOCATABLE_SECTIONS.
976 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
977 * emulparams/shelf32.sh (STACK_ADDR): Define.
978 (OTHER_RELOCATABLE_SECTIONS): Renamed to...
979 (OTHER_SECTIONS): this. Removed stack settings.
980 * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
981 (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
982 2001-03-12 DJ Delorie <dj@redhat.com>
983 * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
984 relaxing if any shmedia or mixed sections are found.
985 2001-03-07 DJ Delorie <dj@redhat.com>
986 * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
987 einfo. Gracefully decline to output to non-elf formats.
988 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com>
989 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
990 Default to _end aligned to next multiple of 0x40000, plus 0x40000.
991 * emulparams/shelf32.sh: Ditto.
992 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
993 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
994 comment.
995 2001-01-10 Ben Elliston <bje@redhat.com>
996 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
997 non-portable shell constructs. From Hans-Peter Nilsson.
998 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com>
999 * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
1000 * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
1001 dependencies to the shell script include chain.
1002 * Makefile.in: Regenerate.
1003 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
1004 * emultempl/sh64elf.em: Update and tweak comments.
1005 (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
1006 make a .cranges section SEC_IN_MEMORY.
1007 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
1008 * emultempl/sh64elf.em
1009 (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
1010 .cranges section found to be necessary; continue and set stored
1011 section contents flags for sections with non-mixed contents.
1012 Use a struct sh64_section_data container and sh64_elf_section_data
1013 to store contents-type flags.
1014 Remove unused update of "isec".
1015 (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
1016 sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to
1017 access contents-type flags. Assert that the associated container
1018 is initialized. Use that container, not elf_gp_size, to hold size
1019 of linker-generated cranges contents.
1020 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1021 * emultempl/sh64elf.em
1022 (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
1023 there's already a .cranges section. When section flag difference
1024 is found, don't NULL-check cranges a second time. Tweak comments.
1025 (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
1026 merging, not max size, as size of ld-generated .cranges contents.
1027 Don't set ELF section flags in output section. When checking for
1028 needed .cranges descriptors, don't use a variable; compare
1029 incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak
1030 comments.
1031 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1032 * emultempl/sh64elf.em: New file.
1033 * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
1034 * Makefile.in: Regenerate.
1035 * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
1036 (OTHER_RELOCATING_SECTIONS): Ditto.
1037 (EXTRA_EM_FILE): New, set to sh64elf if not set.
1038 * emulparams/shlelf32.sh: Stub out all settings except
1039 OUTPUT_FORMAT. Source shelf32.sh.
1040 * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
1041 OTHER_RELOCATING_SECTIONS.
1042 (OTHER_RELOCATING_SECTIONS): Remove .cranges.
1043 * emulparams/shlelf64.sh: Stub out all settings except
1044 OUTPUT_FORMAT. Source shelf64.sh.
1045 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
1046 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
1047 .cranges section.
1048 (DATA_START_SYMBOLS): Define, provide ___data.
1049 (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
1050 for consecutive .data section.
1051 (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
1052 section after .data section.
1053 * emulparams/shlelf64.sh: Ditto.
1054 * emulparams/shelf32.sh: Ditto.
1055 (ALIGNMENT): Define to 8.
1056 * emulparams/shelf32.sh: Ditto.
1057 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
1058 * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
1059 built-in linker scripts.
1060 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
1061 * emulparams/shlelf64.sh: New.
1062 * emulparams/shelf64.sh: New.
1063 * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
1064 targ_extra_emuls.
1065 * Makefile.am: Add support for shlelf64 and shelf64.
1066 * Makefile.in: Regenerate.
1067 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
1068 * configure.tgt (sh64-*-elf*): Add shelf as default.
1069 Add shlelf to targ_extra_emuls.
1070 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
1071 * emulparams/shelf32.sh: New file.
1072 * emulparams/shlelf32.sh: New file.
1073 * Makefile.am: Add support for shlelf32 and shelf32.
1074 * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
1075 * Makefile.in: Regenerate.
1076
1077 2002-02-05 Hans-Peter Nilsson <hp@axis.com>
1078
1079 * ldlang.c (lang_reset_memory_regions): Rename from
1080 reset_memory_regions. Change all callers. Make public.
1081 * ldlang.h (lang_reset_memory_regions): Prototype.
1082 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
1083 lang_reset_memory_regions before lang_size_sections.
1084 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
1085 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
1086
1087 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
1088
1089 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
1090 arithmetic when checking for too many global registers.
1091
1092 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
1093
1094 * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
1095 (ehppanbsd.c): New rule.
1096 * Makefile.in: Regenerate.
1097 * configure.tgt (hppa*-*-netbsd*): New target.
1098 * emulparams/hppalinux.sh: Add comment to check other files
1099 that source this file it is modified, and list which
1100 files that do.
1101 * emulparams/hppanbsd.sh: New file.
1102
1103 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
1104
1105 * scripttempl/xstormy16.sc: Don't allocate extra space for the
1106 stack.
1107
1108 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
1109
1110 Support on-demand global register allocation from
1111 R_MMIX_BASE_PLUS_OFFSET relocs.
1112 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
1113 mmix_set_reg_section_vma. Call
1114 _bfd_mmix_finalize_linker_allocated_gregs.
1115 (mmix_before_allocation): New function.
1116 (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
1117 (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
1118 * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
1119 (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
1120 before .MMIX.reg_contents.
1121 * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
1122 (mmo_after_open): New function.
1123 (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
1124 * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
1125 .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
1126
1127 2002-01-31 Ivan Guzvinec <ivang@opencores.org>
1128
1129 * emulparams/or32.sh: New file.
1130 * emulparams/or32elf.sh: New file.
1131 * scripttempl/or32.sc: New file.
1132 * configure.tgt : Add support for or32.
1133 * configure: Regenerate
1134 * Makefile.am: Add support for or32.
1135 * Makefile.in: Regenerate.
1136 * NEWS: Mention support for or32.
1137 * po/ld.pot: Regenerate.
1138
1139 2002-01-29 Chris Demetriou <cgd@broadcom.com>
1140 Mitch Lichtenberg <mpl@broadcom.com>
1141
1142 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
1143 * emultempl/mipself.em: New file to handle MIPS ELF embedded
1144 reloc creation (ld --embedded-relocs).
1145
1146 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
1147
1148 * configure: Regenerated.
1149
1150 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1151
1152 * Makefile.am (install): Depend on install-info.
1153 * Makefile.in: Regenerate.
1154
1155 2002-01-26 Christian Rose <menthos@menthos.com>
1156
1157 * ldmain.c (main): Use full sentences to ease translation.
1158
1159 2002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
1160
1161 * po/fr.po: Updated version.
1162
1163 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
1164
1165 * po/es.po: Updated version.
1166
1167 2002-01-25 Andreas Jaeger <aj@suse.de>
1168
1169 * ldlex.l (yy_input): Correct error check.
1170
1171 2002-01-25 Alan Modra <amodra@bigpond.net.au>
1172
1173 * ldmisc.c (demangle): Put back dots when string not demangled.
1174
1175 2002-01-22 Richard Henderson <rth@redhat.com>
1176
1177 * emulparams/elf64alpha.sh (NOP): Use unop.
1178
1179 2002-01-21 Andreas Jaeger <aj@suse.de>
1180
1181 * ldlex.l: Use fread instead of read.
1182
1183 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
1184
1185 * configure.tgt (ia64-*-netbsd*): New target.
1186
1187 2002-01-21 H.J. Lu <hjl@gnu.org>
1188
1189 * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
1190 0.
1191 * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
1192
1193 2002-01-18 Andreas Jaeger <aj@suse.de>
1194
1195 * ldver.c (ldversion): Update year.
1196
1197 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1198
1199 * po/ld.pot: Regenerate.
1200
1201 2002-01-16 Alan Modra <amodra@bigpond.net.au>
1202
1203 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
1204 * Makefile.in: Regenerate.
1205 * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
1206 * emultempl/ppc64elf.em: New file.
1207
1208 2002-01-15 DJ Delorie <dj@redhat.com>
1209
1210 * scripttempl/pe.sc: Add support for constructor priorities.
1211
1212 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
1213
1214 * emulparams/avr1200.sh (DATA_START): Define as 0x60.
1215 * emulparams/avr23xx.sh: Likewise.
1216 * emulparams/avr4433.sh: Likewise.
1217 * emulparams/avr44x4.sh: Likewise.
1218 * emulparams/avr85xx.sh: Likewise.
1219 * emulparams/avrmega103.sh: Likewise.
1220 * emulparams/avrmega161.sh: Likewise.
1221 * emulparams/avrmega603.sh: Likewise.
1222 * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
1223
1224 2002-01-08 Alexandre Oliva <aoliva@redhat.com>
1225
1226 * ldlang.c (walk_wild_section): Exclude object file if enclosing
1227 archive is excluded.
1228
1229 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
1230
1231 * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
1232 (eshelf_nbsd.c): New rule.
1233 (eshlelf_nbsd.c): New rule.
1234 * Makefile.in: Regenerate.
1235 * configure.tgt (sh*le-*-netbsdelf*): New target.
1236 (sh*-*-netbsdelf*): New target.
1237 * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
1238 * ld/emulparams/shelf_nbsd.sh: New emulation.
1239 * ld/emulparams/shlelf_nbsd.sh: New emulation.
1240
1241 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
1242
1243 * po/es.po: New file: Spanish translation.
1244 * configure.in (ALL_LINGUAS): Add es.
1245 * configure: Regenerate.
1246
1247 2002-01-06 John Marshall <jmarshall@acm.org>
1248
1249 * ld.texinfo: Note that --emit-relocs is currently only
1250 implemented for ELF.
1251
1252 2002-01-05 Alan Modra <amodra@bigpond.net.au>
1253
1254 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
1255 of bfd_section_list_remove and bfd_section_list_insert macros.
1256 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1257 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1258
1259 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1260
1261 * configure.tgt (x86_64-*-netbsd*): New target.
1262
1263 2001-12-21 Tom Rix <trix@redhat.com>
1264
1265 (gld*_create_output_section_statements): New function.
1266 For -binitfini support.
1267 * emultempl/aix.em (gld*_before_parse): Fix comment.
1268 * emultempl/aix.em (gld*_parse_args): Fix comment.
1269
1270 2001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
1271
1272 * configure.tgt (mips*-dec-netbsd*): Delete alias for
1273 mips*el-*-netbsd*.
1274 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
1275
1276 * configure.tgt (arm-*-netbsdelf*): Add target.
1277 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
1278 * emulparams/armelf_nbsd.sh: Added.
1279 * Makefile.am: Add rules for earmelf_nbsd.
1280 * Makefile.in: Regenerate.
1281
1282 2001-12-19 Andreas Jaeger <aj@suse.de>,
1283 Susanne Oberhauser <froh@suse.de>
1284
1285 * configure.host: Add rules for x86_64-*linux-gnu. Change
1286 s390x-linux entry to use gcc to report configuration, replace gcc
1287 with $CC in s390-linux
1288
1289 2001-12-19 Andreas Jaeger <aj@suse.de>
1290
1291 * ld.texinfo (VERSION): Fix markup.
1292
1293 2001-12-18 matthew green <mrg@eterna.com.au>
1294
1295 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
1296 (m68kelfnbsd.c): New rule.
1297 * Makefile.in: Regenerate.
1298 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
1299 (m68*-*-netbsd*4k*): .. this.
1300 (m68*-*-netbsdelf*): New target.
1301 (m68*-*-netbsd*): Also include ELF support.
1302 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
1303 * emulparams/m68kelfnbsd.sh: New emulation.
1304
1305 2001-12-18 Jakub Jelinek <jakub@redhat.com>
1306
1307 * ldgram.y (vers_node): Support anonymous version tags.
1308 * ldlang.c (lang_register_vers_node): Ensure anonymous version
1309 tag is not defined together with non-anonymous versions.
1310 * ld.texinfo: Document it.
1311
1312 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
1313
1314 * po/tr.po: New file: Turkish translation.
1315 * configure.in (ALL_LINGUAS): Add tr.
1316 * configure: Regenerate.
1317
1318 2001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
1319
1320 * Makefile.am: Add rules for eelf64alpha_nbsd.
1321 * Makefile.in: Regenerate.
1322 * configure.tgt (alpha*-*-netbsd*): Set
1323 targ_emul to elf64alpha_nbsd.
1324 * emulparams/elf64alpha_nbsd.sh: Added.
1325
1326 2001-12-17 Alan Modra <amodra@bigpond.net.au>
1327
1328 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
1329 section_tail when fiddling with section list.
1330 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
1331 broken into separate strings to make translation easier.
1332 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
1333 fiddling with section list.
1334 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1335
1336 2001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
1337
1338 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
1339
1340 2001-12-15 Alan Modra <amodra@bigpond.net.au>
1341
1342 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
1343
1344 2001-12-13 Jakub Jelinek <jakub@redhat.com>
1345
1346 * emultempl/elf32.em (finish): Supply output_bfd
1347 to bfd_elf*_discard_info.
1348 (OPTION_EH_FRAME_HDR): Define.
1349 (longopts): Add --eh-frame-hdr.
1350 (parse_args): Handle it.
1351 (list_options): Add --eh-frame-hdr to help.
1352 * emultempl/hppaelf.em (finish): Supply output_bfd
1353 to bfd_elf*_discard_info.
1354 * scripttempl/elf.sc (.eh_frame_hdr): Add.
1355
1356 2001-12-13 Alan Modra <amodra@bigpond.net.au>
1357
1358 * lexsup.c (parse_args): Don't pass shortopts to second call to
1359 getopt functions. Restore optind rather than decrementing before
1360 second call. Remove errind as it now duplicates last_optind.
1361
1362 2001-12-11 Christopher Faylor <cgf@redhat.com>
1363
1364 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
1365
1366 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
1367 Richard Henderson <rth@redhat.com>
1368
1369 * Makefile.am: Add support for xstormy16.
1370 * configure.tgt: Add support for xstormy16.
1371 * Makefile.in: Regenerate.
1372 * emulparams/elf32xstormy16.sh: New file.
1373 * scripttempl/xstormy16.sc: New file.
1374
1375 2001-10-01 Christopher Faylor <cgf@cygnus.com>
1376
1377 * Makefile.in (LIB_PATH): Make configurable.
1378 (GENSCRIPTS): Set LIB_PATH in environment.
1379 * configure.in: Substitute LIB_PATH.
1380 * configure: Regenerate.
1381 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
1382 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
1383
1384 2001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
1385
1386 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
1387 describing the -N option so that it is easier to translate into
1388 foreign languages.
1389
1390 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1391
1392 * emultempl/pe.em (..._list_options): Replace multiple fprintf
1393 statements describing a single option with a single, newline
1394 escaped fprintf. This allows better translation into other
1395 languages.
1396
1397 * ldmain.c (add_archive_element): Combine multiple strings
1398 into a single string to permit better translation into other
1399 languages.
1400
1401 2001-12-05 Tom Rix <trix@redhat.com>
1402
1403 * Makefile.am: Remove eaixppc64.
1404 * Makefile.in: Regenerate.
1405
1406 2001-12-04 Tom Rix <trix@redhat.com>
1407
1408 * emultempl/aix.em (choose_target): Change default target to
1409 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
1410 warning.
1411 (gld*_read_file): Fix typo.
1412 (change_symbol_mode): Add prototype.
1413 (is_syscall): Same.
1414
1415 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
1416 * emulparams/aixrs6.sh : Same.
1417 * emulparams/ppcmacos.sh : Same.
1418 * emulparams/aixppc64.sh : Delete file.
1419 * emultempl/aix.em : Formatting changes.
1420
1421 2001-12-04 Hans-Peter Nilsson <hp@axis.com>
1422
1423 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
1424 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
1425 __Sbss.
1426 (OTHER_END_SYMBOLS): Fix formatting.
1427 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
1428 (OTHER_END_SYMBOLS): Fix formatting.
1429
1430 2001-12-04 Alan Modra <amodra@bigpond.net.au>
1431
1432 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
1433
1434 2001-12-02 Tom Rix <trix@redhat.com>
1435
1436 * configure.tgt : Remove eaixppc64 emulations.
1437 * Makefile.in : Remove eaixppc64.c
1438 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
1439 (ldemul_default_target): Same.
1440 * emultempl/gld960.em (gld960_choose_target): Same.
1441 * emultempl/gld960c.em (gld960_choose_target): Same.
1442 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
1443 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
1444 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
1445 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
1446 * emultempl/aix.em (choose_target): New function. Handle emulation of
1447 -b32 and -b64.
1448
1449 2001-11-27 H.J. Lu <hjl@gnu.org>
1450
1451 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
1452 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
1453 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
1454 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
1455 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
1456 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
1457 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
1458 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
1459
1460 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
1461 is not empty.
1462 (SDATA): Likewise.
1463 (REL_SDATA): Likewise.
1464 (REL_SBSS): Likewise.
1465 (REL_SDATA2): Likewise.
1466 (REL_SBSS2): Likewise.
1467 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
1468 (SDATA2): Likewise.
1469
1470 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1471
1472 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
1473 destructor in rom.
1474 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
1475
1476 2001-11-22 H.J. Lu <hjl@gnu.org>
1477
1478 * Makefile.in: Regenerated with automake based on automake
1479 1.4-8 in RedHat 7.1.
1480
1481 2001-11-22 Alan Modra <amodra@bigpond.net.au>
1482
1483 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
1484 (config.status): Delete rule.
1485 Add extra dependencies to cover sourced emulparams files.
1486 * Makefile.in: Regenerate.
1487
1488 * scripttempl/elf.sc: Order <section>, <section>.* and
1489 corresponding linkonce sections as seen in input files.
1490 Formatting fixes. Zero vma of all sections if not relocating.
1491 (STACK): Define and insert if STACK_ADDR defined.
1492 (OTHER_RELOCATING_SECTIONS): Delete.
1493 (OTHER_END_SYMBOLS): Define.
1494 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
1495 (OTHER_READWRITE_SECTIONS): Likewise.
1496 (OTHER_GOT_SECTIONS): Likewise.
1497 (OTHER_SDATA_SECTIONS): Likewise.
1498 (OTHER_BSS_SECTIONS): Likewise.
1499 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
1500 (OTHER_READWRITE_SECTIONS): Likewise.
1501 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
1502 (OTHER_READWRITE_SECTIONS): Likewise
1503
1504 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
1505 (STACK_ADDR): Define.
1506 * emulparams/armelf_oabi.sh: As for armelf.sh.
1507 * emulparams/elf32mcore.sh: As for armelf.sh.
1508 * emulparams/h8300elf.sh: As for armelf.sh.
1509 * emulparams/mn10200.sh: As for armelf.sh.
1510 * emulparams/shelf.sh: As for armelf.sh.
1511
1512 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
1513 (OTHER_END_SYMBOLS): Define.
1514 * emulparams/m32relf.sh: As for elf32fr30.sh.
1515 * emulparams/h8300helf.sh: As for elf32fr30.sh.
1516 * emulparams/h8300self.sh: As for elf32fr30.sh.
1517
1518 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
1519 defines with RELOCATING test.
1520 (OTHER_SDATA_SECTIONS): Likewise.
1521 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1522 (OTHER_END_SYMBOLS): ..this.
1523 * emulparams/crislinux.sh: As for criself.sh.
1524
1525 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
1526 if not relocating.
1527 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1528 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
1529 normal and linkonce sections as seen in input files.
1530 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
1531 (TEXT_DYNAMIC): Likewise.
1532 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
1533 (OTHER_SDATA_SECTIONS): Likewise.
1534 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1535 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
1536 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
1537 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
1538 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
1539 (OTHER_PLT_RELOC_SECTIONS): Likewise.
1540 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
1541 sections as seen in input files.
1542 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
1543 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
1544 if not relocating.
1545 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
1546 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
1547 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
1548 (OTHER_SECTIONS): Instead, use this..
1549 (OTHER_END_SYMBOLS): ..and this.
1550
1551 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
1552 * emulparams/elf32bsmip.sh: Likewise.
1553 * emulparams/elf32btsmip.sh: Likewise.
1554 * emulparams/elf32ebmip.sh: Likewise.
1555 * emulparams/elf32lmip.sh: Likewise.
1556 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
1557 * emulparams/elf32lsmip.sh: Likewise.
1558 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
1559 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
1560 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
1561 * emulparams/elf64btsmip.sh: Likewise.
1562 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
1563 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
1564 * emulparams/elf32ppclinux.sh: Likewise.
1565 * emulparams/elf32ppcsim.sh: Likewise.
1566 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
1567 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
1568 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
1569 * emulparams/h8300self.sh: Likewise.
1570 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
1571 * emulparams/sh.sh: Comment.
1572 * emulparams/shl.sh: Source sh.sh, remove duplicates.
1573 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
1574 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
1575
1576 2001-11-21 David Heine <dlheine@tensilica.com>
1577 Alan Modra <amodra@bigpond.net.au>
1578
1579 * ldlang.c (map_input_to_output_sections): Replace "break"
1580 accidentally removed with 2001-08-03 change.
1581 (lang_gc_sections_1): Likewise.
1582
1583 2001-11-21 Alan Modra <amodra@bigpond.net.au>
1584
1585 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
1586
1587 2001-11-20 Angela Marie Thomas <angela@redhat.com>
1588
1589 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
1590 of false when calling lang_size_sections.
1591 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
1592
1593 2001-11-15 Alan Modra <amodra@bigpond.net.au>
1594
1595 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
1596 function when LDEMUL_FINISH isn't set to the same name. Don't
1597 call ${LDEMUL_FINISH}.
1598 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
1599 * emultempl/armelf.em (arm_elf_finish): Call
1600 gld${EMULATION_NAME}_finish.
1601 * emultempl/hppaelf.em (hppaelf_finish): Rename to
1602 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
1603 hppaelf_layout_sections_again if necessary.
1604 (need_laying_out): New var.
1605 (hppaelf_layaout_sections_again): Rename to
1606 hppaelf_layout_sections_again. Clear need_laying_out.
1607 (PARSE_AND_LIST_OPTIONS): Format text.
1608
1609 2001-11-14 H.J. Lu <hjl@gnu.org>
1610
1611 * emultempl/armelf.em (arm_elf_finish): Renamed from
1612 gld${EMULATION_NAME}_finish.
1613 (LDEMUL_FINISH): Set to arm_elf_finish.
1614
1615 2001-11-14 Daniel Jacobowitz <drow@mvista.com>
1616
1617 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
1618 (struct ld_emulation_xfer_struct): Use it.
1619
1620 2001-11-13 Ross Alexander <ross.alexander@uk.neceur.com>
1621
1622 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
1623 additional symbols referenced by newer crt0.o files from HP.
1624
1625 2001-11-12 Anthony Green <green@redhat.com>
1626
1627 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
1628
1629 2001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
1630
1631 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
1632 * Makefile.in: Regenerate.
1633
1634 2001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1635
1636 * ld.texinfo: Use @command for commands, @option for options.
1637 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
1638 the page man title.
1639 * Makefile.in: Rebuild.
1640
1641 2001-11-04 Chris Demetriou <cgd@broadcom.com>
1642
1643 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
1644 Add support for targets.
1645
1646 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1647
1648 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
1649 * configure: Regernate.
1650 * po/fr.po: New file.
1651 * po/sv.po: New file.
1652
1653 2001-11-01 NIIBE Yutaka <gniibe@m17n.org>
1654
1655 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
1656 as little endian default and to support big endian.
1657
1658 2001-11-01 Chris Demetriou <cgd@broadcom.com>
1659
1660 * ld.texinfo (Options): Document new option, -nostdlib.
1661 * lexsup.c (OPTION_NOSTDLIB): New definition.
1662 (ld_options): Add entry for "nostdlib".
1663 (parse_args): Handle OPTIONS_NOSTDLIB.
1664 * ldfile.c (ldfile_add_library_path): Don't add directories
1665 to the search path if they weren't specified on the command line
1666 and -nostdlib was specified.
1667 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
1668
1669 2001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
1670
1671 * lexsup.c (parse_args): Prevent infinite parsing loop when
1672 "-rpath.a" is specified on the command line.
1673 Replace calls to fprintf with calls to einfo.
1674
1675 2001-10-31 John Marshall <jmarshall@acm.org>
1676
1677 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
1678 appear only once across all the linker scripts involved in a link
1679 invocation no longer applies. Make the documentation reflect
1680 that.
1681
1682 2001-10-31 NIIBE Yutaka <gniibe@m17n.org>
1683
1684 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
1685 targets.
1686 (sh-*-linux*): Added targ_extra_libpath.
1687
1688 2001-10-31 David Heine <dlheine@tensilica.com>
1689
1690 * ldlang.c (lang_size_sections): Keep a valid output_offset field
1691 for padding statements.
1692
1693 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1694
1695 * configure.tgt (mmix-*-*): New target.
1696 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
1697 Add dependencies to match.
1698 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
1699 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
1700 scripttempl/mmo.sc: New files.
1701 * gen-doc.texi: @set MMIX.
1702 * ld.texinfo: Ditto.
1703 [MMIX] Add MMIX node.
1704 * Makefile.in: Regenerate.
1705
1706 2001-10-29 Kazu Hirata <kazu@hxi.com>
1707
1708 * ldlang.c: Fix a comment typo.
1709
1710 2001-10-23 Alan Modra <amodra@bigpond.net.au>
1711
1712 * configure.host: Move alpha*-*-linux-gnu* entry to generic
1713 entries, and match *-*-linux*.
1714
1715 2001-10-20 Alan Modra <amodra@bigpond.net.au>
1716
1717 * ldgram.y (mri_script_command): Surround processing of INCLUDE
1718 with ldlex_script, ldlex_popstate.
1719 (ifile_p1): Likewise.
1720 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
1721 correct slot.
1722 (lex_push_file): Save current lineno to lineno_stack. Set lineno
1723 to 1. Don't BEGIN(SCRIPT).
1724 (lex_redirect): Similarly.
1725 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
1726
1727 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
1728
1729 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
1730 __EH_FRAME_END__ and accept eh frames into data section.
1731 Add ctor and dtor sections.
1732
1733 2001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1734
1735 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
1736 (auto-export): Fix indentation.
1737
1738 2001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1739
1740 * pe-dll.c (autofilter_objectlist): Add startup objects
1741 for profiling.
1742 (auto-export): Constify char * p.
1743 Extract file basename and use strcmp rather than ststr
1744 for object lookup.
1745
1746 2001-10-18 Chris Demetriou <cgd@broadcom.com>
1747
1748 * ldmain.c (get_emulation): Improve comment about the handling
1749 of -mipsN options.
1750
1751 2001-10-17 Alan Modra <amodra@bigpond.net.au>
1752
1753 * po/POTFILES.in: Regenerate.
1754
1755 2001-10-16 Vassili Karpov <malc@pulsesoft.com>
1756
1757 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
1758 -z nocopyreloc and -z nocombreloc usage strings.
1759
1760 2001-10-12 Vassili Karpov <malc@pulsesoft.com>
1761
1762 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
1763 in usage.
1764
1765 2001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
1766
1767 * scripttempl/armaout.sc: Place .bss section after end of aligned
1768 data section to match behaviour of aout code in constructrion of
1769 header.
1770
1771 2001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1772
1773 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
1774 startup files for mingw32 dlls to list.
1775
1776 2001-10-10 Chris Demetriou <cgd@broadcom.com>
1777
1778 * emultempl/elf32.em: Fix shell 'if' usage for portability.
1779
1780 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
1781
1782 * configure.tgt (targ): Add arm9e-*-elf.
1783
1784 2001-10-05 H.J. Lu <hjl@gnu.org>
1785
1786 * genscripts.sh: Fix a typo in the last change.
1787
1788 2001-10-05 Jakub Jelinek <jakub@redhat.com>
1789
1790 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
1791 -z nocombreloc in usage.
1792
1793 2001-10-03 Jim Blandy <jimb@redhat.com>
1794
1795 * genscripts.sh: Include a comment at the top of each generated
1796 script, explaining its purpose.
1797
1798 2001-10-03 Vassili Karpov <malc@pulsesoft.com>
1799
1800 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
1801 * NEWS: Mention -z nocopyreloc.
1802 * ld.texinfo (Options): Describe nocopyreloc.
1803
1804 2001-10-03 Alan Modra <amodra@bigpond.net.au>
1805
1806 * configure: Regenerate.
1807
1808 2001-10-02 Alan Modra <amodra@bigpond.net.au>
1809
1810 * ldver.h (ld_program_version): Remove declaration.
1811 * lexsup.c (parse_args): Move printing of copyright message..
1812 * ldver.c (ldversion): .. to here.
1813 Use BFD_VERSION_STRING in place of BFD_VERSION.
1814 (ld_program_version): Remove.
1815 * Makefile.am (Makefile): Depend on bfd/configure.in.
1816 Run "make dep-am".
1817 * Makefile.in: Regenerate.
1818
1819 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1820
1821 * Makefile.am: Update dependencies with "make dep-am".
1822 * Makefile.in: Regenerate.
1823
1824 2001-09-29 John Reiser <jreiser@BitWagon.com>
1825
1826 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
1827 * lexsup.c: Add --no-define-common commandline option.
1828 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
1829 * ldlex.l: Likewise.
1830 * ld.h: Add command_line.inhibit_common_definition.
1831 * ldmain.c (main): Initialize.
1832 * ld.texinfo: Document.
1833
1834 2001-09-29 Alan Modra <amodra@bigpond.net.au>
1835
1836 * ldlang.c (section_already_linked): Remove assignment to kept_section.
1837
1838 2001-09-26 Alan Modra <amodra@bigpond.net.au>
1839
1840 * ldmisc.c (USE_STDARG): Remove.
1841 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
1842 (einfo): Likewise.
1843 (minfo): Likewise.
1844 (lfinfo): Likewise.
1845
1846 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
1847 declarations. Update copyright.
1848
1849 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
1850
1851 * pe-dll.c: Remove obsoleted declaration of
1852 pe_get_data_import_dll_name.
1853 (pe_create_import_fixup): Fix thinko.
1854
1855 * ld.texinfo(enable-auto-import): Clarify the explanation.
1856
1857 2001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
1858
1859 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
1860 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
1861 DLL_SUPPORT controlled code.
1862
1863 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
1864
1865 * emultempl/pe.em(pe_data_import_dll): Make static.
1866 (pe_get_data_import_dll_name): New accessor function.
1867 * pe-dll.c(pe_create_import_fixup): call
1868 pe_get_data_import_dll_name() from pe.em, instead of
1869 directly accessing pe_data_import_dll variable from pe.em.
1870
1871 2001-09-18 Bruno Haible <haible@clisp.cons.org>
1872
1873 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
1874 (def_file_add_directive): Use ISSPACE instead of isspace.
1875 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
1876 isdigit/isxdigit/isalpha/isalnum.
1877 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
1878 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
1879 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
1880 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
1881 isalnum.
1882 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
1883 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
1884 isupper/tolower.
1885 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
1886 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
1887 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
1888 (ctor_prio): Use ISDIGIT instead of isdigit.
1889 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
1890 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
1891 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
1892 isupper/tolower.
1893 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
1894 (stricpy): Use TOLOWER instead of isupper/tolower.
1895 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
1896 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
1897 (lex_warn_invalid): Use ISPRINT instead of isprint.
1898 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
1899 (main): For gettext, also set the LC_CTYPE locate facet.
1900 (add_keepsyms_file): Use ISSPACE instead of isspace.
1901 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
1902 (is_num, parse_args): Use ISDIGIT instead of isdigit.
1903 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
1904 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
1905 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
1906 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
1907 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
1908 (quoteput): Use ISSPACE instead of isspace.
1909 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
1910 instead of isalnum.
1911
1912 2001-09-18 Alan Modra <amodra@bigpond.net.au>
1913
1914 * deffilep.y (def_stash_module): Constify "name" param.
1915
1916 * pe-dll.c: Replace CONST with const throughout.
1917 (quick_symbol): Constify "n1", "n2", "n3" params.
1918 (make_singleton_name_thunk): Constify "import" param. Make
1919 "buffer_len" a size_t.
1920 (make_import_fixup_entry): Constify "name", "fixup_name",
1921 "dll_symname" params.
1922 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
1923 (pe_get32): Likewise.
1924 (pe_implied_import_dll): Likewise.
1925
1926 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
1927 (sort_by_section_name): Likewise.
1928
1929 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
1930 (make_import_fixup): Cast printf arg, rel->address to long rather
1931 than int.
1932 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
1933
1934 2001-09-15 Alan Modra <amodra@bigpond.net.au>
1935
1936 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
1937 defines BufferSize. Increase buffer size by one.
1938
1939 2001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
1940
1941 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
1942
1943 2001-09-14 Kevin Lo <kevlo@openbsd.org>
1944
1945 * configure.tgt: Add arm-openbsd target.
1946
1947 2001-09-12 H.J. Lu <hjl@gnu.org>
1948
1949 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
1950 eelf64lppc.o to ...
1951 (ALL_64_EMULATIONS): Here.
1952 * Makefile.in: Regenerated.
1953
1954 2001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1955
1956 * emultempl/pe.em(make_import_fixup): change signature to
1957 take asection as well as arelec; we need this for proper
1958 error reporting. Only call pe_create_import_fixup() if
1959 there is no attempt to add a constant addend to the reloc;
1960 otherwise, report error condition.
1961 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
1962 since final argument is a pointer to make_import_fixup().
1963 Change call to cb() to match make_import_fixup() signature.
1964 (make_import_fixup_mark): make buffer_len unsigned.
1965 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
1966
1967 2001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
1968
1969 * ld.texinfo: add verbose documentation for auto-import
1970 direct-addressing workaround, to compliment the terse
1971 error message.
1972
1973 2001-09-12 Andrew MacLeod <amacleod@redhat.com>
1974
1975 * scripttempl/v850.sc: Add gcc_except_table sections.
1976
1977 2001-09-11 Jeffrey A Law (law@cygnus.com)
1978
1979 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
1980 * emulparams/h8300self.sh: Similarly.
1981
1982 2001-09-05 Danny Smith <dannysmith@users.souceforge.net>
1983
1984 * ld.texinfo (Options, --stack): Correct default value for stack
1985 reserve.
1986
1987 2001-09-05 Tom Rix <trix@redhat.com>
1988
1989 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
1990
1991 2001-09-03 Andreas Jaeger <aj@suse.de>
1992
1993 * emultempl/beos.em: Declare prototypes for comparions functions,
1994 adjust definitions.
1995
1996 2001-09-02 Andreas Jaeger <aj@suse.de>
1997
1998 * emultempl/aix.em: Add missing prototype.
1999 * emultempl/lnk960.em: Likewise.
2000 * emultempl/vanilla.em: Likewise.
2001 * emultempl/armcoff.em: Likewise.
2002 * emultempl/armelf_oabi.em: Likewise.
2003 * emultempl/beos.em: Likewise.
2004 * emultempl/gld960c.em: Likewise.
2005 * emultempl/gld960.em: Likewise.
2006
2007 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
2008 for prototype declaration.
2009
2010 2001-08-31 Eric Christopher <echristo@redhat.com>
2011 Jason Eckhardt <jle@redhat.com>
2012
2013 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
2014
2015 2001-08-31 Andreas Jaeger <aj@suse.de>
2016
2017 * emultempl/pe.em: Add missing prototypes.
2018 (gld_${EMULATION_NAME}_after_open): Remove extra args to
2019 pe_find_data_imports.
2020 (pr_sym): Add unused attribute.
2021
2022 2001-08-29 Joel Sherrill <joel@OARcorp.com>
2023
2024 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
2025 default from coff to elf.
2026
2027 2001-08-29 Jeff Law <law@redhat.com>
2028
2029 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
2030 ARCH specification.
2031 * emulparams/h8300self.sh: Similarly.
2032
2033 2001-08-28 J"orn Rennecke <amylaar@redhat.com>
2034
2035 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
2036 eh8300self.o .
2037 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
2038 * configure.tgt (h8300-*-elf*): New case.
2039 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
2040 * emulparams/h8300self.sh: New file.
2041 * Makefile.in: Regenerated.
2042
2043 2001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
2044
2045 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
2046 with macro name.
2047
2048 2001-08-27 Linus Nordberg <linus@swox.com>
2049 Alan Modra <amodra@bigpond.net.au>
2050
2051 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
2052 (eelf64ppc.c, eelf64lppc.c): Add make targets.
2053 Run "make dep-am"
2054 * Makefile.in: Regenerate.
2055 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
2056 entries to correct alphabetical position.
2057 * emulparams/elf64ppc.sh: New.
2058 * emulparams/elf64lppc.sh: New.
2059
2060 2001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
2061
2062 * ldmain.c (main): Declare BSIZE as static.
2063
2064 2001-08-23 Jakub Jelinek <jakub@redhat.com>
2065
2066 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
2067 into .rel.dyn resp. .rela.dyn if combreloc.
2068 (get_script): If .x linker script is equal to .xn, only put it
2069 once into the binary.
2070 Add .xc and .xsc scripts.
2071 (parse_args): Handle -z combreloc and -z nocombreloc.
2072 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
2073 For .xc and .xsc scripts put all .rel* or .rela* input sections
2074 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
2075 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
2076 is elf.
2077 Strip trailing whitespace from script.
2078 Generate .xc and .xsc scripts if requested.
2079 * ldmain.c (main): Initialize link_info.combreloc and
2080 link_info.spare_dynamic_tags.
2081 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
2082 (ld_options): Add --spare-dynamic-tags option.
2083 (parse_args): Likewise.
2084 * ld.texinfo: Document -z combreloc and -z nocombreloc.
2085 * ldint.texinfo: Document .xc and .xsc linker scripts.
2086 * NEWS: Add notes about -z combreloc and SHF_MERGE.
2087
2088 2001-08-22 H.J. Lu <hjl@gnu.org>
2089
2090 * emulparams/elf32fr30.sh: Add a newline.
2091
2092 2001-08-21 Andreas Jaeger <aj@suse.de>
2093
2094 * deffilep.y: Add missing prototypes.
2095 * pe-dll.c: Likewise.
2096
2097 2001-08-20 Alan Modra <amodra@bigpond.net.au>
2098
2099 * ldlang.c (insert_pad): Fix typos in last patch.
2100
2101 * ldlang.c: When traversing lang_statement_union_type lists,
2102 consistently use "header.next" rather than "next".
2103 * mpw-eppcmac.c: Likewise.
2104 * emultempl/beos.em: Likewise.
2105 * emultempl/hppaelf.em: Likewise.
2106 * emultempl/pe.em: Likewise.
2107 * ldlang.h (union lang_statement_union): Remove "next" field.
2108
2109 * ldlang.c (insert_pad): Use offsetof macro.
2110 (lang_size_sections): Always neuter padding statements.
2111 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
2112
2113 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
2114 passed to lang_size_sections.
2115 (pe_exe_fill_sections): Likewise.
2116 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
2117 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
2118
2119 2001-08-18 Alan Modra <amodra@bigpond.net.au>
2120
2121 * emultempl/aix.em: Formatting fixes.
2122
2123 2001-08-18 Alan Modra <amodra@bigpond.net.au>
2124
2125 * ldlang.c (insert_pad): Make use of an existing pad statement if
2126 available. Move code calculating alignment, adjusting section
2127 alignment power, and adjusting dot to ..
2128 (size_input_section): .. here. Remove unused relax param.
2129 (lang_size_sections): Change boolean `relax' param to boolean *.
2130 Adjust call to size_input_section. Make use of insert_pad to
2131 place pad after the assignment statement. If relaxing, zap
2132 padding statements.
2133 (reset_memory_regions): Reset output_bfd section sizes too.
2134 (relax_again): Move to..
2135 (lang_process): ..here. Adjust call to lang_size_sections, and
2136 remove duplicated code.
2137 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
2138
2139 2001-08-17 Alan Modra <amodra@bigpond.net.au>
2140
2141 * ld.texinfo: Document that fill values now use the four least
2142 significant bytes.
2143 * emulparams/elf32fr30.sh (NOP): Update.
2144 * emulparams/elf32mcore.sh: Likewise.
2145 * emulparams/elf64_s390.sh: Likewise.
2146 * emulparams/elf_i386.sh: Likewise.
2147 * emulparams/elf_i386_be.sh: Likewise.
2148 * emulparams/elf_i386_chaos.sh: Likewise.
2149 * emulparams/elf_i386_ldso.sh: Likewise.
2150 * emulparams/elf_s390.sh: Likewise.
2151 * emulparams/elf_x86_64.sh: Likewise.
2152 * emulparams/i386moss.sh: Likewise.
2153 * emulparams/i386nw.sh: Likewise.
2154 * emulparams/m68kelf.sh: Likewise.
2155 * scripttempl/elf.sc: Update NOP comment.
2156 * scripttempl/elfi370.sc: Likewise.
2157 * scripttempl/elfm68hc11.sc: Likewise.
2158 * scripttempl/elfm68hc12.sc: Likewise.
2159 * scripttempl/nw.sc: Likewise.
2160
2161 2001-08-15 Tom Rix <trix@redhat.com>
2162
2163 * ldgram.y (saved_script_handle): Initialize to NULL.
2164 * ldmain.c (main): Change check on saved_script_handle.
2165
2166 2001-08-14 Alan Modra <amodra@bigpond.net.au>
2167
2168 * emultempl/elf32.em: Formatting fixes.
2169 (output_prev_sec_find): Test for bfd_ind_section too; do so by
2170 looking at sec->owner.
2171 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
2172 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
2173 unused code, and reorganize orphan section placement code.
2174
2175 * ldlang.c (wild_doit): Rename to lang_add_section.
2176 * ldlang.h: Here too.
2177 * mpw-elfmips.c: And here.
2178 * emultempl/beos.em: And here.
2179 * emultempl/elf32.em: And here.
2180 * emultempl/hppaelf.em: And here.
2181 * emultempl/pe.em: And here.
2182
2183 2001-08-13 Richard Henderson <rth@redhat.com>
2184
2185 * emultempl/needrelax.em: New file.
2186 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
2187 * Makefile.am (eelf64_ia64.c): Depend on it.
2188 * Makefile.in: Rebuild.
2189
2190 2001-08-13 Alan Modra <amodra@bigpond.net.au>
2191
2192 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
2193 output_section is set non-NULL.
2194
2195 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
2196 `true' for SEC_EXCLUDE sections so that the generic code doesn't
2197 needlessly create an output_section_statement. Treat a correctly
2198 named output_section_statement with NULL bfd_section as compatible.
2199
2200 2001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
2201
2202 * emultempl/generic.em: Support EXTRA_EM_FILE.
2203 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
2204 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
2205 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
2206 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
2207 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
2208 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
2209 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
2210 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
2211 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
2212 LDEMUL_FIND_POTENTIAL_LIBRARIES.
2213
2214 2001-08-12 Richard Henderson <rth@redhat.com>
2215
2216 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
2217 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
2218 scripttempl/v850.sc: Keep .jcr data.
2219
2220 2001-08-12 H.J. Lu <hjl@gnu.org>
2221 Andrew Haley <aph@cambridge.redhat.com>
2222 Nick Clifton <nickc@redhat.com>
2223
2224 * ldgram.y (had_script): Change name to saved_script_handle.
2225 Change type to file handle.
2226 * ld.h (had_script): Rename and retype.
2227 * ldfile.c (ldfile_open_command_file): Save the file handle
2228 used in saved_script_handle.
2229 * lexsup.c (parse_args): Do not allow -c option to alter
2230 saved_script_handle.
2231 * ldmain.c (main): Print out the linker script used if
2232 --verbose is given. Check saved_script_handle to obtain the
2233 external linker script used, or if NULL, dump the builtin
2234 script.
2235 * ld.texinfo: Document that --verbose now dumps the linker
2236 script used, regardless of whether it was an internal or an
2237 external script.
2238
2239 2001-08-10 Andreas Jaeger <aj@suse.de>
2240
2241 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
2242 to build warnings.
2243 * configure: Regenerate.
2244
2245 2001-08-09 Alan Modra <amodra@bigpond.net.au>
2246
2247 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
2248
2249 * scripttempl/elf.sc: Move non-text .dynamic section before
2250 .plt/.got/.sdata* group.
2251 (OTHER_GOT_SECTIONS): Move to immediately after .got.
2252 (OTHER_SDATA_SECTIONS): Add.
2253 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
2254 OTHER_GOT_SECTIONS.
2255 * emulparams/crislinux.sh: Likewise.
2256 * emulparams/elf32b4300.sh: Likewise.
2257 * emulparams/elf32bmip.sh: Likewise.
2258 * emulparams/elf32bmipn32.sh: Likewise.
2259 * emulparams/elf32bsmip.sh: Likewise.
2260 * emulparams/elf32btsmip.sh: Likewise.
2261 * emulparams/elf32ebmip.sh: Likewise.
2262 * emulparams/elf32elmip.sh: Likewise.
2263 * emulparams/elf32l4300.sh: Likewise.
2264 * emulparams/elf32lmip.sh: Likewise.
2265 * emulparams/elf32lsmip.sh: Likewise.
2266 * emulparams/elf32ltsmip.sh: Likewise.
2267 * emulparams/elf64bmip.sh: Likewise.
2268 * emulparams/elf64btsmip.sh: Likewise.
2269 * emulparams/elf64ltsmip.sh: Likewise.
2270
2271 2001-08-08 Alan Modra <amodra@bigpond.net.au>
2272
2273 * genscripts.sh: Source the emulparams script before each output
2274 script is generated so that variables like `RELOCATING' may affect
2275 variables defined in the emulparams script.
2276
2277 2001-08-04 Alan Modra <amodra@bigpond.net.au>
2278
2279 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
2280 order.
2281
2282 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
2283 ie. iterate over wild_statement.section_list.
2284 (gld${EMULATION_NAME}_place_orphan): Likewise.
2285
2286 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2287
2288 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
2289 .fini[0-4] sections used by _exit
2290 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
2291 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
2292 * scripttempl/elfm68hc11.sc: Likewise.
2293
2294 2001-08-03 H.J. Lu <hjl@gnu.org>
2295
2296 * emultempl/beos.em (init): Add the missing initialization.
2297
2298 2001-08-03 Alan Modra <amodra@bigpond.net.au>
2299
2300 * ld.texinfo (Input Section Basics): Clarify ordering of output
2301 sections.
2302 * ldlang.c (callback_t): Add wildcard_list param.
2303 (walk_wild_section): Remove "section" param. Rewrite for
2304 lang_wild_statement_type change. Remove unique_section_p test.
2305 (walk_wild_file): Remove "section" param.
2306 (walk_wild): Remove "section" and "file" params.
2307 (lang_gc_wild): Likewise.
2308 (wild): Likewise. Modify for lang_wild_statement_type change.
2309 (wild_sort): Likewise. Add "sec" param.
2310 (gc_section_callback): Likewise.
2311 (output_section_callback): Likewise. Do unique_section_p test.
2312 (map_input_to_output_sections): Modify call to wild.
2313 (lang_gc_sections_1): Likewise.
2314 (print_wild_statement): Modify for lang_wild_statement_type
2315 change.
2316 (lang_add_wild): Replace filename, filenames_sorted param with
2317 filespec. Replace section_name, sections_sorted,
2318 exclude_filename_list with section_list.
2319 * ldlang.h (lang_add_wild): Here too.
2320 (lang_wild_statement_type): Replace section_name, sections_sorted,
2321 and exclude_filename_list with section_list.
2322 * ldgram.y (current_file): Delete.
2323 (%union): Add wildcard_list.
2324 (file_NAME_list): Set type to wildcard_list. Build a linked list
2325 rather than calling lang_add_wild for each entry.
2326 (input_section_spec_no_keep): Call lang_add_wild here instead.
2327 * ld.h (struct wildcard_list): Declare.
2328 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
2329
2330 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
2331
2332 * ldmain.c (main): initialize link_info.pei386_auto_import
2333 * pe-dll.c: new tables for auto-export filtering
2334 (auto_export): change API, pass abfd for contextual filtering.
2335 Loop thru tables of excluded symbols instead of comparing
2336 "by hand".
2337
2338 2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
2339
2340 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
2341 static variable current_sec (static struct sec *). Add
2342 forward declaration for add_bfd_to_link.
2343 (process_def_file): Don't export undefined symbols. Do not
2344 export symbols starting with "_imp__". Call auto_export()
2345 with new API.
2346 (pe_walk_relocs_of_symbol): New function.
2347 (generate_reloc): add optional extra debugging
2348 (pe_dll_generate_def_file): eliminate extraneous initial blank
2349 line in output
2350 (make_one): enlarge symtab to make room for __nm__ symbols
2351 (DATA auto-import support).
2352 (make_singleton_name_thunk): New function.
2353 (make_import_fixup_mark): New function.
2354 (make_import_fixup_entry): New function.
2355 (pe_create_import_fixup): New function.
2356 (add_bfd_to_link): Specify that 'name' argument is a CONST
2357 char *.
2358 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
2359 declare new functions pe_walk_relocs_of_symbol and
2360 pe_create_import_fixup.
2361 * emultempl/pe.em: add new options --enable-auto-import,
2362 --disable-auto-import, and --enable-extra-pe-debug.
2363 (make_import_fixup): New function.
2364 (pe_find_data_imports): New function.
2365 (pr_sym): New function.
2366 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
2367 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
2368 CODE.
2369
2370 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
2371
2372 * ld.texinfo: add additional documentation for
2373 --export-all-symbols. Document --out-implib,
2374 --enable-auto-image-base, --disable-auto-image-base,
2375 --dll-search-prefix, --enable-auto-import, and
2376 --disable-auto-import.
2377 * ldint.texinfo: Add detailed documentation on auto-import
2378 implementation.
2379
2380 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
2381
2382 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
2383 example.
2384
2385 2001-07-24 Alan Modra <amodra@bigpond.net.au>
2386
2387 * Makefile.am: Update dependencies with "make dep-am".
2388 * Makefile.in: Regenerate
2389
2390 2001-07-23 Alan Modra <amodra@bigpond.net.au>
2391
2392 * ldcref.c (check_section_sym_xref): New function.
2393 (check_nocrossrefs): Call it.
2394 (check_nocrossref): Interate over h->refs here instead of..
2395 (check_refs): ..here. Pass in the symbol name, section, and bfd
2396 rather than hash_entry pointers.
2397 (struct check_refs_info): Keep symbol name rather than hash entry.
2398 Remove "same".
2399 (check_reloc_refs): Tweak for above changes in check_refs_info.
2400 Only report references to section syms when symname is NULL to
2401 prevent duplicate messages for the same reloc.
2402
2403 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2404
2405 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
2406 available. Do not print NULL trees.
2407 (exp_print_token): Print unknown tokens with values > 126 as
2408 decimal values not ASCII characters.
2409
2410 * ldlang.c (lang_leave_overlay): If a region is specified assign
2411 it to all sections inside the overlay unless they have been
2412 assigned to the own, non-default, memory region.
2413
2414 * README: Add header for consistency with other README files.
2415
2416 2001-07-14 H.J. Lu <hjl@gnu.org>
2417
2418 * emultempl/elf32.em (output_prev_sec_find): Never return
2419 bfd_abs_section_ptr, bfd_com_section_ptr nor
2420 bfd_und_section_ptr.
2421
2422 2001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
2423
2424 * Makefile.am (em32relf.c): Change dependency from generic.em to
2425 elf32.em.
2426 * Makefile.in: Regenerate.
2427
2428 2001-07-14 matthew green <mrg@eterna.com.au>
2429
2430 * configure.tgt (i386-*-netbsdelf*): New target.
2431 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
2432
2433 2001-07-13 Jakub Jelinek <jakub@redhat.com>
2434
2435 * emultempl/elf32.em (output_prev_sec_find): New.
2436 (place_orphan): Use it.
2437
2438 2001-07-11 H.J. Lu <hjl@gnu.org>
2439
2440 * ldmain.c (main): Fix typos in the last change.
2441
2442 2001-07-11 Jakub Jelinek <jakub@redhat.com>
2443
2444 * ldmain.c (main): Disallow -F and -f without -shared.
2445
2446 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
2447
2448 * emultempl/pe.em (after_open): Check for the output_bfd not
2449 having any coff_data structure allocated to it.
2450
2451 2001-07-09 David O'Brien <obrien@FreeBSD.org>
2452
2453 * emultempl/elf32.em: Do not assuming that contents of the buffer
2454 returned from basename function will remain unchanged accross other
2455 function calls.
2456
2457 2001-07-03 H.J. Lu <hjl@gnu.org>
2458
2459 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
2460 2001-07-03. It creates dynamic entries even for static binaries.
2461
2462 2001-07-03 Jakub Jelinek <jakub@redhat.com>
2463
2464 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
2465 (DYNAMIC): Use it to reserve few dynamic entries for
2466 post-linking tools.
2467
2468 2001-06-27 Alan Modra <amodra@bigpond.net.au>
2469
2470 * emulparams/hppa64linux.sh: New file.
2471 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
2472 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
2473 (ehppa64linux.c): Add rule to make it.
2474 Run "make dep-am".
2475 * Makefile.in: Regenerate.
2476
2477 2001-06-21 Hans-Peter Nilsson <hp@axis.com>
2478
2479 * ld.texinfo (Options, -r): Mention restrictions when using
2480 different object formats.
2481
2482 2001-06-19 Hans-Peter Nilsson <hp@axis.com>
2483
2484 * ldlang.c (lang_check): Emit fatal error if relocatable link
2485 between different object flavours with relocations in input.
2486
2487 2001-06-19 H.J. Lu <hjl@gnu.org>
2488
2489 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
2490 (--version-script): Mention the language support.
2491
2492 2001-06-19 H.J. Lu <hjl@gnu.org>
2493
2494 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
2495
2496 2001-06-18 H.J. Lu <hjl@gnu.org>
2497
2498 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
2499 (diststuff): Add $(MANS).
2500 * Makefile.in: Regenerated.
2501
2502 * ld.1: Removed.
2503
2504 2001-06-18 Hans-Peter Nilsson <hp@axis.com>
2505
2506 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
2507 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
2508 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
2509 * ld.h (args_type): Remove member export_dynamic. All users
2510 changed to use struct bfd_link_info member.
2511
2512 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
2513 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
2514 * Makefile.in: Regenerate.
2515
2516 2001-06-18 H.J. Lu <hjl@gnu.org>
2517
2518 * ldlang.c (init_os): Add the newline to the einfo call.
2519 (lang_check): Likewise.
2520 (lang_do_version_exports_section): Likewise.
2521
2522 2001-06-15 H.J. Lu <hjl@gnu.org>
2523
2524 * lexsup.c (parse_args); Save optind to report unrecognized
2525 option.
2526
2527 2001-06-15 Hans-Peter Nilsson <hp@axis.com>
2528
2529 * ldlang.c (lang_check): Emit fatal error if relocatable link
2530 between different object flavours.
2531
2532 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
2533 Set new link_info member export_dynamic.
2534 * ldmain.c (main): Initialize new link_info member export_dynamic.
2535
2536 2001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
2537
2538 * ldlang.c (walk_wild): Only call walk_wild_file if
2539 lookup_name returns something.
2540 (lookup_name): If load_symbols fails, return NULL.
2541 (load_symbols): Change to a boolean function.
2542 (open_input_bfds): If load_symbols fails then do not make the
2543 executable.
2544
2545 2001-06-08 Alan Modra <amodra@bigpond.net.au>
2546
2547 * ldlang.c (record_bfd_errors): Remove.
2548
2549 * emultempl/aix.em: Fix copyright dates.
2550
2551 2001-06-07 Andreas Jaeger <aj@suse.de>
2552
2553 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
2554 (TEXT_START_ADDR): Likewise.
2555
2556 2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
2557
2558 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
2559
2560 2001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2561
2562 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
2563
2564 2001-05-31 H.J. Lu <hjl@gnu.org>
2565
2566 * ldlang.c (open_input_bfds): Don't change the bfd error
2567 handler whilst loading symbols.
2568
2569 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2570
2571 * configure.tgt: Remove i370-mvs architecture, it is not currently
2572 supported.
2573
2574 2001-05-25 H.J. Lu <hjl@gnu.org>
2575
2576 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2577 like emulparams/aixppc.sh.
2578
2579 2001-05-25 H.J. Lu <hjl@gnu.org>
2580
2581 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
2582 setting of output_filename after bfd_scan_arch.
2583 * emultempl/pe.em: Likewise.
2584
2585 2001-05-25 H.J. Lu <hjl@gnu.org>
2586
2587 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2588 like emulparams/aixppc.sh.
2589
2590 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
2591 instead of ${srcdir}/emultempl/stringify.sed.
2592
2593 2001-05-25 Timothy Wall <twall@oculustech.com>
2594
2595 * emulparams/elf64_aix.sh: Change settings to match IBM linker
2596 output.
2597
2598 2001-05-25 Alan Modra <amodra@one.net.au>
2599
2600 * configure.host: Replace linuxoldld with linux*oldld.
2601 * configure.tgt: Likewise.
2602
2603 2001-05-24 H.J. Lu <hjl@gnu.org>
2604
2605 * emultempl/stringify.sed: Removed again.
2606
2607 2001-05-24 H.J. Lu <hjl@gnu.org>
2608
2609 * emultempl/aix.em (OUTPUT_ARCH): Defined.
2610 (gld${EMULATION_NAME}_before_parse): Initialize
2611 ldfile_output_architecture, ldfile_output_machine and
2612 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
2613 * emultempl/beos.em: Likewise.
2614 * emultempl/elf32.em: Likewise.
2615 * emultempl/linux.em: Likewise.
2616 * emultempl/mipsecoff.em: Likewise.
2617 * emultempl/pe.em: Likewise.
2618 * emultempl/sunos.em: Likewise.
2619
2620 2001-05-24 Tom Rix <trix@redhat.com>
2621
2622 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
2623 udate import file format.
2624 (change_symbol_mode) New, same
2625 (is_syscall) New, same
2626 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
2627 * emulparams/aixppc64.sh : same
2628 * emulparams/aixrs6.sh : same
2629 * emulparams/ppcmacos.sh : same
2630 * emultempl/aix.em : use strtoull to parse options
2631 * Makefile.am : add eaixppc64 emulation for xcoff64
2632 * Makefile.in : same
2633 * configure.tgt : same
2634
2635 * scripttempl/aix.sc : default text section offset to 0x10000000
2636 default data section offset to 0x20000000
2637 add .sv3264 and .sv64 pseudo sections
2638 loader and debug sections use the currect section offset.
2639
2640 * emultempl/aix.em : Add xcoff64 support
2641 Add -binitfini support
2642 (gld${EMULATION_NAME}_before_parse) -binitfini
2643 (gld${EMULATION_NAME}_parse_args) same
2644 (gld${EMULATION_NAME}_before_allocation) format change for special
2645 sections
2646
2647 * emulparams/aixppc64.sh : New file for xcoff64 support
2648
2649 2001-05-23 Alexandre Oliva <aoliva@redhat.com>
2650
2651 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
2652 variable to avoid non-portable shell construct.
2653
2654 2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2655
2656 * ldmain.c (get_emulation): Add -mips5 command line argument.
2657
2658 2001-05-22 Alexandre Oliva <aoliva@redhat.com>
2659
2660 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
2661 (ELF_INTERPRETER_NAME): Define it.
2662 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
2663 it.
2664 * configure.tgt (targ_emul, targ_extra_emuls)
2665 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
2666 as primary, elf_i386 as extra.
2667 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
2668 (eelf_i386_ldso.c): New rule.
2669 * Makefile.in: Rebuilt.
2670
2671 2001-05-22 Nick Clifton <nickc@redhat.com>
2672
2673 * lexsup.c (ld_options): Allow -I to be an alias for
2674 --dynamic-linker. This is for Solaris compatability.
2675 * ld.texinfo: Document that -I can be used.
2676 * ld.1: Regenerate.
2677
2678 2001-05-16 Alan Modra <amodra@one.net.au>
2679
2680 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
2681 whether an input section is the first one assigned to an output
2682 section.
2683 Assorted formatting fixes.
2684
2685 2001-05-14 DJ Delorie <dj@delorie.com>
2686
2687 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
2688 * Makefile.in: Ditto.
2689
2690 2001-05-11 Jakub Jelinek <jakub@redhat.com>
2691
2692 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
2693 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
2694 output sections.
2695 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2696
2697 2001-05-11 Jakub Jelinek <jakub@redhat.com>
2698
2699 * ldlang.c (lang_process): Call bfd_merge_sections.
2700
2701 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2702
2703 * ldgram.y: Fix typo.
2704
2705 2001-05-03 H.J. Lu <hjl@gnu.org>
2706
2707 * emultempl/elf32.em: Include "libiberty.h".
2708 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
2709 basename of the bfd filename.
2710 (gld${EMULATION_NAME}_stat_needed): Likewise.
2711 (gld${EMULATION_NAME}_try_needed): Likewise.
2712 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
2713
2714 2001-05-02 H.J. Lu <hjl@gnu.org>
2715
2716 * emultempl/pe.em: Include <ctype.h>.
2717
2718 2001-05-02 Johan Rydberg <jrydberg@opencores.org>
2719
2720 * emulparams/elf32openrisc.sh: New file.
2721
2722 * Makefile.am: Add OpenRISC target.
2723 * Makefile.in: Regenerated.
2724
2725 * configure.tgt: Add openrisc-*-* mapping.
2726
2727 2001-05-02 Nick Clifton <nickc@redhat.com>
2728
2729 * emultempl/aix.em: Replace buystring with xstrdup.
2730 * emultempl/beos.em: Replace buystring with xstrdup.
2731
2732 2001-05-02 H.J. Lu <hjl@gnu.org>
2733
2734 * ldfile.c: Include "libiberty.h".
2735 * ldlex.l: Likewise.
2736
2737 * ldmisc.c (buystring): Removed.
2738 * ldmisc.h: Likewise.
2739
2740 * ldfile.c: Replace buystring with xstrdup.
2741 * ldlang.c: Likewise.
2742 * ldlex.l: Likewise.
2743 * ldmain.c: Likewise.
2744 * ldmisc.c: Likewise.
2745 * lexsup.c: Likewise.
2746 * mpw-eppcmac.c: Likewise.
2747
2748 2001-04-30 Andreas Jaeger <aj@suse.de>
2749
2750 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
2751
2752 2001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2753
2754 * ldlang.c (load_symbols): Give emulation a chance
2755 to process unrecognized file before fatal error is
2756 reported, not after.
2757
2758 2001-04-27 Sean McNeil <sean@mcneil.com>
2759
2760 * configure.tgt: Add arm-vxworks target.
2761 * scripttempl/armcoff.sc: Support .text or .data as a section name
2762 prefix.
2763 Define _etext.
2764
2765 2001-04-13 J.T. Conklin <jtc@redback.com>
2766
2767 * ld.texinfo: Document --fatal-warnings.
2768 * ld.1: Regenerate.
2769
2770 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
2771 warnings have been turned into errors.
2772 * lexsup.c (OPTION_WARN_FATAL): Define.
2773 (ld_options): Entry for --fatal-warnings.
2774 (parse_args): Handle OPTION_WARN_FATAL.
2775 * ld.h (ld_config_type): Add fatal_warnings field.
2776
2777 2001-04-13 Jakub Jelinek <jakub@redhat.com>
2778
2779 * ldmain.c (main): Default to discard_sec_merge.
2780 * lexsup.c (OPTION_DISCARD_NONE): Define.
2781 (ld_options): Add --discard-none.
2782 (parse_args): Handle OPTION_DISCARD_NONE.
2783 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
2784 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
2785 all its input sections match.
2786
2787 2001-04-05 Steven J. Hill <sjhill@cotw.com>
2788
2789 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
2790 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
2791 (eelf32ltsmip.c): New target.
2792 (eelf64btsmip.c): Likewise.
2793 (eelf64ltsmip.c): Likewise.
2794 * Makefile.in: Regenerated.
2795
2796 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
2797 target.
2798 (mips*-*-linux-gnu*): Likewise.
2799
2800 * emulparams/elf32ltsmip.sh: New. Traditional little endian
2801 MIPS taget.
2802 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
2803 target.
2804 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
2805 endian target.
2806
2807 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
2808
2809 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
2810 correct value of __Stext here.
2811 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
2812 .startup section.
2813
2814 * emulparams/crislinux.sh: Remove FIXME.
2815
2816 2001-04-02 Alan Modra <alan@linuxcare.com.au>
2817
2818 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
2819 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
2820
2821 2001-03-27 Hans-Peter Nilsson <hp@axis.com>
2822
2823 * configure.tgt (cris-*-*): Change default emulation to criself.
2824 (cris-*-*aout*): New rule.
2825
2826 2001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
2827
2828 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
2829 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
2830
2831 2001-03-26 Andreas Jaeger <aj@suse.de>
2832
2833 * ld.texinfo (Overview): Fix syntax in texi code.
2834
2835 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2836
2837 * ld.texinfo: Put @c man indications to generate the ld man page.
2838 When generating man, define all the variables. Define SEEALSO
2839 and SYNOPSIS. Re-organize some lines to avoid the cross references.
2840 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
2841 (ld.1): Generate from ld.texinfo.
2842 * Makefile.in: Regenerate.
2843
2844 2001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
2845
2846 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
2847 and '-fdata-sections'. Set the VMA of STABS sections to zero.
2848
2849 2001-03-17 Ulrich Drepper <drepper@redhat.com>
2850
2851 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
2852 is an absolute path look only for this file and not along the path.
2853
2854 2001-03-17 Ulrich Drepper <drepper@redhat.com>
2855
2856 * emultempl/elf32.em (OPTION_GROUP): New macro.
2857 Add new option Bgroup to longopts.
2858 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
2859 (gld*_list_options): Add -Bgroup and -z defs.
2860 * ld.1: Document -Bgroup and -z defs.
2861 * ld.texinfo: Likewise.
2862
2863 2001-03-07 Michael Meissner <meissner@redhat.com>
2864
2865 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
2866 with sections created by -fdata-sections.
2867 (.dynbss,.bss): Ditto.
2868
2869 2001-03-05 Alan Modra <alan@linuxcare.com.au>
2870
2871 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
2872 after_allocation_default, not gld..._before_allocation.
2873
2874 2001-02-27 Alan Modra <alan@linuxcare.com.au>
2875
2876 * configure.in (BFD_VERSION): New.
2877 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2878 * configure: Regenerate.
2879 * Makefile.am: Run "make dep-am"
2880 * Makefile.in: Regenerate.
2881
2882 2001-02-26 Timothy Wall <twall@cygnus.com>
2883
2884 * emulparams/elf64_aix.sh: Add additional read-only sections;
2885 uncomment lines which are now required.
2886
2887 2001-02-26 H.J. Lu <hjl@gnu.org>
2888
2889 * ldlang.c (open_input_bfds): Set the bfd error handler so
2890 that problems can be caught whilst loading symbols.
2891 (record_bfd_errors): New function: Report BFD errors and mark
2892 the executable output as being invalid.
2893
2894 2001-02-22 Timothy Wall <twall@cygnus.com>
2895
2896 * configure.host: Add configuration for ia64-*-aix*.
2897 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
2898 Add dependencies for eelf64_aix.c.
2899 * Makefile.in: Regenerate.
2900 * configure.tgt: Add ia64-*-aix* mapping.
2901 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
2902 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
2903 AIX-specific test.
2904
2905 2001-02-20 H.J. Lu <hjl@gnu.org>
2906
2907 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
2908 false if we found the file.
2909
2910 2001-02-18 David O'Brien <obrien@FreeBSD.org>
2911
2912 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
2913 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
2914
2915 2001-02-18 lars brinkhoff <lars@nocrew.org>
2916
2917 * Makefile.am: Add PDP-11 target.
2918 * configure.tgt: Likewise.
2919 * emulparams/pdp11.sh: New file.
2920
2921 2001-02-17 David O'Brien <obrien@FreeBSD.org>
2922
2923 * configure.host: Add a generic FreeBSD configuration entry such that
2924 all [modern] FreeBSD systems on all platforms will look the same.
2925
2926 2001-02-14 H.J. Lu <hjl@gnu.org>
2927
2928 * configure.tgt: Remove mention of earmelf_linux26.
2929
2930 2001-02-13 Richard Henderson <rth@redhat.com>
2931
2932 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
2933
2934 2001-02-13 H.J. Lu <hjl@gnu.org>
2935
2936 * ldexp.h (node_type): Add etree_provided.
2937 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
2938 type to etree_provided if defined by PROVIDE. Allow updating
2939 for etree_provided.
2940 (exp_print_tree): Handle etree_provided.
2941 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
2942 etree_provided.
2943
2944 2001-02-09 David Mosberger <davidm@hpl.hp.com>
2945
2946 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
2947 .IA_64.unwind.* pattern to unwind table section and
2948 .IA_64.unwind_info* pattern to unwind info section.
2949
2950 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2951
2952 * Makefile.am: Add linux target for S/390.
2953 * Makefile.in: Likewise.
2954 * configure.host: Likewise.
2955 * configure.tgt: Likewise.
2956 * emulparams/elf64_s390.sh: New file.
2957 * emulparams/elf_s390.sh: New file.
2958
2959 2001-02-09 Jakub Jelinek <jakub@redhat.com>
2960
2961 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
2962 targ_extra_libpath.
2963 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
2964
2965 2001-02-06 Philip Blundell <philb@gnu.org>
2966
2967 * Makefile.am: Remove mention of earmelf_linux26.
2968 * Makefile.in: Regenerate.
2969
2970 2001-02-04 Philip Blundell <philb@gnu.org>
2971
2972 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
2973 * emulparams/armelf_linux26.sh: Delete.
2974 * configure.tgt: Remove mention of armelf_linux26 emulation.
2975
2976 2001-02-01 Nick Clifton <nickc@redhat.com>
2977
2978 * ld.1: Replace occurances of -oformat with --oformat.
2979
2980 2001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
2981
2982 * ldlang.c (lang_leave_overlay): Don't set lma_region when
2983 load_base is specified.
2984
2985 2001-01-24 Hans-Peter Nilsson <hp@axis.com>
2986
2987 * emultempl/elf32.em: Correct spelling in comments and listed
2988 options.
2989
2990 2001-01-23 Alan Modra <alan@linuxcare.com.au>
2991
2992 * ldlang.c (lang_leave_overlay): Only set lma_region from the
2993 default for the first section of a group of overlay sections.
2994
2995 2001-01-22 Alan Modra <alan@linuxcare.com.au>
2996
2997 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
2998 * Makefile.in: Regenerate.
2999 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
3000 Check for null tool_dir.
3001
3002 2001-01-16 Jim Wilson <wilson@redhat.com>
3003
3004 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
3005 and IA_64.unwind.info.
3006
3007 2001-01-16 H.J. Lu <hjl@gnu.org>
3008
3009 * ldlang.c (lang_check): Merge the private data only if the
3010 input file has contents.
3011
3012 2001-01-14 Alan Modra <alan@linuxcare.com.au>
3013
3014 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
3015
3016 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
3017 enabling search for libmilli. On a relocatable link, make .text
3018 sections unique.
3019 (LDEMUL_AFTER_PARSE): Define.
3020 (hppaelf_finish): Correct spelling of relocatable in comments.
3021
3022 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3023 rummage through the script for sections on the unique list.
3024 Correct length of strncmp for ".note".
3025 (gld${EMULATION_NAME}_check_needed): Rearrange function.
3026
3027 * ldlang.c (unique_section_list): New var.
3028 (unique_section_p): New function.
3029 (walk_wild_section): Don't match sections on unique_section_list.
3030 (lang_add_unique): New function.
3031 Correct spelling of relocatable in comments.
3032
3033 * ldlang.h (struct unique_sections): Declare.
3034 (unique_section_list): Declare.
3035 (unique_section_p): Declare.
3036 (lang_add_unique): Declare.
3037
3038 * lexsup.c (ld_options): Allow --unique to take an optional arg.
3039 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
3040
3041 * ld.texinfo (--unique): Update.
3042
3043 2001-01-13 Nick Clifton <nickc@redhat.com>
3044
3045 * lexsup.c (parse_args): Remove spurious white space.
3046
3047 2001-01-12 Nick Clifton <nickc@redhat.com>
3048
3049 * lexsup.c (parse_args): Update copyright date.
3050
3051 2001-01-12 Philip Blundell <pb@futuretv.com>
3052
3053 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
3054
3055 2001-01-10 Kazu Hirata <kazu@hxi.com>
3056
3057 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
3058 * scripttempl/h8300h.sc: Fix formatting.
3059 * scripttempl/h8300s.sc: Likewise.
3060 * scripttempl/h8500.sc: Likewise.
3061 * scripttempl/h8500b.sc: Likewise.
3062 * scripttempl/h8500c.sc: Likewise.
3063 * scripttempl/h8500m.sc: Likewise.
3064 * scripttempl/h8500s.sc: Likewise.
3065
3066 2000-01-07 David O'Brien <obrien@BSDi.com>
3067
3068 * emultempl/elf32.em: Only perform Linux ld hints processing when
3069 targeting Linux.
3070
3071 2001-01-07 Philip Blundell <philb@gnu.org>
3072
3073 * ld.texinfo (Bug Reporting): Update email address for reports.
3074
3075 2000-12-31 Nick Clifton <nickc@redhat.com>
3076
3077 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
3078 options by checking for a return value of '?' not -1.
3079
3080 2000-12-28 Nick Clifton <nickc@redhat.com>
3081
3082 * lexsup.c (struct ld_option): Add new enum value:
3083 EXACTLY_TWO_DASHES.
3084 (ld_options[]): Change -omagic, -output and -oformat options
3085 to be EXACTLY_TWO_DASHES.
3086 (OUTPUT_COUNT): Use ARRAY_SIZE.
3087 (parse_args): Change parameter 'argc' to unsigned.
3088 Place EXACTLY_TWO_DASHES options into new really_longopts
3089 array.
3090 If getopt_long_only fails, try calling getopt_long using the
3091 really_longopts array.
3092 (help): Print a double dash for both EXACTLY_TWO_DASHES and
3093 TWO_DASHES options.
3094
3095 * ldlex.h: Fix prototype of parse_args.
3096
3097 * ld.texinfo: Document that long options starting with 'o'
3098 must be preceeded by two dashes. Change example of a single
3099 dashed long option from -oformat to -trace-symbol.
3100
3101 2000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
3102
3103 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
3104 (longopts[]): New --no-default-excludes option.
3105 (gld_${EMULATION_NAME}_list_options): Document.
3106 (gld_${EMULATION_NAME}_parse_args): Handle.
3107
3108 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3109
3110 * ldlang.c (new_stat): Revert the last beautification with "innocent"
3111 whitespace, it breaks the K&R C preprocessor.
3112
3113 2000-12-11 DJ Delorie <dj@redhat.com>
3114
3115 * ld.texinfo: Add notes about --whole-archive and gcc.
3116
3117 2000-11-18 Fred Fish <fnf@be.com>
3118
3119 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
3120 (ld_options): Entry for --allow-shlib-undefined.
3121 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
3122 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
3123 to false.
3124 * ld.texinfo: Document new command line switch.
3125
3126 2000-12-12 Geoffrey Keating <geoffk@redhat.com>
3127
3128 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
3129 .fixup is actually read/write.
3130 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
3131 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
3132 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
3133
3134 2000-12-11 Jan Hubicka <jh@suse.cz>
3135
3136 * NEWS: Add note about x86_64 architecture.
3137
3138 2000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
3139
3140 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
3141 Set DWARF2 sections to a VMA of zero.
3142
3143 2000-12-01 Joel Sherrill <joel@OARcorp.com>
3144
3145 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
3146 New targets.
3147 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
3148 (sparc*-*-rtems*): Switched from a.out to ELF.
3149
3150 2000-11-30 Jan Hubicka <jh@suse.cz>
3151
3152 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
3153 (eelf_x86_64.c): New.
3154 * Makefile.in: Regenerate.
3155 * configure.tgt: Add support for x86_64-*-linux-gnu*.
3156 * emulparams/elf_x86_64.sh: New.
3157
3158 2000-11-30 Hans-Peter Nilsson <hp@axis.com>
3159
3160 * emulparams/crislinux.sh (ENTRY): Change back to _start.
3161 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
3162
3163 * scripttempl/crisaout.sc: Change all RELOCATING not related to
3164 merging non-a.out sections into CONSTRUCTING.
3165
3166 2000-11-28 Nick Clifton <nickc@redhat.com>
3167
3168 * ld.1 (COPYING): Mention that the GNU Free Documentation
3169 License is present in the sources, but not the output, and
3170 also available from the GNU website.
3171 (GNU Free Documentation License): Comment out this section.
3172
3173 2000-11-28 David O'Brien <obrien@dragon.nuxi.com>
3174
3175 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
3176 does not use them.
3177
3178 2000-11-25 David O'Brien <obrien@FreeBSD.org>
3179
3180 * ld.1: Remove old date so it does not give the impression the manpage
3181 is way out of date.
3182
3183 2000-11-24 Nick Clifton <nickc@redhat.com>
3184
3185 * configure.tgt (xscale-coff): Add target.
3186 (xscale-elf): Add target.
3187
3188 2000-11-24 Fred Fish <fnf@be.com>
3189
3190 * ldmain.c (main): Remove redundant init of config.make_executable
3191 to true.
3192
3193 2000-11-15 Richard Henderson <rth@redhat.com>
3194
3195 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
3196
3197 2000-11-14 Kazu Hirata <kazu@hxi.com>
3198
3199 * scripttempl/h8300.sc: Fix formatting.
3200 * scripttempl/h8300h.sc: Likewise.
3201 * scripttempl/h8300s.sc: Likewise.
3202
3203 2000-11-14 Denis Chertykov <denisc@overta.ru>
3204
3205 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
3206
3207 2000-11-09 Philip Blundell <pb@futuretv.com>
3208
3209 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
3210 around orphan sections whose names can be represented in C.
3211
3212 2000-11-07 Jim Wilson <wilson@redhat.com>
3213
3214 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
3215 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
3216
3217 2000-11-06 Nick Clifton <nickc@redhat.com>
3218
3219 * ld.texinfo: Add GNU Free Documentation License.
3220 * ldint.texinfo: Add GNU Free Documentation License.
3221 * ld.1: Add GNU Free Documentation License.
3222
3223 2000-11-05 Alan Modra <alan@linuxcare.com.au>
3224
3225 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
3226 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
3227
3228 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
3229 Move 2000-11-02 Makefile.in changes to this file.
3230 * Makefile.in: Regenerate.
3231
3232 2000-11-03 Nick Clifton <nickc@redhat.com>
3233
3234 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
3235 constructors and destructors.
3236 * scripttempl/h8300h.sc: Ditto.
3237 * scripttempl/h8300s.sc: Ditto.
3238 * scripttempl/h8500.sc: Ditto.
3239 * scripttempl/h8500b.sc: Ditto.
3240 * scripttempl/h8500c.sc: Ditto.
3241 * scripttempl/h8500m.sc: Ditto.
3242 * scripttempl/h8500s.sc: Ditto.
3243 * scripttempl/v850.sc: Ditto.
3244 * scripttempl/w65.sc: Ditto.
3245 * scripttempl/z8000.sc: Ditto.
3246
3247 2000-11-02 Per Lundberg <plundis@chaosdev.org>
3248
3249 * Makefile.in (e_i386_chaos.c): New rule.
3250 (ALL_EMULATIONS): Added e_i386_chaos.o.
3251 * emulparams/elf_i386_chaos.sh: New file.
3252 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
3253
3254 2000-10-20 Jakub Jelinek <jakub@redhat.com>
3255
3256 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
3257 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
3258 Fix sed invocation, so that it coped with '/' in Solaris 64bit
3259 library path suffix.
3260 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
3261
3262 2000-10-18 Hans-Peter Nilsson <hp@axis.com>
3263
3264 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
3265 for consecutive sections.
3266
3267 2000-10-17 Chandrakala Chavva <cchavva@redhat.com>
3268
3269 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
3270 options.
3271 * ld.texinfo: Added notes about this new option.
3272
3273 2000-10-16 Nick Clifton <nickc@redhat.com>
3274
3275 * emultempl/pe.em (_after_open): Add tests of return values from
3276 bfd functions. Emit appropriate error messages if necessary.
3277
3278 2000-10-13 Nick Clifton <nickc@redhat.com>
3279
3280 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
3281 local variables - they are not used, but leave in the call to
3282 bfd_canonicalize_symtab.
3283 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
3284 pe_dll_search_prefix.
3285
3286 2000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
3287
3288 * emultempl/pe.em (pe_dll_search_prefix): New variable,
3289 (longopts): New --dll-search-prefix option.
3290 (gld_${EMULATION_NAME}_list_options): Document.
3291 (gld_${EMULATION_NAME}_parse_args): Handle.
3292 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
3293 dynamically, search for a dll named '<prefix><basename>.dll'
3294 in preference to 'lib<basename>.dll' if --dll-search-prefix
3295 is specified.
3296
3297 2000-10-12 Alan Modra <alan@linuxcare.com.au>
3298
3299 * ldlang.c (section_already_linked): Set kept_section instead of
3300 sec->comdat->sec.
3301
3302 2000-10-10 Kazu Hirata <kazu@hxi.com>
3303
3304 * deffile.h: Fix formatting.
3305 * lexsup.c: Likewise.
3306 * mri.c: Likewise.
3307
3308 2000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3309
3310 * pe-dll.c (make_one): Do not generate code thunk for DATA
3311 exports.
3312 (process_def_file): deduce DATA flag for auto-export sumbols.
3313
3314 2000-10-09 Kazu Hirata <kazu@hxi.com>
3315
3316 * ld.h: Fix formatting.
3317 * ldcref.c: Likewise.
3318 * ldctor.h: Likewise.
3319 * ldemul.c: Likewise.
3320 * ldemul.h: Likewise.
3321 * ldexp.c: Likewise.
3322 * ldexp.h: Likewise.
3323 * ldfile.c: Likewise.
3324 * ldfile.h: Likewise.
3325 * ldlang.c: Likewise.
3326 * ldlang.h: Likewise.
3327 * ldmain.c: Likewise.
3328 * pe-dll.c: Likewise.
3329
3330 * pe-dll.c: Revert some formatting fixes.
3331
3332 2000-10-08 Kazu Hirata <kazu@hxi.com>
3333
3334 * pe-dll.c: Fix formatting.
3335
3336 2000-10-05 Kazu Hirata <kazu@hxi.com>
3337
3338 * ldlang.c: Fix formatting.
3339
3340 2000-10-03 DJ Delorie <dj@redhat.com>
3341
3342 * pe-dll.c (fill_edata): initialize entire block
3343 (make_one): fill in correct section.
3344
3345 2000-10-03 Kazu Hirata <kazu@hxi.com>
3346
3347 * ldexp.c: Fix formatting.
3348
3349 2000-10-02 DJ Delorie <dj@redhat.com>
3350
3351 * emultempl/pe.em (gld_*_after_open): detect case where there two
3352 import libraries for same dll; rename one to ensure proper link
3353 order.
3354
3355 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
3356 typo
3357 (generate_edata): fix typo
3358
3359 2000-09-29 Hans-Peter Nilsson <hp@axis.com>
3360
3361 * scripttempl/crisaout.sc (ENTRY): Now __start.
3362 (.text): Add default setting for __start.
3363 Remove CONSTRUCTORS handling.
3364 (/DISCARD/): Add .gnu.warning.*.
3365 * emulparams/crislinux.sh (ENTRY): Now __start.
3366 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
3367 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
3368 (ENTRY): Now __start.
3369 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
3370 (EXECUTABLE_SYMBOLS): Add default setting for __start.
3371
3372 2000-09-29 Kazu Hirata <kazu@hxi.com>
3373
3374 * deffile.h: Fix formatting.
3375 * ld.h: Likewise.
3376 * ldcref.c: Likewise.
3377 * ldctor.c: Likewise.
3378 * ldctor.h: Likewise.
3379 * ldemul.c: Likewise.
3380 * ldemul.h: Likewise.
3381 * ldexp.c: Likewise.
3382 * ldexp.h: Likewise.
3383 * ldfile.c: Likewise.
3384 * ldfile.h: Likewise.
3385 * ldlang.c: Likewise.
3386 * ldlang.h: Likewise.
3387 * lexsup.c: Likewise.
3388 * mri.c: Likewise.
3389 * pe-dll.c: Likewise.
3390
3391 2000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
3392
3393 * pe-dll.c (process_def_file): Uninitialized data wasn't
3394 exported with --export-all-symbols switch.
3395
3396 2000-09-28 DJ Delorie <dj@redhat.com>
3397
3398 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
3399 noname work properly.
3400
3401 2000-09-28 Alan Modra <alan@linuxcare.com.au>
3402
3403 * ld.texinfo (HPPA ELF32): New section.
3404
3405 * emultempl/hppaelf.em (group_size): New.
3406 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
3407 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
3408 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
3409 options to prevent abbreviations matching.
3410 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
3411 (PARSE_AND_LIST_ARGS_CASES): Handle it.
3412
3413 2000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3414
3415 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
3416 on the m68*-*-elf target. Make it support COFF input objects.
3417
3418 2000-09-21 Kazu Hirata <kazu@hxi.com>
3419
3420 * ldmain.c: Fix formatting.
3421 * ldmisc.c: Likewise.
3422 * ldver.c: Likewise.
3423 * ldwrite.c: Likewise.
3424
3425 2000-09-21 Alan Modra <alan@linuxcare.com.au>
3426
3427 * ldwrite.c (clone_section): Silence gcc warnings.
3428
3429 2000-09-20 Alan Modra <alan@linuxcare.com.au>
3430
3431 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
3432 out of memory failure.
3433
3434 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
3435 (clone_section): Handle out of memory failures. Rename var to
3436 avoid c++ reserved word.
3437
3438 2000-09-18 Alan Modra <alan@linuxcare.com.au>
3439
3440 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
3441 stub_name param to stub_sec_name.
3442 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
3443
3444 2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3445
3446 * emultempl/m68kelf.em: New file.
3447 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
3448 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
3449 * Makefile.in: Regenerate.
3450
3451 2000-09-15 Alan Modra <alan@linuxcare.com.au>
3452
3453 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
3454 only as needed.
3455
3456 2000-09-13 Nick Clifton <nickc@redhat.com>
3457
3458 * ldmain.c (multiple_definition): Disable relaxation if
3459 multiple symbol definitions are encountered - otherwise the
3460 linker could abort with an assertion failure.
3461
3462 2000-09-10 Nick Clifton <nickc@redhat.com>
3463
3464 * mri.c: Fix formatting.
3465
3466 2000-09-07 H.J. Lu <hjl@gnu.org>
3467
3468 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
3469 * configure: Rebuild.
3470
3471 2000-09-07 H.J. Lu <hjl@gnu.org>
3472
3473 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
3474 * Makefile.in: Rebuild.
3475
3476 2000-09-07 Alan Modra <alan@linuxcare.com.au>
3477
3478 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
3479 broken list handling. Create __start_SECNAME and __stop_SECNAME
3480 when no place-holder. Add some comments. Test both SEC_CODE and
3481 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
3482 Handle case where no output section statement created.
3483
3484 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
3485
3486 * configure.tgt (sh-*-linux*): Added.
3487 * Makefile.am: Added eshelf_linux and eshlelf_linux.
3488 * Makefile.in: Rebuilt.
3489 * emulparams/shelf_linux.sh: New file.
3490 * emulparams/shlelf_linux.sh: New file.
3491
3492 2000-09-06 Alan Modra <alan@linuxcare.com.au>
3493
3494 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3495 try shuffling sections when the orphan happens to be the place
3496 holder. Keep count of unique section names generated so we speed
3497 the search for a new name.
3498
3499 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
3500
3501 * configure: Rebuilt with new libtool.m4.
3502
3503 2000-09-05 Nick Clifton <nickc@redhat.com>
3504
3505 * Makefile.in: Regenerate.
3506 * aclocal.m4: Regenerate.
3507 * configure: Regenerate.
3508 * config.in: Regenerate.
3509 * po/ld.pot: Regenerate.
3510
3511 * ldint.texinfo: Remove CVS revision marker - it foils local
3512 comparisons.
3513
3514 * emultempl/ticoff.em: Remove extraneous comma.
3515
3516 2000-09-05 Alan Modra <alan@linuxcare.com.au>
3517
3518 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
3519 to stub section flags.
3520 (hppa_for_each_input_file_wrapper): New.
3521 (hppa_lang_for_each_input_file): New.
3522 (lang_for_each_input_file): Define to call above.
3523 (multi_subspace): New.
3524 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
3525 (PARSE_AND_LIST_PROLOGUE): Define.
3526 (PARSE_AND_LIST_LONGOPTS): Define.
3527 (PARSE_AND_LIST_OPTIONS): Define.
3528 (PARSE_AND_LIST_ARGS_CASES): Define.
3529 (hppaelf_finish): Call elf32_hppa_set_gp.
3530 (hppaelf_set_output_arch): Remove.
3531 (LDEMUL_SET_OUTPUT_ARCH): Remove.
3532
3533 * emulparams/hppalinux.sh (ELFSIZE): Define.
3534 (MACHINE): Define.
3535 (OTHER_READONLY_SECTIONS): Define.
3536 (DATA_PLT): Define.
3537 (GENERATE_SHLIB_SCRIPT): Define.
3538
3539 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
3540 to const throughout. Change `void *' to `PTR' throughout.
3541 (lang_memory_default): Function is local to file, add `static'.
3542
3543 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
3544 (ehppalinux.c): Likewise.
3545 (earmelf.c): Likewise.
3546 (earmelf_linux.c): Likewise.
3547 (earmelf_linux26.c): Likewise.
3548 * Makefile.in: Regenerate.
3549
3550 * ld.h (ld_config_type): Add unique_orphan_sections.
3551 * lexsup.c (OPTION_UNIQUE): Define.
3552 (ld_options): Add "--unique".
3553 (parse_args): Handle it.
3554 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3555 search for an existing output section if unique_orphan_sections is
3556 set. Make use of bfd_get_unique_section_name rather than
3557 duplicating code here.
3558 * ld.texinfo: Describe --unique.
3559
3560 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
3561 optional arg to split-by-file.
3562 (parse_args): Handle them.
3563 * ld.texinfo: Update description of these options.
3564 * ldwrite.c (clone_section): Pass in the section name. Replace
3565 local code with bfd_get_unique_section_name.
3566 (split_sections): Tidy code and comments. Use a list traversal
3567 more appropriate to the list construction. Handle cooked section
3568 sizes. Split when split_by_reloc reached rather than exceeded.
3569 Track section size and split when split_by_file reached. Fix
3570 link_order_tail (even though it's not used).
3571 (ldwrite): Modify condition for calling split_sections to suit
3572 changed split_by_reloc and split_by_file.
3573 * ldmain.c (main): Init config.split_by_reloc and
3574 config.split_by_file to -1.
3575 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
3576 Change split_by_file to bfd_size_type.
3577
3578 2000-09-02 Nick Clifton <nickc@redhat.com>
3579
3580 * configure.in: Increase version number to 2.10.91.
3581 * NEWS: Mention new ability to support removal of duplicate DWARF2
3582 debug information.
3583 * configure: Regenerate.
3584 * aclocal.m4: Regenerate.
3585 * config.in: Regenerate.
3586
3587 2000-09-02 Daniel Berlin <dberlin@redhat.com>
3588
3589 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
3590 sections.
3591 * scripttempl/elf32avr.sc: Ditto.
3592 * scripttempl/elfd10v.sc: Ditto.
3593 * scripttempl/elfd30v.sc: Ditto.
3594 * scripttempl/elfi370.sc: Ditto.
3595 * scripttempl/elfm68hc11.sc: Ditto.
3596 * scripttempl/elfm68hc12.sc: Ditto.
3597 * scripttempl/elfi386beos.sc: Ditto.
3598 * scripttempl/v850.sc: Ditto.
3599
3600 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
3601
3602 * acinclude.m4: Include libtool and gettext macros from the
3603 top level.
3604 * aclocal.m4, configure: Rebuilt.
3605
3606 2000-08-25 Nick Clifton <nickc@redhat.com>
3607
3608 * ldlang.c (open_output): When choosing the target for a
3609 particular endianness, do nothing if the target is not
3610 supported.
3611
3612 2000-08-25 H.J. Lu <hjl@gnu.org>
3613
3614 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
3615 check -rpath nor LD_RUN_PATH for cross link.
3616 * ld.texinfo: Document the change.
3617
3618 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
3619
3620 * NEWS: Mention support for CRIS.
3621
3622 2000-08-23 H.J. Lu <hjl@gnu.org>
3623
3624 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
3625 the current runpath list from bfd_elf_get_runpath_list ()
3626 before search.
3627
3628 2000-08-22 H.J. Lu <hjl@gnu.org>
3629
3630 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
3631 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
3632 LD_LIBRARY_PATH for native linker. Display the needed DSO if
3633 trace_file_tries is non-zero.
3634 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
3635 if trace_file_tries is non-zero.
3636
3637 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
3638 * NEWS: Mention it.
3639
3640 2000-08-14 Jason Eckhardt <jle@cygnus.com>
3641
3642 * NEWS: Mention i860 support.
3643
3644 2000-08-14 Andreas Schwab <schwab@suse.de>
3645
3646 * scripttempl/elf.sc: Fix last change to use correct comment
3647 syntax.
3648
3649 2000-08-10 Geoff Keating <geoffk@cygnus.com>
3650
3651 * scripttempl/elf.sc: Add a comment giving the correspondence
3652 between sections, per-datum sections, and linkonce sections. Make
3653 the comment true even for .bss, .sdata, .sdata2, .sbss, and
3654 .sbss2.
3655
3656 2000-08-10 Jason Eckhardt <jle@cygnus.com>
3657
3658 * emulparams/elf32_i860.sh: New file.
3659 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
3660 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
3661 (eelf32_i860.c): New rule.
3662 * Makefile.in: Regenerate.
3663
3664 2000-08-10 Nick Clifton <nickc@cygnus.com>
3665
3666 * emulparams/mipspe.sh (ENTRY): Add definition.
3667
3668 2000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
3669
3670 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
3671 in error message.
3672
3673 2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3674
3675 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
3676 the final size of .bss section.
3677 * scripttempl/elfm68hc12.sc: Likewise.
3678
3679 2000-08-04 Alan Modra <alan@linuxcare.com.au>
3680
3681 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
3682 gld${EMULATION_NAME}_parse_args for consistency. Combine
3683 lastoptind and prevoptind vars, and keep track of last optind.
3684 (gld_${EMULATION_NAME}_list_options): Rename to
3685 gld${EMULATION_NAME}_list_options.
3686
3687 2000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
3688
3689 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
3690 (i586-sco-sysv5uw7.1.0).
3691
3692 2000-07-27 H.J. Lu <hjl@gnu.org>
3693
3694 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
3695 (PARSE_AND_LIST_PROLOGUE): New.
3696 (PARSE_AND_LIST_LONGOPTS): Likewise.
3697 (PARSE_AND_LIST_OPTIONS): Likewise.
3698 (PARSE_AND_LIST_ARGS_CASES): Likewise.
3699 (PARSE_AND_LIST_EPILOGUE): Likewise.
3700
3701 2000-07-28 Alan Modra <alan@linuxcare.com.au>
3702
3703 * emultempl/armelf.em: Elide functions common to elf32.em,
3704 ie. most of the file.
3705 (arm_elf_after_open): New. Do arm specific things then call
3706 gld${EMULATION_NAME}_after_open.
3707 (arm_elf_before_allocation): New. Call
3708 gld${EMULATION_NAME}_before_allocation then do arm specifics.
3709 (PARSE_AND_LIST_PROLOGUE): Define.
3710 (PARSE_AND_LIST_SHORTOPTS): Define.
3711 (PARSE_AND_LIST_LONGOPTS): Define.
3712 (PARSE_AND_LIST_OPTIONS): Define.
3713 (PARSE_AND_LIST_ARGS_CASES): Define.
3714 (LDEMUL_AFTER_OPEN): Define.
3715 (LDEMUL_BEFORE_ALLOCATION): Define.
3716 (LDEMUL_BEFORE_PARSE): Define.
3717 (LDEMUL_FINISH): Define.
3718
3719 * emultempl/hppaelf.em: Similarly zap most of this file.
3720 (hppaelf_add_stub_section): Prototype.
3721 (hppaelf_layaout_sections_again): Prototype.
3722 (hook_in_stub): Prototype.
3723 (LDEMUL_SET_OUTPUT_ARCH): Define.
3724 (LDEMUL_FINISH): Define.
3725 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
3726
3727 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
3728 (EXTRA_EM_FILE): New.
3729 * emulparams/armelf_linux.sh: Likewise.
3730 * emulparams/armelf_linux26.sh: Likewise.
3731 * emulparams/hppalinux.sh: Likewise.
3732 * emulparams/hppaelf.sh: Likewise.
3733 (NOP): Define.
3734
3735 * emultempl/elf32.em: Fix formatting.
3736 (EXTRA_EM_FILE): Source it.
3737 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
3738 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
3739 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
3740 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
3741 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
3742 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
3743 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
3744 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
3745 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
3746 allow functions in this file to be overridden.
3747 (PARSE_AND_LIST_SHORTOPTS): Handle it.
3748
3749 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
3750
3751 * emultempl/elf32.em: Reorganize file.
3752
3753 2000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
3754
3755 * emulparams/elf64alpha.sh: Implement "-taso" emulation
3756 specific option to fit 64-bit executable in the lower
3757 31-bit address range. This is done by changing start
3758 address of .interp (the very first section of executable)
3759 and then setting EF_ALPHA_32BIT elf header flag.
3760
3761 2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3762
3763 * emultempl/m68kcoff.em: New file.
3764 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
3765 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
3766 generic.em.
3767 * Makefile.in: Regenerate.
3768
3769 2000-07-20 H.J. Lu <hjl@gnu.org>
3770
3771 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
3772 and "disable-new-dtags" to stop getopt from treating -d/-e as
3773 abbreviations for these options.
3774
3775 2000-07-20 H.J. Lu <hjl@gnu.org>
3776
3777 * ld.texinfo: Add documentation for --disable-new-dtags and
3778 --enable-new-dtags.
3779
3780 * ldmain.c (main): Initialize link_info.new_dtags to false.
3781
3782 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
3783 --disable-new-dtags and --enable-new-dtags.
3784 (gld_${EMULATION_NAME}_list_options): Likewise.
3785
3786 2000-07-05 Kenneth Block <krblock@computer.org>
3787
3788 * lexsup.c: Add optional style to demangle switch
3789 * ld.texinfo: Document optional style to demangle switch.
3790
3791 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
3792
3793 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
3794 ecrislinux.o.
3795 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
3796 Regenerate dependencies.
3797 * Makefile.in: Rebuild.
3798 * configure.tgt (cris-*-*): New target.
3799 * emulparams/crisaout.sh, emulparams/criself.sh,
3800 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
3801 * po/POTFILES.in, po/ld.pot: Regenerate.
3802
3803 2000-07-20 H.J. Lu <hjl@gnu.org>
3804
3805 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
3806 Print out ignored -z options.
3807
3808 2000-07-19 H.J. Lu <hjl@gnu.org>
3809
3810 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
3811 (PARSE_AND_LIST_PROLOGUE): New.
3812 (PARSE_AND_LIST_LONGOPTS): Likewise.
3813 (PARSE_AND_LIST_OPTIONS): Likewise.
3814 (PARSE_AND_LIST_ARGS_CASES): Likewise.
3815
3816 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
3817
3818 * lexsup.c (ld_options): Comment out 'z'.
3819 (parse_args): Likewise.
3820
3821 * emultempl/elf32.em: Include "elf/common.h".
3822 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
3823 options.
3824 (gld_${EMULATION_NAME}_list_options): Likewise.
3825
3826 * ld.texinfo: Add documentation for the recognized -z options.
3827
3828 2000-07-19 H.J. Lu <hjl@gnu.org>
3829
3830 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
3831 bfd_elf_set_dt_needed_soname ().
3832
3833 2000-07-18 DJ Delorie <dj@cygnus.com>
3834
3835 * pe-dll.c (pe_dll_id_target): check object target name also
3836
3837 2000-07-18 Hans-Peter Nilsson <hp@axis.com>
3838
3839 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
3840 ${INIT_END} if relocating.
3841 (.fini): Likewise ${FINI_START} and ${FINI_END}.
3842
3843 2000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
3844
3845 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
3846 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
3847 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
3848 errors introduced by the old dynamic lib search order.
3849
3850 2000-07-17 DJ Delorie <dj@cygnus.com>
3851
3852 * pe-dll.c (process_def_file): auto-export data items also
3853 (pe_process_import_defs): also see if _imp_ form needed
3854
3855 2000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
3856
3857 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
3858 for dll import libraries
3859
3860 2000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
3861
3862 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
3863 gcc 2.95.2 and later.
3864
3865 2000-07-11 Kazu Hirata <kazu@hxi.com>
3866
3867 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
3868 message.
3869
3870 2000-07-10 Alan Modra <alan@linuxcare.com.au>
3871
3872 * ldemul.h (struct lang_input_statement_struct): Remove forward
3873 declaration.
3874 (struct search_dirs): Likewise.
3875 * ldfile.h (struct lang_input_statement_struct): Likewise.
3876 Protect file from multiple inclusion.
3877 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
3878 declaration from macro to file scope.
3879
3880 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
3881 * ldgram.y: Likewise here.
3882 * ldlang.c: And here.
3883 * ldmain.c: And here.
3884 * mpw-elfmips.c: And here.
3885 * mpw-eppcmac.c: And here.
3886 * emultempl/aix.em: And here.
3887 * emultempl/armcoff.em: And here.
3888 * emultempl/armelf.em: And here.
3889 * emultempl/armelf_oabi.em: And here.
3890 * emultempl/beos.em: And here.
3891 * emultempl/elf32.em: And here.
3892 * emultempl/hppaelf.em: And here.
3893 * emultempl/linux.em: And here.
3894 * emultempl/lnk960.em: And here.
3895 * emultempl/pe.em: And here.
3896 * emultempl/sunos.em: And here.
3897 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
3898 * mpw-idtmips.c: Ditto.
3899 * emultempl/generic.em: Ditto.
3900 * emultempl/gld960.em: Ditto.
3901 * emultempl/gld960c.em: Ditto.
3902 * emultempl/mipsecoff.em: Ditto.
3903 * emultempl/ticoff.em: Ditto.
3904 * emultempl/vanilla.em: Ditto.
3905
3906 * pe-dll.c: Include ldfile.h
3907 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
3908
3909 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
3910 arguments to bfd_elf32_size_dynamic_sections call.
3911 (gldelf32ebmip_place_orphan): Add missing arguments to
3912 lang_leave_output_section_statement call.
3913
3914 2000-07-10 H.J. Lu <hjl@gnu.org>
3915
3916 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
3917 DLL_SUPPORT.
3918 (strhash): Likewise.
3919 (compute_dll_image_base): Likewise.
3920 (pe_undef_found_sym): Likewise.
3921 (pe_undef_cdecl_match): Likewise.
3922 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
3923 argument "arch" with ATTRIBUTE_UNUSED.
3924
3925 2000-07-10 Alan Modra <alan@linuxcare.com.au>
3926
3927 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
3928
3929 From Ryan Bradetich <rbradetich@uswest.net>
3930 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
3931
3932 2000-07-09 Alan Modra <alan@linuxcare.com.au>
3933
3934 Changes to create multiple linker stubs, positioned immediately
3935 before the section where they are required.
3936 * emultempl/hppaelf.em: Include elf32-hppa.h.
3937 (stub_sec, file_chain): Delete.
3938 (hppaelf_create_output_section_statements): Don't make a stub
3939 section here.
3940 (hook_stub_info): New struct.
3941 (hook_in_stub): New function.
3942 (hppaelf_add_stub_section): New function.
3943 (hppaelf_finish): Do nothing for relocateable links. Modify the
3944 call to elf32_hppa_size_stubs. Move code for updating section
3945 layout from here...
3946 (hppaelf_layaout_sections_again): ..to here, a new function.
3947
3948 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
3949 broken list handling. Pass in a pointer to the list.
3950 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
3951 for above changes.
3952 (hppaelf_before_parse): Prototype.
3953 (hppaelf_set_output_arch): Prototype.
3954 (hppaelf_create_output_section_statements): Prototype.
3955 (hppaelf_delete_padding_statements): Prototype.
3956 (hppaelf_finish): Prototype.
3957
3958 Merge from elf32.em
3959 * emultempl/hppaelf.em: Include ctype.h.
3960 (struct orphan_save): New.
3961 (gld${EMULATION_NAME}_place_orphan): New.
3962 (output_rel_find): New.
3963 (hppaelf_get_script): Update from elf32.em.
3964 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
3965 Change emulation_name field to "${EMULATION_NAME}". Add
3966 gld${EMULATION_NAME}_place_orphan.
3967
3968 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
3969 ehppalinux.o, sort it. Regenerate dependencies.
3970 (ehppalinux.c): Depend on hppaelf.em
3971 * Makefile.in: Regenerate.
3972
3973 * configure.tgt: targ_emul=hppalinux for hppa*linux
3974
3975 * emulparams/hppalinux.sh: New.
3976 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
3977
3978 2000-07-08 Alan Modra <alan@linuxcare.com.au>
3979
3980 * lexsup.c (parse_args): Copy section name.
3981
3982 2000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
3983
3984 * emultempl/pe.em: institute the following search order for
3985 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
3986 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
3987 static lib (libfoo.a) if none of the above are found.
3988
3989 2000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
3990
3991 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
3992 (longopts): New --{enable,disable}-auto-image-base options.
3993 (gld_${EMULATION_NAME}_list_options): Document.
3994 (gld_${EMULATION_NAME}_parse): Handle.
3995 (strhash): New static function.
3996 (compute_dll_image_base): New static function.
3997 (gld_${EMULATION_NAME}_set_symbols): Use.
3998
3999 2000-07-05 DJ Delorie <dj@redhat.com>
4000
4001 * MAINTAINERS: new
4002
4003 2000-07-01 Koundinya K <kk@ddeorg.soft.net>
4004
4005 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
4006 * emulparams/elf32btsmip.sh: New file.
4007 * Makefile.am: Add traditional mips target.
4008 * Makefile.in: Rebuild.
4009
4010 2000-07-01 H.J. Lu <hjl@gnu.org>
4011
4012 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
4013 automake to use YLWRAP.
4014 * Makefile.in: Rebuild.
4015
4016 2000-07-01 Alan Modra <alan@linuxcare.com.au>
4017
4018 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
4019 (CLEANFILES): Add DEPA.
4020 * Makefile.in: Regenerate.
4021
4022 2000-06-30 Timothy Wall <twall@ppc>
4023
4024 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
4025 the page in the upper octet of the address.
4026
4027 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
4028
4029 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
4030
4031 2000-06-24 Alan Modra <alan@linuxcare.com.au>
4032
4033 * NEWS: arm-elf does --gc-sections too.
4034
4035 2000-06-22 Alan Modra <alan@linuxcare.com.au>
4036
4037 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
4038 find one.
4039 * Makefile.in: Regenerate.
4040
4041 2000-06-21 H.J. Lu <hjl@gnu.org>
4042
4043 * Makefile.am: Rebuild dependency.
4044 * Makefile.in: Rebuild.
4045
4046 2000-06-20 H.J. Lu <hjl@gnu.org>
4047
4048 * Makefile.am: Rebuild dependency.
4049 * Makefile.in: Rebuild.
4050
4051 2000-06-20 Timothy Wall <twall@cygnus.com>
4052
4053 * scripttempl/tic54xcoff.sc: New.
4054 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
4055 * gen-doc.texi: Add flag for TI COFF.
4056 * ld.texinfo: Add documentation for TI COFF handling switches.
4057 * emultempl/ticoff.em: New. TI COFF handling.
4058 * configure.tgt: Add tic54x target.
4059 * Makefile.am: Add tic54x target.
4060 * Makefile.in: Ditto.
4061
4062 2000-06-20 Alan Modra <alan@linuxcare.com.au>
4063
4064 * ldmain.c (set_scripts_dir): Correct pointer comparison when
4065 checking for backslashes.
4066
4067 2000-06-19 Alan Modra <alan@linuxcare.com.au>
4068
4069 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
4070
4071 2000-06-18 Alan Modra <alan@linuxcare.com.au>
4072
4073 * NEWS: Update list of targets supporting --gc-sections.
4074
4075 * scripttempl/elf.sc: KEEP .eh_frame contents.
4076 * scripttempl/elfd30v.sc: Same here.
4077
4078 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
4079
4080 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
4081 and m68hc11 (elf).
4082 * Makefile.in: Rebuild.
4083 * configure.tgt: Recognize m68hc12 and m68hc11.
4084 * scripttempl/elfm68hc12.sc: New file.
4085 * emulparams/m68hc12elfb: New emulation.
4086 * emulparams/m68hc12elf: New emulation.
4087 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
4088 (includes a memory.x script to define the ROM and RAM banks).
4089 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
4090 New configuration files for support of Motorola 68hc11
4091
4092 2000-06-15 Alan Modra <alan@linuxcare.com.au>
4093
4094 * ldmain.c (main): Only change SEC_READONLY for final link.
4095
4096 2000-06-13 H.J. Lu <hjl@gnu.org>
4097
4098 * configure: Regenerate.
4099
4100 2000-06-08 David O'Brien <obrien@FreeBSD.org>
4101
4102 * configure.in (VERSION): Update to show this is the CVS mainline.
4103
4104 2000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4105
4106 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
4107 input objects to be ECOFF.
4108 (check_sections): einfo takes %B, not %P, to print a BFD name.
4109
4110 2000-06-05 Michael Matz <matz@ifh.de>
4111
4112 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
4113 version scripts.
4114
4115 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
4116
4117 2000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
4118
4119 * emulparams/avr1200.sh (STACK): Define as 0.
4120 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
4121 * emulparams/avr4433.sh (STACK): Likewise.
4122 * emulparams/avr44x4.sh (STACK): Likewise.
4123 * emulparams/avr85xx.sh (STACK): Likewise.
4124 * emulparams/avrmega103.sh (STACK): Likewise.
4125 * emulparams/avrmega161.sh (STACK): Likewise.
4126 * emulparams/avrmega603.sh (STACK): Likewise.
4127 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
4128 (__stack): Define from ${STACK} for main().
4129
4130 2000-05-26 Alan Modra <alan@linuxcare.com.au>
4131
4132 * Makefile.am: Update dependencies with "make dep-am"
4133 * Makefile.in: Regenerate.
4134
4135 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
4136
4137 * ldmain.c: Include filenames.h.
4138 (set_scripts_dir): Support backslashes in program name.
4139
4140 2000-05-22 Igor Shevlyakov <igor@windriver.com>
4141
4142 * ldmain.c (main): When deciding if ".text" section should be
4143 read-only, don't forget to reset SEC_READONLY because it
4144 could be already set.
4145
4146 2000-05-22 Thomas de Lellis <tdel@windriver.com>
4147
4148 * ld.1: Add documentation for new command line option:
4149 --section-start <sectionname>=<sectionorg>
4150 This is a generic version of -Ttext etc. which accepts
4151 any section name as a parameter instead of just text/data/
4152 bss.
4153 * ld.texinfo: More docs.
4154 * NEWS: More docs.
4155 * lexsup.c: (parse_args): Recognize new command line option.
4156 (ld_options): Add new option.
4157
4158 2000-05-18 H.J. Lu <hjl@gnu.org>
4159
4160 * lexsup.c (parse_args): `i' == `r', not `q'.
4161
4162 2000-05-18 Jeffrey A Law (law@cygnus.com)
4163
4164 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
4165
4166 2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
4167 Rick Gorton <gorton@scrugs.lkg.dec.com>
4168
4169 Add support for '-q' == '--emit-relocs' switch.
4170 * ldmain.c (main): Default to false.
4171 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
4172 * NEWS: Describe the emitrelocations switch.
4173 * ld.texinfo: Describe the emitrelocations switch.
4174
4175 2000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
4176
4177 * emultempl/pe.em (_open_dynamic_archive): New function: Search
4178 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
4179 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
4180 link options.
4181
4182 2000-05-15 David O'Brien <obrien@FreeBSD.org>
4183
4184 * lexsup.c (parse_args): Update the year in the copyright notice.
4185
4186 2000-05-13 Alan Modra <alan@linuxcare.com.au>
4187
4188 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
4189 Replace defines with those from intl/libgettext.h to quieten gcc
4190 warnings.
4191
4192 2000-05-10 H.J. Lu <hjl@gnu.org>
4193
4194 * ldlang.c (open_input_bfds): Don't load the same file within
4195 a group again if the whole archive has been loaded already.
4196
4197 2000-05-03 Alan Modra <alan@linuxcare.com.au>
4198
4199 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
4200 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
4201 strtoul.
4202
4203 2000-05-01 Jim Wilson <wilson@cygnus.com>
4204
4205 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
4206
4207 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
4208 host "ia64-*-linux-gnu*".
4209
4210 2000-04-29 Andreas Jaeger <aj@suse.de>
4211
4212 * ld.h: Correctly check GCC version.
4213
4214 2000-04-25 Jeffrey A Law (law@cygnus.com)
4215
4216 * Makefile.am: Add PA64 support. Add missing dependencies for
4217 PA32 elf support.
4218 * Makefile.in: Rebuilt.
4219 * configure.tgt: Add PA64 support (currently disabled).
4220
4221 2000-04-25 Alan Modra <alan@linuxcare.com.au>
4222
4223 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
4224 (output_rel_find): New function.
4225 (hold_section, hold_use): Delete.
4226 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
4227 hold_interp): Make local to place_orphan.
4228 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
4229 rather than place_section to find possible previous use of orphan.
4230 Similarly find the place-holder output sections. Use returned
4231 value from lang_enter_output_section_statement rather than calling
4232 lang_output_section_statement_lookup.
4233 * emultempl/armelf.em: Same here.
4234 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
4235
4236 * ldlang.c (lang_enter_output_section_statement): Return output
4237 section statement.
4238 * ldlang.h (lang_enter_output_section_statement): Change
4239 declaration too.
4240
4241 * ldlang.h (lang_output_section_statement): Export it.
4242 * ldlang.c (lang_output_section_statement): Ditto.
4243
4244 2000-04-24 Nick Clifton <nickc@cygnus.com>
4245
4246 * ld.texinfo (Output Section Data): Add note that section data
4247 commands cannot appear outside of section directives.
4248
4249 2000-04-2 Matthew Green <mrg@cygnus.com>
4250
4251 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
4252
4253 2000-04-21 Richard Henderson <rth@cygnus.com>
4254 David Mosberger <davidm@hpl.hp.com>
4255
4256 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
4257 (eelf64_ia64.c): New rule.
4258 * Makefile.in: Rebuild.
4259 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
4260 * emulparams/elf64_ia64.sh: New file.
4261
4262 2000-04-21 Richard Henderson <rth@cygnus.com>
4263
4264 * scripttempl/elfd30v.sc: Place .gcc_except_table.
4265
4266 2000-04-19 Alan Modra <alan@linuxcare.com.au>
4267
4268 * dep-in.sed: Match space at start of file name, not at end.
4269
4270 2000-04-18 H.J. Lu <hjl@gnu.org>
4271
4272 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
4273 lang_leave_output_section_statement () after calling
4274 lang_enter_output_section_statement ().
4275 * emultempl/armelf.em: Likewise.
4276
4277 2000-04-18 Alan Modra <alan@linuxcare.com.au>
4278
4279 * emultempl/elf32.em (struct orphan_save): Add section field.
4280 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
4281 better order, and place first orphan section as we did before the
4282 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
4283 Don't call make_bfd_section here, let wild_doit do the job for us.
4284 Don't build a statement list when we'll only throw it away.
4285 * emultempl/armelf.em: Ditto.
4286 * emultempl/pe.em: Similarly.
4287
4288 2000-04-14 Geoff Keating <geoffk@cygnus.com>
4289
4290 * scripttempl/elfppc.sc: Remove.
4291 * emulparams/elf32ppc.sh: Use elf.sc.
4292 * emulparams/elf32lppc.sh: Use elf.sc.
4293 * emulparams/elf32ppclinux.sh: Use elf.sc.
4294 * emulparams/elf32ppcsim.sh: New file.
4295 * emulparams/elf32lppcsim.sh: New file.
4296 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
4297 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
4298 * Makefile.in: Regenerate.
4299 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
4300
4301 2000-04-14 Alan Modra <alan@linuxcare.com.au>
4302
4303 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
4304 ~SEC_ALLOC sections too. Init start address of debug sections.
4305 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
4306 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
4307 Also set all relocateable section start addresses.
4308
4309 2000-04-13 Geoff Keating <geoffk@cygnus.com>
4310
4311 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
4312 Add new BSS_PLT variable for when .plt need not be contained in
4313 the file. Move _etext so that it is also after .fini, and provide
4314 both etext and _etext with a leading underscore. Mark the start
4315 and end of .sbss.
4316
4317 2000-04-12 Alan Modra <alan@linuxcare.com.au>
4318
4319 * emultempl/elf32.em (struct orphan_save): New.
4320 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
4321 hold_interp): Make them struct orphan_save.
4322 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
4323 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
4324 the end of the relevant section list. Also add associated section
4325 statements to the end of any previous orphan statements.
4326 * emultempl/armelf.em: Similarly.
4327 * emultempl/pe.em: Similarly.
4328
4329 2000-04-11 Alan Modra <alan@linuxcare.com.au>
4330
4331 * ld.texinfo (Simple Example): Remove extraneous paragraph.
4332
4333 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
4334
4335 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
4336 --enable-build-warnings option.
4337 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
4338 * Makefile.in, configure: Re-generate.
4339
4340 2000-04-04 Alan Modra <alan@linuxcare.com.au>
4341
4342 * po/ld.pot: Regenerate.
4343
4344 * lexsup.c (help): Restore translated part of bug string.
4345
4346 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
4347 (DEP): Quote when passing vars to sub-make. Add warning message
4348 to end.
4349 (DEP1): Rewrite for "gcc -MM".
4350 (CLEANFILES): Add DEP2.
4351 Update dependencies.
4352 * Makefile.in: Regenerate.
4353
4354 2000-04-03 Alan Modra <alan@linuxcare.com.au>
4355
4356 * ld.h: #include "bin-bugs.h"
4357 * lexsup.c (help): Use REPORT_BUGS_TO.
4358
4359 2000-03-27 Denis Chertykov <denisc@overta.ru>
4360
4361 * configure.tgt (avr-*-*): New target support.
4362 * Makefile.am: Likewise.
4363 * scripttempl/elf32avr.sc: New script file.
4364 * emulparams/avr1200.sh: New file.
4365 * emulparams/avr23xx.sh: New file.
4366 * emulparams/avr4433.sh New file.
4367 * emulparams/avr44x4.sh New file.
4368 * emulparams/avr85xx.sh New file.
4369 * emulparams/avrmega103.sh New file.
4370 * emulparams/avrmega161.sh New file.
4371 * emulparams/avrmega603.sh New file.
4372 * Makefile.in: Regenerate.
4373
4374 2000-03-09 Andreas Jaeger <aj@suse.de>
4375
4376 * Makefile.am (check-DEJAGNU): Also unset LANG.
4377 * Makefile.in: Rebuild.
4378
4379 2000-03-06 Ian Lance Taylor <ian@zembu.com>
4380
4381 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
4382 archive.
4383
4384 2000-03-02 H.J. Lu <hjl@gnu.org>
4385
4386 * emulparams/elf32mcore.sh: Include "getopt.h".
4387
4388 2000-03-01 Ian Lance Taylor <ian@zembu.com>
4389
4390 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
4391
4392 2000-03-01 H.J. Lu <hjl@gnu.org>
4393
4394 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
4395 * emulparams/shpe.sh: Likewise.
4396
4397 2000-03-01 Nick Clifton <nickc@cygnus.com>
4398
4399 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
4400 to unused parameters.
4401
4402 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
4403 functions only used by DLL code.
4404 (_place_orphan): Initialise 'dollar'.
4405
4406 2000-03-01 H.J. Lu <hjl@gnu.org>
4407
4408 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
4409 indicate if the undefined symbol is a fatal error or not.
4410 Don't delete the output file if "fatal" is false.
4411
4412 2000-02-29 H.J. Lu <hjl@gnu.org>
4413
4414 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
4415 Set LC_COLLATE and LC_ALL to null and export them. It is for
4416 sort which expects the C locale.
4417 Add $(LIBS) to all $(HOSTING_LIBS).
4418 * Makefile.in: Rebuild.
4419
4420 2000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
4421
4422 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
4423 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
4424 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
4425 (ld_emulation_xfer_struct): Add missing NULL initialiser for
4426 find_potential_libraries.
4427
4428 2000-02-28 Jim Blandy <jimb@redhat.com>
4429
4430 * ldgram.y (exclude_name_list): Don't require a comma to separate
4431 list entries; the lexer considers commas to be valid part of a
4432 filename, so in something like `foo, bar' the comma is considered
4433 part of the first filename, `foo,'.
4434 * ld.texinfo: Update section on EXCLUDE_FILE lists.
4435
4436 2000-02-27 Loren J. Rittle <ljrittle@acm.org>
4437
4438 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
4439 host "i[3456]86-*-freebsdelf*".
4440
4441 2000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
4442
4443 * scripttempl/i386go32.sc: Move misplaced semicolons.
4444
4445 2000-02-25 Ian Lance Taylor <ian@zembu.com>
4446
4447 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
4448 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
4449 (eelf64hppa.c, ehppaelf.c): Remove targets.
4450 * Makefile.in: Rebuild.
4451
4452 2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4453
4454 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
4455 GNU/Linux/sparc, but keep the default as 32.
4456
4457 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
4458 it default if sparcv9 or sparc64.
4459
4460 2000-02-24 Nick Clifton <nickc@cygnus.com>
4461
4462 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
4463 * Makefile.in: Regenerate.
4464 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
4465
4466 * ldemul.h (ld_emulation_xfer_struct): Add new field:
4467 find_potential_libraries.
4468 * ldemul.c (ldemul_find_potential_libraries): New function.
4469
4470 * ldfile.c (ldfile_open_file_search): Allow function to be
4471 exported.
4472 (ldfile_open_file): Call ldemul_find_potential_libraries.
4473 * ldfile.h: Add prototype for ldfile_open_file_search.
4474
4475 * pe-dll.c: Add support for ARM, MIPS and SH targets.
4476
4477 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
4478 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
4479
4480 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
4481 (gld_X_find_potential_libraries): New function. Search for
4482 libraries called "*.lib".
4483
4484 * scripttempl/pe.sc: Add .pdata section.
4485
4486 2000-02-23 Richard Henderson <rth@cygnus.com>
4487
4488 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
4489 Add and use memory regions.
4490
4491 2000-02-23 Linas Vepstas (linas@linas.org)
4492
4493 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
4494
4495 * Makefile.am: Add support for Linux/IBM 370.
4496 * configure.tgt: Likewise.
4497
4498 * Makefile.in: Regenerate.
4499
4500 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
4501
4502 * ldlang.c (print_input_section, print_data_statement,
4503 print_reloc_statement, print_padding_statement, insert_pad,
4504 size_input_section, lang_check_section_addresses,
4505 lang_size_sections, lang_do_assignments, lang_set_startof,
4506 lang_one_common): Change `opb' to unsigned.
4507 (lang_do_assignments): Also change `size' to unsigned.
4508
4509 2000-02-16 Richard Henderson <rth@cygnus.com>
4510
4511 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
4512
4513 2000-02-16 Timothy Wall <twall@cygnus.com>
4514
4515 * mri.c (mri_draw_tree): Add default LMA region argument to call
4516 to lang_leave_output_section_statement.
4517 * ldlang.h: Update prototypes with LMA region arguments.
4518 * ldlang.c (lang_size_sections): Encapsulate region bounds
4519 checking in os_check_region call.
4520 (os_check_region): New function.
4521 (lang_output_section_statement_lookup): Initialize lma_region.
4522 (lang_leave_output_section_statement): Add LMA region argument.
4523 (lang_leave_overlay): Ditto.
4524 * ldgram.y: Handle LMA region syntax.
4525 * ld.texinfo (Output Section Description): Describe LMA region usage.
4526 * emultempl/armelf.em (gld$place_orphan): Add default value for
4527 lma region in call to lang_leave_output_section_statement.
4528 * emultempl/elf32.em (gld$place_orphan): Add default value for
4529 lma region in call to lang_leave_output_section_statement.
4530 * emultempl/pe.em (gld$place_orphan): Add default value for
4531 lma region in call to lang_leave_output_section_statement.
4532
4533
4534 2000-02-04 Timothy Wall <twall@redhat.com>
4535
4536 * ldlang.c (lang_check_section_addresses): Use bytes instead of
4537 octets when calculating section end addresses.
4538
4539 2000-02-04 Timothy Wall <twall@redhat.com>
4540
4541 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
4542
4543 2000-02-03 Timothy Wall <twall@redhat.com>
4544
4545 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4546 octet count.
4547 * ldlang.c (print_input_section, print_data_statement,
4548 print_reloc_statement, print_padding_statement): Print target
4549 address values and section sizes as bytes, not octets.
4550 (insert_pad) Calculate padding size in octets, and adjust "dot"
4551 by bytes.
4552 (size_input_section) Always adjust "dot" by bytes, not octets.
4553 (lang_check_section_addresses, lang_do_assignments) Adjust
4554 "dot" by bytes, not octets. Use the larger of the directive size
4555 or octets_per_byte for the number of octets actually allocated in
4556 the output section.
4557 (lang_set_startof) Make sure STARTOF returns a target address.
4558 (lang_one_common) Record size changes in octets.
4559 (lang_abs_symbol_at_end_of) Section end symbol's value is
4560 recorded in target bytes.
4561 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
4562 to be clear about behavior when an octet is smaller than one byte.
4563
4564 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
4565
4566 * ldcref.c (output_cref): Don't pass message strings to printf
4567 as format arg.
4568 Update copyright.
4569
4570 * ldmisc.c (vfinfo): Same here.
4571 Update copyright.
4572
4573 2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
4574
4575 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
4576 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
4577 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
4578 Add missing NULL initialisers, and comments.
4579
4580 * testsuite/ld-srec/sr3.cc (__rethrow): New.
4581
4582 2000-01-21 Nick Clifton <nickc@cygnus.com>
4583
4584 * ldlang.c (lang_size_sections): Fix typo in comment.
4585
4586 2000-01-18 H.J. Lu <hjl@gnu.org>
4587
4588 * ldlang.c (lang_size_sections): Also update the current
4589 address of a region if the SEC_NEVER_LOAD bit is not set.
4590
4591 2000-01-10 Philip Blundell <pb@futuretv.com>
4592
4593 * configure.tgt (arm*-*-conix*): New target.
4594
4595 2000-01-07 Nick Clifton <nickc@cygnus.com>
4596
4597 * ld.texinfo (Options): Remind users to preceed linker command
4598 line switches with -Wl, (or whatever is appropriate) if it is
4599 being invoked by a comnpiler driver program.
4600 Fix description of the behaviour of the -n command line switch.
4601
4602 2000-01-05 Catherine Moore <clm@cygnus.com>
4603
4604 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
4605 (name_list): New.
4606 * ld.texinfo (EXCLUDE_FILE): Update documentation.
4607 * ldgram.y (wildcard_spec): Support a list of excluded_files.
4608 (exclude_name_list): New.
4609 ldlang.c (walk_wild_section): Support list of excluded files.
4610 (print_wild_statement): Likewise.
4611 (lang_add_wild): Likewise.
4612 * ldlang.h (lang_wild_statement_type): Likewise.
4613 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
4614
4615 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
4616
4617 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
4618 (process_def_file): Use.
4619 (pe_dll_compat_implib): New variable.
4620 (make_one): Use.
4621
4622 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
4623 pe_dll_compat_implib.
4624
4625 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
4626 compat-implib options.
4627 (gld_${EMULATION_NAME}_list_options): List new options.
4628 (gld_${EMULATION_NAME}_parse_args): Handle.
4629
4630 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
4631 dll.
4632
4633 * deffilep.y (opt_name): Allow "." in name.
4634
4635 For older changes see ChangeLog-9899
4636 \f
4637 Local Variables:
4638 mode: change-log
4639 left-margin: 8
4640 fill-column: 74
4641 version-control: never
4642 End:
This page took 0.133014 seconds and 4 git commands to generate.