Don't loose last block during a dma.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
8e5a525c
AM
12001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2
3 * ldgram.y: Fix typo.
4
1c9acd94
L
52001-05-03 H.J. Lu <hjl@gnu.org>
6
7 * emultempl/elf32.em: Include "libiberty.h".
8 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
9 basename of the bfd filename.
10 (gld${EMULATION_NAME}_stat_needed): Likewise.
11 (gld${EMULATION_NAME}_try_needed): Likewise.
12 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
13
14fe918e
L
142001-05-02 H.J. Lu <hjl@gnu.org>
15
16 * emultempl/pe.em: Include <ctype.h>.
17
c7e40348
NC
182001-05-02 Johan Rydberg <jrydberg@opencores.org>
19
20 * emulparams/elf32openrisc.sh: New file.
21
22 * Makefile.am: Add OpenRISC target.
23 * Makefile.in: Regenerated.
24
25 * configure.tgt: Add openrisc-*-* mapping.
26
272001-05-02 Nick Clifton <nickc@redhat.com>
28
29 * emultempl/aix.em: Replace buystring with xstrdup.
30 * emultempl/beos.em: Replace buystring with xstrdup.
31
d1b2b2dc
L
322001-05-02 H.J. Lu <hjl@gnu.org>
33
34 * ldfile.c: Include "libiberty.h".
35 * ldlex.l: Likewise.
36
37 * ldmisc.c (buystring): Removed.
38 * ldmisc.h: Likewise.
39
40 * ldfile.c: Replace buystring with xstrdup.
41 * ldlang.c: Likewise.
42 * ldlex.l: Likewise.
43 * ldmain.c: Likewise.
44 * ldmisc.c: Likewise.
45 * lexsup.c: Likewise.
46 * mpw-eppcmac.c: Likewise.
47
35714f2a
AJ
482001-04-30 Andreas Jaeger <aj@suse.de>
49
50 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
51
884fb58e
NC
522001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
53
54 * ldlang.c (load_symbols): Give emulation a chance
55 to process unrecognized file before fatal error is
56 reported, not after.
57
87748b32
NC
582001-04-27 Sean McNeil <sean@mcneil.com>
59
60 * configure.tgt: Add arm-vxworks target.
61 * scripttempl/armcoff.sc: Support .text or .data as a section name
62 prefix.
63 Define _etext.
35714f2a 64
7ce691ae
C
652001-04-13 J.T. Conklin <jtc@redback.com>
66
67 * ld.texinfo: Document --fatal-warnings.
68 * ld.1: Regenerate.
69
70 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 71 warnings have been turned into errors.
7ce691ae
C
72 * lexsup.c (OPTION_WARN_FATAL): Define.
73 (ld_options): Entry for --fatal-warnings.
74 (parse_args): Handle OPTION_WARN_FATAL.
75 * ld.h (ld_config_type): Add fatal_warnings field.
76
f5fa8ca2
JJ
772001-04-13 Jakub Jelinek <jakub@redhat.com>
78
79 * ldmain.c (main): Default to discard_sec_merge.
80 * lexsup.c (OPTION_DISCARD_NONE): Define.
81 (ld_options): Add --discard-none.
82 (parse_args): Handle OPTION_DISCARD_NONE.
83 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
84 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
85 all its input sections match.
86
fdec3cfc
L
872001-04-05 Steven J. Hill <sjhill@cotw.com>
88
89 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
90 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
91 (eelf32ltsmip.c): New target.
92 (eelf64btsmip.c): Likewise.
93 (eelf64ltsmip.c): Likewise.
94 * Makefile.in: Regenerated.
95
96 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
97 target.
98 (mips*-*-linux-gnu*): Likewise.
99
100 * emulparams/elf32ltsmip.sh: New. Traditional little endian
101 MIPS taget.
35714f2a 102 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
103 target.
104 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
105 endian target.
106
589bad82
HPN
1072001-04-05 Hans-Peter Nilsson <hp@axis.com>
108
109 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
110 correct value of __Stext here.
111 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
112 .startup section.
113
114 * emulparams/crislinux.sh: Remove FIXME.
115
94202e16
AM
1162001-04-02 Alan Modra <alan@linuxcare.com.au>
117
118 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
119 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
120
1268a053
HPN
1212001-03-27 Hans-Peter Nilsson <hp@axis.com>
122
123 * configure.tgt (cris-*-*): Change default emulation to criself.
124 (cris-*-*aout*): New rule.
125
d85e9ff7
AM
1262001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
127
128 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
129 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
130
0879a67a
AJ
1312001-03-26 Andreas Jaeger <aj@suse.de>
132
133 * ld.texinfo (Overview): Fix syntax in texi code.
134
0285c67d
NC
1352001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
136
137 * ld.texinfo: Put @c man indications to generate the ld man page.
138 When generating man, define all the variables. Define SEEALSO
139 and SYNOPSIS. Re-organize some lines to avoid the cross references.
140 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
141 (ld.1): Generate from ld.texinfo.
142 * Makefile.in: Regenerate.
143
c20ec07b
NC
1442001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
145
146 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
147 and '-fdata-sections'. Set the VMA of STABS sections to zero.
148
cc5ce052
UD
1492001-03-17 Ulrich Drepper <drepper@redhat.com>
150
151 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
152 is an absolute path look only for this file and not along the path.
153
a1ab1d2a
UD
1542001-03-17 Ulrich Drepper <drepper@redhat.com>
155
156 * emultempl/elf32.em (OPTION_GROUP): New macro.
157 Add new option Bgroup to longopts.
158 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
159 (gld*_list_options): Add -Bgroup and -z defs.
160 * ld.1: Document -Bgroup and -z defs.
161 * ld.texinfo: Likewise.
162
788fca5a
MM
1632001-03-07 Michael Meissner <meissner@redhat.com>
164
165 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
166 with sections created by -fdata-sections.
167 (.dynbss,.bss): Ditto.
168
1c7566d1
AM
1692001-03-05 Alan Modra <alan@linuxcare.com.au>
170
171 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
172 after_allocation_default, not gld..._before_allocation.
173
1688b748
MH
1742001-02-28 Matt Hiller <hiller@redhat.com>
175
176 * testsuite/ld-scripts/crossref.exp: Initialize flags to
177 [big_or_little_endian].
178 * testsuite/ld-undefined/undefined.exp: Ditto, and include $flags
179 in ld invocations.
180 * testsuite/lib/ld-lib.exp (big_or_little_endian): Recognize -EB,
c19bd1c6 181 -eb, -EL and -el.
1688b748
MH
182 (is_endian_output_format): New function.
183 (default_ld_link): Set flags to [big_or_little_endian] only if ld
184 is being invoked such that the output format being used is of
185 known endianness.
186 (default_ld_simple_link): Ditto.
187
27b7e12d
AM
1882001-02-27 Alan Modra <alan@linuxcare.com.au>
189
190 * configure.in (BFD_VERSION): New.
191 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
192 * configure: Regenerate.
193 * Makefile.am: Run "make dep-am"
194 * Makefile.in: Regenerate.
195
2bc551c7
TW
1962001-02-26 Timothy Wall <twall@cygnus.com>
197
198 * emulparams/elf64_aix.sh: Add additional read-only sections;
199 uncomment lines which are now required.
200
1276aefa
NC
2012001-02-26 H.J. Lu <hjl@gnu.org>
202
203 * ldlang.c (open_input_bfds): Set the bfd error handler so
204 that problems can be caught whilst loading symbols.
205 (record_bfd_errors): New function: Report BFD errors and mark
206 the executable output as being invalid.
207
41c49998
TW
2082001-02-22 Timothy Wall <twall@cygnus.com>
209
210 * configure.host: Add configuration for ia64-*-aix*.
211 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
212 Add dependencies for eelf64_aix.c.
213 * Makefile.in: Regenerate.
214 * configure.tgt: Add ia64-*-aix* mapping.
215 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 216 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
217 AIX-specific test.
218
78f85fd7
L
2192001-02-20 H.J. Lu <hjl@gnu.org>
220
221 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
222 false if we found the file.
223
1ac7e077 2242001-02-18 David O'Brien <obrien@FreeBSD.org>
fb33b906
DB
225
226 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
227 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
228
e135f41b
NC
2292001-02-18 lars brinkhoff <lars@nocrew.org>
230
231 * Makefile.am: Add PDP-11 target.
232 * configure.tgt: Likewise.
233 * emulparams/pdp11.sh: New file.
234
a842aceb
DB
2352001-02-17 David O'Brien <obrien@FreeBSD.org>
236
237 * configure.host: Add a generic FreeBSD configuration entry such that
238 all [modern] FreeBSD systems on all platforms will look the same.
239
24174db0
L
2402001-02-14 H.J. Lu <hjl@gnu.org>
241
242 * configure.tgt: Remove mention of earmelf_linux26.
243
30c3c13a
RH
2442001-02-13 Richard Henderson <rth@redhat.com>
245
246 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
247
b46a87b1
L
2482001-02-13 H.J. Lu <hjl@gnu.org>
249
250 * ldexp.h (node_type): Add etree_provided.
251 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
252 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 253 for etree_provided.
b46a87b1
L
254 (exp_print_tree): Handle etree_provided.
255 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
256 etree_provided.
257
f3988fd9
RH
2582001-02-09 David Mosberger <davidm@hpl.hp.com>
259
260 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
261 .IA_64.unwind.* pattern to unwind table section and
262 .IA_64.unwind_info* pattern to unwind info section.
263
a85d7ed0
NC
2642001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
265
266 * Makefile.am: Add linux target for S/390.
267 * Makefile.in: Likewise.
268 * configure.host: Likewise.
269 * configure.tgt: Likewise.
270 * emulparams/elf64_s390.sh: New file.
271 * emulparams/elf_s390.sh: New file.
272
780248c4
JJ
2732001-02-09 Jakub Jelinek <jakub@redhat.com>
274
275 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
276 targ_extra_libpath.
277 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
278
0e2534bd
PB
2792001-02-06 Philip Blundell <philb@gnu.org>
280
281 * Makefile.am: Remove mention of earmelf_linux26.
282 * Makefile.in: Regenerate.
283
46c1ea57
PB
2842001-02-04 Philip Blundell <philb@gnu.org>
285
286 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
287 * emulparams/armelf_linux26.sh: Delete.
288 * configure.tgt: Remove mention of armelf_linux26 emulation.
289
0088edd2
NC
2902001-02-01 Nick Clifton <nickc@redhat.com>
291
292 * ld.1: Replace occurances of -oformat with --oformat.
293
02aa14fb
AM
2942001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
295
296 * ldlang.c (lang_leave_overlay): Don't set lma_region when
297 load_base is specified.
298
f813923c
HPN
2992001-01-24 Hans-Peter Nilsson <hp@axis.com>
300
301 * emultempl/elf32.em: Correct spelling in comments and listed
302 options.
303
c1eb1488
AM
3042001-01-23 Alan Modra <alan@linuxcare.com.au>
305
306 * ldlang.c (lang_leave_overlay): Only set lma_region from the
307 default for the first section of a group of overlay sections.
308
d9fc3714
AM
3092001-01-22 Alan Modra <alan@linuxcare.com.au>
310
311 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
312 * Makefile.in: Regenerate.
313 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
314 Check for null tool_dir.
315
6be0ca94
JW
3162001-01-16 Jim Wilson <wilson@redhat.com>
317
318 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
319 and IA_64.unwind.info.
320
b9247304
L
3212001-01-16 H.J. Lu <hjl@gnu.org>
322
323 * ldlang.c (lang_check): Merge the private data only if the
324 input file has contents.
325
577a0623
AM
3262001-01-14 Alan Modra <alan@linuxcare.com.au>
327
d952f17a
AM
328 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
329
ffd6e9de
AM
330 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
331 enabling search for libmilli. On a relocatable link, make .text
332 sections unique.
333 (LDEMUL_AFTER_PARSE): Define.
334 (hppaelf_finish): Correct spelling of relocatable in comments.
335
577a0623
AM
336 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
337 rummage through the script for sections on the unique list.
338 Correct length of strncmp for ".note".
339 (gld${EMULATION_NAME}_check_needed): Rearrange function.
340
341 * ldlang.c (unique_section_list): New var.
342 (unique_section_p): New function.
343 (walk_wild_section): Don't match sections on unique_section_list.
344 (lang_add_unique): New function.
ffd6e9de 345 Correct spelling of relocatable in comments.
577a0623
AM
346
347 * ldlang.h (struct unique_sections): Declare.
348 (unique_section_list): Declare.
349 (unique_section_p): Declare.
350 (lang_add_unique): Declare.
351
352 * lexsup.c (ld_options): Allow --unique to take an optional arg.
353 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
354
355 * ld.texinfo (--unique): Update.
356
b7ed8fad
NC
3572001-01-13 Nick Clifton <nickc@redhat.com>
358
359 * lexsup.c (parse_args): Remove spurious white space.
360
d0398d6a
NC
3612001-01-12 Nick Clifton <nickc@redhat.com>
362
363 * lexsup.c (parse_args): Update copyright date.
364
350fdb00
PB
3652001-01-12 Philip Blundell <pb@futuretv.com>
366
367 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
368
60c6797e
KH
3692001-01-10 Kazu Hirata <kazu@hxi.com>
370
371 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
372 * scripttempl/h8300h.sc: Fix formatting.
373 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
374 * scripttempl/h8500.sc: Likewise.
375 * scripttempl/h8500b.sc: Likewise.
376 * scripttempl/h8500c.sc: Likewise.
377 * scripttempl/h8500m.sc: Likewise.
378 * scripttempl/h8500s.sc: Likewise.
60c6797e 379
482e8b32
DB
3802000-01-07 David O'Brien <obrien@BSDi.com>
381
382 * emultempl/elf32.em: Only perform Linux ld hints processing when
383 targeting Linux.
384
d7ed7ca6
PB
3852001-01-07 Philip Blundell <philb@gnu.org>
386
387 * ld.texinfo (Bug Reporting): Update email address for reports.
388
0fc3347a
NC
3892000-12-31 Nick Clifton <nickc@redhat.com>
390
391 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
392 options by checking for a return value of '?' not -1.
393
e4897a32
NC
3942000-12-28 Nick Clifton <nickc@redhat.com>
395
396 * lexsup.c (struct ld_option): Add new enum value:
397 EXACTLY_TWO_DASHES.
398 (ld_options[]): Change -omagic, -output and -oformat options
399 to be EXACTLY_TWO_DASHES.
400 (OUTPUT_COUNT): Use ARRAY_SIZE.
401 (parse_args): Change parameter 'argc' to unsigned.
402 Place EXACTLY_TWO_DASHES options into new really_longopts
403 array.
404 If getopt_long_only fails, try calling getopt_long using the
405 really_longopts array.
406 (help): Print a double dash for both EXACTLY_TWO_DASHES and
407 TWO_DASHES options.
408
409 * ldlex.h: Fix prototype of parse_args.
410
411 * ld.texinfo: Document that long options starting with 'o'
412 must be preceeded by two dashes. Change example of a single
413 dashed long option from -oformat to -trace-symbol.
414
1122a5fc
NC
4152000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
416
417 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
418 (longopts[]): New --no-default-excludes option.
419 (gld_${EMULATION_NAME}_list_options): Document.
420 (gld_${EMULATION_NAME}_parse_args): Handle.
421
037849a9
NC
4222000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
423
424 * ldlang.c (new_stat): Revert the last beautification with "innocent"
425 whitespace, it breaks the K&R C preprocessor.
426
7ec229ce
DD
4272000-12-11 DJ Delorie <dj@redhat.com>
428
429 * ld.texinfo: Add notes about --whole-archive and gcc.
430
b79e8c78
NC
4312000-11-18 Fred Fish <fnf@be.com>
432
433 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
434 (ld_options): Entry for --allow-shlib-undefined.
435 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
436 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
437 to false.
438 * ld.texinfo: Document new command line switch.
d952f17a 439
9a8e2505
GK
4402000-12-12 Geoffrey Keating <geoffk@redhat.com>
441
442 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
443 .fixup is actually read/write.
444 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
445 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
446 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
447
b8355149
JH
448Mon Dec 11 14:50:33 MET 2000 Jan Hubicka <jh@suse.cz>
449
450 * NEWS: Add note about x86_64 architecture.
451
93b63cd3
DD
4522000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
453
454 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
455 Set DWARF2 sections to a VMA of zero.
456
24f6971a
NC
4572000-12-01 Joel Sherrill <joel@OARcorp.com>
458
d952f17a 459 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
460 New targets.
461 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
462 (sparc*-*-rtems*): Switched from a.out to ELF.
463
2be3aa03
NC
4642000-11-30 Jan Hubicka <jh@suse.cz>
465
466 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
467 (eelf_x86_64.c): New.
468 * Makefile.in: Regenerate.
469 * configure.tgt: Add support for x86_64-*-linux-gnu*.
470 * emulparams/elf_x86_64.sh: New.
471
8c899858
HPN
4722000-11-30 Hans-Peter Nilsson <hp@axis.com>
473
474 * emulparams/crislinux.sh (ENTRY): Change back to _start.
475 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
476
477 * scripttempl/crisaout.sc: Change all RELOCATING not related to
478 merging non-a.out sections into CONSTRUCTING.
479
e47b9e39
NC
4802000-11-28 Nick Clifton <nickc@redhat.com>
481
482 * ld.1 (COPYING): Mention that the GNU Free Documentation
483 License is present in the sources, but not the output, and
484 also available from the GNU website.
485 (GNU Free Documentation License): Comment out this section.
486
ad95f82a
DB
4872000-11-28 David O'Brien <obrien@dragon.nuxi.com>
488
489 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
490 does not use them.
491
fd89e65f
DB
4922000-11-25 David O'Brien <obrien@FreeBSD.org>
493
494 * ld.1: Remove old date so it does not give the impression the manpage
495 is way out of date.
496
077b8428
NC
4972000-11-24 Nick Clifton <nickc@redhat.com>
498
499 * configure.tgt (xscale-coff): Add target.
500 (xscale-elf): Add target.
501
49425d28
NC
5022000-11-24 Fred Fish <fnf@be.com>
503
d952f17a
AM
504 * ldmain.c (main): Remove redundant init of config.make_executable
505 to true.
49425d28 506
d3480244
RH
5072000-11-15 Richard Henderson <rth@redhat.com>
508
509 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
510
1ce7de8b
KH
5112000-11-14 Kazu Hirata <kazu@hxi.com>
512
513 * scripttempl/h8300.sc: Fix formatting.
514 * scripttempl/h8300h.sc: Likewise.
515 * scripttempl/h8300s.sc: Likewise.
516
208d5cd0
DC
517Tue Nov 14 00:59:19 2000 Denis Chertykov <denisc@overta.ru>
518
519 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
520
2e418547
PB
5212000-11-09 Philip Blundell <pb@futuretv.com>
522
523 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
524 around orphan sections whose names can be represented in C.
525
c940e6fc
JW
5262000-11-07 Jim Wilson <wilson@redhat.com>
527
528 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
529 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
530
704c465c
NC
5312000-11-06 Nick Clifton <nickc@redhat.com>
532
533 * ld.texinfo: Add GNU Free Documentation License.
534 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 535 * ld.1: Add GNU Free Documentation License.
704c465c 536
dca7760f
AM
5372000-11-05 Alan Modra <alan@linuxcare.com.au>
538
539 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
540 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
541
542 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
543 Move 2000-11-02 Makefile.in changes to this file.
544 * Makefile.in: Regenerate.
545
40a633d5
NC
5462000-11-03 Nick Clifton <nickc@redhat.com>
547
548 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
549 constructors and destructors.
550 * scripttempl/h8300h.sc: Ditto.
551 * scripttempl/h8300s.sc: Ditto.
552 * scripttempl/h8500.sc: Ditto.
553 * scripttempl/h8500b.sc: Ditto.
554 * scripttempl/h8500c.sc: Ditto.
555 * scripttempl/h8500m.sc: Ditto.
556 * scripttempl/h8500s.sc: Ditto.
557 * scripttempl/v850.sc: Ditto.
558 * scripttempl/w65.sc: Ditto.
559 * scripttempl/z8000.sc: Ditto.
560
59ff2774
NC
5612000-11-02 Per Lundberg <plundis@chaosdev.org>
562
563 * Makefile.in (e_i386_chaos.c): New rule.
564 (ALL_EMULATIONS): Added e_i386_chaos.o.
565 * emulparams/elf_i386_chaos.sh: New file.
566 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
567
645571e1
JJ
5682000-10-20 Jakub Jelinek <jakub@redhat.com>
569
570 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
571 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
572 Fix sed invocation, so that it coped with '/' in Solaris 64bit
573 library path suffix.
574 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
575
c5975a45
HPN
5762000-10-18 Hans-Peter Nilsson <hp@axis.com>
577
578 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
579 for consecutive sections.
580
ea20a7da
CC
5812000-10-17 Chandrakala Chavva <cchavva@redhat.com>
582
d952f17a
AM
583 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
584 options.
585 * ld.texinfo: Added notes about this new option.
ea20a7da 586
6e45556a
NC
5872000-10-16 Nick Clifton <nickc@redhat.com>
588
589 * emultempl/pe.em (_after_open): Add tests of return values from
590 bfd functions. Emit appropriate error messages if necessary.
591
b9a69188
NC
5922000-10-13 Nick Clifton <nickc@redhat.com>
593
594 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
595 local variables - they are not used, but leave in the call to
596 bfd_canonicalize_symtab.
b9a69188
NC
597 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
598 pe_dll_search_prefix.
599
627427de 6002000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
d952f17a 601
627427de
DD
602 * emultempl/pe.em (pe_dll_search_prefix): New variable,
603 (longopts): New --dll-search-prefix option.
604 (gld_${EMULATION_NAME}_list_options): Document.
605 (gld_${EMULATION_NAME}_parse_args): Handle.
606 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
607 dynamically, search for a dll named '<prefix><basename>.dll'
608 in preference to 'lib<basename>.dll' if --dll-search-prefix
609 is specified.
610
24376d1b
AM
6112000-10-12 Alan Modra <alan@linuxcare.com.au>
612
613 * ldlang.c (section_already_linked): Set kept_section instead of
614 sec->comdat->sec.
615
e47d05ad
KH
6162000-10-10 Kazu Hirata <kazu@hxi.com>
617
618 * deffile.h: Fix formatting.
619 * lexsup.c: Likewise.
620 * mri.c: Likewise.
621
23a87948
DD
6222000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
623
624 * pe-dll.c (make_one): Do not generate code thunk for DATA
625 exports.
626 (process_def_file): deduce DATA flag for auto-export sumbols.
627
86b1cc60
KH
6282000-10-09 Kazu Hirata <kazu@hxi.com>
629
89cdebba
KH
630 * ld.h: Fix formatting.
631 * ldcref.c: Likewise.
632 * ldctor.h: Likewise.
633 * ldemul.c: Likewise.
634 * ldemul.h: Likewise.
635 * ldexp.c: Likewise.
636 * ldexp.h: Likewise.
637 * ldfile.c: Likewise.
638 * ldfile.h: Likewise.
639 * ldlang.c: Likewise.
640 * ldlang.h: Likewise.
641 * ldmain.c: Likewise.
7bfd51a3
KH
642 * pe-dll.c: Likewise.
643
644 * pe-dll.c: Revert some formatting fixes.
86b1cc60 645
d643799d
KH
6462000-10-08 Kazu Hirata <kazu@hxi.com>
647
648 * pe-dll.c: Fix formatting.
649
08da4cac
KH
6502000-10-05 Kazu Hirata <kazu@hxi.com>
651
652 * ldlang.c: Fix formatting.
653
c2a94a7a
DD
6542000-10-03 DJ Delorie <dj@redhat.com>
655
656 * pe-dll.c (fill_edata): initialize entire block
657 (make_one): fill in correct section.
658
8c95a62e
KH
6592000-10-03 Kazu Hirata <kazu@hxi.com>
660
661 * ldexp.c: Fix formatting.
662
486e80e2
DD
6632000-10-02 DJ Delorie <dj@redhat.com>
664
665 * emultempl/pe.em (gld_*_after_open): detect case where there two
666 import libraries for same dll; rename one to ensure proper link
667 order.
668
669 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
670 typo
671 (generate_edata): fix typo
672
24dd9f75
HPN
6732000-09-29 Hans-Peter Nilsson <hp@axis.com>
674
675 * scripttempl/crisaout.sc (ENTRY): Now __start.
676 (.text): Add default setting for __start.
677 Remove CONSTRUCTORS handling.
678 (/DISCARD/): Add .gnu.warning.*.
679 * emulparams/crislinux.sh (ENTRY): Now __start.
680 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
681 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
682 (ENTRY): Now __start.
683 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
684 (EXECUTABLE_SYMBOLS): Add default setting for __start.
685
4de2d33d
KH
6862000-09-29 Kazu Hirata <kazu@hxi.com>
687
5cc18311
KH
688 * deffile.h: Fix formatting.
689 * ld.h: Likewise.
690 * ldcref.c: Likewise.
4de2d33d 691 * ldctor.c: Likewise.
5cc18311 692 * ldctor.h: Likewise.
4de2d33d 693 * ldemul.c: Likewise.
5cc18311 694 * ldemul.h: Likewise.
4de2d33d 695 * ldexp.c: Likewise.
5cc18311 696 * ldexp.h: Likewise.
4de2d33d 697 * ldfile.c: Likewise.
5cc18311 698 * ldfile.h: Likewise.
4de2d33d 699 * ldlang.c: Likewise.
5cc18311
KH
700 * ldlang.h: Likewise.
701 * lexsup.c: Likewise.
702 * mri.c: Likewise.
703 * pe-dll.c: Likewise.
4de2d33d 704
45b1f63c
DD
7052000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
706
707 * pe-dll.c (process_def_file): Uninitialized data wasn't
708 exported with --export-all-symbols switch.
d952f17a 709
45b1f63c
DD
7102000-09-28 DJ Delorie <dj@redhat.com>
711
712 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
713 noname work properly.
714
47d89dba
AM
7152000-09-28 Alan Modra <alan@linuxcare.com.au>
716
717 * ld.texinfo (HPPA ELF32): New section.
718
719 * emultempl/hppaelf.em (group_size): New.
720 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
721 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
722 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
723 options to prevent abbreviations matching.
724 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
725 (PARSE_AND_LIST_ARGS_CASES): Handle it.
726
36bdbeec
NC
7272000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
728
729 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
730 on the m68*-*-elf target. Make it support COFF input objects.
731
6d5e62f8
KH
7322000-09-21 Kazu Hirata <kazu@hxi.com>
733
734 * ldmain.c: Fix formatting.
735 * ldmisc.c: Likewise.
736 * ldver.c: Likewise.
737 * ldwrite.c: Likewise.
738
e2eb67d9
AM
7392000-09-21 Alan Modra <alan@linuxcare.com.au>
740
741 * ldwrite.c (clone_section): Silence gcc warnings.
742
b3ea3584
AM
7432000-09-20 Alan Modra <alan@linuxcare.com.au>
744
745 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
746 out of memory failure.
747
748 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
749 (clone_section): Handle out of memory failures. Rename var to
750 avoid c++ reserved word.
751
25f72752
AM
7522000-09-18 Alan Modra <alan@linuxcare.com.au>
753
754 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
755 stub_name param to stub_sec_name.
756 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
757
0752970e
NC
7582000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
759
760 * emultempl/m68kelf.em: New file.
761 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
762 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
763 * Makefile.in: Regenerate.
764
92b7e9d8
AM
7652000-09-15 Alan Modra <alan@linuxcare.com.au>
766
767 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
768 only as needed.
769
9b14b192
NC
7702000-09-13 Nick Clifton <nickc@redhat.com>
771
772 * ldmain.c (multiple_definition): Disable relaxation if
773 multiple symbol definitions are encountered - otherwise the
774 linker could abort with an assertion failure.
775
891fa266
NC
7762000-09-10 Nick Clifton <nickc@redhat.com>
777
778 * mri.c: Fix formatting.
779
5d64ca4e
L
7802000-09-07 H.J. Lu <hjl@gnu.org>
781
782 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
783 * configure: Rebuild.
784
dd94604f
L
7852000-09-07 H.J. Lu <hjl@gnu.org>
786
787 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
788 * Makefile.in: Rebuild.
789
71bfc0ae
AM
7902000-09-07 Alan Modra <alan@linuxcare.com.au>
791
792 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
793 broken list handling. Create __start_SECNAME and __stop_SECNAME
794 when no place-holder. Add some comments. Test both SEC_CODE and
795 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 796 Handle case where no output section statement created.
71bfc0ae 797
4a428502
AO
7982000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
799
800 * configure.tgt (sh-*-linux*): Added.
801 * Makefile.am: Added eshelf_linux and eshlelf_linux.
802 * Makefile.in: Rebuilt.
803 * emulparams/shelf_linux.sh: New file.
804 * emulparams/shlelf_linux.sh: New file.
805
f9989030
AM
8062000-09-06 Alan Modra <alan@linuxcare.com.au>
807
808 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
809 try shuffling sections when the orphan happens to be the place
810 holder. Keep count of unique section names generated so we speed
811 the search for a new name.
812
58cccadb
AO
8132000-09-06 Alexandre Oliva <aoliva@redhat.com>
814
815 * configure: Rebuilt with new libtool.m4.
816
5b343f5a
NC
8172000-09-05 Nick Clifton <nickc@redhat.com>
818
819 * Makefile.in: Regenerate.
820 * aclocal.m4: Regenerate.
821 * configure: Regenerate.
822 * config.in: Regenerate.
823 * po/ld.pot: Regenerate.
824
825 * ldint.texinfo: Remove CVS revision marker - it foils local
826 comparisons.
827
828 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 829
a854a4a7
AM
8302000-09-05 Alan Modra <alan@linuxcare.com.au>
831
3231d22e
AM
832 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
833 to stub section flags.
834 (hppa_for_each_input_file_wrapper): New.
835 (hppa_lang_for_each_input_file): New.
836 (lang_for_each_input_file): Define to call above.
837 (multi_subspace): New.
838 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
839 (PARSE_AND_LIST_PROLOGUE): Define.
840 (PARSE_AND_LIST_LONGOPTS): Define.
841 (PARSE_AND_LIST_OPTIONS): Define.
842 (PARSE_AND_LIST_ARGS_CASES): Define.
843 (hppaelf_finish): Call elf32_hppa_set_gp.
844 (hppaelf_set_output_arch): Remove.
845 (LDEMUL_SET_OUTPUT_ARCH): Remove.
846
847 * emulparams/hppalinux.sh (ELFSIZE): Define.
848 (MACHINE): Define.
849 (OTHER_READONLY_SECTIONS): Define.
850 (DATA_PLT): Define.
851 (GENERATE_SHLIB_SCRIPT): Define.
852
5f992e62
AM
853 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
854 to const throughout. Change `void *' to `PTR' throughout.
855 (lang_memory_default): Function is local to file, add `static'.
856
857 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
858 (ehppalinux.c): Likewise.
859 (earmelf.c): Likewise.
860 (earmelf_linux.c): Likewise.
861 (earmelf_linux26.c): Likewise.
862 * Makefile.in: Regenerate.
863
a854a4a7
AM
864 * ld.h (ld_config_type): Add unique_orphan_sections.
865 * lexsup.c (OPTION_UNIQUE): Define.
866 (ld_options): Add "--unique".
867 (parse_args): Handle it.
868 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
869 search for an existing output section if unique_orphan_sections is
870 set. Make use of bfd_get_unique_section_name rather than
871 duplicating code here.
872 * ld.texinfo: Describe --unique.
873
874 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
875 optional arg to split-by-file.
876 (parse_args): Handle them.
877 * ld.texinfo: Update description of these options.
878 * ldwrite.c (clone_section): Pass in the section name. Replace
879 local code with bfd_get_unique_section_name.
880 (split_sections): Tidy code and comments. Use a list traversal
881 more appropriate to the list construction. Handle cooked section
882 sizes. Split when split_by_reloc reached rather than exceeded.
883 Track section size and split when split_by_file reached. Fix
884 link_order_tail (even though it's not used).
885 (ldwrite): Modify condition for calling split_sections to suit
886 changed split_by_reloc and split_by_file.
887 * ldmain.c (main): Init config.split_by_reloc and
888 config.split_by_file to -1.
889 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
890 Change split_by_file to bfd_size_type.
891
18e03609
NC
8922000-09-02 Nick Clifton <nickc@redhat.com>
893
894 * configure.in: Increase version number to 2.10.91.
895 * NEWS: Mention new ability to support removal of duplicate DWARF2
896 debug information.
897 * configure: Regenerate.
898 * aclocal.m4: Regenerate.
899 * config.in: Regenerate.
900
3a9d486c
NC
9012000-09-02 Daniel Berlin <dberlin@redhat.com>
902
903 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
904 sections.
a2b64bed 905 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
906 * scripttempl/elfd10v.sc: Ditto.
907 * scripttempl/elfd30v.sc: Ditto.
908 * scripttempl/elfi370.sc: Ditto.
909 * scripttempl/elfm68hc11.sc: Ditto.
910 * scripttempl/elfm68hc12.sc: Ditto.
911 * scripttempl/elfi386beos.sc: Ditto.
912 * scripttempl/v850.sc: Ditto.
50bbae35 913
ac48eca1
AO
9142000-08-31 Alexandre Oliva <aoliva@redhat.com>
915
916 * acinclude.m4: Include libtool and gettext macros from the
917 top level.
918 * aclocal.m4, configure: Rebuilt.
919
c13b1b77
NC
9202000-08-25 Nick Clifton <nickc@redhat.com>
921
922 * ldlang.c (open_output): When choosing the target for a
923 particular endianness, do nothing if the target is not
924 supported.
925
dcb0bd0e
L
9262000-08-25 H.J. Lu <hjl@gnu.org>
927
928 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
929 check -rpath nor LD_RUN_PATH for cross link.
930 * ld.texinfo: Document the change.
931
5bcac8a4
HPN
9322000-08-24 Hans-Peter Nilsson <hp@axis.com>
933
934 * NEWS: Mention support for CRIS.
935
6dd8c765
L
9362000-08-23 H.J. Lu <hjl@gnu.org>
937
938 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
939 the current runpath list from bfd_elf_get_runpath_list ()
940 before search.
941
ec4eb78a
L
9422000-08-22 H.J. Lu <hjl@gnu.org>
943
944 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
945 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
946 LD_LIBRARY_PATH for native linker. Display the needed DSO if
947 trace_file_tries is non-zero.
948 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
949 if trace_file_tries is non-zero.
950
951 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 952 * NEWS: Mention it.
ec4eb78a 953
22b36938
JE
9542000-08-14 Jason Eckhardt <jle@cygnus.com>
955
956 * NEWS: Mention i860 support.
957
d73e9da0
AS
9582000-08-14 Andreas Schwab <schwab@suse.de>
959
960 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 961 syntax.
d73e9da0 962
9ac4db9c
GK
9632000-08-10 Geoff Keating <geoffk@cygnus.com>
964
965 * scripttempl/elf.sc: Add a comment giving the correspondence
966 between sections, per-datum sections, and linkonce sections. Make
967 the comment true even for .bss, .sdata, .sdata2, .sbss, and
968 .sbss2.
969
165589e4
JE
9702000-08-10 Jason Eckhardt <jle@cygnus.com>
971
972 * emulparams/elf32_i860.sh: New file.
973 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
974 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
975 (eelf32_i860.c): New rule.
976 * Makefile.in: Regenerate.
977
345a835d
NC
9782000-08-10 Nick Clifton <nickc@cygnus.com>
979
980 * emulparams/mipspe.sh (ENTRY): Add definition.
981
e374f1d9
NC
9822000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
983
984 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
985 in error message.
986
236d5abf
NC
9872000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
988
989 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
990 the final size of .bss section.
991 * scripttempl/elfm68hc12.sc: Likewise.
992
4b209b22
AM
9932000-08-04 Alan Modra <alan@linuxcare.com.au>
994
995 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
996 gld${EMULATION_NAME}_parse_args for consistency. Combine
997 lastoptind and prevoptind vars, and keep track of last optind.
998 (gld_${EMULATION_NAME}_list_options): Rename to
999 gld${EMULATION_NAME}_list_options.
1000
28423a68
AM
10012000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
1002
1003 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
1004 (i586-sco-sysv5uw7.1.0).
1005
b2009ff7
L
10062000-07-27 H.J. Lu <hjl@gnu.org>
1007
1008 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
1009 (PARSE_AND_LIST_PROLOGUE): New.
1010 (PARSE_AND_LIST_LONGOPTS): Likewise.
1011 (PARSE_AND_LIST_OPTIONS): Likewise.
1012 (PARSE_AND_LIST_ARGS_CASES): Likewise.
1013 (PARSE_AND_LIST_EPILOGUE): Likewise.
1014
04925e1e
AM
10152000-07-28 Alan Modra <alan@linuxcare.com.au>
1016
41392f03
AM
1017 * emultempl/armelf.em: Elide functions common to elf32.em,
1018 ie. most of the file.
1019 (arm_elf_after_open): New. Do arm specific things then call
1020 gld${EMULATION_NAME}_after_open.
1021 (arm_elf_before_allocation): New. Call
1022 gld${EMULATION_NAME}_before_allocation then do arm specifics.
1023 (PARSE_AND_LIST_PROLOGUE): Define.
1024 (PARSE_AND_LIST_SHORTOPTS): Define.
1025 (PARSE_AND_LIST_LONGOPTS): Define.
1026 (PARSE_AND_LIST_OPTIONS): Define.
1027 (PARSE_AND_LIST_ARGS_CASES): Define.
1028 (LDEMUL_AFTER_OPEN): Define.
1029 (LDEMUL_BEFORE_ALLOCATION): Define.
1030 (LDEMUL_BEFORE_PARSE): Define.
1031 (LDEMUL_FINISH): Define.
1032
1033 * emultempl/hppaelf.em: Similarly zap most of this file.
1034 (hppaelf_add_stub_section): Prototype.
1035 (hppaelf_layaout_sections_again): Prototype.
1036 (hook_in_stub): Prototype.
1037 (LDEMUL_SET_OUTPUT_ARCH): Define.
1038 (LDEMUL_FINISH): Define.
1039 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
1040
1041 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
1042 (EXTRA_EM_FILE): New.
1043 * emulparams/armelf_linux.sh: Likewise.
1044 * emulparams/armelf_linux26.sh: Likewise.
1045 * emulparams/hppalinux.sh: Likewise.
1046 * emulparams/hppaelf.sh: Likewise.
1047 (NOP): Define.
1048
1049 * emultempl/elf32.em: Fix formatting.
1050 (EXTRA_EM_FILE): Source it.
1051 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
1052 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
1053 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
1054 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
1055 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
1056 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
1057 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
1058 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
1059 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
1060 allow functions in this file to be overridden.
1061 (PARSE_AND_LIST_SHORTOPTS): Handle it.
1062
1063 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
1064
04925e1e
AM
1065 * emultempl/elf32.em: Reorganize file.
1066
88cdf297
NC
10672000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
1068
1069 * emulparams/elf64alpha.sh: Implement "-taso" emulation
1070 specific option to fit 64-bit executable in the lower
1071 31-bit address range. This is done by changing start
1072 address of .interp (the very first section of executable)
1073 and then setting EF_ALPHA_32BIT elf header flag.
1074
20bccb34
NC
10752000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1076
1077 * emultempl/m68kcoff.em: New file.
1078 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
1079 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
1080 generic.em.
1081 * Makefile.in: Regenerate.
1082
699845ef
L
10832000-07-20 H.J. Lu <hjl@gnu.org>
1084
1085 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
1086 and "disable-new-dtags" to stop getopt from treating -d/-e as
1087 abbreviations for these options.
1088
6c1439be
L
10892000-07-20 H.J. Lu <hjl@gnu.org>
1090
1091 * ld.texinfo: Add documentation for --disable-new-dtags and
1092 --enable-new-dtags.
1093
1094 * ldmain.c (main): Initialize link_info.new_dtags to false.
1095
1096 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
1097 --disable-new-dtags and --enable-new-dtags.
1098 (gld_${EMULATION_NAME}_list_options): Likewise.
1099
28c309a2
NC
11002000-07-05 Kenneth Block <krblock@computer.org>
1101
a2b64bed
NC
1102 * lexsup.c: Add optional style to demangle switch
1103 * ld.texinfo: Document optional style to demangle switch.
50bbae35 1104
9d06555c
HPN
11052000-07-20 Hans-Peter Nilsson <hp@axis.com>
1106
1107 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
1108 ecrislinux.o.
1109 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
1110 Regenerate dependencies.
1111 * Makefile.in: Rebuild.
1112 * configure.tgt (cris-*-*): New target.
1113 * emulparams/crisaout.sh, emulparams/criself.sh,
1114 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
1115 * po/POTFILES.in, po/ld.pot: Regenerate.
1116
19e3be22
L
11172000-07-20 H.J. Lu <hjl@gnu.org>
1118
1119 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
1120 Print out ignored -z options.
1121
e0ee487b
L
11222000-07-19 H.J. Lu <hjl@gnu.org>
1123
19e3be22
L
1124 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
1125 (PARSE_AND_LIST_PROLOGUE): New.
1126 (PARSE_AND_LIST_LONGOPTS): Likewise.
1127 (PARSE_AND_LIST_OPTIONS): Likewise.
1128 (PARSE_AND_LIST_ARGS_CASES): Likewise.
1129
1130 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
1131
1132 * lexsup.c (ld_options): Comment out 'z'.
1133 (parse_args): Likewise.
1134
1135 * emultempl/elf32.em: Include "elf/common.h".
1136 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
1137 options.
1138 (gld_${EMULATION_NAME}_list_options): Likewise.
1139
1140 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 1141
49e56c49
L
11422000-07-19 H.J. Lu <hjl@gnu.org>
1143
1144 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
1145 bfd_elf_set_dt_needed_soname ().
1146
9d68bc82
DD
11472000-07-18 DJ Delorie <dj@cygnus.com>
1148
1149 * pe-dll.c (pe_dll_id_target): check object target name also
1150
53db15ed
HPN
11512000-07-18 Hans-Peter Nilsson <hp@axis.com>
1152
1153 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
1154 ${INIT_END} if relocating.
1155 (.fini): Likewise ${FINI_START} and ${FINI_END}.
1156
0ad8cf4c
DD
11572000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
1158
a2b64bed 1159 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
1160 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
1161 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
1162 errors introduced by the old dynamic lib search order.
1163
874c8c99
DD
11642000-07-17 DJ Delorie <dj@cygnus.com>
1165
1166 * pe-dll.c (process_def_file): auto-export data items also
1167 (pe_process_import_defs): also see if _imp_ form needed
1168
5b4cf3f4
DD
11692000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
1170
1171 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
1172 for dll import libraries
1173
062739d1
NC
11742000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
1175
1176 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 1177 gcc 2.95.2 and later.
062739d1 1178
1c64c4ed
NC
11792000-07-11 Kazu Hirata <kazu@hxi.com>
1180
50bbae35
AM
1181 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
1182 message.
1c64c4ed 1183
b71e2778
AM
11842000-07-10 Alan Modra <alan@linuxcare.com.au>
1185
1186 * ldemul.h (struct lang_input_statement_struct): Remove forward
1187 declaration.
1188 (struct search_dirs): Likewise.
1189 * ldfile.h (struct lang_input_statement_struct): Likewise.
1190 Protect file from multiple inclusion.
1191 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
1192 declaration from macro to file scope.
1193
1194 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
1195 * ldgram.y: Likewise here.
1196 * ldlang.c: And here.
1197 * ldmain.c: And here.
1198 * mpw-elfmips.c: And here.
1199 * mpw-eppcmac.c: And here.
1200 * emultempl/aix.em: And here.
1201 * emultempl/armcoff.em: And here.
1202 * emultempl/armelf.em: And here.
1203 * emultempl/armelf_oabi.em: And here.
1204 * emultempl/beos.em: And here.
1205 * emultempl/elf32.em: And here.
1206 * emultempl/hppaelf.em: And here.
1207 * emultempl/linux.em: And here.
1208 * emultempl/lnk960.em: And here.
1209 * emultempl/pe.em: And here.
1210 * emultempl/sunos.em: And here.
1211 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
1212 * mpw-idtmips.c: Ditto.
1213 * emultempl/generic.em: Ditto.
1214 * emultempl/gld960.em: Ditto.
1215 * emultempl/gld960c.em: Ditto.
1216 * emultempl/mipsecoff.em: Ditto.
1217 * emultempl/ticoff.em: Ditto.
1218 * emultempl/vanilla.em: Ditto.
1219
1220 * pe-dll.c: Include ldfile.h
1221 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
1222
1223 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
1224 arguments to bfd_elf32_size_dynamic_sections call.
1225 (gldelf32ebmip_place_orphan): Add missing arguments to
1226 lang_leave_output_section_statement call.
1227
2ef53d66
L
12282000-07-10 H.J. Lu <hjl@gnu.org>
1229
1230 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
1231 DLL_SUPPORT.
1232 (strhash): Likewise.
1233 (compute_dll_image_base): Likewise.
1234 (pe_undef_found_sym): Likewise.
1235 (pe_undef_cdecl_match): Likewise.
1236 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
1237 argument "arch" with ATTRIBUTE_UNUSED.
1238
9a8cbb09
AM
12392000-07-10 Alan Modra <alan@linuxcare.com.au>
1240
1241 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
1242
1243 From Ryan Bradetich <rbradetich@uswest.net>
1244 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 1245
4900fc06
AM
12462000-07-09 Alan Modra <alan@linuxcare.com.au>
1247
1248 Changes to create multiple linker stubs, positioned immediately
1249 before the section where they are required.
1250 * emultempl/hppaelf.em: Include elf32-hppa.h.
1251 (stub_sec, file_chain): Delete.
1252 (hppaelf_create_output_section_statements): Don't make a stub
1253 section here.
1254 (hook_stub_info): New struct.
1255 (hook_in_stub): New function.
1256 (hppaelf_add_stub_section): New function.
1257 (hppaelf_finish): Do nothing for relocateable links. Modify the
1258 call to elf32_hppa_size_stubs. Move code for updating section
1259 layout from here...
1260 (hppaelf_layaout_sections_again): ..to here, a new function.
1261
1262 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
1263 broken list handling. Pass in a pointer to the list.
1264 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
1265 for above changes.
1266 (hppaelf_before_parse): Prototype.
1267 (hppaelf_set_output_arch): Prototype.
1268 (hppaelf_create_output_section_statements): Prototype.
1269 (hppaelf_delete_padding_statements): Prototype.
1270 (hppaelf_finish): Prototype.
1271
1272 Merge from elf32.em
1273 * emultempl/hppaelf.em: Include ctype.h.
1274 (struct orphan_save): New.
1275 (gld${EMULATION_NAME}_place_orphan): New.
1276 (output_rel_find): New.
1277 (hppaelf_get_script): Update from elf32.em.
1278 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
1279 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 1280 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
1281
1282 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
1283 ehppalinux.o, sort it. Regenerate dependencies.
1284 (ehppalinux.c): Depend on hppaelf.em
1285 * Makefile.in: Regenerate.
1286
1287 * configure.tgt: targ_emul=hppalinux for hppa*linux
1288
1289 * emulparams/hppalinux.sh: New.
1290 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
1291
227aeb07
AM
12922000-07-08 Alan Modra <alan@linuxcare.com.au>
1293
1294 * lexsup.c (parse_args): Copy section name.
1295
28609fd4 12962000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
602e90d3 1297
2ef53d66 1298 * emultempl/pe.em: institute the following search order for
602e90d3
DD
1299 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
1300 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
1301 static lib (libfoo.a) if none of the above are found.
1302
5f577f7d
DD
13032000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
1304
50bbae35 1305 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 1306 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 1307 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
1308 (gld_${EMULATION_NAME}_parse): Handle.
1309 (strhash): New static function.
50bbae35 1310 (compute_dll_image_base): New static function.
5f577f7d
DD
1311 (gld_${EMULATION_NAME}_set_symbols): Use.
1312
9a8cbb09 13132000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
1314
1315 * MAINTAINERS: new
1316
3548145d 13172000-07-01 Koundinya K <kk@ddeorg.soft.net>
50bbae35
AM
1318
1319 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
1320 * emulparams/elf32btsmip.sh: New file.
1321 * Makefile.am: Add traditional mips target.
1322 * Makefile.in: Rebuild.
1323
67798033
L
13242000-07-01 H.J. Lu <hjl@gnu.org>
1325
1326 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
1327 automake to use YLWRAP.
1328 * Makefile.in: Rebuild.
1329
0bdaf48b
AM
13302000-07-01 Alan Modra <alan@linuxcare.com.au>
1331
1332 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
1333 (CLEANFILES): Add DEPA.
1334 * Makefile.in: Regenerate.
1335
c9e769c2
TW
13362000-06-30 Timothy Wall <twall@ppc>
1337
1338 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
1339 the page in the upper octet of the address.
1340
65aa24b6
NC
13412000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
1342
1343 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
1344
4667035e
AM
13452000-06-24 Alan Modra <alan@linuxcare.com.au>
1346
1347 * NEWS: arm-elf does --gc-sections too.
1348
1581f8c9
AM
13492000-06-22 Alan Modra <alan@linuxcare.com.au>
1350
1351 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
1352 find one.
1353 * Makefile.in: Regenerate.
1354
01580992
L
13552000-06-21 H.J. Lu <hjl@gnu.org>
1356
1357 * Makefile.am: Rebuild dependency.
1358 * Makefile.in: Rebuild.
1359
bbeb2e03
L
13602000-06-20 H.J. Lu <hjl@gnu.org>
1361
1362 * Makefile.am: Rebuild dependency.
1363 * Makefile.in: Rebuild.
1364
74459f0e
TW
13652000-06-20 Timothy Wall <twall@cygnus.com>
1366
1367 * scripttempl/tic54xcoff.sc: New.
1368 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
1369 * gen-doc.texi: Add flag for TI COFF.
1370 * ld.texinfo: Add documentation for TI COFF handling switches.
1371 * emultempl/ticoff.em: New. TI COFF handling.
1372 * configure.tgt: Add tic54x target.
1373 * Makefile.am: Add tic54x target.
1374 * Makefile.in: Ditto.
1375
2ab47eed
AM
13762000-06-20 Alan Modra <alan@linuxcare.com.au>
1377
1378 * ldmain.c (set_scripts_dir): Correct pointer comparison when
1379 checking for backslashes.
1380
919e4093
AM
13812000-06-19 Alan Modra <alan@linuxcare.com.au>
1382
1383 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
1384
987fd5b4
AM
13852000-06-18 Alan Modra <alan@linuxcare.com.au>
1386
1387 * NEWS: Update list of targets supporting --gc-sections.
1388
1389 * scripttempl/elf.sc: KEEP .eh_frame contents.
1390 * scripttempl/elfd30v.sc: Same here.
1391
60bcf0fa
NC
13922000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
1393
1394 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
1395 and m68hc11 (elf).
1396 * Makefile.in: Rebuild.
1397 * configure.tgt: Recognize m68hc12 and m68hc11.
1398 * scripttempl/elfm68hc12.sc: New file.
1399 * emulparams/m68hc12elfb: New emulation.
1400 * emulparams/m68hc12elf: New emulation.
1401 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
1402 (includes a memory.x script to define the ROM and RAM banks).
1403 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
1404 New configuration files for support of Motorola 68hc11
1405
c7c54483
AM
14062000-06-15 Alan Modra <alan@linuxcare.com.au>
1407
1408 * ldmain.c (main): Only change SEC_READONLY for final link.
1409
bcef29e6
L
14102000-06-13 H.J. Lu <hjl@gnu.org>
1411
1412 * configure: Regenerate.
1413
946efd95
DB
14142000-06-08 David O'Brien <obrien@FreeBSD.org>
1415
1416 * configure.in (VERSION): Update to show this is the CVS mainline.
1417
57a6fd07
DB
14182000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1419
1420 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
1421 input objects to be ECOFF.
1422 (check_sections): einfo takes %B, not %P, to print a BFD name.
1423
e06cae36
L
14242000-06-05 Michael Matz <matz@ifh.de>
1425
1426 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 1427 version scripts.
e06cae36 1428
d952f17a 1429 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 1430
2f0b56c0
DC
14312000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
1432
1433 * emulparams/avr1200.sh (STACK): Define as 0.
1434 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
1435 * emulparams/avr4433.sh (STACK): Likewise.
1436 * emulparams/avr44x4.sh (STACK): Likewise.
1437 * emulparams/avr85xx.sh (STACK): Likewise.
1438 * emulparams/avrmega103.sh (STACK): Likewise.
1439 * emulparams/avrmega161.sh (STACK): Likewise.
1440 * emulparams/avrmega603.sh (STACK): Likewise.
1441 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
1442 (__stack): Define from ${STACK} for main().
1443
2114f57b
AM
14442000-05-26 Alan Modra <alan@linuxcare.com.au>
1445
1446 * Makefile.am: Update dependencies with "make dep-am"
1447 * Makefile.in: Regenerate.
1448
5af11cab
AM
14492000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
1450
1451 * ldmain.c: Include filenames.h.
1452 (set_scripts_dir): Support backslashes in program name.
1453
1f0df59a
NC
14542000-05-22 Igor Shevlyakov <igor@windriver.com>
1455
1456 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
1457 read-only, don't forget to reset SEC_READONLY because it
1458 could be already set.
1f0df59a 1459
176355da
NC
14602000-05-22 Thomas de Lellis <tdel@windriver.com>
1461
50bbae35
AM
1462 * ld.1: Add documentation for new command line option:
1463 --section-start <sectionname>=<sectionorg>
1464 This is a generic version of -Ttext etc. which accepts
1465 any section name as a parameter instead of just text/data/
1466 bss.
1467 * ld.texinfo: More docs.
1468 * NEWS: More docs.
1469 * lexsup.c: (parse_args): Recognize new command line option.
176355da 1470 (ld_options): Add new option.
50bbae35 1471
8c5ff972
L
14722000-05-18 H.J. Lu <hjl@gnu.org>
1473
1474 * lexsup.c (parse_args): `i' == `r', not `q'.
1475
0b76fe77
JL
1476Thu May 18 10:47:57 2000 Jeffrey A Law (law@cygnus.com)
1477
1478 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
1479
a712da20
NC
14802000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
1481 Rick Gorton <gorton@scrugs.lkg.dec.com>
50bbae35 1482
a712da20
NC
1483 Add support for '-q' == '--emit-relocs' switch.
1484 * ldmain.c (main): Default to false.
1485 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
1486 * NEWS: Describe the emitrelocations switch.
1487 * ld.texinfo: Describe the emitrelocations switch.
1488
690a460e
NC
14892000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
1490
a2b64bed 1491 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
1492 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
1493 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
1494 link options.
50bbae35 1495
c2f1343c
AM
14962000-05-15 David O'Brien <obrien@FreeBSD.org>
1497
1498 * lexsup.c (parse_args): Update the year in the copyright notice.
1499
897083bd
AM
15002000-05-13 Alan Modra <alan@linuxcare.com.au>
1501
1502 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
1503 Replace defines with those from intl/libgettext.h to quieten gcc
1504 warnings.
1505
cd4c806a
L
15062000-05-10 H.J. Lu <hjl@gnu.org>
1507
1508 * ldlang.c (open_input_bfds): Don't load the same file within
1509 a group again if the whole archive has been loaded already.
1510
93697284
AM
15112000-05-03 Alan Modra <alan@linuxcare.com.au>
1512
1513 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
1514 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
1515 strtoul.
1516
ebd6fc29
JW
1517Mon May 1 17:34:34 2000 Jim Wilson <wilson@cygnus.com>
1518
99a4150f 1519 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 1520
ebd6fc29
JW
1521 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
1522 host "ia64-*-linux-gnu*".
1523
a1934524
AM
15242000-04-29 Andreas Jaeger <aj@suse.de>
1525
1526 * ld.h: Correctly check GCC version.
1527
730a39a0
JL
1528Tue Apr 25 11:20:43 2000 Jeffrey A Law (law@cygnus.com)
1529
1530 * Makefile.am: Add PA64 support. Add missing dependencies for
1531 PA32 elf support.
1532 * Makefile.in: Rebuilt.
1533 * configure.tgt: Add PA64 support (currently disabled).
1534
aea4bd9d
AM
15352000-04-25 Alan Modra <alan@linuxcare.com.au>
1536
1537 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
1538 (output_rel_find): New function.
1539 (hold_section, hold_use): Delete.
1540 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
1541 hold_interp): Make local to place_orphan.
1542 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
1543 rather than place_section to find possible previous use of orphan.
1544 Similarly find the place-holder output sections. Use returned
1545 value from lang_enter_output_section_statement rather than calling
1546 lang_output_section_statement_lookup.
1547 * emultempl/armelf.em: Same here.
1548 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
1549
1550 * ldlang.c (lang_enter_output_section_statement): Return output
1551 section statement.
1552 * ldlang.h (lang_enter_output_section_statement): Change
1553 declaration too.
1554
1555 * ldlang.h (lang_output_section_statement): Export it.
1556 * ldlang.c (lang_output_section_statement): Ditto.
1557
2b5fc1f5
NC
15582000-04-24 Nick Clifton <nickc@cygnus.com>
1559
1560 * ld.texinfo (Output Section Data): Add note that section data
1561 commands cannot appear outside of section directives.
1562
d8475ff6
JL
15632000-04-2 Matthew Green <mrg@cygnus.com>
1564
1565 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
1566
800eeca4
JW
1567Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
1568 David Mosberger <davidm@hpl.hp.com>
1569
1570 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
1571 (eelf64_ia64.c): New rule.
1572 * Makefile.in: Rebuild.
1573 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
1574 * emulparams/elf64_ia64.sh: New file.
50bbae35 1575
c9637625
RH
15762000-04-21 Richard Henderson <rth@cygnus.com>
1577
1578 * scripttempl/elfd30v.sc: Place .gcc_except_table.
1579
28ea9521
AM
15802000-04-19 Alan Modra <alan@linuxcare.com.au>
1581
1582 * dep-in.sed: Match space at start of file name, not at end.
1583
20d04697
L
15842000-04-18 H.J. Lu <hjl@gnu.org>
1585
1586 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
1587 lang_leave_output_section_statement () after calling
1588 lang_enter_output_section_statement ().
1589 * emultempl/armelf.em: Likewise.
1590
5ba47421
AM
15912000-04-18 Alan Modra <alan@linuxcare.com.au>
1592
1593 * emultempl/elf32.em (struct orphan_save): Add section field.
1594 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
1595 better order, and place first orphan section as we did before the
1596 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
1597 Don't call make_bfd_section here, let wild_doit do the job for us.
1598 Don't build a statement list when we'll only throw it away.
1599 * emultempl/armelf.em: Ditto.
1600 * emultempl/pe.em: Similarly.
1601
bdbe5705
GK
16022000-04-14 Geoff Keating <geoffk@cygnus.com>
1603
1604 * scripttempl/elfppc.sc: Remove.
1605 * emulparams/elf32ppc.sh: Use elf.sc.
1606 * emulparams/elf32lppc.sh: Use elf.sc.
1607 * emulparams/elf32ppclinux.sh: Use elf.sc.
1608 * emulparams/elf32ppcsim.sh: New file.
1609 * emulparams/elf32lppcsim.sh: New file.
1610 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
1611 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
1612 * Makefile.in: Regenerate.
1613 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
1614
01cc8ff8
AM
16152000-04-14 Alan Modra <alan@linuxcare.com.au>
1616
5ba47421 1617 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 1618 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
1619 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
1620 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
1621 Also set all relocateable section start addresses.
1622
6c86c541
GK
16232000-04-13 Geoff Keating <geoffk@cygnus.com>
1624
1625 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
1626 Add new BSS_PLT variable for when .plt need not be contained in
1627 the file. Move _etext so that it is also after .fini, and provide
1628 both etext and _etext with a leading underscore. Mark the start
1629 and end of .sbss.
1630
6a345e87
AM
16312000-04-12 Alan Modra <alan@linuxcare.com.au>
1632
1633 * emultempl/elf32.em (struct orphan_save): New.
1634 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
1635 hold_interp): Make them struct orphan_save.
1636 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
1637 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
1638 the end of the relevant section list. Also add associated section
1639 statements to the end of any previous orphan statements.
1640 * emultempl/armelf.em: Similarly.
1641 * emultempl/pe.em: Similarly.
1642
8be86746
AM
16432000-04-11 Alan Modra <alan@linuxcare.com.au>
1644
1645 * ld.texinfo (Simple Example): Remove extraneous paragraph.
1646
a2d91340 1647Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
50bbae35 1648
a2d91340 1649 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 1650 --enable-build-warnings option.
a2d91340
AC
1651 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
1652 * Makefile.in, configure: Re-generate.
1653
41b49281
AM
16542000-04-04 Alan Modra <alan@linuxcare.com.au>
1655
8ad3436c
AM
1656 * po/ld.pot: Regenerate.
1657
1658 * lexsup.c (help): Restore translated part of bug string.
1659
41b49281
AM
1660 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
1661 (DEP): Quote when passing vars to sub-make. Add warning message
1662 to end.
1663 (DEP1): Rewrite for "gcc -MM".
1664 (CLEANFILES): Add DEP2.
1665 Update dependencies.
1666 * Makefile.in: Regenerate.
1667
c20f4f8c
AM
16682000-04-03 Alan Modra <alan@linuxcare.com.au>
1669
1670 * ld.h: #include "bin-bugs.h"
1671 * lexsup.c (help): Use REPORT_BUGS_TO.
1672
adde6300
AM
16732000-03-27 Denis Chertykov <denisc@overta.ru>
1674
1675 * configure.tgt (avr-*-*): New target support.
1676 * Makefile.am: Likewise.
1677 * scripttempl/elf32avr.sc: New script file.
1678 * emulparams/avr1200.sh: New file.
1679 * emulparams/avr23xx.sh: New file.
1680 * emulparams/avr4433.sh New file.
1681 * emulparams/avr44x4.sh New file.
1682 * emulparams/avr85xx.sh New file.
1683 * emulparams/avrmega103.sh New file.
1684 * emulparams/avrmega161.sh New file.
1685 * emulparams/avrmega603.sh New file.
1686 * Makefile.in: Regenerate.
1687
9282ff41
L
16882000-03-09 Andreas Jaeger <aj@suse.de>
1689
1690 * Makefile.am (check-DEJAGNU): Also unset LANG.
1691 * Makefile.in: Rebuild.
1692
a9998805
ILT
16932000-03-06 Ian Lance Taylor <ian@zembu.com>
1694
1695 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
1696 archive.
1697
f9bc20e7
NC
16982000-03-02 H.J. Lu <hjl@gnu.org>
1699
1700 * emulparams/elf32mcore.sh: Include "getopt.h".
1701
4e277b38
ILT
17022000-03-01 Ian Lance Taylor <ian@zembu.com>
1703
1704 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
1705
f0c87f88
NC
17062000-03-01 H.J. Lu <hjl@gnu.org>
1707
1708 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
1709 * emulparams/shpe.sh: Likewise.
1710
17112000-03-01 Nick Clifton <nickc@cygnus.com>
1712
1713 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
1714 to unused parameters.
1715
1716 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
1717 functions only used by DLL code.
1718 (_place_orphan): Initialise 'dollar'.
1719
b6f29aaa
L
17202000-03-01 H.J. Lu <hjl@gnu.org>
1721
1722 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
1723 indicate if the undefined symbol is a fatal error or not.
1724 Don't delete the output file if "fatal" is false.
1725
af28fce3
L
17262000-02-29 H.J. Lu <hjl@gnu.org>
1727
50bbae35 1728 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
1729 Set LC_COLLATE and LC_ALL to null and export them. It is for
1730 sort which expects the C locale.
1731 Add $(LIBS) to all $(HOSTING_LIBS).
1732 * Makefile.in: Rebuild.
1733
40d109bf
AM
17342000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
1735
1736 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
1737 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
1738 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
1739 (ld_emulation_xfer_struct): Add missing NULL initialiser for
1740 find_potential_libraries.
1741
db5be682
JB
17422000-02-28 Jim Blandy <jimb@redhat.com>
1743
1744 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 1745 list entries; the lexer considers commas to be valid part of a
db5be682
JB
1746 filename, so in something like `foo, bar' the comma is considered
1747 part of the first filename, `foo,'.
1748 * ld.texinfo: Update section on EXCLUDE_FILE lists.
1749
3558ff4c
ILT
17502000-02-27 Loren J. Rittle <ljrittle@acm.org>
1751
1752 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
1753 host "i[3456]86-*-freebsdelf*".
1754
4eee2681
ILT
17552000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
1756
1757 * scripttempl/i386go32.sc: Move misplaced semicolons.
1758
8d75d12d
ILT
17592000-02-25 Ian Lance Taylor <ian@zembu.com>
1760
1761 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
1762 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
1763 (eelf64hppa.c, ehppaelf.c): Remove targets.
1764 * Makefile.in: Rebuild.
1765
a1836d49
AO
17662000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1767
ad51fb57
AO
1768 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
1769 GNU/Linux/sparc, but keep the default as 32.
1770
a1836d49
AO
1771 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
1772 it default if sparcv9 or sparc64.
1773
344a211f
NC
17742000-02-24 Nick Clifton <nickc@cygnus.com>
1775
1776 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
1777 * Makefile.in: Regenerate.
1778 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
1779
1780 * ldemul.h (ld_emulation_xfer_struct): Add new field:
1781 find_potential_libraries.
1782 * ldemul.c (ldemul_find_potential_libraries): New function.
1783
1784 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 1785 exported.
344a211f
NC
1786 (ldfile_open_file): Call ldemul_find_potential_libraries.
1787 * ldfile.h: Add prototype for ldfile_open_file_search.
1788
1789 * pe-dll.c: Add support for ARM, MIPS and SH targets.
1790
1791 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
1792 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
1793
1794 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
1795 (gld_X_find_potential_libraries): New function. Search for
1796 libraries called "*.lib".
1797
a2b64bed 1798 * scripttempl/pe.sc: Add .pdata section.
344a211f 1799
eaba1dd3
RH
18002000-02-23 Richard Henderson <rth@cygnus.com>
1801
1802 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
1803 Add and use memory regions.
1804
5b93d8bb
AM
18052000-02-23 Linas Vepstas (linas@linas.org)
1806
1807 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
1808
1809 * Makefile.am: Add support for Linux/IBM 370.
1810 * configure.tgt: Likewise.
1811
1812 * Makefile.in: Regenerate.
1813
f6af82bd
AM
18142000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
1815
1816 * ldlang.c (print_input_section, print_data_statement,
1817 print_reloc_statement, print_padding_statement, insert_pad,
1818 size_input_section, lang_check_section_addresses,
1819 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 1820 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
1821 (lang_do_assignments): Also change `size' to unsigned.
1822
9e673ad1
RH
18232000-02-16 Richard Henderson <rth@cygnus.com>
1824
1825 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
1826
562d3460
TW
18272000-02-16 Timothy Wall <twall@cygnus.com>
1828
1829 * mri.c (mri_draw_tree): Add default LMA region argument to call
1830 to lang_leave_output_section_statement.
1831 * ldlang.h: Update prototypes with LMA region arguments.
1832 * ldlang.c (lang_size_sections): Encapsulate region bounds
1833 checking in os_check_region call.
1834 (os_check_region): New function.
1835 (lang_output_section_statement_lookup): Initialize lma_region.
1836 (lang_leave_output_section_statement): Add LMA region argument.
1837 (lang_leave_overlay): Ditto.
1838 * ldgram.y: Handle LMA region syntax.
1839 * ld.texinfo (Output Section Description): Describe LMA region usage.
1840 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 1841 lma region in call to lang_leave_output_section_statement.
562d3460 1842 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 1843 lma region in call to lang_leave_output_section_statement.
562d3460 1844 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 1845 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
1846
1847
9e4ed18c
TW
18482000-02-04 Timothy Wall <twall@redhat.com>
1849
1850 * ldlang.c (lang_check_section_addresses): Use bytes instead of
1851 octets when calculating section end addresses.
1852
32edc927
TW
18532000-02-04 Timothy Wall <twall@redhat.com>
1854
1855 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
1856
4cbfc3ac
TW
18572000-02-03 Timothy Wall <twall@redhat.com>
1858
a2b64bed 1859 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 1860 octet count.
a2b64bed 1861 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
1862 print_reloc_statement, print_padding_statement): Print target
1863 address values and section sizes as bytes, not octets.
1864 (insert_pad) Calculate padding size in octets, and adjust "dot"
1865 by bytes.
1866 (size_input_section) Always adjust "dot" by bytes, not octets.
1867 (lang_check_section_addresses, lang_do_assignments) Adjust
1868 "dot" by bytes, not octets. Use the larger of the directive size
1869 or octets_per_byte for the number of octets actually allocated in
1870 the output section.
1871 (lang_set_startof) Make sure STARTOF returns a target address.
1872 (lang_one_common) Record size changes in octets.
1873 (lang_abs_symbol_at_end_of) Section end symbol's value is
1874 recorded in target bytes.
1875 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
1876 to be clear about behavior when an octet is smaller than one byte.
50bbae35 1877
305c7206
AM
18782000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
1879
1880 * ldcref.c (output_cref): Don't pass message strings to printf
1881 as format arg.
1882 Update copyright.
1883
1884 * ldmisc.c (vfinfo): Same here.
1885 Update copyright.
1886
e1c47aa4
AM
18872000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
1888
1889 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
1890 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
1891 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
1892 Add missing NULL initialisers, and comments.
1893
1894 * testsuite/ld-srec/sr3.cc (__rethrow): New.
1895
13392b77
NC
18962000-01-21 Nick Clifton <nickc@cygnus.com>
1897
1898 * ldlang.c (lang_size_sections): Fix typo in comment.
1899
cce4c4c5
NC
19002000-01-18 H.J. Lu <hjl@gnu.org>
1901
1902 * ldlang.c (lang_size_sections): Also update the current
1903 address of a region if the SEC_NEVER_LOAD bit is not set.
1904
0decc840
NC
19052000-01-10 Philip Blundell <pb@futuretv.com>
1906
1907 * configure.tgt (arm*-*-conix*): New target.
1908
4e53152f
NC
19092000-01-07 Nick Clifton <nickc@cygnus.com>
1910
1911 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
1912 line switches with -Wl, (or whatever is appropriate) if it is
1913 being invoked by a comnpiler driver program.
50bbae35 1914 Fix description of the behaviour of the -n command line switch.
4e53152f 1915
18625d54
CM
1916Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com>
1917
1918 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
1919 (name_list): New.
1920 * ld.texinfo (EXCLUDE_FILE): Update documentation.
1921 * ldgram.y (wildcard_spec): Support a list of excluded_files.
1922 (exclude_name_list): New.
1923 ldlang.c (walk_wild_section): Support list of excluded files.
1924 (print_wild_statement): Likewise.
1925 (lang_add_wild): Likewise.
1926 * ldlang.h (lang_wild_statement_type): Likewise.
1927 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 1928
5aaace27
NC
19292000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1930
870df5dc
NC
1931 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
1932 (process_def_file): Use.
1933 (pe_dll_compat_implib): New variable.
1934 (make_one): Use.
50bbae35 1935
870df5dc
NC
1936 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
1937 pe_dll_compat_implib.
50bbae35
AM
1938
1939 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
1940 compat-implib options.
1941 (gld_${EMULATION_NAME}_list_options): List new options.
1942 (gld_${EMULATION_NAME}_parse_args): Handle.
1943
50bbae35 1944 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 1945 dll.
50bbae35
AM
1946
1947 * deffilep.y (opt_name): Allow "." in name.
5aaace27 1948
2f6d2f85 1949For older changes see ChangeLog-9899
252b5132
RH
1950\f
1951Local Variables:
1952mode: change-log
1953left-margin: 8
1954fill-column: 74
1955version-control: never
1956End:
This page took 0.322652 seconds and 4 git commands to generate.