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