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