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