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