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