ChangeLog revision 78828
12001-06-07  Andreas Jaeger  <aj@suse.de>
2
3	* elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
4	(TEXT_START_ADDR): Likewise.
5
62001-06-11  Alan Modra  <amodra@bigpond.net.au>
7
8	Merge from mainline.
9	2001-06-05  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
10	* emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
11
12	2001-05-25  Alan Modra  <amodra@one.net.au>
13	* configure.host: Replace linuxoldld with linux*oldld.
14	* configure.tgt: Likewise.
15
16	2001-05-14  DJ Delorie  <dj@delorie.com>
17	* Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
18	* Makefile.in: Ditto.
19
20	2001-04-05  Steven J. Hill  <sjhill@cotw.com>
21	* Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
22	(ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
23	(eelf32ltsmip.c): New target.
24	(eelf64btsmip.c): Likewise.
25	(eelf64ltsmip.c): Likewise.
26	* Makefile.in: Regenerated.
27	* configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
28	target.
29	(mips*-*-linux-gnu*): Likewise.
30	* emulparams/elf32ltsmip.sh: New. Traditional little endian
31	MIPS taget.
32	* emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
33	target.
34	* emulparams/elf64ltsmip.sh: New. Traditional 64bit little
35	endian target.
36
37	2001-02-27  Alan Modra  <alan@linuxcare.com.au>
38	* configure.in (BFD_VERSION): New.
39	(AM_INIT_AUTOMAKE): Use $BFD_VERSION.
40	* configure: Regenerate.
41
42	2001-02-13  H.J. Lu  <hjl@gnu.org>
43	* ldexp.h (node_type): Add etree_provided.
44	* ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
45	type to etree_provided if defined by PROVIDE. Allow updating
46	for etree_provided.
47	(exp_print_tree): Handle etree_provided.
48	* mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
49	etree_provided.
50
512001-06-10  Philip Blundell  <philb@gnu.org>
52
53	* configure.in: Set version to 2.11.1.
54	* configure: Regenerate.
55
562001-06-08  Alan Modra  <amodra@bigpond.net.au>
57
58	* ldlang.c (record_bfd_errors): Remove.
59
60	Merge from mainline.
61	2001-05-31  H.J. Lu  <hjl@gnu.org>
62	* ldlang.c (open_input_bfds): Don't change the bfd error
63	handler whilst loading symbols.
64
65	2001-05-02  Nick Clifton  <nickc@redhat.com>
66	* emultempl/aix.em: Replace buystring with xstrdup.
67	* emultempl/beos.em: Replace buystring with xstrdup.
68
692001-06-07  Alan Modra  <amodra@bigpond.net.au>
70
71	* Many files: Update copyright notices.
72
732001-05-23  Alan Modra  <amodra@one.net.au>
74
75	* ldlang.c (wild_doit): Use linker_has_input to reliably determine
76	whether an input section is the first one assigned to an output
77	section.
78	Assorted formatting fixes.
79
80	Merge from mainline.
81	2001-05-03  H.J. Lu  <hjl@gnu.org>
82	* emultempl/elf32.em: Include "libiberty.h".
83	(gld${EMULATION_NAME}_vercheck): Call basename () to get the
84	basename of the bfd filename.
85	(gld${EMULATION_NAME}_stat_needed): Likewise.
86	(gld${EMULATION_NAME}_try_needed): Likewise.
87	(gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
88
89	2001-03-17  Ulrich Drepper  <drepper@redhat.com>
90	* emultmpl/elf32.em (OPTION_GROUP): New macro.
91	Add new option Bgroup to longopts.
92	(gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
93	(gld*_list_options): Add -Bgroup and -z defs.
94	* ld.1: Document -Bgroup and -z defs.
95	* ld.texinfo: Likewise.
96
97	2001-02-01  Nick Clifton  <nickc@redhat.com>
98	* ld.1: Replace occurances of -oformat with --oformat.
99
100	2001-05-02  H.J. Lu  <hjl@gnu.org>
101	* ldfile.c: Include "libiberty.h".
102	* ldlex.l: Likewise.
103	* ldmisc.c (buystring): Removed.
104	* ldmisc.h: Likewise.
105	* ldfile.c: Replace buystring with xstrdup.
106	* ldlang.c: Likewise.
107	* ldlex.l: Likewise.
108	* ldmain.c: Likewise.
109	* ldmisc.c: Likewise.
110	* lexsup.c: Likewise.
111	* mpw-eppcmac.c: Likewise.
112
113	2001-04-28  Paul Sokolovsky  <Paul.Sokolovsky@technologist.com>
114        * ldlang.c (load_symbols): Give emulation a chance
115        to process unrecognized file before fatal error is
116        reported, not after.
117
118	2001-02-26  H.J. Lu  <hjl@gnu.org>
119	* ldlang.c (open_input_bfds): Set the bfd error handler so
120        that problems can be caught whilst loading symbols.
121        (record_bfd_errors): New function: Report BFD errors and mark
122        the executable output as being invalid.
123
1242001-04-02  Alan Modra  <alan@linuxcare.com.au>
125
126	* emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
127	(TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
128
1292001-03-27  Hans-Peter Nilsson  <hp@axis.com>
130
131	* configure.tgt (cris-*-*): Change default emulation to criself.
132	(cris-*-*aout*): New rule.
133
1342001-03-27  Matthew Wilcox  <willy@ldl.fc.hp.com>
135
136	* emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
137	(TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
138
1392001-03-17  Ulrich Drepper  <drepper@redhat.com>
140
141	* emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
142	is an absolute path look only for this file and not along the path.
143
1442001-03-16  Philip Blundell  <philb@gnu.org>
145
146	* configure: Regenerate.
147
1482001-03-11  Philip Blundell  <philb@gnu.org>
149
150	* configure.in: Set version to 2.11.
151
1522001-03-05  Alan Modra  <alan@linuxcare.com.au>
153
154	* emultempl/m68kelf.em (m68k_elf_after_allocation): Call
155	after_allocation_default, not gld..._before_allocation.
156
157001-02-18  David O'Brien  <obrien@FreeBSD.org>
158
159	* configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
160	FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
161
1622001-02-17  David O'Brien  <obrien@FreeBSD.org>
163
164	* configure.host: Add a generic FreeBSD configuration entry such that
165	all [modern] FreeBSD systems on all platforms will look the same.
166
1672001-02-13  Richard Henderson  <rth@redhat.com>
168
169	* emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
170
1712001-02-11  Philip Blundell  <philb@gnu.org>
172
173	* Makefile.am: Remove mention of earmelf_linux26.o.
174	* Makefile.in: Regenerate.
175	* emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
176	* emulparams/armelf_linux26.sh: Delete.
177	* configure.tgt: Remove mention of armelf_linux26 emulation.
178
1792001-02-09  David Mosberger  <davidm@hpl.hp.com>
180
181	* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
182	.IA_64.unwind.* pattern to unwind table section and
183	.IA_64.unwind_info* pattern to unwind info section.
184
1852001-01-25  Jim Driftmyer <jdrift@stny.rr.com>
186
187	* ldlang.c (lang_leave_overlay): Don't set lma_region when
188	load_base is specified.
189
1902001-01-24  Hans-Peter Nilsson  <hp@axis.com>
191
192	* emultempl/elf32.em: Correct spelling in comments and listed
193	options.
194
1952001-01-23  Alan Modra  <alan@linuxcare.com.au>
196
197	* ldlang.c (lang_leave_overlay): Only set lma_region from the
198	default for the first section of a group of overlay sections.
199
2002001-01-22  Alan Modra  <alan@linuxcare.com.au>
201
202	* Makefile.am (GENSCRIPTS): Pass exec_prefix.
203	* Makefile.in: Regenerate.
204	* genscripts.sh: Use exec_prefix parameter to specify tool lib.
205	Check for null tool_dir.
206
2072001-01-16  Jim Wilson  <wilson@redhat.com>
208
209	* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
210	and IA_64.unwind.info.
211
2122001-01-16  H.J. Lu  <hjl@gnu.org>
213
214	* ldlang.c (lang_check): Merge the private data only if the
215	input file has contents.
216
2172001-01-14  Alan Modra  <alan@linuxcare.com.au>
218
219	* emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
220
221	* emultempl/hppaelf.em (hppaelf_after_parse): New function,
222	enabling search for libmilli.  On a relocatable link, make .text
223	sections unique.
224	(LDEMUL_AFTER_PARSE): Define.
225	(hppaelf_finish): Correct spelling of relocatable in comments.
226
227	* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
228	rummage through the script for sections on the unique list.
229	Correct length of strncmp for ".note".
230	(gld${EMULATION_NAME}_check_needed): Rearrange function.
231
232	* ldlang.c (unique_section_list): New var.
233	(unique_section_p): New function.
234	(walk_wild_section): Don't match sections on unique_section_list.
235	(lang_add_unique): New function.
236	Correct spelling of relocatable in comments.
237
238	* ldlang.h (struct unique_sections): Declare.
239	(unique_section_list): Declare.
240	(unique_section_p): Declare.
241	(lang_add_unique): Declare.
242
243	* lexsup.c (ld_options): Allow --unique to take an optional arg.
244	(parse_args [OPTION_UNIQUE]): Call lang_add_unique.
245
246	* ld.texinfo (--unique): Update.
247
2482001-01-13  Nick Clifton  <nickc@redhat.com>
249
250	* lexsup.c (parse_args): Remove spurious white space.
251
2522001-01-12  Nick Clifton  <nickc@redhat.com>
253
254	* lexsup.c (parse_args): Update copyright date.
255
2562001-01-12  Philip Blundell  <pb@futuretv.com>
257
258	* configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
259
2602001-01-10  Kazu Hirata  <kazu@hxi.com>
261
262	* scripttempl/h8300.sc: Fix formatting.  Fix a comment typo.
263	* scripttempl/h8300h.sc: Fix formatting.
264	* scripttempl/h8300s.sc: Likewise.
265	* scripttempl/h8500.sc: Likewise.
266	* scripttempl/h8500b.sc: Likewise.
267	* scripttempl/h8500c.sc: Likewise.
268	* scripttempl/h8500m.sc: Likewise.
269	* scripttempl/h8500s.sc: Likewise.
270
2712000-01-07  David O'Brien  <obrien@BSDi.com>
272
273	* emultempl/elf32.em: Only perform Linux ld hints processing when
274	targeting Linux.
275
2762001-01-07  Philip Blundell  <philb@gnu.org>
277
278	* ld.texinfo (Bug Reporting): Update email address for reports.
279
2802000-12-31  Nick Clifton  <nickc@redhat.com>
281
282	* lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
283	options by checking for a return value of '?' not -1.
284
2852000-12-28  Nick Clifton  <nickc@redhat.com>
286
287	* lexsup.c (struct ld_option): Add new enum value:
288	EXACTLY_TWO_DASHES.
289	(ld_options[]): Change -omagic, -output and -oformat options
290	to be EXACTLY_TWO_DASHES.
291	(OUTPUT_COUNT): Use ARRAY_SIZE.
292	(parse_args): Change parameter 'argc' to unsigned.
293	Place EXACTLY_TWO_DASHES options into new really_longopts
294	array.
295	If getopt_long_only fails, try calling getopt_long using the
296	really_longopts array.
297	(help): Print a double dash for both EXACTLY_TWO_DASHES and
298	TWO_DASHES options.
299
300	* ldlex.h: Fix prototype of parse_args.
301
302	* ld.texinfo: Document that long options starting with 'o'
303	must be preceeded by two dashes.  Change example of a single
304	dashed long option from -oformat to -trace-symbol.
305
3062000-12-26  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
307
308	* emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
309	(longopts[]): New --no-default-excludes option.
310	(gld_${EMULATION_NAME}_list_options): Document.
311	(gld_${EMULATION_NAME}_parse_args): Handle.
312
3132000-12-13  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
314
315	* ldlang.c (new_stat): Revert the last beautification with "innocent"
316	whitespace, it breaks the K&R C preprocessor.
317
3182000-12-11  DJ Delorie  <dj@redhat.com>
319
320	* ld.texinfo: Add notes about --whole-archive and gcc.
321
3222000-11-18  Fred Fish  <fnf@be.com>
323
324	* lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
325	(ld_options): Entry for --allow-shlib-undefined.
326	(parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
327	* ldmain.c (main): Initialize link_info.allow_shlib_undefined
328	to false.
329	* ld.texinfo: Document new command line switch.
330
3312000-12-12  Geoffrey Keating  <geoffk@redhat.com>
332
333	* emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
334	.fixup is actually read/write.
335	* emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
336	* emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
337	* emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
338
339Mon Dec 11 14:50:33 MET 2000  Jan Hubicka  <jh@suse.cz>
340
341	* NEWS: Add note about x86_64 architecture.
342
3432000-12-06  Mark Elbrecht  <snowball3@bigfoot.com>
344
345	* scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
346	Set DWARF2 sections to a VMA of zero.
347
3482000-12-01      Joel Sherrill <joel@OARcorp.com>
349
350	* configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
351	New targets.
352	(sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
353	(sparc*-*-rtems*): Switched from a.out to ELF.
354
3552000-11-30  Jan Hubicka  <jh@suse.cz>
356
357	* Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
358	(eelf_x86_64.c): New.
359	* Makefile.in: Regenerate.
360	* configure.tgt: Add support for x86_64-*-linux-gnu*.
361	* emulparams/elf_x86_64.sh: New.
362
3632000-11-30  Hans-Peter Nilsson  <hp@axis.com>
364
365	* emulparams/crislinux.sh (ENTRY): Change back to _start.
366	(TEXT_START_SYMBOLS): Remove conditional setting of __start.
367
368	* scripttempl/crisaout.sc: Change all RELOCATING not related to
369	merging non-a.out sections into CONSTRUCTING.
370
3712000-11-28  Nick Clifton  <nickc@redhat.com>
372
373	* ld.1 (COPYING): Mention that the GNU Free Documentation
374	License is present in the sources, but not the output, and
375	also available from the GNU website.
376	(GNU Free Documentation License): Comment out this section.
377
3782000-11-28  David O'Brien  <obrien@dragon.nuxi.com>
379
380	* emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
381	does not use them.
382
3832000-11-25  David O'Brien  <obrien@FreeBSD.org>
384
385	* ld.1: Remove old date so it does not give the impression the manpage
386	is way out of date.
387
3882000-11-24  Nick Clifton  <nickc@redhat.com>
389
390	* configure.tgt (xscale-coff): Add target.
391	(xscale-elf): Add target.
392
3932000-11-24  Fred Fish  <fnf@be.com>
394
395	* ldmain.c (main): Remove redundant init of config.make_executable
396	to true.
397
3982000-11-15  Richard Henderson  <rth@redhat.com>
399
400	* emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
401
4022000-11-14  Kazu Hirata  <kazu@hxi.com>
403
404	* scripttempl/h8300.sc: Fix formatting.
405	* scripttempl/h8300h.sc: Likewise.
406	* scripttempl/h8300s.sc: Likewise.
407
408Tue Nov 14 00:59:19 2000  Denis Chertykov  <denisc@overta.ru>
409
410	* scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
411
4122000-11-09  Philip Blundell  <pb@futuretv.com>
413
414	* emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
415	around orphan sections whose names can be represented in C.
416
4172000-11-07  Jim Wilson  <wilson@redhat.com>
418
419	* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
420	hold_sdata.  If SEC_SMALL_DATA set, set place to hold_sdata.
421
4222000-11-06  Nick Clifton  <nickc@redhat.com>
423
424	* ld.texinfo: Add GNU Free Documentation License.
425	* ldint.texinfo: Add GNU Free Documentation License.
426	* ld.1: Add GNU Free Documentation License.
427
4282000-11-05  Alan Modra  <alan@linuxcare.com.au>
429
430	* ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
431	yy_is_interactive, yy_at_bol, and yy_fill_buffer.
432
433	* Makefile.am (DISTCLEANFILES): Add stringify.sed.
434	Move 2000-11-02 Makefile.in changes to this file.
435	* Makefile.in: Regenerate.
436
4372000-11-03  Nick Clifton  <nickc@redhat.com>
438
439	* scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
440	constructors and destructors.
441	* scripttempl/h8300h.sc: Ditto.
442	* scripttempl/h8300s.sc: Ditto.
443	* scripttempl/h8500.sc: Ditto.
444	* scripttempl/h8500b.sc: Ditto.
445	* scripttempl/h8500c.sc: Ditto.
446	* scripttempl/h8500m.sc: Ditto.
447	* scripttempl/h8500s.sc: Ditto.
448	* scripttempl/v850.sc: Ditto.
449	* scripttempl/w65.sc: Ditto.
450	* scripttempl/z8000.sc: Ditto.
451
4522000-11-02  Per Lundberg  <plundis@chaosdev.org>
453
454	* Makefile.in (e_i386_chaos.c): New rule.
455	(ALL_EMULATIONS): Added e_i386_chaos.o.
456	* emulparams/elf_i386_chaos.sh: New file.
457	* configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
458
4592000-10-20  Jakub Jelinek  <jakub@redhat.com>
460
461	* emulparams/elf64_sparc.sh (TEXT_START_ADDR,
462	NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
463	Fix sed invocation, so that it coped with '/' in Solaris 64bit
464	library path suffix.
465	Based on patch by Andrew Macleod <amacleod@cygnus.com>.
466
4672000-10-18  Hans-Peter Nilsson  <hp@axis.com>
468
469	* scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
470	for consecutive sections.
471
4722000-10-17  Chandrakala Chavva  <cchavva@redhat.com>
473
474	* lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
475	options.
476	* ld.texinfo: Added notes about this new option.
477
4782000-10-16  Nick Clifton  <nickc@redhat.com>
479
480	* emultempl/pe.em (_after_open): Add tests of return values from
481	bfd functions.  Emit appropriate error messages if necessary.
482
4832000-10-13  Nick Clifton  <nickc@redhat.com>
484
485	* emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
486	local variables - they are not used, but leave in the call to
487	bfd_canonicalize_symtab.
488	(_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
489	pe_dll_search_prefix.
490
4912000-10-12  Charles Wilson  <cwilson@ece.gatech.edu>
492
493	* emultempl/pe.em (pe_dll_search_prefix): New variable,
494	(longopts): New --dll-search-prefix option.
495	(gld_${EMULATION_NAME}_list_options): Document.
496	(gld_${EMULATION_NAME}_parse_args): Handle.
497	(gld_${EMULATION_NAME}_open_dynamic_archive): When linking
498	dynamically, search for a dll named '<prefix><basename>.dll'
499	in preference to 'lib<basename>.dll' if --dll-search-prefix
500	is specified.
501
5022000-10-12  Alan Modra  <alan@linuxcare.com.au>
503
504	* ldlang.c (section_already_linked): Set kept_section instead of
505	sec->comdat->sec.
506
5072000-10-10  Kazu Hirata  <kazu@hxi.com>
508
509	* deffile.h: Fix formatting.
510	* lexsup.c: Likewise.
511	* mri.c: Likewise.
512
5132000-10-09  Paul Sokolovsky  <Paul.Sokolovsky@technologist.com>
514
515	* pe-dll.c (make_one): Do not generate code thunk for DATA
516	exports.
517	(process_def_file): deduce DATA flag for auto-export sumbols.
518
5192000-10-09  Kazu Hirata  <kazu@hxi.com>
520
521	* ld.h: Fix formatting.
522	* ldcref.c: Likewise.
523	* ldctor.h: Likewise.
524	* ldemul.c: Likewise.
525	* ldemul.h: Likewise.
526	* ldexp.c: Likewise.
527	* ldexp.h: Likewise.
528	* ldfile.c: Likewise.
529	* ldfile.h: Likewise.
530	* ldlang.c: Likewise.
531	* ldlang.h: Likewise.
532	* ldmain.c: Likewise.
533	* pe-dll.c: Likewise.
534
535	* pe-dll.c: Revert some formatting fixes.
536
5372000-10-08  Kazu Hirata  <kazu@hxi.com>
538
539	* pe-dll.c: Fix formatting.
540
5412000-10-05  Kazu Hirata  <kazu@hxi.com>
542
543	* ldlang.c: Fix formatting.
544
5452000-10-03  DJ Delorie  <dj@redhat.com>
546
547	* pe-dll.c (fill_edata): initialize entire block
548	(make_one): fill in correct section.
549
5502000-10-03  Kazu Hirata  <kazu@hxi.com>
551
552	* ldexp.c: Fix formatting.
553
5542000-10-02  DJ Delorie  <dj@redhat.com>
555
556	* emultempl/pe.em (gld_*_after_open): detect case where there two
557	import libraries for same dll; rename one to ensure proper link
558	order.
559
560	* pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
561	typo
562	(generate_edata): fix typo
563
5642000-09-29  Hans-Peter Nilsson  <hp@axis.com>
565
566	* scripttempl/crisaout.sc (ENTRY): Now __start.
567	(.text): Add default setting for __start.
568	Remove CONSTRUCTORS handling.
569	(/DISCARD/): Add .gnu.warning.*.
570	* emulparams/crislinux.sh (ENTRY): Now __start.
571	(TEXT_START_SYMBOLS): New; provide __Stext and __start default.
572	* emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
573	(ENTRY): Now __start.
574	(INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
575	(EXECUTABLE_SYMBOLS): Add default setting for __start.
576
5772000-09-29  Kazu Hirata  <kazu@hxi.com>
578
579	* deffile.h: Fix formatting.
580	* ld.h: Likewise.
581	* ldcref.c: Likewise.
582	* ldctor.c: Likewise.
583	* ldctor.h: Likewise.
584	* ldemul.c: Likewise.
585	* ldemul.h: Likewise.
586	* ldexp.c: Likewise.
587	* ldexp.h: Likewise.
588	* ldfile.c: Likewise.
589	* ldfile.h: Likewise.
590	* ldlang.c: Likewise.
591	* ldlang.h: Likewise.
592	* lexsup.c: Likewise.
593	* mri.c: Likewise.
594	* pe-dll.c: Likewise.
595
5962000-09-28  Paul Sokolovsky  <Paul.Sokolovsky@technologist.com>
597
598	* pe-dll.c (process_def_file): Uninitialized data wasn't
599	exported with --export-all-symbols switch.
600
6012000-09-28  DJ Delorie  <dj@redhat.com>
602
603	* pe-dll.c (fill_edata): rearrange the data so that ordinals and
604	noname work properly.
605
6062000-09-28  Alan Modra  <alan@linuxcare.com.au>
607
608	* ld.texinfo (HPPA ELF32): New section.
609
610	* emultempl/hppaelf.em (group_size): New.
611	(hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
612	(PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
613	(PARSE_AND_LIST_LONGOPTS): Add --stub-group-size.  Duplicate
614	options to prevent abbreviations matching.
615	(PARSE_AND_LIST_OPTIONS): Describe the above.  Reformat.
616	(PARSE_AND_LIST_ARGS_CASES): Handle it.
617
6182000-09-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
619
620	* emultempl/m68kelf.em: Conditionalise the embedded relocs feature
621	on the m68*-*-elf target.  Make it support COFF input objects.
622
6232000-09-21  Kazu Hirata  <kazu@hxi.com>
624
625	* ldmain.c: Fix formatting.
626	* ldmisc.c: Likewise.
627	* ldver.c: Likewise.
628	* ldwrite.c: Likewise.
629
6302000-09-21  Alan Modra  <alan@linuxcare.com.au>
631
632	* ldwrite.c (clone_section): Silence gcc warnings.
633
6342000-09-20  Alan Modra  <alan@linuxcare.com.au>
635
636	* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
637	out of memory failure.
638
639	* ldwrite.c (ldwrite): Remove unnecessary einfo arg.
640	(clone_section): Handle out of memory failures.  Rename var to
641	avoid c++ reserved word.
642
6432000-09-18  Alan Modra  <alan@linuxcare.com.au>
644
645	* emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
646	stub_name param to stub_sec_name.
647	(hppaelf_finish): Modify call to elf32_hppa_size_stubs.
648
6492000-09-10  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
650
651	* emultempl/m68kelf.em: New file.
652	* emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
653	* Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
654	* Makefile.in: Regenerate.
655
6562000-09-15  Alan Modra  <alan@linuxcare.com.au>
657
658	* emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
659	only as needed.
660
6612000-09-13  Nick Clifton  <nickc@redhat.com>
662
663	* ldmain.c (multiple_definition): Disable relaxation if
664	multiple symbol definitions are encountered - otherwise the
665	linker could abort with an assertion failure.
666
6672000-09-10  Nick Clifton  <nickc@redhat.com>
668
669	* mri.c: Fix formatting.
670
6712000-09-07  H.J. Lu  <hjl@gnu.org>
672
673	* configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
674	* configure: Rebuild.
675
6762000-09-07  H.J. Lu  <hjl@gnu.org>
677
678	* Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
679	* Makefile.in: Rebuild.
680
6812000-09-07  Alan Modra  <alan@linuxcare.com.au>
682
683	* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
684	broken list handling.  Create __start_SECNAME and __stop_SECNAME
685	when no place-holder.  Add some comments.  Test both SEC_CODE and
686	SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
687	Handle case where no output section statement created.
688
6892000-09-07  Niibe Yutaka  <gniibe@m17n.org>, Kaz Kojima  <kkojima@rr.iij4u.or.jp>, Alexandre Oliva  <aoliva@redhat.com>
690
691	* configure.tgt (sh-*-linux*): Added.
692	* Makefile.am: Added eshelf_linux and eshlelf_linux.
693	* Makefile.in: Rebuilt.
694	* emulparams/shelf_linux.sh: New file.
695	* emulparams/shlelf_linux.sh: New file.
696
6972000-09-06  Alan Modra  <alan@linuxcare.com.au>
698
699	* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
700	try shuffling sections when the orphan happens to be the place
701	holder.  Keep count of unique section names generated so we speed
702	the search for a new name.
703
7042000-09-06  Alexandre Oliva  <aoliva@redhat.com>
705
706	* configure: Rebuilt with new libtool.m4.
707
7082000-09-05  Nick Clifton  <nickc@redhat.com>
709
710	* Makefile.in: Regenerate.
711	* aclocal.m4: Regenerate.
712	* configure: Regenerate.
713	* config.in: Regenerate.
714	* po/ld.pot: Regenerate.
715
716	* ldint.texinfo: Remove CVS revision marker - it foils local
717	comparisons.
718
719	* emultempl/ticoff.em: Remove extraneous comma.
720
7212000-09-05  Alan Modra  <alan@linuxcare.com.au>
722
723	* emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
724	to stub section flags.
725	(hppa_for_each_input_file_wrapper): New.
726	(hppa_lang_for_each_input_file): New.
727	(lang_for_each_input_file): Define to call above.
728	(multi_subspace): New.
729	(hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
730	(PARSE_AND_LIST_PROLOGUE): Define.
731	(PARSE_AND_LIST_LONGOPTS): Define.
732	(PARSE_AND_LIST_OPTIONS): Define.
733	(PARSE_AND_LIST_ARGS_CASES): Define.
734	(hppaelf_finish): Call elf32_hppa_set_gp.
735	(hppaelf_set_output_arch): Remove.
736	(LDEMUL_SET_OUTPUT_ARCH): Remove.
737
738	* emulparams/hppalinux.sh (ELFSIZE): Define.
739	(MACHINE): Define.
740	(OTHER_READONLY_SECTIONS): Define.
741	(DATA_PLT): Define.
742	(GENERATE_SHLIB_SCRIPT): Define.
743
744	* ldlang.c: Add missing prototypes, and tidy others.  Change CONST
745	to const throughout.  Change `void *' to `PTR' throughout.
746	(lang_memory_default): Function is local to file, add `static'.
747
748	* Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
749	(ehppalinux.c): Likewise.
750	(earmelf.c): Likewise.
751	(earmelf_linux.c): Likewise.
752	(earmelf_linux26.c): Likewise.
753	* Makefile.in: Regenerate.
754
755	* ld.h (ld_config_type): Add unique_orphan_sections.
756	* lexsup.c (OPTION_UNIQUE): Define.
757	(ld_options): Add "--unique".
758	(parse_args): Handle it.
759	* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
760	search for an existing output section if unique_orphan_sections is
761	set.  Make use of bfd_get_unique_section_name rather than
762	duplicating code here.
763	* ld.texinfo: Describe --unique.
764
765	* lexsup.c (ld_options): Make split-by-reloc arg optional. Add
766	optional arg to split-by-file.
767	(parse_args): Handle them.
768	* ld.texinfo: Update description of these options.
769	* ldwrite.c (clone_section): Pass in the section name.  Replace
770	local code with bfd_get_unique_section_name.
771	(split_sections): Tidy code and comments.  Use a list traversal
772	more appropriate to the list construction.  Handle cooked section
773	sizes.  Split when split_by_reloc reached rather than exceeded.
774	Track section size and split when split_by_file reached.  Fix
775	link_order_tail (even though it's not used).
776	(ldwrite): Modify condition for calling split_sections to suit
777	changed split_by_reloc and split_by_file.
778	* ldmain.c (main): Init config.split_by_reloc and
779	config.split_by_file to -1.
780	* ld.h (ld_config_type): Change split_by_reloc to unsigned.
781	Change split_by_file to bfd_size_type.
782
7832000-09-02  Nick Clifton  <nickc@redhat.com>
784
785	* configure.in: Increase version number to 2.10.91.
786	* NEWS: Mention new ability to support removal of duplicate DWARF2
787	debug information.
788	* configure: Regenerate.
789	* aclocal.m4: Regenerate.
790	* config.in: Regenerate.
791
7922000-09-02  Daniel Berlin <dberlin@redhat.com>
793
794	* scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
795	sections.
796	* scripttempl/elf32avr.sc: Ditto.
797	* scripttempl/elfd10v.sc: Ditto.
798	* scripttempl/elfd30v.sc: Ditto.
799	* scripttempl/elfi370.sc: Ditto.
800	* scripttempl/elfm68hc11.sc: Ditto.
801	* scripttempl/elfm68hc12.sc: Ditto.
802	* scripttempl/elfi386beos.sc: Ditto.
803	* scripttempl/v850.sc: Ditto.
804
8052000-08-31  Alexandre Oliva  <aoliva@redhat.com>
806
807	* acinclude.m4: Include libtool and gettext macros from the
808	top level.
809	* aclocal.m4, configure: Rebuilt.
810
8112000-08-25  Nick Clifton  <nickc@redhat.com>
812
813	* ldlang.c (open_output): When choosing the target for a
814	particular endianness, do nothing if the target is not
815	supported.
816
8172000-08-25  H.J. Lu  <hjl@gnu.org>
818
819	* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
820	check -rpath nor LD_RUN_PATH for cross link.
821	* ld.texinfo: Document the change.
822
8232000-08-24  Hans-Peter Nilsson  <hp@axis.com>
824
825	* NEWS: Mention support for CRIS.
826
8272000-08-23  H.J. Lu  <hjl@gnu.org>
828
829	* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
830	the current runpath list from bfd_elf_get_runpath_list ()
831	before search.
832
8332000-08-22  H.J. Lu  <hjl@gnu.org>
834
835	* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
836	the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
837	LD_LIBRARY_PATH for native linker. Display the needed DSO if
838	trace_file_tries is non-zero.
839	(gld${EMULATION_NAME}_try_needed): Report the needed DSO found
840	if trace_file_tries is non-zero.
841
842	* ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
843	* NEWS: Mention it.
844
8452000-08-14  Jason Eckhardt  <jle@cygnus.com>
846
847	* NEWS: Mention i860 support.
848
8492000-08-14  Andreas Schwab  <schwab@suse.de>
850
851	* scripttempl/elf.sc: Fix last change to use correct comment
852	syntax.
853
8542000-08-10  Geoff Keating  <geoffk@cygnus.com>
855
856	* scripttempl/elf.sc: Add a comment giving the correspondence
857	between sections, per-datum sections, and linkonce sections.  Make
858	the comment true even for .bss, .sdata, .sdata2, .sbss, and
859	.sbss2.
860
8612000-08-10  Jason Eckhardt  <jle@cygnus.com>
862
863	* emulparams/elf32_i860.sh: New file.
864	* configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
865	* Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
866	(eelf32_i860.c): New rule.
867	* Makefile.in: Regenerate.
868
8692000-08-10  Nick Clifton  <nickc@cygnus.com>
870
871	* emulparams/mipspe.sh (ENTRY): Add definition.
872
8732000-08-08  Peter Jeremy  <peter.jeremy@alcatel.com.au>
874
875	* emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
876	in error message.
877
8782000-08-08  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
879
880	* scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
881	the final size of .bss section.
882	* scripttempl/elfm68hc12.sc: Likewise.
883
8842000-08-04  Alan Modra  <alan@linuxcare.com.au>
885
886	* emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
887	gld${EMULATION_NAME}_parse_args for consistency.  Combine
888	lastoptind and prevoptind vars, and keep track of last optind.
889	(gld_${EMULATION_NAME}_list_options): Rename to
890	gld${EMULATION_NAME}_list_options.
891
8922000-08-03  Rodney Brown  <RodneyBrown@pmsc.com>
893
894	* configure.tgt: Select targ_emul=elf_i386 for Unixware 7
895	(i586-sco-sysv5uw7.1.0).
896
8972000-07-27  H.J. Lu  <hjl@gnu.org>
898
899	* emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
900	(PARSE_AND_LIST_PROLOGUE): New.
901	(PARSE_AND_LIST_LONGOPTS): Likewise.
902	(PARSE_AND_LIST_OPTIONS): Likewise.
903	(PARSE_AND_LIST_ARGS_CASES): Likewise.
904	(PARSE_AND_LIST_EPILOGUE): Likewise.
905
9062000-07-28  Alan Modra  <alan@linuxcare.com.au>
907
908	* emultempl/armelf.em: Elide functions common to elf32.em,
909	ie. most of the file.
910	(arm_elf_after_open): New.  Do arm specific things then call
911	gld${EMULATION_NAME}_after_open.
912	(arm_elf_before_allocation): New.  Call
913	gld${EMULATION_NAME}_before_allocation then do arm specifics.
914	(PARSE_AND_LIST_PROLOGUE): Define.
915	(PARSE_AND_LIST_SHORTOPTS): Define.
916	(PARSE_AND_LIST_LONGOPTS): Define.
917	(PARSE_AND_LIST_OPTIONS): Define.
918	(PARSE_AND_LIST_ARGS_CASES): Define.
919	(LDEMUL_AFTER_OPEN): Define.
920	(LDEMUL_BEFORE_ALLOCATION): Define.
921	(LDEMUL_BEFORE_PARSE): Define.
922	(LDEMUL_FINISH): Define.
923
924	* emultempl/hppaelf.em: Similarly zap most of this file.
925	(hppaelf_add_stub_section): Prototype.
926	(hppaelf_layaout_sections_again): Prototype.
927	(hook_in_stub): Prototype.
928	(LDEMUL_SET_OUTPUT_ARCH): Define.
929	(LDEMUL_FINISH): Define.
930	(LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
931
932	* emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
933	(EXTRA_EM_FILE): New.
934	* emulparams/armelf_linux.sh: Likewise.
935	* emulparams/armelf_linux26.sh: Likewise.
936	* emulparams/hppalinux.sh: Likewise.
937	* emulparams/hppaelf.sh: Likewise.
938	(NOP): Define.
939
940	* emultempl/elf32.em: Fix formatting.
941	(EXTRA_EM_FILE): Source it.
942	(LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
943	LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
944	LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
945	LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
946	LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
947	LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
948	LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
949	LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
950	LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars.  Add code to
951	allow functions in this file to be overridden.
952	(PARSE_AND_LIST_SHORTOPTS): Handle it.
953
954	* emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
955
956	* emultempl/elf32.em: Reorganize file.
957
9582000-07-27  Ivan Kokshaysky  <ink@jurassic.park.msu.ru>
959
960	* emulparams/elf64alpha.sh: Implement "-taso" emulation
961	specific option to fit 64-bit executable in the lower
962	31-bit address range.  This is done by changing start
963	address of .interp (the very first section of executable)
964	and then setting EF_ALPHA_32BIT elf header flag.
965
9662000-07-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
967
968	* emultempl/m68kcoff.em: New file.
969	* emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
970	* Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
971	generic.em.
972	* Makefile.in: Regenerate.
973
9742000-07-20  H.J. Lu  <hjl@gnu.org>
975
976	* emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
977	and "disable-new-dtags" to stop getopt from treating -d/-e as
978	abbreviations for these options.
979
9802000-07-20  H.J. Lu  <hjl@gnu.org>
981
982	* ld.texinfo: Add documentation for --disable-new-dtags and
983	--enable-new-dtags.
984
985	* ldmain.c (main): Initialize link_info.new_dtags to false.
986
987	* emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
988	--disable-new-dtags and --enable-new-dtags.
989	(gld_${EMULATION_NAME}_list_options): Likewise.
990
9912000-07-05  Kenneth Block  <krblock@computer.org>
992
993	* lexsup.c: Add optional style to demangle switch
994	* ld.texinfo: Document optional style to demangle switch.
995
9962000-07-20  Hans-Peter Nilsson  <hp@axis.com>
997
998	* Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
999	ecrislinux.o.
1000	(ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
1001	Regenerate dependencies.
1002	* Makefile.in: Rebuild.
1003	* configure.tgt (cris-*-*): New target.
1004	* emulparams/crisaout.sh, emulparams/criself.sh,
1005	emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
1006	* po/POTFILES.in, po/ld.pot: Regenerate.
1007
10082000-07-20  H.J. Lu  <hjl@gnu.org>
1009
1010	* emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
1011	Print out ignored -z options.
1012
10132000-07-19  H.J. Lu  <hjl@gnu.org>
1014
1015	* emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
1016	(PARSE_AND_LIST_PROLOGUE): New.
1017	(PARSE_AND_LIST_LONGOPTS): Likewise.
1018	(PARSE_AND_LIST_OPTIONS): Likewise.
1019	(PARSE_AND_LIST_ARGS_CASES): Likewise.
1020
1021	* ldmain.c (main): Clear link_info.flags and link_info.flags_1.
1022
1023	* lexsup.c (ld_options): Comment out 'z'.
1024	(parse_args): Likewise.
1025
1026	* emultempl/elf32.em: Include "elf/common.h".
1027	(gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
1028	options.
1029	(gld_${EMULATION_NAME}_list_options): Likewise.
1030
1031	* ld.texinfo: Add documentation for the recognized -z options.
1032
10332000-07-19  H.J. Lu  <hjl@gnu.org>
1034
1035	* emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
1036	bfd_elf_set_dt_needed_soname ().
1037
10382000-07-18  DJ Delorie  <dj@cygnus.com>
1039
1040	* pe-dll.c (pe_dll_id_target): check object target name also
1041
10422000-07-18  Hans-Peter Nilsson  <hp@axis.com>
1043
1044	* scripttempl/elf.sc (.init): Only do ${INIT_START} and
1045	${INIT_END} if relocating.
1046	(.fini): Likewise ${FINI_START} and ${FINI_END}.
1047
10482000-07-16  Charles Wilson  <cwilson@ece.gatech.edu>
1049
1050	* emultempl/pe.em (gld_*_open_dynamic_archive): New search
1051	order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
1052	foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
1053	errors introduced by the old dynamic lib search order.
1054
10552000-07-17  DJ Delorie  <dj@cygnus.com>
1056
1057	* pe-dll.c (process_def_file): auto-export data items also
1058	(pe_process_import_defs): also see if _imp_ form needed
1059
10602000-07-12  Charles Wilson  <cwilson@ece.gatech.edu>
1061
1062	* pe-dll.c (make_one): fix a typo in the __imp_ name decoration
1063	for dll import libraries
1064
10652000-07-12  Mark Elbrecht  <snowball3@bigfoot.com>
1066
1067	* scripttempl/i386go32.sc: Support the g++ attribute init_priority in
1068	gcc 2.95.2 and later.
1069
10702000-07-11  Kazu Hirata  <kazu@hxi.com>
1071
1072	* ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
1073	message.
1074
10752000-07-10  Alan Modra  <alan@linuxcare.com.au>
1076
1077	* ldemul.h (struct lang_input_statement_struct): Remove forward
1078	declaration.
1079	(struct search_dirs): Likewise.
1080	* ldfile.h (struct lang_input_statement_struct): Likewise.
1081	Protect file from multiple inclusion.
1082	* ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
1083	declaration from macro to file scope.
1084
1085	* ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
1086	* ldgram.y: Likewise here.
1087	* ldlang.c: And here.
1088	* ldmain.c: And here.
1089	* mpw-elfmips.c: And here.
1090	* mpw-eppcmac.c: And here.
1091	* emultempl/aix.em: And here.
1092	* emultempl/armcoff.em: And here.
1093	* emultempl/armelf.em: And here.
1094	* emultempl/armelf_oabi.em: And here.
1095	* emultempl/beos.em: And here.
1096	* emultempl/elf32.em: And here.
1097	* emultempl/hppaelf.em: And here.
1098	* emultempl/linux.em: And here.
1099	* emultempl/lnk960.em: And here.
1100	* emultempl/pe.em: And here.
1101	* emultempl/sunos.em: And here.
1102	* mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
1103	* mpw-idtmips.c: Ditto.
1104	* emultempl/generic.em: Ditto.
1105	* emultempl/gld960.em: Ditto.
1106	* emultempl/gld960c.em: Ditto.
1107	* emultempl/mipsecoff.em: Ditto.
1108	* emultempl/ticoff.em: Ditto.
1109	* emultempl/vanilla.em: Ditto.
1110
1111	* pe-dll.c: Include ldfile.h
1112	* ldver.c: Include ldexp.h, ldlang.h, ldfile.h
1113
1114	* mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
1115	arguments to bfd_elf32_size_dynamic_sections call.
1116	(gldelf32ebmip_place_orphan): Add missing arguments to
1117	lang_leave_output_section_statement call.
1118
11192000-07-10  H.J. Lu  <hjl@gnu.org>
1120
1121	* emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
1122	DLL_SUPPORT.
1123	(strhash): Likewise.
1124	(compute_dll_image_base): Likewise.
1125	(pe_undef_found_sym): Likewise.
1126	(pe_undef_cdecl_match): Likewise.
1127	(gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
1128	argument "arch" with ATTRIBUTE_UNUSED.
1129
11302000-07-10  Alan Modra  <alan@linuxcare.com.au>
1131
1132	* configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
1133
1134	From  Ryan Bradetich  <rbradetich@uswest.net>
1135	* ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
1136
11372000-07-09  Alan Modra  <alan@linuxcare.com.au>
1138
1139	Changes to create multiple linker stubs, positioned immediately
1140	before the section where they are required.
1141	* emultempl/hppaelf.em: Include elf32-hppa.h.
1142	(stub_sec, file_chain): Delete.
1143	(hppaelf_create_output_section_statements): Don't make a stub
1144	section here.
1145	(hook_stub_info): New struct.
1146	(hook_in_stub): New function.
1147	(hppaelf_add_stub_section): New function.
1148	(hppaelf_finish): Do nothing for relocateable links.  Modify the
1149	call to elf32_hppa_size_stubs.  Move code for updating section
1150	layout from here...
1151	(hppaelf_layaout_sections_again): ..to here, a new function.
1152
1153	* emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
1154	broken list handling.  Pass in a pointer to the list.
1155	(hppaelf_finish): Update call to hppaelf_delete_padding_statements
1156	for above changes.
1157	(hppaelf_before_parse): Prototype.
1158	(hppaelf_set_output_arch): Prototype.
1159	(hppaelf_create_output_section_statements): Prototype.
1160	(hppaelf_delete_padding_statements): Prototype.
1161	(hppaelf_finish): Prototype.
1162
1163	Merge from elf32.em
1164	* emultempl/hppaelf.em: Include ctype.h.
1165	(struct orphan_save): New.
1166	(gld${EMULATION_NAME}_place_orphan): New.
1167	(output_rel_find): New.
1168	(hppaelf_get_script): Update from elf32.em.
1169	(ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
1170	Change emulation_name field to "${EMULATION_NAME}".  Add
1171	gld${EMULATION_NAME}_place_orphan.
1172
1173	* Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o,  add
1174	ehppalinux.o, sort it.  Regenerate dependencies.
1175	(ehppalinux.c): Depend on hppaelf.em
1176	* Makefile.in: Regenerate.
1177
1178	* configure.tgt: targ_emul=hppalinux for hppa*linux
1179
1180	* emulparams/hppalinux.sh: New.
1181	* emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
1182
11832000-07-08  Alan Modra  <alan@linuxcare.com.au>
1184
1185	* lexsup.c (parse_args): Copy section name.
1186
11872000-07-07  Charles Wilson  <cwilson@ece.gatech.edu>
1188
1189	* emultempl/pe.em: institute the following search order for
1190	dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
1191	libs), libfoo.dll, foo.dll (link direct to dll).  Fall back to
1192	static lib (libfoo.a) if none of the above are found.
1193
11942000-07-07  Mumit Khan  <khan@xraylith.wisc.edu>
1195
1196	* emultempl/pe.em (pe_enable_auto_image_base): New variable.
1197	(longopts): New --{enable,disable}-auto-image-base options.
1198	(gld_${EMULATION_NAME}_list_options): Document.
1199	(gld_${EMULATION_NAME}_parse): Handle.
1200	(strhash): New static function.
1201	(compute_dll_image_base): New static function.
1202	(gld_${EMULATION_NAME}_set_symbols): Use.
1203
12042000-07-05  DJ Delorie  <dj@redhat.com>
1205
1206	* MAINTAINERS: new
1207
12082000-07-01  Koundinya K  <kk@ddeorg.soft.net>
1209
1210	* configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
1211	* emulparams/elf32btsmip.sh: New file.
1212	* Makefile.am: Add traditional mips target.
1213	* Makefile.in: Rebuild.
1214
12152000-07-01  H.J. Lu  <hjl@gnu.org>
1216
1217	* Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
1218	automake to use YLWRAP.
1219	* Makefile.in: Rebuild.
1220
12212000-07-01  Alan Modra  <alan@linuxcare.com.au>
1222
1223	* Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
1224	(CLEANFILES): Add DEPA.
1225	* Makefile.in: Regenerate.
1226
12272000-06-30  Timothy Wall  <twall@ppc>
1228
1229	* scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
1230	the page in the upper octet of the address.
1231
12322000-06-26  Marek Michalkiewicz  <marekm@linux.org.pl>
1233
1234	* emulparams/avrmega161.sh (ARCH): Change to avr:5.
1235
12362000-06-24  Alan Modra  <alan@linuxcare.com.au>
1237
1238	* NEWS: arm-elf does --gc-sections too.
1239
12402000-06-22  Alan Modra  <alan@linuxcare.com.au>
1241
1242	* Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1243	find one.
1244	* Makefile.in: Regenerate.
1245
12462000-06-21  H.J. Lu  <hjl@gnu.org>
1247
1248	* Makefile.am: Rebuild dependency.
1249	* Makefile.in: Rebuild.
1250
12512000-06-20  H.J. Lu  <hjl@gnu.org>
1252
1253	* Makefile.am: Rebuild dependency.
1254	* Makefile.in: Rebuild.
1255
12562000-06-20  Timothy Wall  <twall@cygnus.com>
1257
1258	* scripttempl/tic54xcoff.sc: New.
1259	* ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
1260	* gen-doc.texi: Add flag for TI COFF.
1261	* ld.texinfo: Add documentation for TI COFF handling switches.
1262	* emultempl/ticoff.em: New. TI COFF handling.
1263	* configure.tgt: Add tic54x target.
1264	* Makefile.am: Add tic54x target.
1265	* Makefile.in: Ditto.
1266
12672000-06-20  Alan Modra  <alan@linuxcare.com.au>
1268
1269	* ldmain.c (set_scripts_dir): Correct pointer comparison when
1270	checking for backslashes.
1271
12722000-06-19  Alan Modra  <alan@linuxcare.com.au>
1273
1274	* NEWS: Move entries not in 2.10 above "Changes in version 2.10".
1275
12762000-06-18  Alan Modra  <alan@linuxcare.com.au>
1277
1278	* NEWS: Update list of targets supporting --gc-sections.
1279
1280	* scripttempl/elf.sc: KEEP .eh_frame contents.
1281	* scripttempl/elfd30v.sc: Same here.
1282
12832000-06-18  Stephane Carrez  <stcarrez@worldnet.fr>
1284
1285	* Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
1286	and m68hc11 (elf).
1287	* Makefile.in: Rebuild.
1288	* configure.tgt: Recognize m68hc12 and m68hc11.
1289	* scripttempl/elfm68hc12.sc: New file.
1290	* emulparams/m68hc12elfb: New emulation.
1291	* emulparams/m68hc12elf: New emulation.
1292	* emulparams/m68hc11elfb.sh: New file.	User configurable emulation
1293	(includes a memory.x script to define the ROM and RAM banks).
1294	* scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
1295	New configuration files for support of Motorola 68hc11
1296
12972000-06-15  Alan Modra  <alan@linuxcare.com.au>
1298
1299	* ldmain.c (main): Only change SEC_READONLY for final link.
1300
13012000-06-13  H.J. Lu  <hjl@gnu.org>
1302
1303	* configure: Regenerate.
1304
13052000-06-08  David O'Brien  <obrien@FreeBSD.org>
1306
1307	* configure.in (VERSION): Update to show this is the CVS mainline.
1308
13092000-06-07  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
1310
1311	* emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
1312	input objects to be ECOFF.
1313	(check_sections): einfo takes %B, not %P, to print a BFD name.
1314
13152000-06-05  Michael Matz <matz@ifh.de>
1316
1317	* ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
1318	version scripts.
1319
1320	* ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
1321
13222000-05-23  Marek Michalkiewicz  <marekm@linux.org.pl>
1323
1324	* emulparams/avr1200.sh (STACK): Define as 0.
1325	* emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
1326	* emulparams/avr4433.sh (STACK): Likewise.
1327	* emulparams/avr44x4.sh (STACK): Likewise.
1328	* emulparams/avr85xx.sh (STACK): Likewise.
1329	* emulparams/avrmega103.sh (STACK): Likewise.
1330	* emulparams/avrmega161.sh (STACK): Likewise.
1331	* emulparams/avrmega603.sh (STACK): Likewise.
1332	* scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
1333	(__stack): Define from ${STACK} for main().
1334
13352000-05-26  Alan Modra  <alan@linuxcare.com.au>
1336
1337	* Makefile.am: Update dependencies with "make dep-am"
1338	* Makefile.in: Regenerate.
1339
13402000-05-26  Eli Zaretskii  <eliz@is.elta.co.il>
1341
1342	* ldmain.c: Include filenames.h.
1343	(set_scripts_dir): Support backslashes in program name.
1344
13452000-05-22  Igor Shevlyakov  <igor@windriver.com>
1346
1347	* ldmain.c (main): When deciding if ".text" section should be
1348	read-only, don't forget to reset SEC_READONLY because it
1349	could be already set.
1350
13512000-05-22  Thomas de Lellis  <tdel@windriver.com>
1352
1353	* ld.1: Add documentation for new command line option:
1354		--section-start <sectionname>=<sectionorg>
1355	This is a generic version of -Ttext etc. which accepts
1356	any section name as a parameter instead of just text/data/
1357	bss.
1358	* ld.texinfo: More docs.
1359	* NEWS: More docs.
1360	* lexsup.c: (parse_args): Recognize new command line option.
1361	(ld_options): Add new option.
1362
13632000-05-18  H.J. Lu  <hjl@gnu.org>
1364
1365	* lexsup.c (parse_args): `i' == `r', not `q'.
1366
1367Thu May 18 10:47:57 2000  Jeffrey A Law  (law@cygnus.com)
1368
1369	* configure.tgt (hppa*64*-*-*): Enable PA64 target.
1370
13712000-05-17 S. Bharadwaj Yadavalli  <sby@scrugs.lkg.dec.com>
1372	      Rick Gorton	   <gorton@scrugs.lkg.dec.com>
1373
1374	Add support for '-q' == '--emit-relocs' switch.
1375	* ldmain.c (main): Default to false.
1376	* lexsup.c (parse_args): Turn on emitrelocations flag if set.
1377	* NEWS: Describe the emitrelocations switch.
1378	* ld.texinfo: Describe the emitrelocations switch.
1379
13802000-05-16  Charles Wilson <cwilson@ece.gatech.edu>
1381
1382	* emultempl/pe.em (_open_dynamic_archive): New function: Search
1383	the library path for "foo.dll" and "libfoo.dll" dynamic libraries
1384	before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
1385	link options.
1386
13872000-05-15  David O'Brien  <obrien@FreeBSD.org>
1388
1389	* lexsup.c (parse_args): Update the year in the copyright notice.
1390
13912000-05-13  Alan Modra  <alan@linuxcare.com.au>
1392
1393	* ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
1394	Replace defines with those from intl/libgettext.h to quieten gcc
1395	warnings.
1396
13972000-05-10  H.J. Lu  <hjl@gnu.org>
1398
1399	* ldlang.c (open_input_bfds): Don't load the same file within
1400	a group again if the whole archive has been loaded already.
1401
14022000-05-03  Alan Modra  <alan@linuxcare.com.au>
1403
1404	From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
1405	* lexsup.c (set_section_start): Use bfd_scan_vma rather than
1406	strtoul.
1407
1408Mon May  1 17:34:34 2000  Jim Wilson  <wilson@cygnus.com>
1409
1410	* configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
1411
1412	* configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
1413	host "ia64-*-linux-gnu*".
1414
14152000-04-29  Andreas Jaeger  <aj@suse.de>
1416
1417	* ld.h: Correctly check GCC version.
1418
1419Tue Apr 25 11:20:43 2000  Jeffrey A Law  (law@cygnus.com)
1420
1421	* Makefile.am: Add PA64 support.  Add missing dependencies for
1422	PA32 elf support.
1423	* Makefile.in: Rebuilt.
1424	* configure.tgt: Add PA64 support (currently disabled).
1425
14262000-04-25  Alan Modra  <alan@linuxcare.com.au>
1427
1428	* emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
1429	(output_rel_find): New function.
1430	(hold_section, hold_use): Delete.
1431	(hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
1432	hold_interp): Make local to place_orphan.
1433	(gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
1434	rather than place_section to find possible previous use of orphan.
1435	Similarly find the place-holder output sections.  Use returned
1436	value from lang_enter_output_section_statement rather than calling
1437	lang_output_section_statement_lookup.
1438	* emultempl/armelf.em: Same here.
1439	* emultempl/pe.em: Similar to above, but no need for output_rel_find.
1440
1441	* ldlang.c (lang_enter_output_section_statement): Return output
1442	section statement.
1443	* ldlang.h (lang_enter_output_section_statement): Change
1444	declaration too.
1445
1446	* ldlang.h (lang_output_section_statement): Export it.
1447	* ldlang.c (lang_output_section_statement): Ditto.
1448
14492000-04-24  Nick Clifton  <nickc@cygnus.com>
1450
1451	* ld.texinfo (Output Section Data): Add note that section data
1452	commands cannot appear outside of section directives.
1453
14542000-04-2  Matthew Green  <mrg@cygnus.com>
1455
1456	* configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
1457
1458Fri Apr 21 13:20:53 2000  Richard Henderson  <rth@cygnus.com>
1459			  David Mosberger  <davidm@hpl.hp.com>
1460
1461	* Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
1462	(eelf64_ia64.c): New rule.
1463	* Makefile.in: Rebuild.
1464	* configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
1465	* emulparams/elf64_ia64.sh: New file.
1466
14672000-04-21  Richard Henderson  <rth@cygnus.com>
1468
1469	* scripttempl/elfd30v.sc: Place .gcc_except_table.
1470
14712000-04-19  Alan Modra  <alan@linuxcare.com.au>
1472
1473	* dep-in.sed: Match space at start of file name, not at end.
1474
14752000-04-18  H.J. Lu  <hjl@gnu.org>
1476
1477	* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
1478	lang_leave_output_section_statement () after calling
1479	lang_enter_output_section_statement ().
1480	* emultempl/armelf.em: Likewise.
1481
14822000-04-18  Alan Modra  <alan@linuxcare.com.au>
1483
1484	* emultempl/elf32.em (struct orphan_save): Add section field.
1485	(gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
1486	better order, and place first orphan section as we did before the
1487	2000-04-12 patch.  Ignore ~SEC_ALLOC sections when choosing place.
1488	Don't call make_bfd_section here, let wild_doit do the job for us.
1489	Don't build a statement list when we'll only throw it away.
1490	* emultempl/armelf.em: Ditto.
1491	* emultempl/pe.em: Similarly.
1492
14932000-04-14  Geoff Keating  <geoffk@cygnus.com>
1494
1495	* scripttempl/elfppc.sc: Remove.
1496	* emulparams/elf32ppc.sh: Use elf.sc.
1497	* emulparams/elf32lppc.sh: Use elf.sc.
1498	* emulparams/elf32ppclinux.sh: Use elf.sc.
1499	* emulparams/elf32ppcsim.sh: New file.
1500	* emulparams/elf32lppcsim.sh: New file.
1501	* Makefile.am: Update dependencies.  Add elf32ppcsim ad elf32lppcsim.
1502	(ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
1503	* Makefile.in: Regenerate.
1504	* configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
1505
15062000-04-14  Alan Modra  <alan@linuxcare.com.au>
1507
1508	* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
1509	~SEC_ALLOC sections too.  Init start address of debug sections.
1510	* emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
1511	* emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
1512	Also set all relocateable section start addresses.
1513
15142000-04-13  Geoff Keating  <geoffk@cygnus.com>
1515
1516	* scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
1517	Add new BSS_PLT variable for when .plt need not be contained in
1518	the file.  Move _etext so that it is also after .fini, and provide
1519	both etext and _etext with a leading underscore.  Mark the start
1520	and end of .sbss.
1521
15222000-04-12  Alan Modra  <alan@linuxcare.com.au>
1523
1524	* emultempl/elf32.em (struct orphan_save): New.
1525	(hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
1526	hold_interp): Make them struct orphan_save.
1527	(gld${EMULATION_NAME}_place_section): Modify for new hold_*.
1528	(gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
1529	the end of the relevant section list.  Also add associated section
1530	statements to the end of any previous orphan statements.
1531	* emultempl/armelf.em: Similarly.
1532	* emultempl/pe.em: Similarly.
1533
15342000-04-11  Alan Modra  <alan@linuxcare.com.au>
1535
1536	* ld.texinfo (Simple Example): Remove extraneous paragraph.
1537
1538Fri Apr  7 15:56:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
1539
1540	* configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
1541	--enable-build-warnings option.
1542	* Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1543	* Makefile.in, configure: Re-generate.
1544
15452000-04-04  Alan Modra  <alan@linuxcare.com.au>
1546
1547	* po/ld.pot: Regenerate.
1548
1549	* lexsup.c (help): Restore translated part of bug string.
1550
1551	* Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1552	(DEP): Quote when passing vars to sub-make.  Add warning message
1553	to end.
1554	(DEP1): Rewrite for "gcc -MM".
1555	(CLEANFILES): Add DEP2.
1556	Update dependencies.
1557	* Makefile.in: Regenerate.
1558
15592000-04-03  Alan Modra  <alan@linuxcare.com.au>
1560
1561	* ld.h: #include "bin-bugs.h"
1562	* lexsup.c (help): Use REPORT_BUGS_TO.
1563
15642000-03-27  Denis Chertykov  <denisc@overta.ru>
1565
1566	* configure.tgt (avr-*-*): New target support.
1567	* Makefile.am: Likewise.
1568	* scripttempl/elf32avr.sc: New script file.
1569	* emulparams/avr1200.sh: New file.
1570	* emulparams/avr23xx.sh: New file.
1571	* emulparams/avr4433.sh New file.
1572	* emulparams/avr44x4.sh New file.
1573	* emulparams/avr85xx.sh New file.
1574	* emulparams/avrmega103.sh New file.
1575	* emulparams/avrmega161.sh New file.
1576	* emulparams/avrmega603.sh New file.
1577	* Makefile.in: Regenerate.
1578
15792000-03-09  Andreas Jaeger  <aj@suse.de>
1580
1581	* Makefile.am (check-DEJAGNU): Also unset LANG.
1582	* Makefile.in: Rebuild.
1583
15842000-03-06  Ian Lance Taylor  <ian@zembu.com>
1585
1586	* ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
1587	archive.
1588
15892000-03-02  H.J. Lu  <hjl@gnu.org>
1590
1591	* emulparams/elf32mcore.sh: Include "getopt.h".
1592
15932000-03-01  Ian Lance Taylor  <ian@zembu.com>
1594
1595	* configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
1596
15972000-03-01  H.J. Lu  <hjl@gnu.org>
1598
1599	* emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
1600	* emulparams/shpe.sh: Likewise.
1601
16022000-03-01  Nick Clifton  <nickc@cygnus.com>
1603
1604	* pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
1605	to unused parameters.
1606
1607	* emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
1608	functions only used by DLL code.
1609	(_place_orphan): Initialise 'dollar'.
1610
16112000-03-01  H.J. Lu  <hjl@gnu.org>
1612
1613	* ldmain.c (undefined_symbol): Take one more arg, fatal, to
1614	indicate if the undefined symbol is a fatal error or not.
1615	Don't delete the output file if "fatal" is false.
1616
16172000-02-29  H.J. Lu  <hjl@gnu.org>
1618
1619	* Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
1620	Set LC_COLLATE and LC_ALL to null and export them. It is for
1621	sort which expects the C locale.
1622	Add $(LIBS) to all $(HOSTING_LIBS).
1623	* Makefile.in: Rebuild.
1624
16252000-02-29  Alan Modra  <alan@spri.levels.unisa.edu.au>
1626
1627	* emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
1628	beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
1629	linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
1630	(ld_emulation_xfer_struct): Add missing NULL initialiser for
1631	find_potential_libraries.
1632
16332000-02-28  Jim Blandy  <jimb@redhat.com>
1634
1635	* ldgram.y (exclude_name_list): Don't require a comma to separate
1636	list entries; the lexer considers commas to be valid part of a
1637	filename, so in something like `foo, bar' the comma is considered
1638	part of the first filename, `foo,'.
1639	* ld.texinfo: Update section on EXCLUDE_FILE lists.
1640
16412000-02-27  Loren J. Rittle  <ljrittle@acm.org>
1642
1643	* configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
1644	host "i[3456]86-*-freebsdelf*".
1645
16462000-02-27  Mark Elbrecht  <snowball3@bigfoot.com>
1647
1648	* scripttempl/i386go32.sc: Move misplaced semicolons.
1649
16502000-02-25  Ian Lance Taylor  <ian@zembu.com>
1651
1652	* Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
1653	(ALL_64_EMULATIONS): Remove eelf64hppa.o.
1654	(eelf64hppa.c, ehppaelf.c): Remove targets.
1655	* Makefile.in: Rebuild.
1656
16572000-02-25  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
1658
1659	* configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
1660	GNU/Linux/sparc, but keep the default as 32.
1661
1662	* configure.tgt: Enable elf64_sparc on Solaris7+/sparc.  And make
1663	it default if sparcv9 or sparc64.
1664
16652000-02-24  Nick Clifton  <nickc@cygnus.com>
1666
1667	* Makefile.am: Add rules to build emipspe.o and earmpe.o.
1668	* Makefile.in: Regenerate.
1669	* configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
1670
1671	* ldemul.h (ld_emulation_xfer_struct): Add new field:
1672	find_potential_libraries.
1673	* ldemul.c (ldemul_find_potential_libraries): New function.
1674
1675	* ldfile.c (ldfile_open_file_search): Allow function to be
1676	exported.
1677	(ldfile_open_file): Call ldemul_find_potential_libraries.
1678	* ldfile.h: Add prototype for ldfile_open_file_search.
1679
1680	* pe-dll.c: Add support for ARM, MIPS and SH targets.
1681
1682	* emulparams/mipspe.sh: New file.  Parameters for mips-pe target.
1683	* emulparams/shpe.sh: New file.  Parameters for sh-pe target.
1684
1685	* emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
1686	(gld_X_find_potential_libraries): New function.  Search for
1687	libraries called "*.lib".
1688
1689	* scripttempl/pe.sc: Add .pdata section.
1690
16912000-02-23  Richard Henderson  <rth@cygnus.com>
1692
1693	* scripttempl/elfd10v.sc: Remove dynamic linking hooks.
1694	Add and use memory regions.
1695
16962000-02-23  Linas Vepstas (linas@linas.org)
1697
1698	* emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
1699
1700	* Makefile.am: Add support for Linux/IBM 370.
1701	* configure.tgt: Likewise.
1702
1703	* Makefile.in: Regenerate.
1704
17052000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
1706
1707	* ldlang.c (print_input_section, print_data_statement,
1708	print_reloc_statement, print_padding_statement, insert_pad,
1709	size_input_section, lang_check_section_addresses,
1710	lang_size_sections, lang_do_assignments, lang_set_startof,
1711	lang_one_common): Change `opb' to unsigned.
1712	(lang_do_assignments): Also change `size' to unsigned.
1713
17142000-02-16  Richard Henderson  <rth@cygnus.com>
1715
1716	* scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
1717
17182000-02-16  Timothy Wall  <twall@cygnus.com>
1719
1720	* mri.c (mri_draw_tree): Add default LMA region argument to call
1721	to lang_leave_output_section_statement.
1722	* ldlang.h: Update prototypes with LMA region arguments.
1723	* ldlang.c (lang_size_sections): Encapsulate region bounds
1724	checking in os_check_region call.
1725	(os_check_region): New function.
1726	(lang_output_section_statement_lookup): Initialize lma_region.
1727	(lang_leave_output_section_statement): Add LMA region argument.
1728	(lang_leave_overlay): Ditto.
1729	* ldgram.y: Handle LMA region syntax.
1730	* ld.texinfo (Output Section Description): Describe LMA region usage.
1731	* emultempl/armelf.em (gld$place_orphan): Add default value for
1732	lma region in call to lang_leave_output_section_statement.
1733	* emultempl/elf32.em (gld$place_orphan): Add default value for
1734	lma region in call to lang_leave_output_section_statement.
1735	* emultempl/pe.em (gld$place_orphan): Add default value for
1736	lma region in call to lang_leave_output_section_statement.
1737
1738
17392000-02-04  Timothy Wall  <twall@redhat.com>
1740
1741	* ldlang.c (lang_check_section_addresses): Use bytes instead of
1742	octets when calculating section end addresses.
1743
17442000-02-04  Timothy Wall  <twall@redhat.com>
1745
1746	* ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
1747
17482000-02-03  Timothy Wall <twall@redhat.com>
1749
1750	* ldexp.c (fold_name): Make SIZEOF operator return byte count, not
1751	octet count.
1752	* ldlang.c (print_input_section, print_data_statement,
1753	print_reloc_statement, print_padding_statement): Print target
1754	address values and section sizes as bytes, not octets.
1755	(insert_pad) Calculate padding size in octets, and adjust "dot"
1756	by bytes.
1757	(size_input_section) Always adjust "dot" by bytes, not octets.
1758	(lang_check_section_addresses, lang_do_assignments) Adjust
1759	"dot" by bytes, not octets.  Use the larger of the directive size
1760	or octets_per_byte for the number of octets actually allocated in
1761	the output section.
1762	(lang_set_startof) Make sure STARTOF returns a target address.
1763	(lang_one_common) Record size changes in octets.
1764	(lang_abs_symbol_at_end_of) Section end symbol's value is
1765	recorded in target bytes.
1766	* ld.texinfo:   Updated description of BYTE, SHORT, LONG, etc.
1767	to be clear about behavior when an octet is smaller than one byte.
1768
17692000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
1770
1771	* ldcref.c (output_cref): Don't pass message strings to printf
1772	as format arg.
1773	Update copyright.
1774
1775	* ldmisc.c (vfinfo): Same here.
1776	Update copyright.
1777
17782000-01-23  Alan Modra  <alan@spri.levels.unisa.edu.au>
1779
1780	* emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
1781	generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
1782	mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
1783	Add missing NULL initialisers, and comments.
1784
1785	* testsuite/ld-srec/sr3.cc (__rethrow): New.
1786
17872000-01-21  Nick Clifton  <nickc@cygnus.com>
1788
1789	* ldlang.c (lang_size_sections): Fix typo in comment.
1790
17912000-01-18  H.J. Lu  <hjl@gnu.org>
1792
1793	* ldlang.c (lang_size_sections): Also update the current
1794	address of a region if the SEC_NEVER_LOAD bit is not set.
1795
17962000-01-10  Philip Blundell  <pb@futuretv.com>
1797
1798	* configure.tgt (arm*-*-conix*): New target.
1799
18002000-01-07  Nick Clifton  <nickc@cygnus.com>
1801
1802	* ld.texinfo (Options): Remind users to preceed linker command
1803	line switches with -Wl, (or whatever is appropriate) if it is
1804	being invoked by a comnpiler driver program.
1805	Fix description of the behaviour of the -n command line switch.
1806
1807Wed Jan  5 08:02:12 2000  Catherine Moore  <clm@cygnus.com>
1808
1809	* ld.h (wildcard_spec):  Change exclude_name to exclude_name_list.
1810	(name_list): New.
1811	* ld.texinfo (EXCLUDE_FILE): Update documentation.
1812	* ldgram.y (wildcard_spec): Support a list of excluded_files.
1813	(exclude_name_list): New.
1814	ldlang.c (walk_wild_section): Support list of excluded files.
1815	(print_wild_statement): Likewise.
1816	(lang_add_wild): Likewise.
1817	* ldlang.h (lang_wild_statement_type): Likewise.
1818	* scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
1819
18202000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
1821
1822	* pe-dll.c (pe_dll_warn_dup_exports): New variable.
1823	(process_def_file): Use.
1824	(pe_dll_compat_implib): New variable.
1825	(make_one): Use.
1826
1827	* pe-dll.h: Add exports of pe_dll_warn_dup_exports and
1828	pe_dll_compat_implib.
1829
1830	* emultempl/pe.em (longopts): Add warn-duplicate-exports and
1831	compat-implib options.
1832	(gld_${EMULATION_NAME}_list_options): List new options.
1833	(gld_${EMULATION_NAME}_parse_args): Handle.
1834
1835	* pe-dll.c (pe_dll_generate_implib): Use the correct name for output
1836	dll.
1837
1838	* deffilep.y (opt_name): Allow "." in name.
1839
1840For older changes see ChangeLog-9899
1841
1842Local Variables:
1843mode: change-log
1844left-margin: 8
1845fill-column: 74
1846version-control: never
1847End:
1848