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