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