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