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