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