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