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