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