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