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