2002-02-04 Chris Demetriou <cgd@broadcom.com>
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
b5090659
L
12002-03-04 H.J. Lu <hjl@gnu.org>
2
3 * scripttempl/elf.sc: Put .preinit_array, .init_array and
4 .fini_array in the data segment.
5
f42ce16e
AM
62002-03-04 Alan Modra <amodra@bigpond.net.au>
7
8 * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
9
de77b6ac
RH
102002-03-01 David Mosberger <davidm@hpl.hp.com>
11
12 * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
13 .init_array, and .fini_array.
14
997e08c0
AS
152002-02-20 Andreas Schwab <schwab@suse.de>
16
17 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
18 .IA64_unwind* in a relocatable link.
19
9a66911f
NC
202002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
21
22 * NEWS: Mark 2.12 branch.
23
d86bcc10
MS
242002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
25
26 * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
27 * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
28
69f284c7
TR
292002-02-18 Tom Rix <trix@redhat.com>
30
31 * emultempl/aix.em (gld*_parse_args): Add -brtl support.
32 (gld*_before_allocation): Same.
33 (gld*_create_output_section_statements): Generate
34 __rtinit if run time linking. Add librtl.a to the link.
35 (gld*_read_file): Clean.
36
82bd7b59
AM
372002-02-18 Alan Modra <amodra@bigpond.net.au>
38
39 * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
40
ac3e50bf
DB
412002-02-18 David O'Brien <obrien@FreeBSD.org>
42
6a7f963b 43 * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
ac3e50bf
DB
44 eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
45 and eelf64alpha_fbsd.
6a7f963b 46 * Makefile.in: Regenerate.
ac3e50bf
DB
47 * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
48 x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
49 use a FreeBSD-specific emulation rather than the psABI one.
50 * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
51 for all FreeBSD ELF systems.
52 * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
53 emulation.
54 * emulparams/elf32ppc_fbsd.sh: Likewise.
55 * emulparams/elf64_ia64_fbsd.sh: Likewise.
56 * emulparams/elf64_sparc_fbsd.sh: Likewise.
57 * emulparams/elf64alpha_fbsd.sh: Likewise.
58 * emulparams/elf_i386_fbsd.sh: Likewise.
59 * emulparams/elf_x86_64_fbsd.sh: Likewise.
60
6ad738c5
NC
612002-02-18 Nick Clifton <nickc@cambridge.redhat.com>
62
63 * po/tr.po: Updated version.
64
9673c93c
AM
652002-02-18 Alan Modra <amodra@bigpond.net.au>
66
67 * ld.texinfo (Output Section Fill): Fix amateur texinfo.
68 (FILL): Likewise.
69
1c5e6447
HPN
702002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
71
72 * emultempl/mmo.em (mmo_after_open): Don't call
73 _bfd_mmix_check_all_relocs when producing ELF output.
74
8bb57516
RH
752002-02-15 Richard Henderson <rth@redhat.com>
76
de77b6ac 77 * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
8bb57516
RH
78 definition. Emit a unop+nop pair.
79
49fda6c8
HPN
802002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
81
83c2d653
HPN
82 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
83 for presence of .MMIX.reg_contents.linker_allocated before early
84 exit.
85
49fda6c8
HPN
86 * NEWS: Mention support for MMIX.
87
2c382fb6
AM
882002-02-15 Alan Modra <amodra@bigpond.net.au>
89
90 Support arbitrary length fill patterns.
a139d329
AM
91 * ld.texinfo (Output Section Fill): Describe fill expressions.
92 (FILL): Refer to the above.
2c382fb6
AM
93 * ldexp.h (etree_value_type): Add "str" field.
94 (union etree_union): Add "str" to "value" struct.
95 (exp_bigintop): Declare.
96 (exp_get_fill): Declare.
97 * ldexp.c: Include "safe-ctype.h".
98 (exp_intop): Set value.str to NULL.
99 (exp_bigintop): New function.
100 (new_rel): Pass in "str", and set new.str from it.
101 (new_rel_from_section): Set new.str to NULL.
102 (fold_name): Adjust calls to new_rel.
103 (exp_fold_tree): Likewise.
104 (exp_get_fill): New function.
105 * ldgram.y (struct big_int bigint, fill_type *fill): New.
106 (INT): Returns a "bigint". Adjust all code handling INTs.
107 (fill_opt): Returns a "fill".
108 (fill_exp): Split out of fill_opt, use for FILL.
109 * ldlang.h (struct _fill_type): New.
110 (fill_type): Move typedef to ldexp.h.
111 (lang_output_section_statement_type): "fill" is now a pointer.
112 (lang_fill_statement_type): Likewise.
113 (lang_padding_statement_type): Likewise.
114 (lang_add_fill): Now takes a "fill_type *" param.
115 (lang_leave_output_section_statement): Likewise.
116 (lang_do_assignments): Likewise.
117 (lang_size_sections): Likewise.
118 (lang_leave_overlay_section): Likewise.
119 (lang_leave_overlay): Likewise.
120 * ldlang.c: Include ldgram.h after ldexp.h.
121 (lang_output_section_statement_lookup): Adjust for fill_type change.
122 (print_fill_statement): Likewise.
123 (print_padding_statement): Likewise.
124 (insert_pad): Now takes a "fill_type *" arg.
125 (size_input_section): Likewise.
126 (lang_size_sections_1): Likewise.
127 (lang_size_sections): Likewise.
128 (lang_do_assignments): Likewise.
129 (lang_add_fill): Likewise.
130 (lang_leave_output_section_statement): Likewise.
131 (lang_leave_overlay_section): Likewise.
132 (lang_leave_overlay): Likewise.
133 Adjust all callers of the above function.
134 * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers
135 starting with "0X" as well as "0x". Return bigint.str for hex
136 numbers starting with "0x" or "0X", zero bigint.str otherwise.
137 Always use base 16 for numbers starting with "$".
138 * ldmain.c: Include ldgram.h after ldexp.h.
139 * ldwrite.c (build_link_order): Use bfd_data_link_order in place
140 of bfd_fill_link_order.
141 * pe-dll.c: Adjust lang_do_assignments calls.
142 * emultempl/elf32.em: Likewise.
143 * emultempl/hppaelf.em: Likewise.
144 * emultempl/ppc64elf.em: Likewise.
145 * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
146 lang_add_assignment call.
147 * emultempl/pe.em: Likewise.
148
313e35ee
AM
1492002-02-14 Phil Edwards <pme@gcc.gnu.org>
150
a139d329 151 * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
313e35ee
AM
152 * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
153 the pattern in question is not a regexp.
154 * ldlang.c: Likewise.
155 * ldlang.h: Likewise.
156 * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
157
2d20f7bf
JJ
1582002-02-12 Jakub Jelinek <jakub@redhat.com>
159
160 * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
161 * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
162 (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
163 * ldexp.c (exp_data_seg): New variable.
164 (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
165 (fold_binary): Handle DATA_SEGMENT_ALIGN.
166 (exp_fold_tree): Handle DATA_SEGMENT_END.
167 Pass allocation_done when recursing instead of hardcoding
168 lang_allocating_phase_enum.
169 * ldexp.h (exp_data_seg): New.
170 * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
171 (lang_size_sections): New.
172 * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
173 * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
174 if COMMONPAGESIZE is defined.
175 * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
176 * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
177 * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
178 * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
179 * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
180 libraries only.
181
06880219
AM
1822002-02-11 Alan Modra <amodra@bigpond.net.au>
183
184 * Makefile.in: Regenerate.
185
37b0ac0f
DJ
1862002-02-10 Daniel Jacobowitz <drow@mvista.com>
187
188 * lexsup.c: Remove strtoul declaration.
189
4e5bae56
DJ
1902002-02-10 Daniel Jacobowitz <drow@mvista.com>
191
192 * ldmain.c: Add prototype for main ().
193 * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
194 * emultempl/lnk960.em (lnk960_choose_target): Function should
195 take two arguments.
196
1e281515
AM
1972002-02-10 Alan Modra <amodra@bigpond.net.au>
198
199 * ldlang.c (entry_section): New initialised variable.
200 (lang_finish): Use it.
201 * ldlang.h (entry_section): Declare.
202 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
203 entry_section to ".opd".
204
f92d92ff 2052002-02-09 Chris Demetriou <cgd@broadcom.com>
0a9c1c8e
CD
206
207 * ld.texinfo (Options): Add back in -nostdlib documentation,
208 which had been inadvertently removed.
209
74c44237
HPN
2102002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
211
212 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
213 register section vma to a sane value after emitting error. Make
214 fatal conditions cause program exit when emitting message.
215
5e37cc46
NC
2162002-02-08 Ivan Guzvinec <ivang@opencores.org>
217
218 * configure.tgt: Add or32-*-rtems target.
219
2d92cb7d
AO
2202002-02-08 Alexandre Oliva <aoliva@redhat.com>
221
222 Contribute sh64-elf.
223 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
224 * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
225 in OTHER_RELOCATABLE_SECTIONS.
226 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
227 * emulparams/shelf32.sh (STACK_ADDR): Define.
228 (OTHER_RELOCATABLE_SECTIONS): Renamed to...
229 (OTHER_SECTIONS): this. Removed stack settings.
230 * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
231 (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
232 2001-03-12 DJ Delorie <dj@redhat.com>
233 * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
234 relaxing if any shmedia or mixed sections are found.
235 2001-03-07 DJ Delorie <dj@redhat.com>
236 * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
237 einfo. Gracefully decline to output to non-elf formats.
238 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com>
239 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
240 Default to _end aligned to next multiple of 0x40000, plus 0x40000.
241 * emulparams/shelf32.sh: Ditto.
242 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
243 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
244 comment.
245 2001-01-10 Ben Elliston <bje@redhat.com>
246 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
247 non-portable shell constructs. From Hans-Peter Nilsson.
248 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com>
249 * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
250 * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
251 dependencies to the shell script include chain.
252 * Makefile.in: Regenerate.
253 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
254 * emultempl/sh64elf.em: Update and tweak comments.
255 (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
256 make a .cranges section SEC_IN_MEMORY.
257 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
258 * emultempl/sh64elf.em
259 (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
260 .cranges section found to be necessary; continue and set stored
261 section contents flags for sections with non-mixed contents.
262 Use a struct sh64_section_data container and sh64_elf_section_data
263 to store contents-type flags.
264 Remove unused update of "isec".
265 (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
266 sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to
267 access contents-type flags. Assert that the associated container
268 is initialized. Use that container, not elf_gp_size, to hold size
269 of linker-generated cranges contents.
270 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
271 * emultempl/sh64elf.em
272 (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
273 there's already a .cranges section. When section flag difference
274 is found, don't NULL-check cranges a second time. Tweak comments.
275 (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
276 merging, not max size, as size of ld-generated .cranges contents.
277 Don't set ELF section flags in output section. When checking for
278 needed .cranges descriptors, don't use a variable; compare
279 incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak
280 comments.
281 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
282 * emultempl/sh64elf.em: New file.
283 * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
284 * Makefile.in: Regenerate.
285 * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
286 (OTHER_RELOCATING_SECTIONS): Ditto.
287 (EXTRA_EM_FILE): New, set to sh64elf if not set.
288 * emulparams/shlelf32.sh: Stub out all settings except
289 OUTPUT_FORMAT. Source shelf32.sh.
290 * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
291 OTHER_RELOCATING_SECTIONS.
292 (OTHER_RELOCATING_SECTIONS): Remove .cranges.
293 * emulparams/shlelf64.sh: Stub out all settings except
294 OUTPUT_FORMAT. Source shelf64.sh.
295 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
296 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
297 .cranges section.
298 (DATA_START_SYMBOLS): Define, provide ___data.
299 (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
300 for consecutive .data section.
301 (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
302 section after .data section.
303 * emulparams/shlelf64.sh: Ditto.
304 * emulparams/shelf32.sh: Ditto.
305 (ALIGNMENT): Define to 8.
306 * emulparams/shelf32.sh: Ditto.
307 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
308 * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
309 built-in linker scripts.
310 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
311 * emulparams/shlelf64.sh: New.
312 * emulparams/shelf64.sh: New.
313 * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
314 targ_extra_emuls.
315 * Makefile.am: Add support for shlelf64 and shelf64.
316 * Makefile.in: Regenerate.
317 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
318 * configure.tgt (sh64-*-elf*): Add shelf as default.
319 Add shlelf to targ_extra_emuls.
320 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
321 * emulparams/shelf32.sh: New file.
322 * emulparams/shlelf32.sh: New file.
323 * Makefile.am: Add support for shlelf32 and shelf32.
324 * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
325 * Makefile.in: Regenerate.
326
e3dc8847
HPN
3272002-02-05 Hans-Peter Nilsson <hp@axis.com>
328
329 * ldlang.c (lang_reset_memory_regions): Rename from
330 reset_memory_regions. Change all callers. Make public.
331 * ldlang.h (lang_reset_memory_regions): Prototype.
332 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
333 lang_reset_memory_regions before lang_size_sections.
126730bd
HPN
334 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
335 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
e3dc8847 336
8017dbcb
HPN
3372002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
338
339 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
340 arithmetic when checking for too many global registers.
341
006336b8
JT
3422002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
343
344 * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
345 (ehppanbsd.c): New rule.
346 * Makefile.in: Regenerate.
347 * configure.tgt (hppa*-*-netbsd*): New target.
348 * emulparams/hppalinux.sh: Add comment to check other files
349 that source this file it is modified, and list which
350 files that do.
351 * emulparams/hppanbsd.sh: New file.
352
da1f2fec
GK
3532002-02-01 Geoffrey Keating <geoffk@redhat.com>
354
355 * scripttempl/xstormy16.sc: Don't allocate extra space for the
356 stack.
357
48fa4a5d
HPN
3582002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
359
360 Support on-demand global register allocation from
361 R_MMIX_BASE_PLUS_OFFSET relocs.
362 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
363 mmix_set_reg_section_vma. Call
364 _bfd_mmix_finalize_linker_allocated_gregs.
365 (mmix_before_allocation): New function.
366 (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
367 (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
368 * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
369 (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
370 before .MMIX.reg_contents.
371 * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
372 (mmo_after_open): New function.
373 (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
374 * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
375 .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
376
3b16e843
NC
3772002-01-31 Ivan Guzvinec <ivang@opencores.org>
378
379 * emulparams/or32.sh: New file.
380 * emulparams/or32elf.sh: New file.
381 * scripttempl/or32.sc: New file.
382 * configure.tgt : Add support for or32.
383 * configure: Regenerate
384 * Makefile.am: Add support for or32.
385 * Makefile.in: Regenerate.
386 * NEWS: Mention support for or32.
387 * po/ld.pot: Regenerate.
388
f744d540 3892002-01-29 Chris Demetriou <cgd@broadcom.com>
313e35ee 390 Mitch Lichtenberg <mpl@broadcom.com>
f744d540
CD
391
392 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
393 * emultempl/mipself.em: New file to handle MIPS ELF embedded
394 reloc creation (ld --embedded-relocs).
395
4867be41
DJ
3962002-01-27 Daniel Jacobowitz <drow@mvista.com>
397
398 * configure: Regenerated.
399
cd8e197b
HPN
4002002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
401
402 * Makefile.am (install): Depend on install-info.
403 * Makefile.in: Regenerate.
404
9cb61eab
AM
4052002-01-26 Christian Rose <menthos@menthos.com>
406
407 * ldmain.c (main): Use full sentences to ease translation.
408
1caa7b23
NC
4092002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
410
411 * po/fr.po: Updated version.
412
1ddbd152
NC
4132002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
414
415 * po/es.po: Updated version.
416
1e84433f
AJ
4172002-01-25 Andreas Jaeger <aj@suse.de>
418
419 * ldlex.l (yy_input): Correct error check.
420
6d39955e
AM
4212002-01-25 Alan Modra <amodra@bigpond.net.au>
422
423 * ldmisc.c (demangle): Put back dots when string not demangled.
424
a9ed1e1b
RH
4252002-01-22 Richard Henderson <rth@redhat.com>
426
427 * emulparams/elf64alpha.sh (NOP): Use unop.
428
968ec2b9
AJ
4292002-01-21 Andreas Jaeger <aj@suse.de>
430
431 * ldlex.l: Use fread instead of read.
432
9596feea
JT
4332002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
434
435 * configure.tgt (ia64-*-netbsd*): New target.
436
493a6d47
L
4372002-01-21 H.J. Lu <hjl@gnu.org>
438
439 * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
440 0.
441 * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
442
2a538ba5
AJ
4432002-01-18 Andreas Jaeger <aj@suse.de>
444
445 * ldver.c (ldversion): Update year.
446
328577ad
NC
4472002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
448
449 * po/ld.pot: Regenerate.
450
1f808cd5
AM
4512002-01-16 Alan Modra <amodra@bigpond.net.au>
452
453 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
454 * Makefile.in: Regenerate.
455 * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
456 * emultempl/ppc64elf.em: New file.
457
335c5610
DD
4582002-01-15 DJ Delorie <dj@redhat.com>
459
460 * scripttempl/pe.sc: Add support for constructor priorities.
461
c40bbade
DC
4622002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
463
464 * emulparams/avr1200.sh (DATA_START): Define as 0x60.
465 * emulparams/avr23xx.sh: Likewise.
466 * emulparams/avr4433.sh: Likewise.
467 * emulparams/avr44x4.sh: Likewise.
468 * emulparams/avr85xx.sh: Likewise.
469 * emulparams/avrmega103.sh: Likewise.
470 * emulparams/avrmega161.sh: Likewise.
471 * emulparams/avrmega603.sh: Likewise.
472 * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
473
34efb449
AO
4742002-01-08 Alexandre Oliva <aoliva@redhat.com>
475
476 * ldlang.c (walk_wild_section): Exclude object file if enclosing
477 archive is excluded.
478
8d05742f
JT
4792002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
480
481 * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
2a538ba5 482 (eshelf_nbsd.c): New rule.
8d05742f
JT
483 (eshlelf_nbsd.c): New rule.
484 * Makefile.in: Regenerate.
485 * configure.tgt (sh*le-*-netbsdelf*): New target.
486 (sh*-*-netbsdelf*): New target.
487 * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
488 * ld/emulparams/shelf_nbsd.sh: New emulation.
489 * ld/emulparams/shlelf_nbsd.sh: New emulation.
490
be2d1673
NC
4912002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
492
493 * po/es.po: New file: Spanish translation.
494 * configure.in (ALL_LINGUAS): Add es.
495 * configure: Regenerate.
496
dbab7a7b
NC
4972002-01-06 John Marshall <jmarshall@acm.org>
498
499 * ld.texinfo: Note that --emit-relocs is currently only
500 implemented for ELF.
501
3dfe7a8c
AM
5022002-01-05 Alan Modra <amodra@bigpond.net.au>
503
504 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
505 of bfd_section_list_remove and bfd_section_list_insert macros.
506 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
507 * emultempl/mmo.em (mmo_place_orphan): Likewise.
508
8a8b2d4b
AJ
5092002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
510
511 * configure.tgt (x86_64-*-netbsd*): New target.
512
9a4c7f16
TR
5132001-12-21 Tom Rix <trix@redhat.com>
514
8a8b2d4b 515 (gld*_create_output_section_statements): New function.
9a4c7f16
TR
516 For -binitfini support.
517 * emultempl/aix.em (gld*_before_parse): Fix comment.
518 * emultempl/aix.em (gld*_parse_args): Fix comment.
519
3695c299
AM
5202001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
521
cf86e6df
AM
522 * configure.tgt (mips*-dec-netbsd*): Delete alias for
523 mips*el-*-netbsd*.
524 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
525
3695c299
AM
526 * configure.tgt (arm-*-netbsdelf*): Add target.
527 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
528 * emulparams/armelf_nbsd.sh: Added.
529 * Makefile.am: Add rules for earmelf_nbsd.
530 * Makefile.in: Regenerate.
531
97cb79ae
AJ
5322001-12-19 Andreas Jaeger <aj@suse.de>,
533 Susanne Oberhauser <froh@suse.de>
534
535 * configure.host: Add rules for x86_64-*linux-gnu. Change
536 s390x-linux entry to use gcc to report configuration, replace gcc
537 with $CC in s390-linux
538
9d201f2f
AJ
5392001-12-19 Andreas Jaeger <aj@suse.de>
540
541 * ld.texinfo (VERSION): Fix markup.
542
0b69cd08
MG
5432001-12-18 matthew green <mrg@eterna.com.au>
544
545 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
546 (m68kelfnbsd.c): New rule.
547 * Makefile.in: Regenerate.
548 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
549 (m68*-*-netbsd*4k*): .. this.
550 (m68*-*-netbsdelf*): New target.
551 (m68*-*-netbsd*): Also include ELF support.
552 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
553 * emulparams/m68kelfnbsd.sh: New emulation.
554
6b9b879a
JJ
5552001-12-18 Jakub Jelinek <jakub@redhat.com>
556
557 * ldgram.y (vers_node): Support anonymous version tags.
558 * ldlang.c (lang_register_vers_node): Ensure anonymous version
559 tag is not defined together with non-anonymous versions.
560 * ld.texinfo: Document it.
561
9fc877ed
NC
5622001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
563
564 * po/tr.po: New file: Turkish translation.
565 * configure.in (ALL_LINGUAS): Add tr.
566 * configure: Regenerate.
567
fc18a3f3
RH
5682001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
569
570 * Makefile.am: Add rules for eelf64alpha_nbsd.
571 * Makefile.in: Regenerate.
572 * configure.tgt (alpha*-*-netbsd*): Set
573 targ_emul to elf64alpha_nbsd.
574 * emulparams/elf64alpha_nbsd.sh: Added.
575
76f63e91
AM
5762001-12-17 Alan Modra <amodra@bigpond.net.au>
577
578 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
579 section_tail when fiddling with section list.
580 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
581 broken into separate strings to make translation easier.
582 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
583 fiddling with section list.
584 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
585
d03b89bd
HPN
5862001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
587
588 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
589
320fec9a
AM
5902001-12-15 Alan Modra <amodra@bigpond.net.au>
591
592 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
593
65765700
JJ
5942001-12-13 Jakub Jelinek <jakub@redhat.com>
595
596 * emultempl/elf32.em (finish): Supply output_bfd
597 to bfd_elf*_discard_info.
598 (OPTION_EH_FRAME_HDR): Define.
599 (longopts): Add --eh-frame-hdr.
600 (parse_args): Handle it.
601 (list_options): Add --eh-frame-hdr to help.
602 * emultempl/hppaelf.em (finish): Supply output_bfd
603 to bfd_elf*_discard_info.
604 * scripttempl/elf.sc (.eh_frame_hdr): Add.
605
89894c62
AM
6062001-12-13 Alan Modra <amodra@bigpond.net.au>
607
608 * lexsup.c (parse_args): Don't pass shortopts to second call to
609 getopt functions. Restore optind rather than decrementing before
610 second call. Remove errind as it now duplicates last_optind.
611
583f1926
CF
6122001-12-11 Christopher Faylor <cgf@redhat.com>
613
614 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
615
93fbbb04
GK
6162001-12-07 Geoffrey Keating <geoffk@redhat.com>
617 Richard Henderson <rth@redhat.com>
618
619 * Makefile.am: Add support for xstormy16.
620 * configure.tgt: Add support for xstormy16.
621 * Makefile.in: Regenerate.
622 * emulparams/elf32xstormy16.sh: New file.
623 * scripttempl/xstormy16.sc: New file.
624
583f1926
CF
6252001-10-01 Christopher Faylor <cgf@cygnus.com>
626
fc18a3f3
RH
627 * Makefile.in (LIB_PATH): Make configurable.
628 (GENSCRIPTS): Set LIB_PATH in environment.
629 * configure.in: Substitute LIB_PATH.
630 * configure: Regenerate.
631 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
632 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
583f1926 633
ff291a48
NC
6342001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
635
636 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
637 describing the -N option so that it is easier to translate into
638 foreign languages.
639
e3c8793a
NC
6402001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
641
642 * emultempl/pe.em (..._list_options): Replace multiple fprintf
643 statements describing a single option with a single, newline
644 escaped fprintf. This allows better translation into other
645 languages.
9d201f2f 646
fc18a3f3
RH
647 * ldmain.c (add_archive_element): Combine multiple strings
648 into a single string to permit better translation into other
649 languages.
e3c8793a 650
f2eab0af
TR
6512001-12-05 Tom Rix <trix@redhat.com>
652
653 * Makefile.am: Remove eaixppc64.
9d201f2f 654 * Makefile.in: Regenerate.
f2eab0af 655
249172c3
TR
6562001-12-04 Tom Rix <trix@redhat.com>
657
9d201f2f 658 * emultempl/aix.em (choose_target): Change default target to
249172c3
TR
659 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
660 warning.
661 (gld*_read_file): Fix typo.
662 (change_symbol_mode): Add prototype.
663 (is_syscall): Same.
9d201f2f 664
249172c3
TR
665 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
666 * emulparams/aixrs6.sh : Same.
667 * emulparams/ppcmacos.sh : Same.
668 * emulparams/aixppc64.sh : Delete file.
669 * emultempl/aix.em : Formatting changes.
670
5b5cd1b0
HPN
6712001-12-04 Hans-Peter Nilsson <hp@axis.com>
672
673 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
674 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
675 __Sbss.
676 (OTHER_END_SYMBOLS): Fix formatting.
677 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
678 (OTHER_END_SYMBOLS): Fix formatting.
679
7cecdbff
AM
6802001-12-04 Alan Modra <amodra@bigpond.net.au>
681
682 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
683
742aeb63 6842001-12-02 Tom Rix <trix@redhat.com>
7cecdbff 685
742aeb63 686 * configure.tgt : Remove eaixppc64 emulations.
7cecdbff 687 * Makefile.in : Remove eaixppc64.c
742aeb63
TR
688 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
689 (ldemul_default_target): Same.
690 * emultempl/gld960.em (gld960_choose_target): Same.
7cecdbff
AM
691 * emultempl/gld960c.em (gld960_choose_target): Same.
692 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
742aeb63
TR
693 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
694 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
695 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
7cecdbff 696 * emultempl/aix.em (choose_target): New function. Handle emulation of
742aeb63
TR
697 -b32 and -b64.
698
48459341
L
6992001-11-27 H.J. Lu <hjl@gnu.org>
700
701 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
702 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
703 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
704 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
705 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
706 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
707 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
708 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
709
7cecdbff 710 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
48459341
L
711 is not empty.
712 (SDATA): Likewise.
713 (REL_SDATA): Likewise.
714 (REL_SBSS): Likewise.
715 (REL_SDATA2): Likewise.
716 (REL_SBSS2): Likewise.
717 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
718 (SDATA2): Likewise.
719
ecfdd20c
SC
7202001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
721
722 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
723 destructor in rom.
7cecdbff 724 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
ecfdd20c 725
da54c6eb
L
7262001-11-22 H.J. Lu <hjl@gnu.org>
727
728 * Makefile.in: Regenerated with automake based on automake
729 1.4-8 in RedHat 7.1.
730
465bc359
AM
7312001-11-22 Alan Modra <amodra@bigpond.net.au>
732
733 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
734 (config.status): Delete rule.
735 Add extra dependencies to cover sourced emulparams files.
736 * Makefile.in: Regenerate.
737
738 * scripttempl/elf.sc: Order <section>, <section>.* and
739 corresponding linkonce sections as seen in input files.
740 Formatting fixes. Zero vma of all sections if not relocating.
741 (STACK): Define and insert if STACK_ADDR defined.
742 (OTHER_RELOCATING_SECTIONS): Delete.
743 (OTHER_END_SYMBOLS): Define.
744 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
745 (OTHER_READWRITE_SECTIONS): Likewise.
746 (OTHER_GOT_SECTIONS): Likewise.
747 (OTHER_SDATA_SECTIONS): Likewise.
748 (OTHER_BSS_SECTIONS): Likewise.
749 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
750 (OTHER_READWRITE_SECTIONS): Likewise.
751 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
752 (OTHER_READWRITE_SECTIONS): Likewise
753
754 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
755 (STACK_ADDR): Define.
756 * emulparams/armelf_oabi.sh: As for armelf.sh.
757 * emulparams/elf32mcore.sh: As for armelf.sh.
758 * emulparams/h8300elf.sh: As for armelf.sh.
759 * emulparams/mn10200.sh: As for armelf.sh.
760 * emulparams/shelf.sh: As for armelf.sh.
761
762 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
763 (OTHER_END_SYMBOLS): Define.
764 * emulparams/m32relf.sh: As for elf32fr30.sh.
765 * emulparams/h8300helf.sh: As for elf32fr30.sh.
766 * emulparams/h8300self.sh: As for elf32fr30.sh.
767
768 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
769 defines with RELOCATING test.
770 (OTHER_SDATA_SECTIONS): Likewise.
771 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
772 (OTHER_END_SYMBOLS): ..this.
773 * emulparams/crislinux.sh: As for criself.sh.
774
775 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
776 if not relocating.
777 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
778 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
779 normal and linkonce sections as seen in input files.
780 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
781 (TEXT_DYNAMIC): Likewise.
782 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
783 (OTHER_SDATA_SECTIONS): Likewise.
784 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
785 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
786 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
787 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
788 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
789 (OTHER_PLT_RELOC_SECTIONS): Likewise.
790 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
791 sections as seen in input files.
792 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
793 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
794 if not relocating.
795 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
796 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
797 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
798 (OTHER_SECTIONS): Instead, use this..
799 (OTHER_END_SYMBOLS): ..and this.
800
801 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
802 * emulparams/elf32bsmip.sh: Likewise.
803 * emulparams/elf32btsmip.sh: Likewise.
804 * emulparams/elf32ebmip.sh: Likewise.
805 * emulparams/elf32lmip.sh: Likewise.
806 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
807 * emulparams/elf32lsmip.sh: Likewise.
808 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
809 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
810 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
811 * emulparams/elf64btsmip.sh: Likewise.
812 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
813 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
814 * emulparams/elf32ppclinux.sh: Likewise.
815 * emulparams/elf32ppcsim.sh: Likewise.
816 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
817 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
818 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
819 * emulparams/h8300self.sh: Likewise.
820 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
821 * emulparams/sh.sh: Comment.
822 * emulparams/shl.sh: Source sh.sh, remove duplicates.
823 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
824 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
825
abc6ab0a
AM
8262001-11-21 David Heine <dlheine@tensilica.com>
827 Alan Modra <amodra@bigpond.net.au>
828
829 * ldlang.c (map_input_to_output_sections): Replace "break"
830 accidentally removed with 2001-08-03 change.
831 (lang_gc_sections_1): Likewise.
832
2181f54f
AM
8332001-11-21 Alan Modra <amodra@bigpond.net.au>
834
835 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
836
ca0b5847
AM
8372001-11-20 Angela Marie Thomas <angela@redhat.com>
838
839 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
2181f54f
AM
840 of false when calling lang_size_sections.
841 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
ca0b5847 842
c56feb2b
AM
8432001-11-15 Alan Modra <amodra@bigpond.net.au>
844
845 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
846 function when LDEMUL_FINISH isn't set to the same name. Don't
847 call ${LDEMUL_FINISH}.
848 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
849 * emultempl/armelf.em (arm_elf_finish): Call
850 gld${EMULATION_NAME}_finish.
851 * emultempl/hppaelf.em (hppaelf_finish): Rename to
852 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
853 hppaelf_layout_sections_again if necessary.
854 (need_laying_out): New var.
855 (hppaelf_layaout_sections_again): Rename to
856 hppaelf_layout_sections_again. Clear need_laying_out.
857 (PARSE_AND_LIST_OPTIONS): Format text.
858
a48ca7f2
L
8592001-11-14 H.J. Lu <hjl@gnu.org>
860
861 * emultempl/armelf.em (arm_elf_finish): Renamed from
862 gld${EMULATION_NAME}_finish.
863 (LDEMUL_FINISH): Set to arm_elf_finish.
864
73d074b4
DJ
8652001-11-14 Daniel Jacobowitz <drow@mvista.com>
866
867 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
868 (struct ld_emulation_xfer_struct): Use it.
869
3b16e843 8702001-11-13 Ross Alexander <ross.alexander@uk.neceur.com>
fc65c602 871
465bc359 872 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
fc65c602
JL
873 additional symbols referenced by newer crt0.o files from HP.
874
f11b7027
NC
8752001-11-12 Anthony Green <green@redhat.com>
876
877 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
878
3bf2994f
AM
8792001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
880
881 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
882 * Makefile.in: Regenerate.
883
ff5dcc92
SC
8842001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
885
886 * ld.texinfo: Use @command for commands, @option for options.
887 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
888 the page man title.
889 * Makefile.in: Rebuild.
890
9fb9af6e
CD
8912001-11-04 Chris Demetriou <cgd@broadcom.com>
892
893 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
894 Add support for targets.
2181f54f 895
3c62831e
NC
8962001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
897
898 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
899 * configure: Regernate.
900 * po/fr.po: New file.
901 * po/sv.po: New file.
902
3a9091c4
NC
9032001-11-01 NIIBE Yutaka <gniibe@m17n.org>
904
905 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
906 as little endian default and to support big endian.
2181f54f 907
361b220e
CD
9082001-11-01 Chris Demetriou <cgd@broadcom.com>
909
910 * ld.texinfo (Options): Document new option, -nostdlib.
911 * lexsup.c (OPTION_NOSTDLIB): New definition.
912 (ld_options): Add entry for "nostdlib".
913 (parse_args): Handle OPTIONS_NOSTDLIB.
914 * ldfile.c (ldfile_add_library_path): Don't add directories
915 to the search path if they weren't specified on the command line
916 and -nostdlib was specified.
917 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
918
210a7bd1
NC
9192001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
920
921 * lexsup.c (parse_args): Prevent infinite parsing loop when
922 "-rpath.a" is specified on the command line.
923 Replace calls to fprintf with calls to einfo.
924
114283d8
NC
9252001-10-31 John Marshall <jmarshall@acm.org>
926
927 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
928 appear only once across all the linker scripts involved in a link
929 invocation no longer applies. Make the documentation reflect
930 that.
931
7649aa50
NC
9322001-10-31 NIIBE Yutaka <gniibe@m17n.org>
933
934 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
935 targets.
936 (sh-*-linux*): Added targ_extra_libpath.
937
6e814ff8
AM
9382001-10-31 David Heine <dlheine@tensilica.com>
939
940 * ldlang.c (lang_size_sections): Keep a valid output_offset field
941 for padding statements.
942
3c3bdf30
NC
9432001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
944
945 * configure.tgt (mmix-*-*): New target.
946 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
947 Add dependencies to match.
948 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
949 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
950 scripttempl/mmo.sc: New files.
951 * gen-doc.texi: @set MMIX.
952 * ld.texinfo: Ditto.
6e814ff8 953 [MMIX] Add MMIX node.
3c3bdf30
NC
954 * Makefile.in: Regenerate.
955
ca0c1d3e
KH
9562001-10-29 Kazu Hirata <kazu@hxi.com>
957
958 * ldlang.c: Fix a comment typo.
959
1a3d33ce
AM
9602001-10-23 Alan Modra <amodra@bigpond.net.au>
961
962 * configure.host: Move alpha*-*-linux-gnu* entry to generic
963 entries, and match *-*-linux*.
964
b47c4208
AM
9652001-10-20 Alan Modra <amodra@bigpond.net.au>
966
967 * ldgram.y (mri_script_command): Surround processing of INCLUDE
968 with ldlex_script, ldlex_popstate.
969 (ifile_p1): Likewise.
970 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
971 correct slot.
972 (lex_push_file): Save current lineno to lineno_stack. Set lineno
973 to 1. Don't BEGIN(SCRIPT).
974 (lex_redirect): Similarly.
975 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
976
fd521b47
NC
9772001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
978
979 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
980 __EH_FRAME_END__ and accept eh frames into data section.
981 Add ctor and dtor sections.
982
59d28a94
DD
9832001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
984
985 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
986 (auto-export): Fix indentation.
987
663dd378
DD
9882001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
989
990 * pe-dll.c (autofilter_objectlist): Add startup objects
991 for profiling.
992 (auto-export): Constify char * p.
6e814ff8 993 Extract file basename and use strcmp rather than ststr
663dd378
DD
994 for object lookup.
995
31d677f9
CD
9962001-10-18 Chris Demetriou <cgd@broadcom.com>
997
998 * ldmain.c (get_emulation): Improve comment about the handling
999 of -mipsN options.
1000
aa200fe8
AM
10012001-10-17 Alan Modra <amodra@bigpond.net.au>
1002
1003 * po/POTFILES.in: Regenerate.
1004
146e7110
AM
10052001-10-16 Vassili Karpov <malc@pulsesoft.com>
1006
1007 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
1008 -z nocopyreloc and -z nocombreloc usage strings.
1009
b4330e85
NC
10102001-10-12 Vassili Karpov <malc@pulsesoft.com>
1011
146e7110 1012 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
b4330e85
NC
1013 in usage.
1014
5af8a2fb
NC
10152001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
1016
1017 * scripttempl/armaout.sc: Place .bss section after end of aligned
1018 data section to match behaviour of aout code in constructrion of
1019 header.
1020
5b784096
DD
10212001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1022
1023 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
1024 startup files for mingw32 dlls to list.
1025
61585df2
CD
10262001-10-10 Chris Demetriou <cgd@broadcom.com>
1027
1028 * emultempl/elf32.em: Fix shell 'if' usage for portability.
1029
45cf6f3e
AH
10302001-10-08 Aldy Hernandez <aldyh@redhat.com>
1031
1032 * configure.tgt (targ): Add arm9e-*-elf.
1033
e24d7c12
L
10342001-10-05 H.J. Lu <hjl@gnu.org>
1035
1036 * genscripts.sh: Fix a typo in the last change.
1037
ec38dd05
JJ
10382001-10-05 Jakub Jelinek <jakub@redhat.com>
1039
1040 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
1041 -z nocombreloc in usage.
1042
cedd6b0d
JB
10432001-10-03 Jim Blandy <jimb@redhat.com>
1044
1045 * genscripts.sh: Include a comment at the top of each generated
1046 script, explaining its purpose.
1047
8bd621d8
AM
10482001-10-03 Vassili Karpov <malc@pulsesoft.com>
1049
1050 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
1051 * NEWS: Mention -z nocopyreloc.
1052 * ld.texinfo (Options): Describe nocopyreloc.
1053
fcd8210c
AM
10542001-10-03 Alan Modra <amodra@bigpond.net.au>
1055
1056 * configure: Regenerate.
1057
d32820f2
AM
10582001-10-02 Alan Modra <amodra@bigpond.net.au>
1059
1060 * ldver.h (ld_program_version): Remove declaration.
1061 * lexsup.c (parse_args): Move printing of copyright message..
1062 * ldver.c (ldversion): .. to here.
1063 Use BFD_VERSION_STRING in place of BFD_VERSION.
1064 (ld_program_version): Remove.
1065 * Makefile.am (Makefile): Depend on bfd/configure.in.
1066 Run "make dep-am".
1067 * Makefile.in: Regenerate.
1068
af46bcdc
HPN
10692001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1070
1071 * Makefile.am: Update dependencies with "make dep-am".
1072 * Makefile.in: Regenerate.
1073
4818e05f 10742001-09-29 John Reiser <jreiser@BitWagon.com>
862517b6 1075
4818e05f
AM
1076 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
1077 * lexsup.c: Add --no-define-common commandline option.
1078 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
1079 * ldlex.l: Likewise.
1080 * ld.h: Add command_line.inhibit_common_definition.
1081 * ldmain.c (main): Initialize.
1082 * ld.texinfo: Document.
862517b6 1083
d5e0ebeb
AM
10842001-09-26 Alan Modra <amodra@bigpond.net.au>
1085
1086 * ldmisc.c (USE_STDARG): Remove.
1087 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
1088 (einfo): Likewise.
1089 (minfo): Likewise.
1090 (lfinfo): Likewise.
1091
1092 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
1093 declarations. Update copyright.
1094
2f8d8971
NC
10952001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
1096
85c77458
NC
1097 * pe-dll.c: Remove obsoleted declaration of
1098 pe_get_data_import_dll_name.
1099 (pe_create_import_fixup): Fix thinko.
1100
2f8d8971
NC
1101 * ld.texinfo(enable-auto-import): Clarify the explanation.
1102
11032001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
1104
1105 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
1106 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
1107 DLL_SUPPORT controlled code.
1108
72358f65 11092001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
146e7110 1110
72358f65
NC
1111 * emultempl/pe.em(pe_data_import_dll): Make static.
1112 (pe_get_data_import_dll_name): New accessor function.
146e7110 1113 * pe-dll.c(pe_create_import_fixup): call
72358f65
NC
1114 pe_get_data_import_dll_name() from pe.em, instead of
1115 directly accessing pe_data_import_dll variable from pe.em.
1116
3882b010
L
11172001-09-18 Bruno Haible <haible@clisp.cons.org>
1118
1119 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
1120 (def_file_add_directive): Use ISSPACE instead of isspace.
1121 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
1122 isdigit/isxdigit/isalpha/isalnum.
1123 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
1124 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
1125 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
1126 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
1127 isalnum.
1128 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
1129 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
1130 isupper/tolower.
1131 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
1132 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
1133 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
1134 (ctor_prio): Use ISDIGIT instead of isdigit.
1135 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
1136 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
1137 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
1138 isupper/tolower.
1139 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
1140 (stricpy): Use TOLOWER instead of isupper/tolower.
1141 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
1142 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
1143 (lex_warn_invalid): Use ISPRINT instead of isprint.
1144 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
1145 (main): For gettext, also set the LC_CTYPE locate facet.
1146 (add_keepsyms_file): Use ISSPACE instead of isspace.
1147 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
1148 (is_num, parse_args): Use ISDIGIT instead of isdigit.
1149 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
1150 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
1151 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
1152 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
1153 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
1154 (quoteput): Use ISSPACE instead of isspace.
1155 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
1156 instead of isalnum.
1157
db09f25b
AM
11582001-09-18 Alan Modra <amodra@bigpond.net.au>
1159
1160 * deffilep.y (def_stash_module): Constify "name" param.
1161
1162 * pe-dll.c: Replace CONST with const throughout.
1163 (quick_symbol): Constify "n1", "n2", "n3" params.
1164 (make_singleton_name_thunk): Constify "import" param. Make
1165 "buffer_len" a size_t.
1166 (make_import_fixup_entry): Constify "name", "fixup_name",
1167 "dll_symname" params.
1168 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
1169 (pe_get32): Likewise.
1170 (pe_implied_import_dll): Likewise.
1171
1172 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
1173 (sort_by_section_name): Likewise.
1174
1175 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
1176 (make_import_fixup): Cast printf arg, rel->address to long rather
1177 than int.
1178 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
1179
74699268
AM
11802001-09-15 Alan Modra <amodra@bigpond.net.au>
1181
1182 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
1183 defines BufferSize. Increase buffer size by one.
1184
775cabad
NC
11852001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
1186
1187 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
1188
056a1d49
NC
11892001-09-14 Kevin Lo <kevlo@openbsd.org>
1190
1191 * configure.tgt: Add arm-openbsd target.
1192
a7d792bb
L
11932001-09-12 H.J. Lu <hjl@gnu.org>
1194
1195 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
1196 eelf64lppc.o to ...
1197 (ALL_64_EMULATIONS): Here.
1198 * Makefile.in: Regenerated.
1199
0d888aac
CW
12002001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1201
1202 * emultempl/pe.em(make_import_fixup): change signature to
1203 take asection as well as arelec; we need this for proper
146e7110 1204 error reporting. Only call pe_create_import_fixup() if
0d888aac
CW
1205 there is no attempt to add a constant addend to the reloc;
1206 otherwise, report error condition.
1207 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
1208 since final argument is a pointer to make_import_fixup().
1209 Change call to cb() to match make_import_fixup() signature.
1210 (make_import_fixup_mark): make buffer_len unsigned.
1211 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
1212
12132001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
1214
1215 * ld.texinfo: add verbose documentation for auto-import
146e7110 1216 direct-addressing workaround, to compliment the terse
0d888aac
CW
1217 error message.
1218
cedacdc0
CM
12192001-09-12 Andrew MacLeod <amacleod@redhat.com>
1220
146e7110 1221 * scripttempl/v850.sc: Add gcc_except_table sections.
cedacdc0 1222
3b16e843 12232001-09-11 Jeffrey A Law (law@cygnus.com)
38be0bb1
JL
1224
1225 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
1226 * emulparams/h8300self.sh: Similarly.
1227
559e4713
NC
12282001-09-05 Danny Smith <dannysmith@users.souceforge.net>
1229
1230 * ld.texinfo (Options, --stack): Correct default value for stack
1231 reserve.
1232
1fdf0249
TR
12332001-09-05 Tom Rix <trix@redhat.com>
1234
1235 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
146e7110 1236
9b5799b8
AJ
12372001-09-03 Andreas Jaeger <aj@suse.de>
1238
1239 * emultempl/beos.em: Declare prototypes for comparions functions,
1240 adjust definitions.
1241
48f6162b
AJ
12422001-09-02 Andreas Jaeger <aj@suse.de>
1243
1244 * emultempl/aix.em: Add missing prototype.
1245 * emultempl/lnk960.em: Likewise.
1246 * emultempl/vanilla.em: Likewise.
1247 * emultempl/armcoff.em: Likewise.
1248 * emultempl/armelf_oabi.em: Likewise.
1249 * emultempl/beos.em: Likewise.
1250 * emultempl/gld960c.em: Likewise.
1251 * emultempl/gld960.em: Likewise.
1252
1253 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
1254 for prototype declaration.
1255
39e5585e
EC
12562001-08-31 Eric Christopher <echristo@redhat.com>
1257 Jason Eckhardt <jle@redhat.com>
1258
1259 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
1260
3fc90ddb
AJ
12612001-08-31 Andreas Jaeger <aj@suse.de>
1262
1263 * emultempl/pe.em: Add missing prototypes.
1264 (gld_${EMULATION_NAME}_after_open): Remove extra args to
1265 pe_find_data_imports.
1266 (pr_sym): Add unused attribute.
1267
d43ded80
PB
12682001-08-29 Joel Sherrill <joel@OARcorp.com>
1269
39e5585e 1270 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
d43ded80
PB
1271 default from coff to elf.
1272
3946dd2f
JL
12732001-08-29 Jeff Law <law@redhat.com>
1274
1275 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
1276 ARCH specification.
1277 * emulparams/h8300self.sh: Similarly.
1278
3b16e843 12792001-08-28 J"orn Rennecke <amylaar@redhat.com>
8af6dd41
JR
1280
1281 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
1282 eh8300self.o .
1283 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
1284 * configure.tgt (h8300-*-elf*): New case.
1285 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
1286 * emulparams/h8300self.sh: New file.
1287 * Makefile.in: Regenerated.
1288
70d0c6e9
NC
12892001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
1290
1291 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
1292 with macro name.
1293
5c67d4bb
AM
12942001-08-27 Linus Nordberg <linus@swox.com>
1295 Alan Modra <amodra@bigpond.net.au>
1296
1297 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
1298 (eelf64ppc.c, eelf64lppc.c): Add make targets.
1299 Run "make dep-am"
1300 * Makefile.in: Regenerate.
1301 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
1302 entries to correct alphabetical position.
1303 * emulparams/elf64ppc.sh: New.
1304 * emulparams/elf64lppc.sh: New.
1305
08131015
NC
13062001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
1307
1308 * ldmain.c (main): Declare BSIZE as static.
1309
db6751f2
JJ
13102001-08-23 Jakub Jelinek <jakub@redhat.com>
1311
1312 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
1313 into .rel.dyn resp. .rela.dyn if combreloc.
1314 (get_script): If .x linker script is equal to .xn, only put it
1315 once into the binary.
1316 Add .xc and .xsc scripts.
1317 (parse_args): Handle -z combreloc and -z nocombreloc.
1318 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
1319 For .xc and .xsc scripts put all .rel* or .rela* input sections
1320 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
1321 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
1322 is elf.
1323 Strip trailing whitespace from script.
1324 Generate .xc and .xsc scripts if requested.
1325 * ldmain.c (main): Initialize link_info.combreloc and
1326 link_info.spare_dynamic_tags.
1327 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
1328 (ld_options): Add --spare-dynamic-tags option.
1329 (parse_args): Likewise.
1330 * ld.texinfo: Document -z combreloc and -z nocombreloc.
1331 * ldint.texinfo: Document .xc and .xsc linker scripts.
1332 * NEWS: Add notes about -z combreloc and SHF_MERGE.
1333
63d069c0
L
13342001-08-22 H.J. Lu <hjl@gnu.org>
1335
1336 * emulparams/elf32fr30.sh: Add a newline.
1337
948f9114
AJ
13382001-08-21 Andreas Jaeger <aj@suse.de>
1339
1340 * deffilep.y: Add missing prototypes.
1341 * pe-dll.c: Likewise.
1342
ae7fb08f
AM
13432001-08-20 Alan Modra <amodra@bigpond.net.au>
1344
2af02257
AM
1345 * ldlang.c (insert_pad): Fix typos in last patch.
1346
1347 * ldlang.c: When traversing lang_statement_union_type lists,
1348 consistently use "header.next" rather than "next".
1349 * mpw-eppcmac.c: Likewise.
1350 * emultempl/beos.em: Likewise.
1351 * emultempl/hppaelf.em: Likewise.
1352 * emultempl/pe.em: Likewise.
1353 * ldlang.h (union lang_statement_union): Remove "next" field.
1354
c0c330a7
AM
1355 * ldlang.c (insert_pad): Use offsetof macro.
1356 (lang_size_sections): Always neuter padding statements.
1357 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
1358
ae7fb08f
AM
1359 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
1360 passed to lang_size_sections.
1361 (pe_exe_fill_sections): Likewise.
1362 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
1363 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
1364
fab80407
AM
13652001-08-18 Alan Modra <amodra@bigpond.net.au>
1366
1367 * emultempl/aix.em: Formatting fixes.
1368
b3327aad
AM
13692001-08-18 Alan Modra <amodra@bigpond.net.au>
1370
1371 * ldlang.c (insert_pad): Make use of an existing pad statement if
1372 available. Move code calculating alignment, adjusting section
1373 alignment power, and adjusting dot to ..
1374 (size_input_section): .. here. Remove unused relax param.
1375 (lang_size_sections): Change boolean `relax' param to boolean *.
1376 Adjust call to size_input_section. Make use of insert_pad to
1377 place pad after the assignment statement. If relaxing, zap
1378 padding statements.
1379 (reset_memory_regions): Reset output_bfd section sizes too.
1380 (relax_again): Move to..
1381 (lang_process): ..here. Adjust call to lang_size_sections, and
1382 remove duplicated code.
1383 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
1384
563e308f
AM
13852001-08-17 Alan Modra <amodra@bigpond.net.au>
1386
1387 * ld.texinfo: Document that fill values now use the four least
1388 significant bytes.
1389 * emulparams/elf32fr30.sh (NOP): Update.
1390 * emulparams/elf32mcore.sh: Likewise.
1391 * emulparams/elf64_s390.sh: Likewise.
1392 * emulparams/elf_i386.sh: Likewise.
1393 * emulparams/elf_i386_be.sh: Likewise.
1394 * emulparams/elf_i386_chaos.sh: Likewise.
1395 * emulparams/elf_i386_ldso.sh: Likewise.
1396 * emulparams/elf_s390.sh: Likewise.
1397 * emulparams/elf_x86_64.sh: Likewise.
1398 * emulparams/i386moss.sh: Likewise.
1399 * emulparams/i386nw.sh: Likewise.
1400 * emulparams/m68kelf.sh: Likewise.
1401 * scripttempl/elf.sc: Update NOP comment.
1402 * scripttempl/elfi370.sc: Likewise.
1403 * scripttempl/elfm68hc11.sc: Likewise.
1404 * scripttempl/elfm68hc12.sc: Likewise.
1405 * scripttempl/nw.sc: Likewise.
1406
b90e1c6f
TR
14072001-08-15 Tom Rix <trix@redhat.com>
1408
1409 * ldgram.y (saved_script_handle): Initialize to NULL.
1410 * ldmain.c (main): Change check on saved_script_handle.
948f9114 1411
39dcfe18
AM
14122001-08-14 Alan Modra <amodra@bigpond.net.au>
1413
cde43e70
AM
1414 * emultempl/elf32.em: Formatting fixes.
1415 (output_prev_sec_find): Test for bfd_ind_section too; do so by
1416 looking at sec->owner.
1417 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
1418 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
1419 unused code, and reorganize orphan section placement code.
1420
39dcfe18
AM
1421 * ldlang.c (wild_doit): Rename to lang_add_section.
1422 * ldlang.h: Here too.
1423 * mpw-elfmips.c: And here.
1424 * emultempl/beos.em: And here.
1425 * emultempl/elf32.em: And here.
1426 * emultempl/hppaelf.em: And here.
1427 * emultempl/pe.em: And here.
1428
908d20b3
RH
14292001-08-13 Richard Henderson <rth@redhat.com>
1430
1431 * emultempl/needrelax.em: New file.
1432 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
1433 * Makefile.am (eelf64_ia64.c): Depend on it.
1434 * Makefile.in: Rebuild.
1435
0f33d40b
AM
14362001-08-13 Alan Modra <amodra@bigpond.net.au>
1437
22af9fd3
AM
1438 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
1439 output_section is set non-NULL.
1440
0f33d40b
AM
1441 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
1442 `true' for SEC_EXCLUDE sections so that the generic code doesn't
1443 needlessly create an output_section_statement. Treat a correctly
1444 named output_section_statement with NULL bfd_section as compatible.
1445
55ab6103
HPN
14462001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
1447
1448 * emultempl/generic.em: Support EXTRA_EM_FILE.
1449 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
1450 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
1451 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
1452 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
1453 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
1454 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
1455 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
1456 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
1457 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
1458 LDEMUL_FIND_POTENTIAL_LIBRARIES.
1459
24098abb
RH
14602001-08-12 Richard Henderson <rth@redhat.com>
1461
1462 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
1463 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
1464 scripttempl/v850.sc: Keep .jcr data.
1465
b9a8de1e 14662001-08-12 H.J. Lu <hjl@gnu.org>
146e7110
AM
1467 Andrew Haley <aph@cambridge.redhat.com>
1468 Nick Clifton <nickc@redhat.com>
b9a8de1e 1469
146e7110 1470 * ldgram.y (had_script): Change name to saved_script_handle.
b9a8de1e
NC
1471 Change type to file handle.
1472 * ld.h (had_script): Rename and retype.
1473 * ldfile.c (ldfile_open_command_file): Save the file handle
1474 used in saved_script_handle.
1475 * lexsup.c (parse_args): Do not allow -c option to alter
1476 saved_script_handle.
1477 * ldmain.c (main): Print out the linker script used if
1478 --verbose is given. Check saved_script_handle to obtain the
1479 external linker script used, or if NULL, dump the builtin
1480 script.
1481 * ld.texinfo: Document that --verbose now dumps the linker
1482 script used, regardless of whether it was an internal or an
1483 external script.
1484
0218d1e4
AJ
14852001-08-10 Andreas Jaeger <aj@suse.de>
1486
1487 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1488 to build warnings.
1489 * configure: Regenerate.
1490
5253f23b
AM
14912001-08-09 Alan Modra <amodra@bigpond.net.au>
1492
73810896
AM
1493 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
1494
5253f23b
AM
1495 * scripttempl/elf.sc: Move non-text .dynamic section before
1496 .plt/.got/.sdata* group.
1497 (OTHER_GOT_SECTIONS): Move to immediately after .got.
1498 (OTHER_SDATA_SECTIONS): Add.
1499 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
1500 OTHER_GOT_SECTIONS.
1501 * emulparams/crislinux.sh: Likewise.
1502 * emulparams/elf32b4300.sh: Likewise.
1503 * emulparams/elf32bmip.sh: Likewise.
1504 * emulparams/elf32bmipn32.sh: Likewise.
1505 * emulparams/elf32bsmip.sh: Likewise.
1506 * emulparams/elf32btsmip.sh: Likewise.
1507 * emulparams/elf32ebmip.sh: Likewise.
1508 * emulparams/elf32elmip.sh: Likewise.
1509 * emulparams/elf32l4300.sh: Likewise.
1510 * emulparams/elf32lmip.sh: Likewise.
1511 * emulparams/elf32lsmip.sh: Likewise.
1512 * emulparams/elf32ltsmip.sh: Likewise.
1513 * emulparams/elf64bmip.sh: Likewise.
1514 * emulparams/elf64btsmip.sh: Likewise.
1515 * emulparams/elf64ltsmip.sh: Likewise.
1516
179c732c
AM
15172001-08-08 Alan Modra <amodra@bigpond.net.au>
1518
1519 * genscripts.sh: Source the emulparams script before each output
1520 script is generated so that variables like `RELOCATING' may affect
1521 variables defined in the emulparams script.
1522
3fd36710
AM
15232001-08-04 Alan Modra <amodra@bigpond.net.au>
1524
20713691
AM
1525 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
1526 order.
1527
3fd36710
AM
1528 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
1529 ie. iterate over wild_statement.section_list.
1530 (gld${EMULATION_NAME}_place_orphan): Likewise.
1531
de0b1853
SC
15322001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1533
1534 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
1535 .fini[0-4] sections used by _exit
1536 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
1537 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
1538 * scripttempl/elfm68hc11.sc: Likewise.
1539
ff7e6f88
L
15402001-08-03 H.J. Lu <hjl@gnu.org>
1541
1542 * emultempl/beos.em (init): Add the missing initialization.
1543
b6bf44ba
AM
15442001-08-03 Alan Modra <amodra@bigpond.net.au>
1545
1546 * ld.texinfo (Input Section Basics): Clarify ordering of output
1547 sections.
1548 * ldlang.c (callback_t): Add wildcard_list param.
1549 (walk_wild_section): Remove "section" param. Rewrite for
1550 lang_wild_statement_type change. Remove unique_section_p test.
1551 (walk_wild_file): Remove "section" param.
1552 (walk_wild): Remove "section" and "file" params.
1553 (lang_gc_wild): Likewise.
1554 (wild): Likewise. Modify for lang_wild_statement_type change.
1555 (wild_sort): Likewise. Add "sec" param.
1556 (gc_section_callback): Likewise.
1557 (output_section_callback): Likewise. Do unique_section_p test.
1558 (map_input_to_output_sections): Modify call to wild.
1559 (lang_gc_sections_1): Likewise.
1560 (print_wild_statement): Modify for lang_wild_statement_type
1561 change.
1562 (lang_add_wild): Replace filename, filenames_sorted param with
1563 filespec. Replace section_name, sections_sorted,
1564 exclude_filename_list with section_list.
1565 * ldlang.h (lang_add_wild): Here too.
1566 (lang_wild_statement_type): Replace section_name, sections_sorted,
1567 and exclude_filename_list with section_list.
1568 * ldgram.y (current_file): Delete.
1569 (%union): Add wildcard_list.
1570 (file_NAME_list): Set type to wildcard_list. Build a linked list
1571 rather than calling lang_add_wild for each entry.
1572 (input_section_spec_no_keep): Call lang_add_wild here instead.
1573 * ld.h (struct wildcard_list): Declare.
1574 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
1575
b044cda1
CW
15762001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
1577
1578 * ldmain.c (main): initialize link_info.pei386_auto_import
1579 * pe-dll.c: new tables for auto-export filtering
1580 (auto_export): change API, pass abfd for contextual filtering.
b6bf44ba 1581 Loop thru tables of excluded symbols instead of comparing
b044cda1
CW
1582 "by hand".
1583
15842001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
1585
b6bf44ba
AM
1586 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
1587 static variable current_sec (static struct sec *). Add
b044cda1 1588 forward declaration for add_bfd_to_link.
b6bf44ba
AM
1589 (process_def_file): Don't export undefined symbols. Do not
1590 export symbols starting with "_imp__". Call auto_export()
b044cda1
CW
1591 with new API.
1592 (pe_walk_relocs_of_symbol): New function.
1593 (generate_reloc): add optional extra debugging
b6bf44ba 1594 (pe_dll_generate_def_file): eliminate extraneous initial blank
b044cda1 1595 line in output
b6bf44ba 1596 (make_one): enlarge symtab to make room for __nm__ symbols
b044cda1
CW
1597 (DATA auto-import support).
1598 (make_singleton_name_thunk): New function.
1599 (make_import_fixup_mark): New function.
1600 (make_import_fixup_entry): New function.
1601 (pe_create_import_fixup): New function.
b6bf44ba 1602 (add_bfd_to_link): Specify that 'name' argument is a CONST
b044cda1 1603 char *.
b6bf44ba
AM
1604 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
1605 declare new functions pe_walk_relocs_of_symbol and
b044cda1
CW
1606 pe_create_import_fixup.
1607 * emultempl/pe.em: add new options --enable-auto-import,
1608 --disable-auto-import, and --enable-extra-pe-debug.
1609 (make_import_fixup): New function.
1610 (pe_find_data_imports): New function.
1611 (pr_sym): New function.
b6bf44ba 1612 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
b044cda1
CW
1613 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
1614 CODE.
1615
16162001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
b6bf44ba 1617
b044cda1
CW
1618 * ld.texinfo: add additional documentation for
1619 --export-all-symbols. Document --out-implib,
1620 --enable-auto-image-base, --disable-auto-image-base,
b6bf44ba
AM
1621 --dll-search-prefix, --enable-auto-import, and
1622 --disable-auto-import.
b044cda1
CW
1623 * ldint.texinfo: Add detailed documentation on auto-import
1624 implementation.
1625
156e34dd
NC
16262001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1627
1628 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
1629 example.
1630
d6231427
AM
16312001-07-24 Alan Modra <amodra@bigpond.net.au>
1632
1633 * Makefile.am: Update dependencies with "make dep-am".
1634 * Makefile.in: Regenerate
1635
e14ec88b
AM
16362001-07-23 Alan Modra <amodra@bigpond.net.au>
1637
1638 * ldcref.c (check_section_sym_xref): New function.
1639 (check_nocrossrefs): Call it.
1640 (check_nocrossref): Interate over h->refs here instead of..
1641 (check_refs): ..here. Pass in the symbol name, section, and bfd
1642 rather than hash_entry pointers.
1643 (struct check_refs_info): Keep symbol name rather than hash entry.
1644 Remove "same".
1645 (check_reloc_refs): Tweak for above changes in check_refs_info.
1646 Only report references to section syms when symname is NULL to
1647 prevent duplicate messages for the same reloc.
1648
1b577b00
NC
16492001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1650
c7d701b0
NC
1651 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
1652 available. Do not print NULL trees.
1653 (exp_print_token): Print unknown tokens with values > 126 as
1654 decimal values not ASCII characters.
1655
1545243b
NC
1656 * ldlang.c (lang_leave_overlay): If a region is specified assign
1657 it to all sections inside the overlay unless they have been
1658 assigned to the own, non-default, memory region.
1659
1b577b00
NC
1660 * README: Add header for consistency with other README files.
1661
5030876b
L
16622001-07-14 H.J. Lu <hjl@gnu.org>
1663
1664 * emultempl/elf32.em (output_prev_sec_find): Never return
1665 bfd_abs_section_ptr, bfd_com_section_ptr nor
1666 bfd_und_section_ptr.
1667
18c7a9a5
NC
16682001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
1669
22af9fd3 1670 * Makefile.am (em32relf.c): Change dependency from generic.em to
18c7a9a5
NC
1671 elf32.em.
1672 * Makefile.in: Regenerate.
1673
9ffecff1
MG
16742001-07-14 matthew green <mrg@eterna.com.au>
1675
1676 * configure.tgt (i386-*-netbsdelf*): New target.
1677 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
1678
95500e1c
JJ
16792001-07-13 Jakub Jelinek <jakub@redhat.com>
1680
1681 * emultempl/elf32.em (output_prev_sec_find): New.
1682 (place_orphan): Use it.
1683
e97cb84f
L
16842001-07-11 H.J. Lu <hjl@gnu.org>
1685
1686 * ldmain.c (main): Fix typos in the last change.
1687
7333607e
JJ
16882001-07-11 Jakub Jelinek <jakub@redhat.com>
1689
1690 * ldmain.c (main): Disallow -F and -f without -shared.
1691
d29d80f2
NC
16922001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1693
1694 * emultempl/pe.em (after_open): Check for the output_bfd not
1695 having any coff_data structure allocated to it.
1696
c2a1a436
DB
16972001-07-09 David O'Brien <obrien@FreeBSD.org>
1698
1699 * emultempl/elf32.em: Do not assuming that contents of the buffer
1700 returned from basename function will remain unchanged accross other
1701 function calls.
1702
63653551
L
17032001-07-03 H.J. Lu <hjl@gnu.org>
1704
1705 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
1706 2001-07-03. It creates dynamic entries even for static binaries.
1707
d303a449
L
17082001-07-03 Jakub Jelinek <jakub@redhat.com>
1709
1710 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
1711 (DYNAMIC): Use it to reserve few dynamic entries for
1712 post-linking tools.
1713
9f22353f
AM
17142001-06-27 Alan Modra <amodra@bigpond.net.au>
1715
1716 * emulparams/hppa64linux.sh: New file.
1717 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
1718 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
1719 (ehppa64linux.c): Add rule to make it.
1720 Run "make dep-am".
1721 * Makefile.in: Regenerate.
1722
62bf86b4
HPN
17232001-06-21 Hans-Peter Nilsson <hp@axis.com>
1724
1725 * ld.texinfo (Options, -r): Mention restrictions when using
1726 different object formats.
1727
429d935d
HPN
17282001-06-19 Hans-Peter Nilsson <hp@axis.com>
1729
1730 * ldlang.c (lang_check): Emit fatal error if relocatable link
1731 between different object flavours with relocations in input.
1732
cb840a31
L
17332001-06-19 H.J. Lu <hjl@gnu.org>
1734
1735 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
1736 (--version-script): Mention the language support.
1737
9bf03acc
L
17382001-06-19 H.J. Lu <hjl@gnu.org>
1739
1740 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
1741
c45021f2
NC
17422001-06-18 H.J. Lu <hjl@gnu.org>
1743
b6bf44ba
AM
1744 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
1745 (diststuff): Add $(MANS).
1746 * Makefile.in: Regenerated.
c45021f2 1747
b6bf44ba 1748 * ld.1: Removed.
c45021f2 1749
6caa99ab
HPN
17502001-06-18 Hans-Peter Nilsson <hp@axis.com>
1751
605d9b3a
HPN
1752 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
1753 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
1754 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
1755 * ld.h (args_type): Remove member export_dynamic. All users
1756 changed to use struct bfd_link_info member.
1757
6caa99ab
HPN
1758 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
1759 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
1760 * Makefile.in: Regenerate.
1761
6f9efd97
L
17622001-06-18 H.J. Lu <hjl@gnu.org>
1763
1764 * ldlang.c (init_os): Add the newline to the einfo call.
1765 (lang_check): Likewise.
1766 (lang_do_version_exports_section): Likewise.
1767
5af9fd8b
L
17682001-06-15 H.J. Lu <hjl@gnu.org>
1769
1770 * lexsup.c (parse_args); Save optind to report unrecognized
1771 option.
1772
2a096f04
HPN
17732001-06-15 Hans-Peter Nilsson <hp@axis.com>
1774
7e66c3f5
HPN
1775 * ldlang.c (lang_check): Emit fatal error if relocatable link
1776 between different object flavours.
1777
2a096f04
HPN
1778 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
1779 Set new link_info member export_dynamic.
1780 * ldmain.c (main): Initialize new link_info member export_dynamic.
1781
6770ec8c
NC
17822001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
1783
1784 * ldlang.c (walk_wild): Only call walk_wild_file if
1785 lookup_name returns something.
b6bf44ba 1786 (lookup_name): If load_symbols fails, return NULL.
22af9fd3 1787 (load_symbols): Change to a boolean function.
b6bf44ba 1788 (open_input_bfds): If load_symbols fails then do not make the
6770ec8c
NC
1789 executable.
1790
8529105a
AM
17912001-06-08 Alan Modra <amodra@bigpond.net.au>
1792
1793 * ldlang.c (record_bfd_errors): Remove.
1794
1795 * emultempl/aix.em: Fix copyright dates.
1796
8f3aa7a0
AJ
17972001-06-07 Andreas Jaeger <aj@suse.de>
1798
1799 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
1800 (TEXT_START_ADDR): Likewise.
1801
3277f888
AM
18022001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
1803
1804 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
1805
3763134d
DD
18062001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1807
1808 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
1809
5929ebc0
L
18102001-05-31 H.J. Lu <hjl@gnu.org>
1811
1812 * ldlang.c (open_input_bfds): Don't change the bfd error
1813 handler whilst loading symbols.
1814
c04a062d
NC
18152001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1816
1817 * configure.tgt: Remove i370-mvs architecture, it is not currently
1818 supported.
1819
96fcab3e
L
18202001-05-25 H.J. Lu <hjl@gnu.org>
1821
1822 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
1823 like emulparams/aixppc.sh.
1824
db8d4f23
L
18252001-05-25 H.J. Lu <hjl@gnu.org>
1826
1827 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
1828 setting of output_filename after bfd_scan_arch.
1829 * emultempl/pe.em: Likewise.
1830
5f642101
L
18312001-05-25 H.J. Lu <hjl@gnu.org>
1832
1833 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
1834 like emulparams/aixppc.sh.
1835
1836 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
1837 instead of ${srcdir}/emultempl/stringify.sed.
1838
64e9ece0
TW
18392001-05-25 Timothy Wall <twall@oculustech.com>
1840
1841 * emulparams/elf64_aix.sh: Change settings to match IBM linker
8f3aa7a0 1842 output.
64e9ece0 1843
c709b096
AM
18442001-05-25 Alan Modra <amodra@one.net.au>
1845
1846 * configure.host: Replace linuxoldld with linux*oldld.
1847 * configure.tgt: Likewise.
1848
6cbdcc6f
L
18492001-05-24 H.J. Lu <hjl@gnu.org>
1850
1851 * emultempl/stringify.sed: Removed again.
1852
86af25fe
L
18532001-05-24 H.J. Lu <hjl@gnu.org>
1854
1855 * emultempl/aix.em (OUTPUT_ARCH): Defined.
1856 (gld${EMULATION_NAME}_before_parse): Initialize
1857 ldfile_output_architecture, ldfile_output_machine and
1858 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
1859 * emultempl/beos.em: Likewise.
1860 * emultempl/elf32.em: Likewise.
1861 * emultempl/linux.em: Likewise.
1862 * emultempl/mipsecoff.em: Likewise.
1863 * emultempl/pe.em: Likewise.
1864 * emultempl/sunos.em: Likewise.
1865
3b1b01cf
TR
18662001-05-24 Tom Rix <trix@redhat.com>
1867
8f3aa7a0 1868 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
3b1b01cf
TR
1869 udate import file format.
1870 (change_symbol_mode) New, same
1871 (is_syscall) New, same
1872 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
1873 * emulparams/aixppc64.sh : same
1874 * emulparams/aixrs6.sh : same
1875 * emulparams/ppcmacos.sh : same
1876 * emultempl/aix.em : use strtoull to parse options
1877 * Makefile.am : add eaixppc64 emulation for xcoff64
1878 * Makefile.in : same
1879 * configure.tgt : same
1880
1881 * scripttempl/aix.sc : default text section offset to 0x10000000
146e7110 1882 default data section offset to 0x20000000
3b1b01cf 1883 add .sv3264 and .sv64 pseudo sections
8f3aa7a0 1884 loader and debug sections use the currect section offset.
3b1b01cf
TR
1885
1886 * emultempl/aix.em : Add xcoff64 support
1887 Add -binitfini support
8f3aa7a0 1888 (gld${EMULATION_NAME}_before_parse) -binitfini
3b1b01cf 1889 (gld${EMULATION_NAME}_parse_args) same
8f3aa7a0 1890 (gld${EMULATION_NAME}_before_allocation) format change for special
3b1b01cf
TR
1891 sections
1892
1893 * emulparams/aixppc64.sh : New file for xcoff64 support
8f3aa7a0 1894
57e6abd2
AO
18952001-05-23 Alexandre Oliva <aoliva@redhat.com>
1896
1897 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
1898 variable to avoid non-portable shell construct.
1899
d1cf510e
NC
19002001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1901
1902 * ldmain.c (get_emulation): Add -mips5 command line argument.
1903
506eee22
NC
19042001-05-22 Alexandre Oliva <aoliva@redhat.com>
1905
1906 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
1907 (ELF_INTERPRETER_NAME): Define it.
1908 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
1909 it.
1910 * configure.tgt (targ_emul, targ_extra_emuls)
1911 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
1912 as primary, elf_i386 as extra.
1913 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
1914 (eelf_i386_ldso.c): New rule.
1915 * Makefile.in: Rebuilt.
1916
19172001-05-22 Nick Clifton <nickc@redhat.com>
1918
1919 * lexsup.c (ld_options): Allow -I to be an alias for
1920 --dynamic-linker. This is for Solaris compatability.
1921 * ld.texinfo: Document that -I can be used.
1922 * ld.1: Regenerate.
1923
d1778b88
AM
19242001-05-16 Alan Modra <amodra@one.net.au>
1925
1926 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
1927 whether an input section is the first one assigned to an output
1928 section.
1929 Assorted formatting fixes.
1930
02649152
DD
19312001-05-14 DJ Delorie <dj@delorie.com>
1932
1933 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
1934 * Makefile.in: Ditto.
1935
579f31ac
JJ
19362001-05-11 Jakub Jelinek <jakub@redhat.com>
1937
1938 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
1939 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
1940 output sections.
1941 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
1942
8550eb6e
JJ
19432001-05-11 Jakub Jelinek <jakub@redhat.com>
1944
1945 * ldlang.c (lang_process): Call bfd_merge_sections.
1946
8e5a525c
AM
19472001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1948
1949 * ldgram.y: Fix typo.
1950
1c9acd94
L
19512001-05-03 H.J. Lu <hjl@gnu.org>
1952
1953 * emultempl/elf32.em: Include "libiberty.h".
1954 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
1955 basename of the bfd filename.
1956 (gld${EMULATION_NAME}_stat_needed): Likewise.
1957 (gld${EMULATION_NAME}_try_needed): Likewise.
1958 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
1959
14fe918e
L
19602001-05-02 H.J. Lu <hjl@gnu.org>
1961
1962 * emultempl/pe.em: Include <ctype.h>.
1963
c7e40348
NC
19642001-05-02 Johan Rydberg <jrydberg@opencores.org>
1965
b6bf44ba 1966 * emulparams/elf32openrisc.sh: New file.
c7e40348 1967
b6bf44ba
AM
1968 * Makefile.am: Add OpenRISC target.
1969 * Makefile.in: Regenerated.
c7e40348 1970
b6bf44ba 1971 * configure.tgt: Add openrisc-*-* mapping.
c7e40348
NC
1972
19732001-05-02 Nick Clifton <nickc@redhat.com>
1974
1975 * emultempl/aix.em: Replace buystring with xstrdup.
1976 * emultempl/beos.em: Replace buystring with xstrdup.
8f3aa7a0 1977
d1b2b2dc
L
19782001-05-02 H.J. Lu <hjl@gnu.org>
1979
1980 * ldfile.c: Include "libiberty.h".
1981 * ldlex.l: Likewise.
1982
1983 * ldmisc.c (buystring): Removed.
1984 * ldmisc.h: Likewise.
1985
1986 * ldfile.c: Replace buystring with xstrdup.
1987 * ldlang.c: Likewise.
1988 * ldlex.l: Likewise.
1989 * ldmain.c: Likewise.
1990 * ldmisc.c: Likewise.
1991 * lexsup.c: Likewise.
1992 * mpw-eppcmac.c: Likewise.
1993
35714f2a
AJ
19942001-04-30 Andreas Jaeger <aj@suse.de>
1995
1996 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
1997
884fb58e
NC
19982001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1999
b6bf44ba
AM
2000 * ldlang.c (load_symbols): Give emulation a chance
2001 to process unrecognized file before fatal error is
2002 reported, not after.
884fb58e 2003
87748b32
NC
20042001-04-27 Sean McNeil <sean@mcneil.com>
2005
2006 * configure.tgt: Add arm-vxworks target.
2007 * scripttempl/armcoff.sc: Support .text or .data as a section name
2008 prefix.
2009 Define _etext.
35714f2a 2010
7ce691ae
C
20112001-04-13 J.T. Conklin <jtc@redback.com>
2012
2013 * ld.texinfo: Document --fatal-warnings.
2014 * ld.1: Regenerate.
2015
2016 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
35714f2a 2017 warnings have been turned into errors.
7ce691ae
C
2018 * lexsup.c (OPTION_WARN_FATAL): Define.
2019 (ld_options): Entry for --fatal-warnings.
2020 (parse_args): Handle OPTION_WARN_FATAL.
2021 * ld.h (ld_config_type): Add fatal_warnings field.
2022
f5fa8ca2
JJ
20232001-04-13 Jakub Jelinek <jakub@redhat.com>
2024
2025 * ldmain.c (main): Default to discard_sec_merge.
2026 * lexsup.c (OPTION_DISCARD_NONE): Define.
2027 (ld_options): Add --discard-none.
2028 (parse_args): Handle OPTION_DISCARD_NONE.
2029 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
2030 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
2031 all its input sections match.
2032
fdec3cfc
L
20332001-04-05 Steven J. Hill <sjhill@cotw.com>
2034
2035 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
2036 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
2037 (eelf32ltsmip.c): New target.
2038 (eelf64btsmip.c): Likewise.
2039 (eelf64ltsmip.c): Likewise.
2040 * Makefile.in: Regenerated.
2041
2042 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
2043 target.
2044 (mips*-*-linux-gnu*): Likewise.
2045
2046 * emulparams/elf32ltsmip.sh: New. Traditional little endian
2047 MIPS taget.
35714f2a 2048 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
fdec3cfc
L
2049 target.
2050 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
2051 endian target.
2052
589bad82
HPN
20532001-04-05 Hans-Peter Nilsson <hp@axis.com>
2054
2055 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
2056 correct value of __Stext here.
2057 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
2058 .startup section.
2059
2060 * emulparams/crislinux.sh: Remove FIXME.
2061
94202e16
AM
20622001-04-02 Alan Modra <alan@linuxcare.com.au>
2063
2064 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
2065 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
2066
1268a053
HPN
20672001-03-27 Hans-Peter Nilsson <hp@axis.com>
2068
2069 * configure.tgt (cris-*-*): Change default emulation to criself.
2070 (cris-*-*aout*): New rule.
2071
d85e9ff7
AM
20722001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
2073
2074 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
2075 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
2076
0879a67a
AJ
20772001-03-26 Andreas Jaeger <aj@suse.de>
2078
2079 * ld.texinfo (Overview): Fix syntax in texi code.
2080
0285c67d
NC
20812001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2082
2083 * ld.texinfo: Put @c man indications to generate the ld man page.
2084 When generating man, define all the variables. Define SEEALSO
2085 and SYNOPSIS. Re-organize some lines to avoid the cross references.
2086 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
2087 (ld.1): Generate from ld.texinfo.
2088 * Makefile.in: Regenerate.
2089
c20ec07b
NC
20902001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
2091
2092 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
146e7110 2093 and '-fdata-sections'. Set the VMA of STABS sections to zero.
c20ec07b 2094
cc5ce052
UD
20952001-03-17 Ulrich Drepper <drepper@redhat.com>
2096
2097 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
2098 is an absolute path look only for this file and not along the path.
2099
a1ab1d2a
UD
21002001-03-17 Ulrich Drepper <drepper@redhat.com>
2101
2102 * emultempl/elf32.em (OPTION_GROUP): New macro.
2103 Add new option Bgroup to longopts.
2104 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
2105 (gld*_list_options): Add -Bgroup and -z defs.
2106 * ld.1: Document -Bgroup and -z defs.
2107 * ld.texinfo: Likewise.
2108
788fca5a
MM
21092001-03-07 Michael Meissner <meissner@redhat.com>
2110
2111 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
2112 with sections created by -fdata-sections.
2113 (.dynbss,.bss): Ditto.
2114
1c7566d1
AM
21152001-03-05 Alan Modra <alan@linuxcare.com.au>
2116
2117 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
2118 after_allocation_default, not gld..._before_allocation.
2119
27b7e12d
AM
21202001-02-27 Alan Modra <alan@linuxcare.com.au>
2121
2122 * configure.in (BFD_VERSION): New.
2123 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2124 * configure: Regenerate.
2125 * Makefile.am: Run "make dep-am"
2126 * Makefile.in: Regenerate.
2127
2bc551c7
TW
21282001-02-26 Timothy Wall <twall@cygnus.com>
2129
2130 * emulparams/elf64_aix.sh: Add additional read-only sections;
2131 uncomment lines which are now required.
2132
1276aefa
NC
21332001-02-26 H.J. Lu <hjl@gnu.org>
2134
2135 * ldlang.c (open_input_bfds): Set the bfd error handler so
b6bf44ba
AM
2136 that problems can be caught whilst loading symbols.
2137 (record_bfd_errors): New function: Report BFD errors and mark
2138 the executable output as being invalid.
1276aefa 2139
41c49998
TW
21402001-02-22 Timothy Wall <twall@cygnus.com>
2141
2142 * configure.host: Add configuration for ia64-*-aix*.
2143 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
2144 Add dependencies for eelf64_aix.c.
2145 * Makefile.in: Regenerate.
2146 * configure.tgt: Add ia64-*-aix* mapping.
2147 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
a2b64bed 2148 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
0879a67a
AJ
2149 AIX-specific test.
2150
78f85fd7
L
21512001-02-20 H.J. Lu <hjl@gnu.org>
2152
2153 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
2154 false if we found the file.
2155
1ac7e077 21562001-02-18 David O'Brien <obrien@FreeBSD.org>
fb33b906
DB
2157
2158 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
2159 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
2160
e135f41b
NC
21612001-02-18 lars brinkhoff <lars@nocrew.org>
2162
2163 * Makefile.am: Add PDP-11 target.
2164 * configure.tgt: Likewise.
2165 * emulparams/pdp11.sh: New file.
2166
a842aceb
DB
21672001-02-17 David O'Brien <obrien@FreeBSD.org>
2168
2169 * configure.host: Add a generic FreeBSD configuration entry such that
2170 all [modern] FreeBSD systems on all platforms will look the same.
2171
24174db0
L
21722001-02-14 H.J. Lu <hjl@gnu.org>
2173
2174 * configure.tgt: Remove mention of earmelf_linux26.
2175
30c3c13a
RH
21762001-02-13 Richard Henderson <rth@redhat.com>
2177
2178 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
2179
b46a87b1
L
21802001-02-13 H.J. Lu <hjl@gnu.org>
2181
2182 * ldexp.h (node_type): Add etree_provided.
2183 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
2184 type to etree_provided if defined by PROVIDE. Allow updating
0879a67a 2185 for etree_provided.
b46a87b1
L
2186 (exp_print_tree): Handle etree_provided.
2187 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
2188 etree_provided.
2189
f3988fd9
RH
21902001-02-09 David Mosberger <davidm@hpl.hp.com>
2191
2192 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
2193 .IA_64.unwind.* pattern to unwind table section and
2194 .IA_64.unwind_info* pattern to unwind info section.
2195
a85d7ed0
NC
21962001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2197
2198 * Makefile.am: Add linux target for S/390.
2199 * Makefile.in: Likewise.
2200 * configure.host: Likewise.
2201 * configure.tgt: Likewise.
2202 * emulparams/elf64_s390.sh: New file.
2203 * emulparams/elf_s390.sh: New file.
2204
780248c4
JJ
22052001-02-09 Jakub Jelinek <jakub@redhat.com>
2206
2207 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
2208 targ_extra_libpath.
2209 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
2210
0e2534bd
PB
22112001-02-06 Philip Blundell <philb@gnu.org>
2212
2213 * Makefile.am: Remove mention of earmelf_linux26.
2214 * Makefile.in: Regenerate.
2215
46c1ea57
PB
22162001-02-04 Philip Blundell <philb@gnu.org>
2217
2218 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
2219 * emulparams/armelf_linux26.sh: Delete.
2220 * configure.tgt: Remove mention of armelf_linux26 emulation.
2221
0088edd2
NC
22222001-02-01 Nick Clifton <nickc@redhat.com>
2223
2224 * ld.1: Replace occurances of -oformat with --oformat.
2225
02aa14fb
AM
22262001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
2227
2228 * ldlang.c (lang_leave_overlay): Don't set lma_region when
2229 load_base is specified.
2230
f813923c
HPN
22312001-01-24 Hans-Peter Nilsson <hp@axis.com>
2232
2233 * emultempl/elf32.em: Correct spelling in comments and listed
2234 options.
2235
c1eb1488
AM
22362001-01-23 Alan Modra <alan@linuxcare.com.au>
2237
2238 * ldlang.c (lang_leave_overlay): Only set lma_region from the
2239 default for the first section of a group of overlay sections.
2240
d9fc3714
AM
22412001-01-22 Alan Modra <alan@linuxcare.com.au>
2242
2243 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
2244 * Makefile.in: Regenerate.
2245 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
2246 Check for null tool_dir.
2247
6be0ca94
JW
22482001-01-16 Jim Wilson <wilson@redhat.com>
2249
2250 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
2251 and IA_64.unwind.info.
2252
b9247304
L
22532001-01-16 H.J. Lu <hjl@gnu.org>
2254
2255 * ldlang.c (lang_check): Merge the private data only if the
2256 input file has contents.
2257
577a0623
AM
22582001-01-14 Alan Modra <alan@linuxcare.com.au>
2259
d952f17a
AM
2260 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
2261
ffd6e9de
AM
2262 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
2263 enabling search for libmilli. On a relocatable link, make .text
2264 sections unique.
2265 (LDEMUL_AFTER_PARSE): Define.
2266 (hppaelf_finish): Correct spelling of relocatable in comments.
2267
577a0623
AM
2268 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2269 rummage through the script for sections on the unique list.
2270 Correct length of strncmp for ".note".
2271 (gld${EMULATION_NAME}_check_needed): Rearrange function.
2272
2273 * ldlang.c (unique_section_list): New var.
2274 (unique_section_p): New function.
2275 (walk_wild_section): Don't match sections on unique_section_list.
2276 (lang_add_unique): New function.
ffd6e9de 2277 Correct spelling of relocatable in comments.
577a0623
AM
2278
2279 * ldlang.h (struct unique_sections): Declare.
2280 (unique_section_list): Declare.
2281 (unique_section_p): Declare.
2282 (lang_add_unique): Declare.
2283
2284 * lexsup.c (ld_options): Allow --unique to take an optional arg.
2285 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
2286
2287 * ld.texinfo (--unique): Update.
2288
b7ed8fad
NC
22892001-01-13 Nick Clifton <nickc@redhat.com>
2290
2291 * lexsup.c (parse_args): Remove spurious white space.
2292
d0398d6a
NC
22932001-01-12 Nick Clifton <nickc@redhat.com>
2294
2295 * lexsup.c (parse_args): Update copyright date.
2296
350fdb00
PB
22972001-01-12 Philip Blundell <pb@futuretv.com>
2298
2299 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
2300
60c6797e
KH
23012001-01-10 Kazu Hirata <kazu@hxi.com>
2302
2303 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
2304 * scripttempl/h8300h.sc: Fix formatting.
2305 * scripttempl/h8300s.sc: Likewise.
69f06969
KH
2306 * scripttempl/h8500.sc: Likewise.
2307 * scripttempl/h8500b.sc: Likewise.
2308 * scripttempl/h8500c.sc: Likewise.
2309 * scripttempl/h8500m.sc: Likewise.
2310 * scripttempl/h8500s.sc: Likewise.
60c6797e 2311
482e8b32
DB
23122000-01-07 David O'Brien <obrien@BSDi.com>
2313
2314 * emultempl/elf32.em: Only perform Linux ld hints processing when
2315 targeting Linux.
2316
d7ed7ca6
PB
23172001-01-07 Philip Blundell <philb@gnu.org>
2318
2319 * ld.texinfo (Bug Reporting): Update email address for reports.
2320
0fc3347a
NC
23212000-12-31 Nick Clifton <nickc@redhat.com>
2322
2323 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
2324 options by checking for a return value of '?' not -1.
2325
e4897a32
NC
23262000-12-28 Nick Clifton <nickc@redhat.com>
2327
2328 * lexsup.c (struct ld_option): Add new enum value:
2329 EXACTLY_TWO_DASHES.
2330 (ld_options[]): Change -omagic, -output and -oformat options
2331 to be EXACTLY_TWO_DASHES.
2332 (OUTPUT_COUNT): Use ARRAY_SIZE.
2333 (parse_args): Change parameter 'argc' to unsigned.
2334 Place EXACTLY_TWO_DASHES options into new really_longopts
2335 array.
2336 If getopt_long_only fails, try calling getopt_long using the
2337 really_longopts array.
2338 (help): Print a double dash for both EXACTLY_TWO_DASHES and
2339 TWO_DASHES options.
2340
2341 * ldlex.h: Fix prototype of parse_args.
2342
2343 * ld.texinfo: Document that long options starting with 'o'
2344 must be preceeded by two dashes. Change example of a single
2345 dashed long option from -oformat to -trace-symbol.
2346
1122a5fc
NC
23472000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2348
2349 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
2350 (longopts[]): New --no-default-excludes option.
2351 (gld_${EMULATION_NAME}_list_options): Document.
2352 (gld_${EMULATION_NAME}_parse_args): Handle.
2353
037849a9
NC
23542000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2355
2356 * ldlang.c (new_stat): Revert the last beautification with "innocent"
2357 whitespace, it breaks the K&R C preprocessor.
2358
7ec229ce
DD
23592000-12-11 DJ Delorie <dj@redhat.com>
2360
2361 * ld.texinfo: Add notes about --whole-archive and gcc.
2362
b79e8c78
NC
23632000-11-18 Fred Fish <fnf@be.com>
2364
2365 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
2366 (ld_options): Entry for --allow-shlib-undefined.
2367 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
2368 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
2369 to false.
2370 * ld.texinfo: Document new command line switch.
d952f17a 2371
9a8e2505
GK
23722000-12-12 Geoffrey Keating <geoffk@redhat.com>
2373
2374 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
2375 .fixup is actually read/write.
2376 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
2377 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
2378 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
2379
3b16e843 23802000-12-11 Jan Hubicka <jh@suse.cz>
b8355149
JH
2381
2382 * NEWS: Add note about x86_64 architecture.
2383
93b63cd3
DD
23842000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
2385
2386 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
2387 Set DWARF2 sections to a VMA of zero.
2388
24f6971a
NC
23892000-12-01 Joel Sherrill <joel@OARcorp.com>
2390
d952f17a 2391 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
24f6971a
NC
2392 New targets.
2393 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
2394 (sparc*-*-rtems*): Switched from a.out to ELF.
2395
2be3aa03
NC
23962000-11-30 Jan Hubicka <jh@suse.cz>
2397
2398 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
2399 (eelf_x86_64.c): New.
2400 * Makefile.in: Regenerate.
2401 * configure.tgt: Add support for x86_64-*-linux-gnu*.
2402 * emulparams/elf_x86_64.sh: New.
2403
8c899858
HPN
24042000-11-30 Hans-Peter Nilsson <hp@axis.com>
2405
2406 * emulparams/crislinux.sh (ENTRY): Change back to _start.
2407 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
2408
2409 * scripttempl/crisaout.sc: Change all RELOCATING not related to
2410 merging non-a.out sections into CONSTRUCTING.
2411
e47b9e39
NC
24122000-11-28 Nick Clifton <nickc@redhat.com>
2413
2414 * ld.1 (COPYING): Mention that the GNU Free Documentation
2415 License is present in the sources, but not the output, and
2416 also available from the GNU website.
2417 (GNU Free Documentation License): Comment out this section.
2418
ad95f82a
DB
24192000-11-28 David O'Brien <obrien@dragon.nuxi.com>
2420
2421 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
2422 does not use them.
2423
fd89e65f
DB
24242000-11-25 David O'Brien <obrien@FreeBSD.org>
2425
2426 * ld.1: Remove old date so it does not give the impression the manpage
2427 is way out of date.
2428
077b8428
NC
24292000-11-24 Nick Clifton <nickc@redhat.com>
2430
2431 * configure.tgt (xscale-coff): Add target.
2432 (xscale-elf): Add target.
2433
49425d28
NC
24342000-11-24 Fred Fish <fnf@be.com>
2435
d952f17a
AM
2436 * ldmain.c (main): Remove redundant init of config.make_executable
2437 to true.
49425d28 2438
d3480244
RH
24392000-11-15 Richard Henderson <rth@redhat.com>
2440
2441 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
2442
1ce7de8b
KH
24432000-11-14 Kazu Hirata <kazu@hxi.com>
2444
2445 * scripttempl/h8300.sc: Fix formatting.
2446 * scripttempl/h8300h.sc: Likewise.
2447 * scripttempl/h8300s.sc: Likewise.
2448
3b16e843 24492000-11-14 Denis Chertykov <denisc@overta.ru>
208d5cd0
DC
2450
2451 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
2452
2e418547
PB
24532000-11-09 Philip Blundell <pb@futuretv.com>
2454
2455 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
2456 around orphan sections whose names can be represented in C.
2457
c940e6fc
JW
24582000-11-07 Jim Wilson <wilson@redhat.com>
2459
2460 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
2461 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
2462
704c465c
NC
24632000-11-06 Nick Clifton <nickc@redhat.com>
2464
2465 * ld.texinfo: Add GNU Free Documentation License.
2466 * ldint.texinfo: Add GNU Free Documentation License.
cf055d54 2467 * ld.1: Add GNU Free Documentation License.
704c465c 2468
dca7760f
AM
24692000-11-05 Alan Modra <alan@linuxcare.com.au>
2470
2471 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
2472 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
2473
2474 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
2475 Move 2000-11-02 Makefile.in changes to this file.
2476 * Makefile.in: Regenerate.
2477
40a633d5
NC
24782000-11-03 Nick Clifton <nickc@redhat.com>
2479
2480 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
2481 constructors and destructors.
2482 * scripttempl/h8300h.sc: Ditto.
2483 * scripttempl/h8300s.sc: Ditto.
2484 * scripttempl/h8500.sc: Ditto.
2485 * scripttempl/h8500b.sc: Ditto.
2486 * scripttempl/h8500c.sc: Ditto.
2487 * scripttempl/h8500m.sc: Ditto.
2488 * scripttempl/h8500s.sc: Ditto.
2489 * scripttempl/v850.sc: Ditto.
2490 * scripttempl/w65.sc: Ditto.
2491 * scripttempl/z8000.sc: Ditto.
2492
59ff2774
NC
24932000-11-02 Per Lundberg <plundis@chaosdev.org>
2494
2495 * Makefile.in (e_i386_chaos.c): New rule.
2496 (ALL_EMULATIONS): Added e_i386_chaos.o.
2497 * emulparams/elf_i386_chaos.sh: New file.
2498 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
2499
645571e1
JJ
25002000-10-20 Jakub Jelinek <jakub@redhat.com>
2501
2502 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
2503 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
2504 Fix sed invocation, so that it coped with '/' in Solaris 64bit
2505 library path suffix.
2506 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
2507
c5975a45
HPN
25082000-10-18 Hans-Peter Nilsson <hp@axis.com>
2509
2510 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
2511 for consecutive sections.
2512
ea20a7da
CC
25132000-10-17 Chandrakala Chavva <cchavva@redhat.com>
2514
d952f17a
AM
2515 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
2516 options.
2517 * ld.texinfo: Added notes about this new option.
ea20a7da 2518
6e45556a
NC
25192000-10-16 Nick Clifton <nickc@redhat.com>
2520
2521 * emultempl/pe.em (_after_open): Add tests of return values from
2522 bfd functions. Emit appropriate error messages if necessary.
2523
b9a69188
NC
25242000-10-13 Nick Clifton <nickc@redhat.com>
2525
2526 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
102c86f8
NC
2527 local variables - they are not used, but leave in the call to
2528 bfd_canonicalize_symtab.
b9a69188
NC
2529 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
2530 pe_dll_search_prefix.
2531
627427de 25322000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
d952f17a 2533
627427de
DD
2534 * emultempl/pe.em (pe_dll_search_prefix): New variable,
2535 (longopts): New --dll-search-prefix option.
2536 (gld_${EMULATION_NAME}_list_options): Document.
2537 (gld_${EMULATION_NAME}_parse_args): Handle.
2538 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
2539 dynamically, search for a dll named '<prefix><basename>.dll'
2540 in preference to 'lib<basename>.dll' if --dll-search-prefix
2541 is specified.
2542
24376d1b
AM
25432000-10-12 Alan Modra <alan@linuxcare.com.au>
2544
2545 * ldlang.c (section_already_linked): Set kept_section instead of
2546 sec->comdat->sec.
2547
e47d05ad
KH
25482000-10-10 Kazu Hirata <kazu@hxi.com>
2549
2550 * deffile.h: Fix formatting.
2551 * lexsup.c: Likewise.
2552 * mri.c: Likewise.
2553
23a87948
DD
25542000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2555
2556 * pe-dll.c (make_one): Do not generate code thunk for DATA
2557 exports.
2558 (process_def_file): deduce DATA flag for auto-export sumbols.
2559
86b1cc60
KH
25602000-10-09 Kazu Hirata <kazu@hxi.com>
2561
89cdebba
KH
2562 * ld.h: Fix formatting.
2563 * ldcref.c: Likewise.
2564 * ldctor.h: Likewise.
2565 * ldemul.c: Likewise.
2566 * ldemul.h: Likewise.
2567 * ldexp.c: Likewise.
2568 * ldexp.h: Likewise.
2569 * ldfile.c: Likewise.
2570 * ldfile.h: Likewise.
2571 * ldlang.c: Likewise.
2572 * ldlang.h: Likewise.
2573 * ldmain.c: Likewise.
7bfd51a3
KH
2574 * pe-dll.c: Likewise.
2575
2576 * pe-dll.c: Revert some formatting fixes.
86b1cc60 2577
d643799d
KH
25782000-10-08 Kazu Hirata <kazu@hxi.com>
2579
2580 * pe-dll.c: Fix formatting.
2581
08da4cac
KH
25822000-10-05 Kazu Hirata <kazu@hxi.com>
2583
2584 * ldlang.c: Fix formatting.
2585
c2a94a7a
DD
25862000-10-03 DJ Delorie <dj@redhat.com>
2587
2588 * pe-dll.c (fill_edata): initialize entire block
2589 (make_one): fill in correct section.
2590
8c95a62e
KH
25912000-10-03 Kazu Hirata <kazu@hxi.com>
2592
2593 * ldexp.c: Fix formatting.
2594
486e80e2
DD
25952000-10-02 DJ Delorie <dj@redhat.com>
2596
2597 * emultempl/pe.em (gld_*_after_open): detect case where there two
2598 import libraries for same dll; rename one to ensure proper link
2599 order.
2600
2601 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
2602 typo
2603 (generate_edata): fix typo
2604
24dd9f75
HPN
26052000-09-29 Hans-Peter Nilsson <hp@axis.com>
2606
2607 * scripttempl/crisaout.sc (ENTRY): Now __start.
2608 (.text): Add default setting for __start.
2609 Remove CONSTRUCTORS handling.
2610 (/DISCARD/): Add .gnu.warning.*.
2611 * emulparams/crislinux.sh (ENTRY): Now __start.
2612 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
2613 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
2614 (ENTRY): Now __start.
2615 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
2616 (EXECUTABLE_SYMBOLS): Add default setting for __start.
2617
4de2d33d
KH
26182000-09-29 Kazu Hirata <kazu@hxi.com>
2619
5cc18311
KH
2620 * deffile.h: Fix formatting.
2621 * ld.h: Likewise.
2622 * ldcref.c: Likewise.
4de2d33d 2623 * ldctor.c: Likewise.
5cc18311 2624 * ldctor.h: Likewise.
4de2d33d 2625 * ldemul.c: Likewise.
5cc18311 2626 * ldemul.h: Likewise.
4de2d33d 2627 * ldexp.c: Likewise.
5cc18311 2628 * ldexp.h: Likewise.
4de2d33d 2629 * ldfile.c: Likewise.
5cc18311 2630 * ldfile.h: Likewise.
4de2d33d 2631 * ldlang.c: Likewise.
5cc18311
KH
2632 * ldlang.h: Likewise.
2633 * lexsup.c: Likewise.
2634 * mri.c: Likewise.
2635 * pe-dll.c: Likewise.
4de2d33d 2636
45b1f63c
DD
26372000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2638
2639 * pe-dll.c (process_def_file): Uninitialized data wasn't
2640 exported with --export-all-symbols switch.
d952f17a 2641
45b1f63c
DD
26422000-09-28 DJ Delorie <dj@redhat.com>
2643
2644 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
2645 noname work properly.
2646
47d89dba
AM
26472000-09-28 Alan Modra <alan@linuxcare.com.au>
2648
2649 * ld.texinfo (HPPA ELF32): New section.
2650
2651 * emultempl/hppaelf.em (group_size): New.
2652 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
2653 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
2654 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
2655 options to prevent abbreviations matching.
2656 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
2657 (PARSE_AND_LIST_ARGS_CASES): Handle it.
2658
36bdbeec
NC
26592000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2660
2661 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
2662 on the m68*-*-elf target. Make it support COFF input objects.
2663
6d5e62f8
KH
26642000-09-21 Kazu Hirata <kazu@hxi.com>
2665
2666 * ldmain.c: Fix formatting.
2667 * ldmisc.c: Likewise.
2668 * ldver.c: Likewise.
2669 * ldwrite.c: Likewise.
2670
e2eb67d9
AM
26712000-09-21 Alan Modra <alan@linuxcare.com.au>
2672
2673 * ldwrite.c (clone_section): Silence gcc warnings.
2674
b3ea3584
AM
26752000-09-20 Alan Modra <alan@linuxcare.com.au>
2676
2677 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
2678 out of memory failure.
2679
2680 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
2681 (clone_section): Handle out of memory failures. Rename var to
2682 avoid c++ reserved word.
2683
25f72752
AM
26842000-09-18 Alan Modra <alan@linuxcare.com.au>
2685
2686 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
2687 stub_name param to stub_sec_name.
2688 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
2689
0752970e
NC
26902000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2691
2692 * emultempl/m68kelf.em: New file.
2693 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
2694 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
2695 * Makefile.in: Regenerate.
2696
92b7e9d8
AM
26972000-09-15 Alan Modra <alan@linuxcare.com.au>
2698
2699 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
2700 only as needed.
2701
9b14b192
NC
27022000-09-13 Nick Clifton <nickc@redhat.com>
2703
2704 * ldmain.c (multiple_definition): Disable relaxation if
2705 multiple symbol definitions are encountered - otherwise the
2706 linker could abort with an assertion failure.
2707
891fa266
NC
27082000-09-10 Nick Clifton <nickc@redhat.com>
2709
2710 * mri.c: Fix formatting.
2711
5d64ca4e
L
27122000-09-07 H.J. Lu <hjl@gnu.org>
2713
2714 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2715 * configure: Rebuild.
2716
dd94604f
L
27172000-09-07 H.J. Lu <hjl@gnu.org>
2718
2719 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
2720 * Makefile.in: Rebuild.
2721
71bfc0ae
AM
27222000-09-07 Alan Modra <alan@linuxcare.com.au>
2723
2724 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
2725 broken list handling. Create __start_SECNAME and __stop_SECNAME
2726 when no place-holder. Add some comments. Test both SEC_CODE and
2727 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
ed15ac6a 2728 Handle case where no output section statement created.
71bfc0ae 2729
4a428502
AO
27302000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
2731
2732 * configure.tgt (sh-*-linux*): Added.
2733 * Makefile.am: Added eshelf_linux and eshlelf_linux.
2734 * Makefile.in: Rebuilt.
2735 * emulparams/shelf_linux.sh: New file.
2736 * emulparams/shlelf_linux.sh: New file.
2737
f9989030
AM
27382000-09-06 Alan Modra <alan@linuxcare.com.au>
2739
2740 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2741 try shuffling sections when the orphan happens to be the place
2742 holder. Keep count of unique section names generated so we speed
2743 the search for a new name.
2744
58cccadb
AO
27452000-09-06 Alexandre Oliva <aoliva@redhat.com>
2746
2747 * configure: Rebuilt with new libtool.m4.
2748
5b343f5a
NC
27492000-09-05 Nick Clifton <nickc@redhat.com>
2750
2751 * Makefile.in: Regenerate.
2752 * aclocal.m4: Regenerate.
2753 * configure: Regenerate.
2754 * config.in: Regenerate.
2755 * po/ld.pot: Regenerate.
2756
2757 * ldint.texinfo: Remove CVS revision marker - it foils local
2758 comparisons.
2759
2760 * emultempl/ticoff.em: Remove extraneous comma.
50bbae35 2761
a854a4a7
AM
27622000-09-05 Alan Modra <alan@linuxcare.com.au>
2763
3231d22e
AM
2764 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
2765 to stub section flags.
2766 (hppa_for_each_input_file_wrapper): New.
2767 (hppa_lang_for_each_input_file): New.
2768 (lang_for_each_input_file): Define to call above.
2769 (multi_subspace): New.
2770 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
2771 (PARSE_AND_LIST_PROLOGUE): Define.
2772 (PARSE_AND_LIST_LONGOPTS): Define.
2773 (PARSE_AND_LIST_OPTIONS): Define.
2774 (PARSE_AND_LIST_ARGS_CASES): Define.
2775 (hppaelf_finish): Call elf32_hppa_set_gp.
2776 (hppaelf_set_output_arch): Remove.
2777 (LDEMUL_SET_OUTPUT_ARCH): Remove.
2778
2779 * emulparams/hppalinux.sh (ELFSIZE): Define.
2780 (MACHINE): Define.
2781 (OTHER_READONLY_SECTIONS): Define.
2782 (DATA_PLT): Define.
2783 (GENERATE_SHLIB_SCRIPT): Define.
2784
5f992e62
AM
2785 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
2786 to const throughout. Change `void *' to `PTR' throughout.
2787 (lang_memory_default): Function is local to file, add `static'.
2788
2789 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
2790 (ehppalinux.c): Likewise.
2791 (earmelf.c): Likewise.
2792 (earmelf_linux.c): Likewise.
2793 (earmelf_linux26.c): Likewise.
2794 * Makefile.in: Regenerate.
2795
a854a4a7
AM
2796 * ld.h (ld_config_type): Add unique_orphan_sections.
2797 * lexsup.c (OPTION_UNIQUE): Define.
2798 (ld_options): Add "--unique".
2799 (parse_args): Handle it.
2800 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2801 search for an existing output section if unique_orphan_sections is
2802 set. Make use of bfd_get_unique_section_name rather than
2803 duplicating code here.
2804 * ld.texinfo: Describe --unique.
2805
2806 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
2807 optional arg to split-by-file.
2808 (parse_args): Handle them.
2809 * ld.texinfo: Update description of these options.
2810 * ldwrite.c (clone_section): Pass in the section name. Replace
2811 local code with bfd_get_unique_section_name.
2812 (split_sections): Tidy code and comments. Use a list traversal
2813 more appropriate to the list construction. Handle cooked section
2814 sizes. Split when split_by_reloc reached rather than exceeded.
2815 Track section size and split when split_by_file reached. Fix
2816 link_order_tail (even though it's not used).
2817 (ldwrite): Modify condition for calling split_sections to suit
2818 changed split_by_reloc and split_by_file.
2819 * ldmain.c (main): Init config.split_by_reloc and
2820 config.split_by_file to -1.
2821 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
2822 Change split_by_file to bfd_size_type.
2823
18e03609
NC
28242000-09-02 Nick Clifton <nickc@redhat.com>
2825
2826 * configure.in: Increase version number to 2.10.91.
2827 * NEWS: Mention new ability to support removal of duplicate DWARF2
2828 debug information.
2829 * configure: Regenerate.
2830 * aclocal.m4: Regenerate.
2831 * config.in: Regenerate.
2832
3a9d486c
NC
28332000-09-02 Daniel Berlin <dberlin@redhat.com>
2834
2835 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
2836 sections.
a2b64bed 2837 * scripttempl/elf32avr.sc: Ditto.
3a9d486c
NC
2838 * scripttempl/elfd10v.sc: Ditto.
2839 * scripttempl/elfd30v.sc: Ditto.
2840 * scripttempl/elfi370.sc: Ditto.
2841 * scripttempl/elfm68hc11.sc: Ditto.
2842 * scripttempl/elfm68hc12.sc: Ditto.
2843 * scripttempl/elfi386beos.sc: Ditto.
2844 * scripttempl/v850.sc: Ditto.
50bbae35 2845
ac48eca1
AO
28462000-08-31 Alexandre Oliva <aoliva@redhat.com>
2847
2848 * acinclude.m4: Include libtool and gettext macros from the
2849 top level.
2850 * aclocal.m4, configure: Rebuilt.
2851
c13b1b77
NC
28522000-08-25 Nick Clifton <nickc@redhat.com>
2853
2854 * ldlang.c (open_output): When choosing the target for a
2855 particular endianness, do nothing if the target is not
2856 supported.
2857
dcb0bd0e
L
28582000-08-25 H.J. Lu <hjl@gnu.org>
2859
2860 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
2861 check -rpath nor LD_RUN_PATH for cross link.
2862 * ld.texinfo: Document the change.
2863
5bcac8a4
HPN
28642000-08-24 Hans-Peter Nilsson <hp@axis.com>
2865
2866 * NEWS: Mention support for CRIS.
2867
6dd8c765
L
28682000-08-23 H.J. Lu <hjl@gnu.org>
2869
2870 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
2871 the current runpath list from bfd_elf_get_runpath_list ()
2872 before search.
2873
ec4eb78a
L
28742000-08-22 H.J. Lu <hjl@gnu.org>
2875
2876 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
2877 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
2878 LD_LIBRARY_PATH for native linker. Display the needed DSO if
2879 trace_file_tries is non-zero.
2880 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
2881 if trace_file_tries is non-zero.
2882
2883 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
a8175964 2884 * NEWS: Mention it.
ec4eb78a 2885
22b36938
JE
28862000-08-14 Jason Eckhardt <jle@cygnus.com>
2887
2888 * NEWS: Mention i860 support.
2889
d73e9da0
AS
28902000-08-14 Andreas Schwab <schwab@suse.de>
2891
2892 * scripttempl/elf.sc: Fix last change to use correct comment
50bbae35 2893 syntax.
d73e9da0 2894
9ac4db9c
GK
28952000-08-10 Geoff Keating <geoffk@cygnus.com>
2896
2897 * scripttempl/elf.sc: Add a comment giving the correspondence
2898 between sections, per-datum sections, and linkonce sections. Make
2899 the comment true even for .bss, .sdata, .sdata2, .sbss, and
2900 .sbss2.
2901
165589e4
JE
29022000-08-10 Jason Eckhardt <jle@cygnus.com>
2903
2904 * emulparams/elf32_i860.sh: New file.
2905 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
2906 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
2907 (eelf32_i860.c): New rule.
2908 * Makefile.in: Regenerate.
2909
345a835d
NC
29102000-08-10 Nick Clifton <nickc@cygnus.com>
2911
2912 * emulparams/mipspe.sh (ENTRY): Add definition.
2913
e374f1d9
NC
29142000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
2915
2916 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
2917 in error message.
2918
236d5abf
NC
29192000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2920
2921 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
2922 the final size of .bss section.
2923 * scripttempl/elfm68hc12.sc: Likewise.
2924
4b209b22
AM
29252000-08-04 Alan Modra <alan@linuxcare.com.au>
2926
2927 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
2928 gld${EMULATION_NAME}_parse_args for consistency. Combine
2929 lastoptind and prevoptind vars, and keep track of last optind.
2930 (gld_${EMULATION_NAME}_list_options): Rename to
2931 gld${EMULATION_NAME}_list_options.
2932
28423a68
AM
29332000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
2934
2935 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
2936 (i586-sco-sysv5uw7.1.0).
2937
b2009ff7
L
29382000-07-27 H.J. Lu <hjl@gnu.org>
2939
2940 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
2941 (PARSE_AND_LIST_PROLOGUE): New.
2942 (PARSE_AND_LIST_LONGOPTS): Likewise.
2943 (PARSE_AND_LIST_OPTIONS): Likewise.
2944 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2945 (PARSE_AND_LIST_EPILOGUE): Likewise.
2946
04925e1e
AM
29472000-07-28 Alan Modra <alan@linuxcare.com.au>
2948
41392f03
AM
2949 * emultempl/armelf.em: Elide functions common to elf32.em,
2950 ie. most of the file.
2951 (arm_elf_after_open): New. Do arm specific things then call
2952 gld${EMULATION_NAME}_after_open.
2953 (arm_elf_before_allocation): New. Call
2954 gld${EMULATION_NAME}_before_allocation then do arm specifics.
2955 (PARSE_AND_LIST_PROLOGUE): Define.
2956 (PARSE_AND_LIST_SHORTOPTS): Define.
2957 (PARSE_AND_LIST_LONGOPTS): Define.
2958 (PARSE_AND_LIST_OPTIONS): Define.
2959 (PARSE_AND_LIST_ARGS_CASES): Define.
2960 (LDEMUL_AFTER_OPEN): Define.
2961 (LDEMUL_BEFORE_ALLOCATION): Define.
2962 (LDEMUL_BEFORE_PARSE): Define.
2963 (LDEMUL_FINISH): Define.
2964
2965 * emultempl/hppaelf.em: Similarly zap most of this file.
2966 (hppaelf_add_stub_section): Prototype.
2967 (hppaelf_layaout_sections_again): Prototype.
2968 (hook_in_stub): Prototype.
2969 (LDEMUL_SET_OUTPUT_ARCH): Define.
2970 (LDEMUL_FINISH): Define.
2971 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
2972
2973 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
2974 (EXTRA_EM_FILE): New.
2975 * emulparams/armelf_linux.sh: Likewise.
2976 * emulparams/armelf_linux26.sh: Likewise.
2977 * emulparams/hppalinux.sh: Likewise.
2978 * emulparams/hppaelf.sh: Likewise.
2979 (NOP): Define.
2980
2981 * emultempl/elf32.em: Fix formatting.
2982 (EXTRA_EM_FILE): Source it.
2983 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
2984 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
2985 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
2986 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
2987 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
2988 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
2989 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
2990 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
2991 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
2992 allow functions in this file to be overridden.
2993 (PARSE_AND_LIST_SHORTOPTS): Handle it.
2994
2995 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
2996
04925e1e
AM
2997 * emultempl/elf32.em: Reorganize file.
2998
88cdf297
NC
29992000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
3000
3001 * emulparams/elf64alpha.sh: Implement "-taso" emulation
3002 specific option to fit 64-bit executable in the lower
3003 31-bit address range. This is done by changing start
3004 address of .interp (the very first section of executable)
3005 and then setting EF_ALPHA_32BIT elf header flag.
3006
20bccb34
NC
30072000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3008
3009 * emultempl/m68kcoff.em: New file.
3010 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
3011 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
3012 generic.em.
3013 * Makefile.in: Regenerate.
3014
699845ef
L
30152000-07-20 H.J. Lu <hjl@gnu.org>
3016
3017 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
3018 and "disable-new-dtags" to stop getopt from treating -d/-e as
3019 abbreviations for these options.
3020
6c1439be
L
30212000-07-20 H.J. Lu <hjl@gnu.org>
3022
3023 * ld.texinfo: Add documentation for --disable-new-dtags and
3024 --enable-new-dtags.
3025
3026 * ldmain.c (main): Initialize link_info.new_dtags to false.
3027
3028 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
3029 --disable-new-dtags and --enable-new-dtags.
3030 (gld_${EMULATION_NAME}_list_options): Likewise.
3031
28c309a2
NC
30322000-07-05 Kenneth Block <krblock@computer.org>
3033
a2b64bed
NC
3034 * lexsup.c: Add optional style to demangle switch
3035 * ld.texinfo: Document optional style to demangle switch.
50bbae35 3036
9d06555c
HPN
30372000-07-20 Hans-Peter Nilsson <hp@axis.com>
3038
3039 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
3040 ecrislinux.o.
3041 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
3042 Regenerate dependencies.
3043 * Makefile.in: Rebuild.
3044 * configure.tgt (cris-*-*): New target.
3045 * emulparams/crisaout.sh, emulparams/criself.sh,
3046 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
3047 * po/POTFILES.in, po/ld.pot: Regenerate.
3048
19e3be22
L
30492000-07-20 H.J. Lu <hjl@gnu.org>
3050
3051 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
3052 Print out ignored -z options.
3053
e0ee487b
L
30542000-07-19 H.J. Lu <hjl@gnu.org>
3055
19e3be22
L
3056 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
3057 (PARSE_AND_LIST_PROLOGUE): New.
3058 (PARSE_AND_LIST_LONGOPTS): Likewise.
3059 (PARSE_AND_LIST_OPTIONS): Likewise.
3060 (PARSE_AND_LIST_ARGS_CASES): Likewise.
3061
3062 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
3063
3064 * lexsup.c (ld_options): Comment out 'z'.
3065 (parse_args): Likewise.
3066
3067 * emultempl/elf32.em: Include "elf/common.h".
3068 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
3069 options.
3070 (gld_${EMULATION_NAME}_list_options): Likewise.
3071
3072 * ld.texinfo: Add documentation for the recognized -z options.
e0ee487b 3073
49e56c49
L
30742000-07-19 H.J. Lu <hjl@gnu.org>
3075
3076 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
3077 bfd_elf_set_dt_needed_soname ().
3078
9d68bc82
DD
30792000-07-18 DJ Delorie <dj@cygnus.com>
3080
3081 * pe-dll.c (pe_dll_id_target): check object target name also
3082
53db15ed
HPN
30832000-07-18 Hans-Peter Nilsson <hp@axis.com>
3084
3085 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
3086 ${INIT_END} if relocating.
3087 (.fini): Likewise ${FINI_START} and ${FINI_END}.
3088
0ad8cf4c
DD
30892000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
3090
a2b64bed 3091 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
0ad8cf4c
DD
3092 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
3093 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
3094 errors introduced by the old dynamic lib search order.
3095
874c8c99
DD
30962000-07-17 DJ Delorie <dj@cygnus.com>
3097
3098 * pe-dll.c (process_def_file): auto-export data items also
3099 (pe_process_import_defs): also see if _imp_ form needed
3100
5b4cf3f4
DD
31012000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
3102
3103 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
3104 for dll import libraries
3105
062739d1
NC
31062000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
3107
3108 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
d952f17a 3109 gcc 2.95.2 and later.
062739d1 3110
1c64c4ed
NC
31112000-07-11 Kazu Hirata <kazu@hxi.com>
3112
50bbae35
AM
3113 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
3114 message.
1c64c4ed 3115
b71e2778
AM
31162000-07-10 Alan Modra <alan@linuxcare.com.au>
3117
3118 * ldemul.h (struct lang_input_statement_struct): Remove forward
3119 declaration.
3120 (struct search_dirs): Likewise.
3121 * ldfile.h (struct lang_input_statement_struct): Likewise.
3122 Protect file from multiple inclusion.
3123 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
3124 declaration from macro to file scope.
3125
3126 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
3127 * ldgram.y: Likewise here.
3128 * ldlang.c: And here.
3129 * ldmain.c: And here.
3130 * mpw-elfmips.c: And here.
3131 * mpw-eppcmac.c: And here.
3132 * emultempl/aix.em: And here.
3133 * emultempl/armcoff.em: And here.
3134 * emultempl/armelf.em: And here.
3135 * emultempl/armelf_oabi.em: And here.
3136 * emultempl/beos.em: And here.
3137 * emultempl/elf32.em: And here.
3138 * emultempl/hppaelf.em: And here.
3139 * emultempl/linux.em: And here.
3140 * emultempl/lnk960.em: And here.
3141 * emultempl/pe.em: And here.
3142 * emultempl/sunos.em: And here.
3143 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
3144 * mpw-idtmips.c: Ditto.
3145 * emultempl/generic.em: Ditto.
3146 * emultempl/gld960.em: Ditto.
3147 * emultempl/gld960c.em: Ditto.
3148 * emultempl/mipsecoff.em: Ditto.
3149 * emultempl/ticoff.em: Ditto.
3150 * emultempl/vanilla.em: Ditto.
3151
3152 * pe-dll.c: Include ldfile.h
3153 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
3154
3155 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
3156 arguments to bfd_elf32_size_dynamic_sections call.
3157 (gldelf32ebmip_place_orphan): Add missing arguments to
3158 lang_leave_output_section_statement call.
3159
2ef53d66
L
31602000-07-10 H.J. Lu <hjl@gnu.org>
3161
3162 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
3163 DLL_SUPPORT.
3164 (strhash): Likewise.
3165 (compute_dll_image_base): Likewise.
3166 (pe_undef_found_sym): Likewise.
3167 (pe_undef_cdecl_match): Likewise.
3168 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
3169 argument "arch" with ATTRIBUTE_UNUSED.
3170
9a8cbb09
AM
31712000-07-10 Alan Modra <alan@linuxcare.com.au>
3172
3173 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
3174
3175 From Ryan Bradetich <rbradetich@uswest.net>
3176 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
50bbae35 3177
4900fc06
AM
31782000-07-09 Alan Modra <alan@linuxcare.com.au>
3179
3180 Changes to create multiple linker stubs, positioned immediately
3181 before the section where they are required.
3182 * emultempl/hppaelf.em: Include elf32-hppa.h.
3183 (stub_sec, file_chain): Delete.
3184 (hppaelf_create_output_section_statements): Don't make a stub
3185 section here.
3186 (hook_stub_info): New struct.
3187 (hook_in_stub): New function.
3188 (hppaelf_add_stub_section): New function.
3189 (hppaelf_finish): Do nothing for relocateable links. Modify the
3190 call to elf32_hppa_size_stubs. Move code for updating section
3191 layout from here...
3192 (hppaelf_layaout_sections_again): ..to here, a new function.
3193
3194 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
3195 broken list handling. Pass in a pointer to the list.
3196 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
3197 for above changes.
3198 (hppaelf_before_parse): Prototype.
3199 (hppaelf_set_output_arch): Prototype.
3200 (hppaelf_create_output_section_statements): Prototype.
3201 (hppaelf_delete_padding_statements): Prototype.
3202 (hppaelf_finish): Prototype.
3203
3204 Merge from elf32.em
3205 * emultempl/hppaelf.em: Include ctype.h.
3206 (struct orphan_save): New.
3207 (gld${EMULATION_NAME}_place_orphan): New.
3208 (output_rel_find): New.
3209 (hppaelf_get_script): Update from elf32.em.
3210 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
3211 Change emulation_name field to "${EMULATION_NAME}". Add
50bbae35 3212 gld${EMULATION_NAME}_place_orphan.
4900fc06
AM
3213
3214 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
3215 ehppalinux.o, sort it. Regenerate dependencies.
3216 (ehppalinux.c): Depend on hppaelf.em
3217 * Makefile.in: Regenerate.
3218
3219 * configure.tgt: targ_emul=hppalinux for hppa*linux
3220
3221 * emulparams/hppalinux.sh: New.
3222 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
3223
227aeb07
AM
32242000-07-08 Alan Modra <alan@linuxcare.com.au>
3225
3226 * lexsup.c (parse_args): Copy section name.
3227
28609fd4 32282000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
602e90d3 3229
2ef53d66 3230 * emultempl/pe.em: institute the following search order for
602e90d3
DD
3231 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
3232 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
3233 static lib (libfoo.a) if none of the above are found.
3234
5f577f7d
DD
32352000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
3236
50bbae35 3237 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
5f577f7d 3238 (longopts): New --{enable,disable}-auto-image-base options.
50bbae35 3239 (gld_${EMULATION_NAME}_list_options): Document.
5f577f7d
DD
3240 (gld_${EMULATION_NAME}_parse): Handle.
3241 (strhash): New static function.
50bbae35 3242 (compute_dll_image_base): New static function.
5f577f7d
DD
3243 (gld_${EMULATION_NAME}_set_symbols): Use.
3244
9a8cbb09 32452000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
3246
3247 * MAINTAINERS: new
3248
3548145d 32492000-07-01 Koundinya K <kk@ddeorg.soft.net>
50bbae35
AM
3250
3251 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
3252 * emulparams/elf32btsmip.sh: New file.
3253 * Makefile.am: Add traditional mips target.
3254 * Makefile.in: Rebuild.
3255
67798033
L
32562000-07-01 H.J. Lu <hjl@gnu.org>
3257
3258 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
3259 automake to use YLWRAP.
3260 * Makefile.in: Rebuild.
3261
0bdaf48b
AM
32622000-07-01 Alan Modra <alan@linuxcare.com.au>
3263
3264 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
3265 (CLEANFILES): Add DEPA.
3266 * Makefile.in: Regenerate.
3267
c9e769c2
TW
32682000-06-30 Timothy Wall <twall@ppc>
3269
3270 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
3271 the page in the upper octet of the address.
3272
65aa24b6
NC
32732000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
3274
3275 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
3276
4667035e
AM
32772000-06-24 Alan Modra <alan@linuxcare.com.au>
3278
3279 * NEWS: arm-elf does --gc-sections too.
3280
1581f8c9
AM
32812000-06-22 Alan Modra <alan@linuxcare.com.au>
3282
3283 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
3284 find one.
3285 * Makefile.in: Regenerate.
3286
01580992
L
32872000-06-21 H.J. Lu <hjl@gnu.org>
3288
3289 * Makefile.am: Rebuild dependency.
3290 * Makefile.in: Rebuild.
3291
bbeb2e03
L
32922000-06-20 H.J. Lu <hjl@gnu.org>
3293
3294 * Makefile.am: Rebuild dependency.
3295 * Makefile.in: Rebuild.
3296
74459f0e
TW
32972000-06-20 Timothy Wall <twall@cygnus.com>
3298
3299 * scripttempl/tic54xcoff.sc: New.
3300 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
3301 * gen-doc.texi: Add flag for TI COFF.
3302 * ld.texinfo: Add documentation for TI COFF handling switches.
3303 * emultempl/ticoff.em: New. TI COFF handling.
3304 * configure.tgt: Add tic54x target.
3305 * Makefile.am: Add tic54x target.
3306 * Makefile.in: Ditto.
3307
2ab47eed
AM
33082000-06-20 Alan Modra <alan@linuxcare.com.au>
3309
3310 * ldmain.c (set_scripts_dir): Correct pointer comparison when
3311 checking for backslashes.
3312
919e4093
AM
33132000-06-19 Alan Modra <alan@linuxcare.com.au>
3314
3315 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
3316
987fd5b4
AM
33172000-06-18 Alan Modra <alan@linuxcare.com.au>
3318
3319 * NEWS: Update list of targets supporting --gc-sections.
3320
3321 * scripttempl/elf.sc: KEEP .eh_frame contents.
3322 * scripttempl/elfd30v.sc: Same here.
3323
60bcf0fa
NC
33242000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
3325
3326 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
3327 and m68hc11 (elf).
3328 * Makefile.in: Rebuild.
3329 * configure.tgt: Recognize m68hc12 and m68hc11.
3330 * scripttempl/elfm68hc12.sc: New file.
3331 * emulparams/m68hc12elfb: New emulation.
3332 * emulparams/m68hc12elf: New emulation.
3333 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
3334 (includes a memory.x script to define the ROM and RAM banks).
3335 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
3336 New configuration files for support of Motorola 68hc11
3337
c7c54483
AM
33382000-06-15 Alan Modra <alan@linuxcare.com.au>
3339
3340 * ldmain.c (main): Only change SEC_READONLY for final link.
3341
bcef29e6
L
33422000-06-13 H.J. Lu <hjl@gnu.org>
3343
3344 * configure: Regenerate.
3345
946efd95
DB
33462000-06-08 David O'Brien <obrien@FreeBSD.org>
3347
3348 * configure.in (VERSION): Update to show this is the CVS mainline.
3349
57a6fd07
DB
33502000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3351
3352 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
3353 input objects to be ECOFF.
3354 (check_sections): einfo takes %B, not %P, to print a BFD name.
3355
e06cae36
L
33562000-06-05 Michael Matz <matz@ifh.de>
3357
3358 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
d952f17a 3359 version scripts.
e06cae36 3360
d952f17a 3361 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
e06cae36 3362
2f0b56c0
DC
33632000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
3364
3365 * emulparams/avr1200.sh (STACK): Define as 0.
3366 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
3367 * emulparams/avr4433.sh (STACK): Likewise.
3368 * emulparams/avr44x4.sh (STACK): Likewise.
3369 * emulparams/avr85xx.sh (STACK): Likewise.
3370 * emulparams/avrmega103.sh (STACK): Likewise.
3371 * emulparams/avrmega161.sh (STACK): Likewise.
3372 * emulparams/avrmega603.sh (STACK): Likewise.
3373 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
3374 (__stack): Define from ${STACK} for main().
3375
2114f57b
AM
33762000-05-26 Alan Modra <alan@linuxcare.com.au>
3377
3378 * Makefile.am: Update dependencies with "make dep-am"
3379 * Makefile.in: Regenerate.
3380
5af11cab
AM
33812000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
3382
3383 * ldmain.c: Include filenames.h.
3384 (set_scripts_dir): Support backslashes in program name.
3385
1f0df59a
NC
33862000-05-22 Igor Shevlyakov <igor@windriver.com>
3387
3388 * ldmain.c (main): When deciding if ".text" section should be
50bbae35
AM
3389 read-only, don't forget to reset SEC_READONLY because it
3390 could be already set.
1f0df59a 3391
176355da
NC
33922000-05-22 Thomas de Lellis <tdel@windriver.com>
3393
50bbae35
AM
3394 * ld.1: Add documentation for new command line option:
3395 --section-start <sectionname>=<sectionorg>
3396 This is a generic version of -Ttext etc. which accepts
3397 any section name as a parameter instead of just text/data/
3398 bss.
3399 * ld.texinfo: More docs.
3400 * NEWS: More docs.
3401 * lexsup.c: (parse_args): Recognize new command line option.
176355da 3402 (ld_options): Add new option.
50bbae35 3403
8c5ff972
L
34042000-05-18 H.J. Lu <hjl@gnu.org>
3405
3406 * lexsup.c (parse_args): `i' == `r', not `q'.
3407
3b16e843 34082000-05-18 Jeffrey A Law (law@cygnus.com)
0b76fe77
JL
3409
3410 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
3411
a712da20
NC
34122000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
3413 Rick Gorton <gorton@scrugs.lkg.dec.com>
50bbae35 3414
a712da20
NC
3415 Add support for '-q' == '--emit-relocs' switch.
3416 * ldmain.c (main): Default to false.
3417 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
3418 * NEWS: Describe the emitrelocations switch.
3419 * ld.texinfo: Describe the emitrelocations switch.
3420
690a460e
NC
34212000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
3422
a2b64bed 3423 * emultempl/pe.em (_open_dynamic_archive): New function: Search
690a460e
NC
3424 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
3425 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
3426 link options.
50bbae35 3427
c2f1343c
AM
34282000-05-15 David O'Brien <obrien@FreeBSD.org>
3429
3430 * lexsup.c (parse_args): Update the year in the copyright notice.
3431
897083bd
AM
34322000-05-13 Alan Modra <alan@linuxcare.com.au>
3433
3434 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
3435 Replace defines with those from intl/libgettext.h to quieten gcc
3436 warnings.
3437
cd4c806a
L
34382000-05-10 H.J. Lu <hjl@gnu.org>
3439
3440 * ldlang.c (open_input_bfds): Don't load the same file within
3441 a group again if the whole archive has been loaded already.
3442
93697284
AM
34432000-05-03 Alan Modra <alan@linuxcare.com.au>
3444
3445 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
3446 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
3447 strtoul.
3448
3b16e843 34492000-05-01 Jim Wilson <wilson@cygnus.com>
ebd6fc29 3450
99a4150f 3451 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
50bbae35 3452
ebd6fc29
JW
3453 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
3454 host "ia64-*-linux-gnu*".
3455
a1934524
AM
34562000-04-29 Andreas Jaeger <aj@suse.de>
3457
3458 * ld.h: Correctly check GCC version.
3459
3b16e843 34602000-04-25 Jeffrey A Law (law@cygnus.com)
730a39a0
JL
3461
3462 * Makefile.am: Add PA64 support. Add missing dependencies for
3463 PA32 elf support.
3464 * Makefile.in: Rebuilt.
3465 * configure.tgt: Add PA64 support (currently disabled).
3466
aea4bd9d
AM
34672000-04-25 Alan Modra <alan@linuxcare.com.au>
3468
3469 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
3470 (output_rel_find): New function.
3471 (hold_section, hold_use): Delete.
3472 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
3473 hold_interp): Make local to place_orphan.
3474 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
3475 rather than place_section to find possible previous use of orphan.
3476 Similarly find the place-holder output sections. Use returned
3477 value from lang_enter_output_section_statement rather than calling
3478 lang_output_section_statement_lookup.
3479 * emultempl/armelf.em: Same here.
3480 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
3481
3482 * ldlang.c (lang_enter_output_section_statement): Return output
3483 section statement.
3484 * ldlang.h (lang_enter_output_section_statement): Change
3485 declaration too.
3486
3487 * ldlang.h (lang_output_section_statement): Export it.
3488 * ldlang.c (lang_output_section_statement): Ditto.
3489
2b5fc1f5
NC
34902000-04-24 Nick Clifton <nickc@cygnus.com>
3491
3492 * ld.texinfo (Output Section Data): Add note that section data
3493 commands cannot appear outside of section directives.
3494
d8475ff6
JL
34952000-04-2 Matthew Green <mrg@cygnus.com>
3496
3497 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
3498
3b16e843
NC
34992000-04-21 Richard Henderson <rth@cygnus.com>
3500 David Mosberger <davidm@hpl.hp.com>
800eeca4
JW
3501
3502 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
3503 (eelf64_ia64.c): New rule.
3504 * Makefile.in: Rebuild.
3505 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
3506 * emulparams/elf64_ia64.sh: New file.
50bbae35 3507
c9637625
RH
35082000-04-21 Richard Henderson <rth@cygnus.com>
3509
3510 * scripttempl/elfd30v.sc: Place .gcc_except_table.
3511
28ea9521
AM
35122000-04-19 Alan Modra <alan@linuxcare.com.au>
3513
3514 * dep-in.sed: Match space at start of file name, not at end.
3515
20d04697
L
35162000-04-18 H.J. Lu <hjl@gnu.org>
3517
3518 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
3519 lang_leave_output_section_statement () after calling
3520 lang_enter_output_section_statement ().
3521 * emultempl/armelf.em: Likewise.
3522
5ba47421
AM
35232000-04-18 Alan Modra <alan@linuxcare.com.au>
3524
3525 * emultempl/elf32.em (struct orphan_save): Add section field.
3526 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
3527 better order, and place first orphan section as we did before the
3528 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
3529 Don't call make_bfd_section here, let wild_doit do the job for us.
3530 Don't build a statement list when we'll only throw it away.
3531 * emultempl/armelf.em: Ditto.
3532 * emultempl/pe.em: Similarly.
3533
bdbe5705
GK
35342000-04-14 Geoff Keating <geoffk@cygnus.com>
3535
3536 * scripttempl/elfppc.sc: Remove.
3537 * emulparams/elf32ppc.sh: Use elf.sc.
3538 * emulparams/elf32lppc.sh: Use elf.sc.
3539 * emulparams/elf32ppclinux.sh: Use elf.sc.
3540 * emulparams/elf32ppcsim.sh: New file.
3541 * emulparams/elf32lppcsim.sh: New file.
3542 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
3543 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
3544 * Makefile.in: Regenerate.
3545 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
3546
01cc8ff8
AM
35472000-04-14 Alan Modra <alan@linuxcare.com.au>
3548
5ba47421 3549 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
01cc8ff8 3550 ~SEC_ALLOC sections too. Init start address of debug sections.
5ba47421
AM
3551 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
3552 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
01cc8ff8
AM
3553 Also set all relocateable section start addresses.
3554
6c86c541
GK
35552000-04-13 Geoff Keating <geoffk@cygnus.com>
3556
3557 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
3558 Add new BSS_PLT variable for when .plt need not be contained in
3559 the file. Move _etext so that it is also after .fini, and provide
3560 both etext and _etext with a leading underscore. Mark the start
3561 and end of .sbss.
3562
6a345e87
AM
35632000-04-12 Alan Modra <alan@linuxcare.com.au>
3564
3565 * emultempl/elf32.em (struct orphan_save): New.
3566 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
3567 hold_interp): Make them struct orphan_save.
3568 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
3569 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
3570 the end of the relevant section list. Also add associated section
3571 statements to the end of any previous orphan statements.
3572 * emultempl/armelf.em: Similarly.
3573 * emultempl/pe.em: Similarly.
3574
8be86746
AM
35752000-04-11 Alan Modra <alan@linuxcare.com.au>
3576
3577 * ld.texinfo (Simple Example): Remove extraneous paragraph.
3578
3b16e843 35792000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
50bbae35 3580
a2d91340 3581 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
50bbae35 3582 --enable-build-warnings option.
a2d91340
AC
3583 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3584 * Makefile.in, configure: Re-generate.
3585
41b49281
AM
35862000-04-04 Alan Modra <alan@linuxcare.com.au>
3587
8ad3436c
AM
3588 * po/ld.pot: Regenerate.
3589
3590 * lexsup.c (help): Restore translated part of bug string.
3591
41b49281
AM
3592 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3593 (DEP): Quote when passing vars to sub-make. Add warning message
3594 to end.
3595 (DEP1): Rewrite for "gcc -MM".
3596 (CLEANFILES): Add DEP2.
3597 Update dependencies.
3598 * Makefile.in: Regenerate.
3599
c20f4f8c
AM
36002000-04-03 Alan Modra <alan@linuxcare.com.au>
3601
3602 * ld.h: #include "bin-bugs.h"
3603 * lexsup.c (help): Use REPORT_BUGS_TO.
3604
adde6300
AM
36052000-03-27 Denis Chertykov <denisc@overta.ru>
3606
3607 * configure.tgt (avr-*-*): New target support.
3608 * Makefile.am: Likewise.
3609 * scripttempl/elf32avr.sc: New script file.
3610 * emulparams/avr1200.sh: New file.
3611 * emulparams/avr23xx.sh: New file.
3612 * emulparams/avr4433.sh New file.
3613 * emulparams/avr44x4.sh New file.
3614 * emulparams/avr85xx.sh New file.
3615 * emulparams/avrmega103.sh New file.
3616 * emulparams/avrmega161.sh New file.
3617 * emulparams/avrmega603.sh New file.
3618 * Makefile.in: Regenerate.
3619
9282ff41
L
36202000-03-09 Andreas Jaeger <aj@suse.de>
3621
3622 * Makefile.am (check-DEJAGNU): Also unset LANG.
3623 * Makefile.in: Rebuild.
3624
a9998805
ILT
36252000-03-06 Ian Lance Taylor <ian@zembu.com>
3626
3627 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
3628 archive.
3629
f9bc20e7
NC
36302000-03-02 H.J. Lu <hjl@gnu.org>
3631
3632 * emulparams/elf32mcore.sh: Include "getopt.h".
3633
4e277b38
ILT
36342000-03-01 Ian Lance Taylor <ian@zembu.com>
3635
3636 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
3637
f0c87f88
NC
36382000-03-01 H.J. Lu <hjl@gnu.org>
3639
3640 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
3641 * emulparams/shpe.sh: Likewise.
3642
36432000-03-01 Nick Clifton <nickc@cygnus.com>
3644
3645 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
3646 to unused parameters.
3647
3648 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
3649 functions only used by DLL code.
3650 (_place_orphan): Initialise 'dollar'.
3651
b6f29aaa
L
36522000-03-01 H.J. Lu <hjl@gnu.org>
3653
3654 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
3655 indicate if the undefined symbol is a fatal error or not.
3656 Don't delete the output file if "fatal" is false.
3657
af28fce3
L
36582000-02-29 H.J. Lu <hjl@gnu.org>
3659
50bbae35 3660 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
af28fce3
L
3661 Set LC_COLLATE and LC_ALL to null and export them. It is for
3662 sort which expects the C locale.
3663 Add $(LIBS) to all $(HOSTING_LIBS).
3664 * Makefile.in: Rebuild.
3665
40d109bf
AM
36662000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
3667
3668 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
3669 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
3670 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
3671 (ld_emulation_xfer_struct): Add missing NULL initialiser for
3672 find_potential_libraries.
3673
db5be682
JB
36742000-02-28 Jim Blandy <jimb@redhat.com>
3675
3676 * ldgram.y (exclude_name_list): Don't require a comma to separate
50bbae35 3677 list entries; the lexer considers commas to be valid part of a
db5be682
JB
3678 filename, so in something like `foo, bar' the comma is considered
3679 part of the first filename, `foo,'.
3680 * ld.texinfo: Update section on EXCLUDE_FILE lists.
3681
3558ff4c
ILT
36822000-02-27 Loren J. Rittle <ljrittle@acm.org>
3683
3684 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
3685 host "i[3456]86-*-freebsdelf*".
3686
4eee2681
ILT
36872000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
3688
3689 * scripttempl/i386go32.sc: Move misplaced semicolons.
3690
8d75d12d
ILT
36912000-02-25 Ian Lance Taylor <ian@zembu.com>
3692
3693 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
3694 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
3695 (eelf64hppa.c, ehppaelf.c): Remove targets.
3696 * Makefile.in: Rebuild.
3697
a1836d49
AO
36982000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3699
ad51fb57
AO
3700 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
3701 GNU/Linux/sparc, but keep the default as 32.
3702
a1836d49
AO
3703 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
3704 it default if sparcv9 or sparc64.
3705
344a211f
NC
37062000-02-24 Nick Clifton <nickc@cygnus.com>
3707
3708 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
3709 * Makefile.in: Regenerate.
3710 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
3711
3712 * ldemul.h (ld_emulation_xfer_struct): Add new field:
3713 find_potential_libraries.
3714 * ldemul.c (ldemul_find_potential_libraries): New function.
3715
3716 * ldfile.c (ldfile_open_file_search): Allow function to be
50bbae35 3717 exported.
344a211f
NC
3718 (ldfile_open_file): Call ldemul_find_potential_libraries.
3719 * ldfile.h: Add prototype for ldfile_open_file_search.
3720
3721 * pe-dll.c: Add support for ARM, MIPS and SH targets.
3722
3723 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
3724 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
3725
3726 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
3727 (gld_X_find_potential_libraries): New function. Search for
3728 libraries called "*.lib".
3729
a2b64bed 3730 * scripttempl/pe.sc: Add .pdata section.
344a211f 3731
eaba1dd3
RH
37322000-02-23 Richard Henderson <rth@cygnus.com>
3733
3734 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
3735 Add and use memory regions.
3736
5b93d8bb
AM
37372000-02-23 Linas Vepstas (linas@linas.org)
3738
3739 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
3740
3741 * Makefile.am: Add support for Linux/IBM 370.
3742 * configure.tgt: Likewise.
3743
3744 * Makefile.in: Regenerate.
3745
f6af82bd
AM
37462000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
3747
3748 * ldlang.c (print_input_section, print_data_statement,
3749 print_reloc_statement, print_padding_statement, insert_pad,
3750 size_input_section, lang_check_section_addresses,
3751 lang_size_sections, lang_do_assignments, lang_set_startof,
50bbae35 3752 lang_one_common): Change `opb' to unsigned.
f6af82bd
AM
3753 (lang_do_assignments): Also change `size' to unsigned.
3754
9e673ad1
RH
37552000-02-16 Richard Henderson <rth@cygnus.com>
3756
3757 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
3758
562d3460
TW
37592000-02-16 Timothy Wall <twall@cygnus.com>
3760
3761 * mri.c (mri_draw_tree): Add default LMA region argument to call
3762 to lang_leave_output_section_statement.
3763 * ldlang.h: Update prototypes with LMA region arguments.
3764 * ldlang.c (lang_size_sections): Encapsulate region bounds
3765 checking in os_check_region call.
3766 (os_check_region): New function.
3767 (lang_output_section_statement_lookup): Initialize lma_region.
3768 (lang_leave_output_section_statement): Add LMA region argument.
3769 (lang_leave_overlay): Ditto.
3770 * ldgram.y: Handle LMA region syntax.
3771 * ld.texinfo (Output Section Description): Describe LMA region usage.
3772 * emultempl/armelf.em (gld$place_orphan): Add default value for
01cc8ff8 3773 lma region in call to lang_leave_output_section_statement.
562d3460 3774 * emultempl/elf32.em (gld$place_orphan): Add default value for
01cc8ff8 3775 lma region in call to lang_leave_output_section_statement.
562d3460 3776 * emultempl/pe.em (gld$place_orphan): Add default value for
01cc8ff8 3777 lma region in call to lang_leave_output_section_statement.
50bbae35
AM
3778
3779
9e4ed18c
TW
37802000-02-04 Timothy Wall <twall@redhat.com>
3781
3782 * ldlang.c (lang_check_section_addresses): Use bytes instead of
3783 octets when calculating section end addresses.
3784
32edc927
TW
37852000-02-04 Timothy Wall <twall@redhat.com>
3786
3787 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
3788
4cbfc3ac
TW
37892000-02-03 Timothy Wall <twall@redhat.com>
3790
a2b64bed 3791 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4cbfc3ac 3792 octet count.
a2b64bed 3793 * ldlang.c (print_input_section, print_data_statement,
4cbfc3ac
TW
3794 print_reloc_statement, print_padding_statement): Print target
3795 address values and section sizes as bytes, not octets.
3796 (insert_pad) Calculate padding size in octets, and adjust "dot"
3797 by bytes.
3798 (size_input_section) Always adjust "dot" by bytes, not octets.
3799 (lang_check_section_addresses, lang_do_assignments) Adjust
3800 "dot" by bytes, not octets. Use the larger of the directive size
3801 or octets_per_byte for the number of octets actually allocated in
3802 the output section.
3803 (lang_set_startof) Make sure STARTOF returns a target address.
3804 (lang_one_common) Record size changes in octets.
3805 (lang_abs_symbol_at_end_of) Section end symbol's value is
3806 recorded in target bytes.
3807 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
3808 to be clear about behavior when an octet is smaller than one byte.
50bbae35 3809
305c7206
AM
38102000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
3811
3812 * ldcref.c (output_cref): Don't pass message strings to printf
3813 as format arg.
3814 Update copyright.
3815
3816 * ldmisc.c (vfinfo): Same here.
3817 Update copyright.
3818
e1c47aa4
AM
38192000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
3820
3821 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
3822 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
3823 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
3824 Add missing NULL initialisers, and comments.
3825
3826 * testsuite/ld-srec/sr3.cc (__rethrow): New.
3827
13392b77
NC
38282000-01-21 Nick Clifton <nickc@cygnus.com>
3829
3830 * ldlang.c (lang_size_sections): Fix typo in comment.
3831
cce4c4c5
NC
38322000-01-18 H.J. Lu <hjl@gnu.org>
3833
3834 * ldlang.c (lang_size_sections): Also update the current
3835 address of a region if the SEC_NEVER_LOAD bit is not set.
3836
0decc840
NC
38372000-01-10 Philip Blundell <pb@futuretv.com>
3838
3839 * configure.tgt (arm*-*-conix*): New target.
3840
4e53152f
NC
38412000-01-07 Nick Clifton <nickc@cygnus.com>
3842
3843 * ld.texinfo (Options): Remind users to preceed linker command
fa19fce0
NC
3844 line switches with -Wl, (or whatever is appropriate) if it is
3845 being invoked by a comnpiler driver program.
50bbae35 3846 Fix description of the behaviour of the -n command line switch.
4e53152f 3847
3b16e843 38482000-01-05 Catherine Moore <clm@cygnus.com>
18625d54
CM
3849
3850 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
3851 (name_list): New.
3852 * ld.texinfo (EXCLUDE_FILE): Update documentation.
3853 * ldgram.y (wildcard_spec): Support a list of excluded_files.
3854 (exclude_name_list): New.
3855 ldlang.c (walk_wild_section): Support list of excluded files.
3856 (print_wild_statement): Likewise.
3857 (lang_add_wild): Likewise.
3858 * ldlang.h (lang_wild_statement_type): Likewise.
3859 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
6ddeca85 3860
5aaace27
NC
38612000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
3862
870df5dc
NC
3863 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
3864 (process_def_file): Use.
3865 (pe_dll_compat_implib): New variable.
3866 (make_one): Use.
50bbae35 3867
870df5dc
NC
3868 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
3869 pe_dll_compat_implib.
50bbae35
AM
3870
3871 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
870df5dc
NC
3872 compat-implib options.
3873 (gld_${EMULATION_NAME}_list_options): List new options.
3874 (gld_${EMULATION_NAME}_parse_args): Handle.
3875
50bbae35 3876 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
5aaace27 3877 dll.
50bbae35
AM
3878
3879 * deffilep.y (opt_name): Allow "." in name.
5aaace27 3880
2f6d2f85 3881For older changes see ChangeLog-9899
252b5132
RH
3882\f
3883Local Variables:
3884mode: change-log
3885left-margin: 8
3886fill-column: 74
3887version-control: never
3888End:
This page took 0.341316 seconds and 4 git commands to generate.