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