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