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