* Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
[binutils-gdb.git] / ld / ChangeLog
1 2002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
2
3 * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
4 * Makefile.in: Regenerate.
5 * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls.
6
7 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
8
9 * emulparams/avr1.sh: New file.
10 * emulparams/avr2.sh: New file.
11 * emulparams/avr3.sh: New file.
12 * emulparams/avr4.sh: New file.
13 * emulparams/avr5.sh: New file.
14 * scripttempl/avr.sc: New file.
15
16 2002-05-15 Alan Modra <amodra@bigpond.net.au>
17
18 * ldlang.c (section_already_linked): Call bfd_link_just_syms.
19 (lang_place_orphans): Abort if just_syms_flag.
20
21 2002-05-10 Tom Rix <trix@redhat.com>
22
23 * emultempl/aix.em: (gld*_set_output_arch): New function. Use
24 architecture and machine information in the output bfd.
25 (gld*_before_parse): Remove old arch and machine code.
26 (choose_target): Rename to gld*_choose_target.
27 (rtld): Change type to int.
28 * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for
29 objects in XCOFF archives.
30 * ldfile.h: Update copyright date.
31
32 2002-05-10 Jakub Jelinek <jakub@redhat.com>
33
34 * ldmain.c (main): Enable -z combreloc by default.
35
36 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
37
38 * Makefile.am: Honour DESTDIR.
39 * Makefile.in: Regenerate.
40
41 2002-05-07 Richard Sandiford <rsandifo@redhat.com>
42
43 * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
44 (lang_enter_overlay): Remove the last two parameters.
45 (lang_leave_overlay): Take them here instead.
46 * ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
47 (section): Pass LMA and crossref flag to lang_leave_overlay rather
48 than lang_enter_overlay.
49 * ldlang.c (lang_memory_region_lookup): Return null for null names.
50 (lang_output_section_statement_lookup): Initialize update_dot_tree.
51 (lang_size_sections_1): Evaluate it.
52 (lang_leave_output_section_statement): Rework LMA lookup.
53 (overlay_lma, overlay_nocrossrefs): Remove.
54 (lang_enter_overlay): Remove LMA and corssref arguments.
55 (lang_enter_overlay_section): Don't set the LMA here.
56 (lang_leave_overlay): Take LMA and crossref arguments. Move the '.'
57 assignment to the last section's update_dot_tree. Unconditionally
58 use the load and run-time regions specified in the OVERLAY statement.
59 Likewise the first section's LMA. Only set the other sections' LMAs
60 when no load region is given.
61
62 2002-05-06 Nick Clifton <nickc@redhat.com>
63
64 * po/sv.po: New translation.
65
66 2002-05-04 Alan Modra <amodra@bigpond.net.au>
67
68 * emultempl/hppaelf.em (build_section_lists): New function.
69 (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
70 and build_section_lists.
71
72 2002-05-03 Kazu Hirata <kazu@cs.umass.edu>
73
74 * ld.h: Fix formatting.
75 * ldexp.c: Likewise.
76 * ldfile.c: Likewise.
77 * ldlang.c: Likewise.
78 * ldmain.c: Likewise.
79 * lexsup.c: Likewise.
80 * pe-dll.c: Likewise.
81
82 2002-05-02 Alan Modra <amodra@bigpond.net.au>
83
84 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
85 Adjust for ppc64_elf_set_toc change. #include libbfd.h.
86 (build_section_lists): Do output_section tests here.
87
88 2002-04-30 Tom Rix <trix@redhat.com>
89
90 * emultempl/aix.em : (gld*_parse_arge): Formatting changes.
91
92 2002-05-01 Alan Modra <amodra@bigpond.net.au>
93
94 Long branch stubs, multiple stub sections.
95 * emultempl/ppc64elf.em: Include ldctor.h.
96 (stub_file): New var.
97 (group_size): New var.
98 (ppc_create_output_section_statements): New function.
99 (struct hook_stub_info): New.
100 (hook_in_stub): New function.
101 (ppc_add_stub_section): New function.
102 (ppc_layout_sections_again): New function.
103 (build_section_lists): New function.
104 (gld${EMULATION_NAME}_finish): Rewrite.
105 (real_func): New var.
106 (ppc_for_each_input_file_wrapper): New function.
107 (ppc_lang_for_each_input_file): New function.
108 (lang_for_each_input_file): Define.
109 (PARSE_AND_LIST_PROLOGUE): Define.
110 (PARSE_AND_LIST_LONGOPTS): Define.
111 (PARSE_AND_LIST_OPTIONS): Define.
112 (PARSE_AND_LIST_ARGS_CASES): Define.
113 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
114
115 2002-04-30 Tom Rix <trix@redhat.com>
116
117 * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add
118 -blibpath, -bnolibpath support.
119
120 2002-04-30 Mark Mitchell <mark@codesourcery.com>
121
122 * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
123 (eelf32ppcwindiss.c): New target.
124 * Makefile.in: Regenerated.
125 * configure.tgt: Add support for powerpc-*-windiss.
126 * emulparams/elf32ppcwindiss.sh: New file.
127
128 2002-04-30 Richard Sandiford <rsandifo@redhat.com>
129
130 * ldlang.c (print_assignment): Update print_dot for assignments to ".".
131 * ldexp.c (exp_print_token): Add "infix_p" argument.
132 (exp_print_tree): Update accordingly.
133
134 2002-04-28 Alan Modra <amodra@bigpond.net.au>
135
136 * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
137 * Makefile.in: Regenerate.
138 * mpw-elfmips.c: Delete.
139 * mpw-eppcmac.c: Delete.
140 * mpw-esh.c: Delete.
141 * mpw-idtmips.c: Delete.
142
143 Wed Apr 17 19:23:14 2002 J"orn Rennecke <joern.rennecke@superh.com>
144
145 * emulparams/shelf32.sh (MACHINE): Now sh5.
146
147 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
148
149 * ldgram.y: Fix syntax warning.
150
151 2002-04-11 Nick Clifton <nickc@cambridge.redhat.com>
152
153 * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order
154 to prevent "-n" from being taken as an abbreviation for
155 "--no-pipeline-knowledge".
156
157 2002-04-08 Alan Modra <amodra@bigpond.net.au>
158
159 * ldlang.c (lang_size_sections_1): Don't complain about
160 SEC_NEVER_LOAD sections having no memory region specified.
161
162 * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
163
164 2002-04-07 matthew green <mrg@redhat.com>
165
166 * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
167
168 2002-04-04 Alan Modra <amodra@bigpond.net.au>
169
170 * dep-in.sed: Cope with absolute paths.
171 * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
172 Run "make dep-am".
173 * Makefile.in: Regenerate.
174
175 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
176
177 * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
178
179 2002-04-03 Jakub Jelinek <jakub@redhat.com>
180
181 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
182 is smaller than maximum, round dot up to common page boundary.
183
184 2002-03-28 Alan Modra <amodra@bigpond.net.au>
185
186 * configure.host: Set up for generic hosts first, then tweak as
187 necessary in more specific targets.
188 (HOSTING_LIBS): Include libgcc_eh.a if found.
189
190 2002-03-23 Andreas Jaeger <aj@suse.de>
191
192 * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
193
194 2002-03-21 Alan Modra <amodra@bigpond.net.au>
195
196 * Makefile.am: Run "make dep-am".
197 * Makefile.in: Regenerate.
198
199 2002-03-21 Albert Chin-A-Young <china@thewrittenword.com>
200
201 * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
202
203 2002-03-20 Alan Modra <amodra@bigpond.net.au>
204
205 * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
206 add the symbol to the linker hash table immediately.
207 (lang_place_undefineds): Split symbol creation out..
208 (insert_undefined): ..to here.
209
210 2002-03-18 David O'Brien <obrien@FreeBSD.org>
211
212 * emultempl/elf32.em: Use lbasename vs. basename to fix problem where
213 the contents of the buffer returned from basename function will are
214 getting overwritten while still being used.
215
216 Mon Mar 18 17:38:39 CET 2002 Jan Hubicka <jh@suse.cz>
217 Andreas Jaeger <aj@suse.de>
218 Andreas Schwab <schwab@suse.de>
219
220 * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.
221 * elf_x86_64.sh (ARCH): Set to i386:x86-64
222 set libraries to default to lib64 paths.
223
224 2002-03-18 Tom Rix <trix@redhat.com>
225
226 * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support.
227 * configure.tgt : Same.
228 * emulparms/aix5ppc.sh : New file. For eaix5ppc.
229 * emulparms/aix5rs6.sh : New file. For eaix5rs6.
230 * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT
231 emulation parameters for better -b32, -b64 support.
232 * emulparms/aixrs6.sh : Same.
233 * emulparms/ppcmacos.sh : Same.
234 * emultempl/aix.em (choose_target) : Use new emulation parameters
235 OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT.
236 * Makefile.in : Regenerate.
237
238 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
239
240 * po/fr.po: Updated version.
241
242 2002-03-18 Alan Modra <amodra@bigpond.net.au>
243
244 * ldmain.c (main): Move .text readonly flag fudges from here..
245 * ldlang.c (lang_process): ..to here.
246
247 2002-03-14 Alan Modra <amodra@bigpond.net.au>
248
249 * ldlang.c (lang_check): Remove the word size check added in last
250 change. Treat emitrelocations case as for relocatable links.
251
252 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
253
254 * po/fr.po: Updated version.
255
256 2002-03-13 Alan Modra <amodra@bigpond.net.au>
257
258 * ldlang.c (lang_check): Do relocatable link checks first, so that
259 warn_mismatch can't override. Check compatible and word size too.
260
261 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
262
263 * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
264
265 2002-03-05 Jakub Jelinek <jakub@redhat.com>
266
267 * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
268 DATA_SEGMENT_ALIGN.
269
270 2002-03-04 H.J. Lu <hjl@gnu.org>
271
272 * scripttempl/elf.sc: Put .preinit_array, .init_array and
273 .fini_array in the data segment.
274
275 2002-03-04 Alan Modra <amodra@bigpond.net.au>
276
277 * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
278
279 2002-03-01 David Mosberger <davidm@hpl.hp.com>
280
281 * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
282 .init_array, and .fini_array.
283
284 2002-02-20 Andreas Schwab <schwab@suse.de>
285
286 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
287 .IA64_unwind* in a relocatable link.
288
289 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
290
291 * NEWS: Mark 2.12 branch.
292
293 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
294
295 * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
296 * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
297
298 2002-02-18 Tom Rix <trix@redhat.com>
299
300 * emultempl/aix.em (gld*_parse_args): Add -brtl support.
301 (gld*_before_allocation): Same.
302 (gld*_create_output_section_statements): Generate
303 __rtinit if run time linking. Add librtl.a to the link.
304 (gld*_read_file): Clean.
305
306 2002-02-18 Alan Modra <amodra@bigpond.net.au>
307
308 * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
309
310 2002-02-18 David O'Brien <obrien@FreeBSD.org>
311
312 * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
313 eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
314 and eelf64alpha_fbsd.
315 * Makefile.in: Regenerate.
316 * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
317 x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
318 use a FreeBSD-specific emulation rather than the psABI one.
319 * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
320 for all FreeBSD ELF systems.
321 * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
322 emulation.
323 * emulparams/elf32ppc_fbsd.sh: Likewise.
324 * emulparams/elf64_ia64_fbsd.sh: Likewise.
325 * emulparams/elf64_sparc_fbsd.sh: Likewise.
326 * emulparams/elf64alpha_fbsd.sh: Likewise.
327 * emulparams/elf_i386_fbsd.sh: Likewise.
328 * emulparams/elf_x86_64_fbsd.sh: Likewise.
329
330 2002-02-18 Nick Clifton <nickc@cambridge.redhat.com>
331
332 * po/tr.po: Updated version.
333
334 2002-02-18 Alan Modra <amodra@bigpond.net.au>
335
336 * ld.texinfo (Output Section Fill): Fix amateur texinfo.
337 (FILL): Likewise.
338
339 2002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
340
341 * emultempl/mmo.em (mmo_after_open): Don't call
342 _bfd_mmix_check_all_relocs when producing ELF output.
343
344 2002-02-15 Richard Henderson <rth@redhat.com>
345
346 * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
347 definition. Emit a unop+nop pair.
348
349 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
350
351 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
352 for presence of .MMIX.reg_contents.linker_allocated before early
353 exit.
354
355 * NEWS: Mention support for MMIX.
356
357 2002-02-15 Alan Modra <amodra@bigpond.net.au>
358
359 Support arbitrary length fill patterns.
360 * ld.texinfo (Output Section Fill): Describe fill expressions.
361 (FILL): Refer to the above.
362 * ldexp.h (etree_value_type): Add "str" field.
363 (union etree_union): Add "str" to "value" struct.
364 (exp_bigintop): Declare.
365 (exp_get_fill): Declare.
366 * ldexp.c: Include "safe-ctype.h".
367 (exp_intop): Set value.str to NULL.
368 (exp_bigintop): New function.
369 (new_rel): Pass in "str", and set new.str from it.
370 (new_rel_from_section): Set new.str to NULL.
371 (fold_name): Adjust calls to new_rel.
372 (exp_fold_tree): Likewise.
373 (exp_get_fill): New function.
374 * ldgram.y (struct big_int bigint, fill_type *fill): New.
375 (INT): Returns a "bigint". Adjust all code handling INTs.
376 (fill_opt): Returns a "fill".
377 (fill_exp): Split out of fill_opt, use for FILL.
378 * ldlang.h (struct _fill_type): New.
379 (fill_type): Move typedef to ldexp.h.
380 (lang_output_section_statement_type): "fill" is now a pointer.
381 (lang_fill_statement_type): Likewise.
382 (lang_padding_statement_type): Likewise.
383 (lang_add_fill): Now takes a "fill_type *" param.
384 (lang_leave_output_section_statement): Likewise.
385 (lang_do_assignments): Likewise.
386 (lang_size_sections): Likewise.
387 (lang_leave_overlay_section): Likewise.
388 (lang_leave_overlay): Likewise.
389 * ldlang.c: Include ldgram.h after ldexp.h.
390 (lang_output_section_statement_lookup): Adjust for fill_type change.
391 (print_fill_statement): Likewise.
392 (print_padding_statement): Likewise.
393 (insert_pad): Now takes a "fill_type *" arg.
394 (size_input_section): Likewise.
395 (lang_size_sections_1): Likewise.
396 (lang_size_sections): Likewise.
397 (lang_do_assignments): Likewise.
398 (lang_add_fill): Likewise.
399 (lang_leave_output_section_statement): Likewise.
400 (lang_leave_overlay_section): Likewise.
401 (lang_leave_overlay): Likewise.
402 Adjust all callers of the above function.
403 * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers
404 starting with "0X" as well as "0x". Return bigint.str for hex
405 numbers starting with "0x" or "0X", zero bigint.str otherwise.
406 Always use base 16 for numbers starting with "$".
407 * ldmain.c: Include ldgram.h after ldexp.h.
408 * ldwrite.c (build_link_order): Use bfd_data_link_order in place
409 of bfd_fill_link_order.
410 * pe-dll.c: Adjust lang_do_assignments calls.
411 * emultempl/elf32.em: Likewise.
412 * emultempl/hppaelf.em: Likewise.
413 * emultempl/ppc64elf.em: Likewise.
414 * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
415 lang_add_assignment call.
416 * emultempl/pe.em: Likewise.
417
418 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
419
420 * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
421 * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
422 the pattern in question is not a regexp.
423 * ldlang.c: Likewise.
424 * ldlang.h: Likewise.
425 * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
426
427 2002-02-12 Jakub Jelinek <jakub@redhat.com>
428
429 * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
430 * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
431 (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
432 * ldexp.c (exp_data_seg): New variable.
433 (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
434 (fold_binary): Handle DATA_SEGMENT_ALIGN.
435 (exp_fold_tree): Handle DATA_SEGMENT_END.
436 Pass allocation_done when recursing instead of hardcoding
437 lang_allocating_phase_enum.
438 * ldexp.h (exp_data_seg): New.
439 * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
440 (lang_size_sections): New.
441 * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
442 * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
443 if COMMONPAGESIZE is defined.
444 * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
445 * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
446 * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
447 * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
448 * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
449 libraries only.
450
451 2002-02-11 Alan Modra <amodra@bigpond.net.au>
452
453 * Makefile.in: Regenerate.
454
455 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
456
457 * lexsup.c: Remove strtoul declaration.
458
459 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
460
461 * ldmain.c: Add prototype for main ().
462 * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
463 * emultempl/lnk960.em (lnk960_choose_target): Function should
464 take two arguments.
465
466 2002-02-10 Alan Modra <amodra@bigpond.net.au>
467
468 * ldlang.c (entry_section): New initialised variable.
469 (lang_finish): Use it.
470 * ldlang.h (entry_section): Declare.
471 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
472 entry_section to ".opd".
473
474 2002-02-09 Chris Demetriou <cgd@broadcom.com>
475
476 * ld.texinfo (Options): Add back in -nostdlib documentation,
477 which had been inadvertently removed.
478
479 2002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
480
481 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
482 register section vma to a sane value after emitting error. Make
483 fatal conditions cause program exit when emitting message.
484
485 2002-02-08 Ivan Guzvinec <ivang@opencores.org>
486
487 * configure.tgt: Add or32-*-rtems target.
488
489 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
490
491 Contribute sh64-elf.
492 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
493 * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
494 in OTHER_RELOCATABLE_SECTIONS.
495 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
496 * emulparams/shelf32.sh (STACK_ADDR): Define.
497 (OTHER_RELOCATABLE_SECTIONS): Renamed to...
498 (OTHER_SECTIONS): this. Removed stack settings.
499 * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
500 (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
501 2001-03-12 DJ Delorie <dj@redhat.com>
502 * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
503 relaxing if any shmedia or mixed sections are found.
504 2001-03-07 DJ Delorie <dj@redhat.com>
505 * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
506 einfo. Gracefully decline to output to non-elf formats.
507 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com>
508 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
509 Default to _end aligned to next multiple of 0x40000, plus 0x40000.
510 * emulparams/shelf32.sh: Ditto.
511 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
512 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
513 comment.
514 2001-01-10 Ben Elliston <bje@redhat.com>
515 * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
516 non-portable shell constructs. From Hans-Peter Nilsson.
517 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com>
518 * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
519 * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
520 dependencies to the shell script include chain.
521 * Makefile.in: Regenerate.
522 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
523 * emultempl/sh64elf.em: Update and tweak comments.
524 (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
525 make a .cranges section SEC_IN_MEMORY.
526 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
527 * emultempl/sh64elf.em
528 (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
529 .cranges section found to be necessary; continue and set stored
530 section contents flags for sections with non-mixed contents.
531 Use a struct sh64_section_data container and sh64_elf_section_data
532 to store contents-type flags.
533 Remove unused update of "isec".
534 (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
535 sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to
536 access contents-type flags. Assert that the associated container
537 is initialized. Use that container, not elf_gp_size, to hold size
538 of linker-generated cranges contents.
539 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
540 * emultempl/sh64elf.em
541 (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
542 there's already a .cranges section. When section flag difference
543 is found, don't NULL-check cranges a second time. Tweak comments.
544 (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
545 merging, not max size, as size of ld-generated .cranges contents.
546 Don't set ELF section flags in output section. When checking for
547 needed .cranges descriptors, don't use a variable; compare
548 incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak
549 comments.
550 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
551 * emultempl/sh64elf.em: New file.
552 * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
553 * Makefile.in: Regenerate.
554 * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
555 (OTHER_RELOCATING_SECTIONS): Ditto.
556 (EXTRA_EM_FILE): New, set to sh64elf if not set.
557 * emulparams/shlelf32.sh: Stub out all settings except
558 OUTPUT_FORMAT. Source shelf32.sh.
559 * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
560 OTHER_RELOCATING_SECTIONS.
561 (OTHER_RELOCATING_SECTIONS): Remove .cranges.
562 * emulparams/shlelf64.sh: Stub out all settings except
563 OUTPUT_FORMAT. Source shelf64.sh.
564 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
565 * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
566 .cranges section.
567 (DATA_START_SYMBOLS): Define, provide ___data.
568 (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
569 for consecutive .data section.
570 (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
571 section after .data section.
572 * emulparams/shlelf64.sh: Ditto.
573 * emulparams/shelf32.sh: Ditto.
574 (ALIGNMENT): Define to 8.
575 * emulparams/shelf32.sh: Ditto.
576 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
577 * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
578 built-in linker scripts.
579 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
580 * emulparams/shlelf64.sh: New.
581 * emulparams/shelf64.sh: New.
582 * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
583 targ_extra_emuls.
584 * Makefile.am: Add support for shlelf64 and shelf64.
585 * Makefile.in: Regenerate.
586 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
587 * configure.tgt (sh64-*-elf*): Add shelf as default.
588 Add shlelf to targ_extra_emuls.
589 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
590 * emulparams/shelf32.sh: New file.
591 * emulparams/shlelf32.sh: New file.
592 * Makefile.am: Add support for shlelf32 and shelf32.
593 * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
594 * Makefile.in: Regenerate.
595
596 2002-02-05 Hans-Peter Nilsson <hp@axis.com>
597
598 * ldlang.c (lang_reset_memory_regions): Rename from
599 reset_memory_regions. Change all callers. Make public.
600 * ldlang.h (lang_reset_memory_regions): Prototype.
601 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
602 lang_reset_memory_regions before lang_size_sections.
603 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
604 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
605
606 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
607
608 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
609 arithmetic when checking for too many global registers.
610
611 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
612
613 * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
614 (ehppanbsd.c): New rule.
615 * Makefile.in: Regenerate.
616 * configure.tgt (hppa*-*-netbsd*): New target.
617 * emulparams/hppalinux.sh: Add comment to check other files
618 that source this file it is modified, and list which
619 files that do.
620 * emulparams/hppanbsd.sh: New file.
621
622 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
623
624 * scripttempl/xstormy16.sc: Don't allocate extra space for the
625 stack.
626
627 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
628
629 Support on-demand global register allocation from
630 R_MMIX_BASE_PLUS_OFFSET relocs.
631 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
632 mmix_set_reg_section_vma. Call
633 _bfd_mmix_finalize_linker_allocated_gregs.
634 (mmix_before_allocation): New function.
635 (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
636 (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
637 * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
638 (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
639 before .MMIX.reg_contents.
640 * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
641 (mmo_after_open): New function.
642 (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
643 * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
644 .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
645
646 2002-01-31 Ivan Guzvinec <ivang@opencores.org>
647
648 * emulparams/or32.sh: New file.
649 * emulparams/or32elf.sh: New file.
650 * scripttempl/or32.sc: New file.
651 * configure.tgt : Add support for or32.
652 * configure: Regenerate
653 * Makefile.am: Add support for or32.
654 * Makefile.in: Regenerate.
655 * NEWS: Mention support for or32.
656 * po/ld.pot: Regenerate.
657
658 2002-01-29 Chris Demetriou <cgd@broadcom.com>
659 Mitch Lichtenberg <mpl@broadcom.com>
660
661 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
662 * emultempl/mipself.em: New file to handle MIPS ELF embedded
663 reloc creation (ld --embedded-relocs).
664
665 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
666
667 * configure: Regenerated.
668
669 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
670
671 * Makefile.am (install): Depend on install-info.
672 * Makefile.in: Regenerate.
673
674 2002-01-26 Christian Rose <menthos@menthos.com>
675
676 * ldmain.c (main): Use full sentences to ease translation.
677
678 2002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
679
680 * po/fr.po: Updated version.
681
682 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
683
684 * po/es.po: Updated version.
685
686 2002-01-25 Andreas Jaeger <aj@suse.de>
687
688 * ldlex.l (yy_input): Correct error check.
689
690 2002-01-25 Alan Modra <amodra@bigpond.net.au>
691
692 * ldmisc.c (demangle): Put back dots when string not demangled.
693
694 2002-01-22 Richard Henderson <rth@redhat.com>
695
696 * emulparams/elf64alpha.sh (NOP): Use unop.
697
698 2002-01-21 Andreas Jaeger <aj@suse.de>
699
700 * ldlex.l: Use fread instead of read.
701
702 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
703
704 * configure.tgt (ia64-*-netbsd*): New target.
705
706 2002-01-21 H.J. Lu <hjl@gnu.org>
707
708 * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
709 0.
710 * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
711
712 2002-01-18 Andreas Jaeger <aj@suse.de>
713
714 * ldver.c (ldversion): Update year.
715
716 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
717
718 * po/ld.pot: Regenerate.
719
720 2002-01-16 Alan Modra <amodra@bigpond.net.au>
721
722 * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
723 * Makefile.in: Regenerate.
724 * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
725 * emultempl/ppc64elf.em: New file.
726
727 2002-01-15 DJ Delorie <dj@redhat.com>
728
729 * scripttempl/pe.sc: Add support for constructor priorities.
730
731 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
732
733 * emulparams/avr1200.sh (DATA_START): Define as 0x60.
734 * emulparams/avr23xx.sh: Likewise.
735 * emulparams/avr4433.sh: Likewise.
736 * emulparams/avr44x4.sh: Likewise.
737 * emulparams/avr85xx.sh: Likewise.
738 * emulparams/avrmega103.sh: Likewise.
739 * emulparams/avrmega161.sh: Likewise.
740 * emulparams/avrmega603.sh: Likewise.
741 * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
742
743 2002-01-08 Alexandre Oliva <aoliva@redhat.com>
744
745 * ldlang.c (walk_wild_section): Exclude object file if enclosing
746 archive is excluded.
747
748 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
749
750 * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
751 (eshelf_nbsd.c): New rule.
752 (eshlelf_nbsd.c): New rule.
753 * Makefile.in: Regenerate.
754 * configure.tgt (sh*le-*-netbsdelf*): New target.
755 (sh*-*-netbsdelf*): New target.
756 * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
757 * ld/emulparams/shelf_nbsd.sh: New emulation.
758 * ld/emulparams/shlelf_nbsd.sh: New emulation.
759
760 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
761
762 * po/es.po: New file: Spanish translation.
763 * configure.in (ALL_LINGUAS): Add es.
764 * configure: Regenerate.
765
766 2002-01-06 John Marshall <jmarshall@acm.org>
767
768 * ld.texinfo: Note that --emit-relocs is currently only
769 implemented for ELF.
770
771 2002-01-05 Alan Modra <amodra@bigpond.net.au>
772
773 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
774 of bfd_section_list_remove and bfd_section_list_insert macros.
775 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
776 * emultempl/mmo.em (mmo_place_orphan): Likewise.
777
778 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
779
780 * configure.tgt (x86_64-*-netbsd*): New target.
781
782 2001-12-21 Tom Rix <trix@redhat.com>
783
784 (gld*_create_output_section_statements): New function.
785 For -binitfini support.
786 * emultempl/aix.em (gld*_before_parse): Fix comment.
787 * emultempl/aix.em (gld*_parse_args): Fix comment.
788
789 2001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
790
791 * configure.tgt (mips*-dec-netbsd*): Delete alias for
792 mips*el-*-netbsd*.
793 (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
794
795 * configure.tgt (arm-*-netbsdelf*): Add target.
796 (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
797 * emulparams/armelf_nbsd.sh: Added.
798 * Makefile.am: Add rules for earmelf_nbsd.
799 * Makefile.in: Regenerate.
800
801 2001-12-19 Andreas Jaeger <aj@suse.de>,
802 Susanne Oberhauser <froh@suse.de>
803
804 * configure.host: Add rules for x86_64-*linux-gnu. Change
805 s390x-linux entry to use gcc to report configuration, replace gcc
806 with $CC in s390-linux
807
808 2001-12-19 Andreas Jaeger <aj@suse.de>
809
810 * ld.texinfo (VERSION): Fix markup.
811
812 2001-12-18 matthew green <mrg@eterna.com.au>
813
814 * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
815 (m68kelfnbsd.c): New rule.
816 * Makefile.in: Regenerate.
817 * configure.tgt (m68*-hp-netbsd*): Renamed to ..
818 (m68*-*-netbsd*4k*): .. this.
819 (m68*-*-netbsdelf*): New target.
820 (m68*-*-netbsd*): Also include ELF support.
821 (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
822 * emulparams/m68kelfnbsd.sh: New emulation.
823
824 2001-12-18 Jakub Jelinek <jakub@redhat.com>
825
826 * ldgram.y (vers_node): Support anonymous version tags.
827 * ldlang.c (lang_register_vers_node): Ensure anonymous version
828 tag is not defined together with non-anonymous versions.
829 * ld.texinfo: Document it.
830
831 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
832
833 * po/tr.po: New file: Turkish translation.
834 * configure.in (ALL_LINGUAS): Add tr.
835 * configure: Regenerate.
836
837 2001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
838
839 * Makefile.am: Add rules for eelf64alpha_nbsd.
840 * Makefile.in: Regenerate.
841 * configure.tgt (alpha*-*-netbsd*): Set
842 targ_emul to elf64alpha_nbsd.
843 * emulparams/elf64alpha_nbsd.sh: Added.
844
845 2001-12-17 Alan Modra <amodra@bigpond.net.au>
846
847 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
848 section_tail when fiddling with section list.
849 (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
850 broken into separate strings to make translation easier.
851 * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
852 fiddling with section list.
853 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
854
855 2001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
856
857 * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
858
859 2001-12-15 Alan Modra <amodra@bigpond.net.au>
860
861 * ldmain.c (main): Initialise link_info.eh_frame_hdr.
862
863 2001-12-13 Jakub Jelinek <jakub@redhat.com>
864
865 * emultempl/elf32.em (finish): Supply output_bfd
866 to bfd_elf*_discard_info.
867 (OPTION_EH_FRAME_HDR): Define.
868 (longopts): Add --eh-frame-hdr.
869 (parse_args): Handle it.
870 (list_options): Add --eh-frame-hdr to help.
871 * emultempl/hppaelf.em (finish): Supply output_bfd
872 to bfd_elf*_discard_info.
873 * scripttempl/elf.sc (.eh_frame_hdr): Add.
874
875 2001-12-13 Alan Modra <amodra@bigpond.net.au>
876
877 * lexsup.c (parse_args): Don't pass shortopts to second call to
878 getopt functions. Restore optind rather than decrementing before
879 second call. Remove errind as it now duplicates last_optind.
880
881 2001-12-11 Christopher Faylor <cgf@redhat.com>
882
883 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
884
885 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
886 Richard Henderson <rth@redhat.com>
887
888 * Makefile.am: Add support for xstormy16.
889 * configure.tgt: Add support for xstormy16.
890 * Makefile.in: Regenerate.
891 * emulparams/elf32xstormy16.sh: New file.
892 * scripttempl/xstormy16.sc: New file.
893
894 2001-10-01 Christopher Faylor <cgf@cygnus.com>
895
896 * Makefile.in (LIB_PATH): Make configurable.
897 (GENSCRIPTS): Set LIB_PATH in environment.
898 * configure.in: Substitute LIB_PATH.
899 * configure: Regenerate.
900 * configure.tgt (*cygwin): Set LIB_PATH for cross build.
901 * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
902
903 2001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
904
905 * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
906 describing the -N option so that it is easier to translate into
907 foreign languages.
908
909 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
910
911 * emultempl/pe.em (..._list_options): Replace multiple fprintf
912 statements describing a single option with a single, newline
913 escaped fprintf. This allows better translation into other
914 languages.
915
916 * ldmain.c (add_archive_element): Combine multiple strings
917 into a single string to permit better translation into other
918 languages.
919
920 2001-12-05 Tom Rix <trix@redhat.com>
921
922 * Makefile.am: Remove eaixppc64.
923 * Makefile.in: Regenerate.
924
925 2001-12-04 Tom Rix <trix@redhat.com>
926
927 * emultempl/aix.em (choose_target): Change default target to
928 OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
929 warning.
930 (gld*_read_file): Fix typo.
931 (change_symbol_mode): Add prototype.
932 (is_syscall): Same.
933
934 * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
935 * emulparams/aixrs6.sh : Same.
936 * emulparams/ppcmacos.sh : Same.
937 * emulparams/aixppc64.sh : Delete file.
938 * emultempl/aix.em : Formatting changes.
939
940 2001-12-04 Hans-Peter Nilsson <hp@axis.com>
941
942 * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
943 (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
944 __Sbss.
945 (OTHER_END_SYMBOLS): Fix formatting.
946 * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
947 (OTHER_END_SYMBOLS): Fix formatting.
948
949 2001-12-04 Alan Modra <amodra@bigpond.net.au>
950
951 * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
952
953 2001-12-02 Tom Rix <trix@redhat.com>
954
955 * configure.tgt : Remove eaixppc64 emulations.
956 * Makefile.in : Remove eaixppc64.c
957 * ldemul.c (ldemul_choose_target): New parameters argc, argv.
958 (ldemul_default_target): Same.
959 * emultempl/gld960.em (gld960_choose_target): Same.
960 * emultempl/gld960c.em (gld960_choose_target): Same.
961 * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
962 * emultempl/aix.em (is_syscall): syscall_mask now a variable.
963 * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
964 * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
965 * emultempl/aix.em (choose_target): New function. Handle emulation of
966 -b32 and -b64.
967
968 2001-11-27 H.J. Lu <hjl@gnu.org>
969
970 * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
971 * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
972 * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
973 * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
974 * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
975 * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
976 * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
977 * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
978
979 * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
980 is not empty.
981 (SDATA): Likewise.
982 (REL_SDATA): Likewise.
983 (REL_SBSS): Likewise.
984 (REL_SDATA2): Likewise.
985 (REL_SBSS2): Likewise.
986 (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
987 (SDATA2): Likewise.
988
989 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
990
991 * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
992 destructor in rom.
993 * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
994
995 2001-11-22 H.J. Lu <hjl@gnu.org>
996
997 * Makefile.in: Regenerated with automake based on automake
998 1.4-8 in RedHat 7.1.
999
1000 2001-11-22 Alan Modra <amodra@bigpond.net.au>
1001
1002 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
1003 (config.status): Delete rule.
1004 Add extra dependencies to cover sourced emulparams files.
1005 * Makefile.in: Regenerate.
1006
1007 * scripttempl/elf.sc: Order <section>, <section>.* and
1008 corresponding linkonce sections as seen in input files.
1009 Formatting fixes. Zero vma of all sections if not relocating.
1010 (STACK): Define and insert if STACK_ADDR defined.
1011 (OTHER_RELOCATING_SECTIONS): Delete.
1012 (OTHER_END_SYMBOLS): Define.
1013 (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
1014 (OTHER_READWRITE_SECTIONS): Likewise.
1015 (OTHER_GOT_SECTIONS): Likewise.
1016 (OTHER_SDATA_SECTIONS): Likewise.
1017 (OTHER_BSS_SECTIONS): Likewise.
1018 * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
1019 (OTHER_READWRITE_SECTIONS): Likewise.
1020 * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
1021 (OTHER_READWRITE_SECTIONS): Likewise
1022
1023 * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
1024 (STACK_ADDR): Define.
1025 * emulparams/armelf_oabi.sh: As for armelf.sh.
1026 * emulparams/elf32mcore.sh: As for armelf.sh.
1027 * emulparams/h8300elf.sh: As for armelf.sh.
1028 * emulparams/mn10200.sh: As for armelf.sh.
1029 * emulparams/shelf.sh: As for armelf.sh.
1030
1031 * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
1032 (OTHER_END_SYMBOLS): Define.
1033 * emulparams/m32relf.sh: As for elf32fr30.sh.
1034 * emulparams/h8300helf.sh: As for elf32fr30.sh.
1035 * emulparams/h8300self.sh: As for elf32fr30.sh.
1036
1037 * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
1038 defines with RELOCATING test.
1039 (OTHER_SDATA_SECTIONS): Likewise.
1040 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1041 (OTHER_END_SYMBOLS): ..this.
1042 * emulparams/crislinux.sh: As for criself.sh.
1043
1044 * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
1045 if not relocating.
1046 (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
1047 (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
1048 normal and linkonce sections as seen in input files.
1049 * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
1050 (TEXT_DYNAMIC): Likewise.
1051 (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
1052 (OTHER_SDATA_SECTIONS): Likewise.
1053 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
1054 * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
1055 * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
1056 * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
1057 * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
1058 (OTHER_PLT_RELOC_SECTIONS): Likewise.
1059 (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
1060 sections as seen in input files.
1061 * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
1062 * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
1063 if not relocating.
1064 (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
1065 (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
1066 * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
1067 (OTHER_SECTIONS): Instead, use this..
1068 (OTHER_END_SYMBOLS): ..and this.
1069
1070 * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
1071 * emulparams/elf32bsmip.sh: Likewise.
1072 * emulparams/elf32btsmip.sh: Likewise.
1073 * emulparams/elf32ebmip.sh: Likewise.
1074 * emulparams/elf32lmip.sh: Likewise.
1075 * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
1076 * emulparams/elf32lsmip.sh: Likewise.
1077 * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
1078 * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
1079 * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
1080 * emulparams/elf64btsmip.sh: Likewise.
1081 * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
1082 * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
1083 * emulparams/elf32ppclinux.sh: Likewise.
1084 * emulparams/elf32ppcsim.sh: Likewise.
1085 * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
1086 * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
1087 * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
1088 * emulparams/h8300self.sh: Likewise.
1089 * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
1090 * emulparams/sh.sh: Comment.
1091 * emulparams/shl.sh: Source sh.sh, remove duplicates.
1092 * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
1093 * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
1094
1095 2001-11-21 David Heine <dlheine@tensilica.com>
1096 Alan Modra <amodra@bigpond.net.au>
1097
1098 * ldlang.c (map_input_to_output_sections): Replace "break"
1099 accidentally removed with 2001-08-03 change.
1100 (lang_gc_sections_1): Likewise.
1101
1102 2001-11-21 Alan Modra <amodra@bigpond.net.au>
1103
1104 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
1105
1106 2001-11-20 Angela Marie Thomas <angela@redhat.com>
1107
1108 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
1109 of false when calling lang_size_sections.
1110 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
1111
1112 2001-11-15 Alan Modra <amodra@bigpond.net.au>
1113
1114 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
1115 function when LDEMUL_FINISH isn't set to the same name. Don't
1116 call ${LDEMUL_FINISH}.
1117 (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
1118 * emultempl/armelf.em (arm_elf_finish): Call
1119 gld${EMULATION_NAME}_finish.
1120 * emultempl/hppaelf.em (hppaelf_finish): Rename to
1121 gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
1122 hppaelf_layout_sections_again if necessary.
1123 (need_laying_out): New var.
1124 (hppaelf_layaout_sections_again): Rename to
1125 hppaelf_layout_sections_again. Clear need_laying_out.
1126 (PARSE_AND_LIST_OPTIONS): Format text.
1127
1128 2001-11-14 H.J. Lu <hjl@gnu.org>
1129
1130 * emultempl/armelf.em (arm_elf_finish): Renamed from
1131 gld${EMULATION_NAME}_finish.
1132 (LDEMUL_FINISH): Set to arm_elf_finish.
1133
1134 2001-11-14 Daniel Jacobowitz <drow@mvista.com>
1135
1136 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
1137 (struct ld_emulation_xfer_struct): Use it.
1138
1139 2001-11-13 Ross Alexander <ross.alexander@uk.neceur.com>
1140
1141 * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
1142 additional symbols referenced by newer crt0.o files from HP.
1143
1144 2001-11-12 Anthony Green <green@redhat.com>
1145
1146 * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
1147
1148 2001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
1149
1150 * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
1151 * Makefile.in: Regenerate.
1152
1153 2001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1154
1155 * ld.texinfo: Use @command for commands, @option for options.
1156 * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
1157 the page man title.
1158 * Makefile.in: Rebuild.
1159
1160 2001-11-04 Chris Demetriou <cgd@broadcom.com>
1161
1162 * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
1163 Add support for targets.
1164
1165 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
1166
1167 * configure.in (ALL_LINGUAS): Add "fr" and "sv"
1168 * configure: Regernate.
1169 * po/fr.po: New file.
1170 * po/sv.po: New file.
1171
1172 2001-11-01 NIIBE Yutaka <gniibe@m17n.org>
1173
1174 * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
1175 as little endian default and to support big endian.
1176
1177 2001-11-01 Chris Demetriou <cgd@broadcom.com>
1178
1179 * ld.texinfo (Options): Document new option, -nostdlib.
1180 * lexsup.c (OPTION_NOSTDLIB): New definition.
1181 (ld_options): Add entry for "nostdlib".
1182 (parse_args): Handle OPTIONS_NOSTDLIB.
1183 * ldfile.c (ldfile_add_library_path): Don't add directories
1184 to the search path if they weren't specified on the command line
1185 and -nostdlib was specified.
1186 * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
1187
1188 2001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
1189
1190 * lexsup.c (parse_args): Prevent infinite parsing loop when
1191 "-rpath.a" is specified on the command line.
1192 Replace calls to fprintf with calls to einfo.
1193
1194 2001-10-31 John Marshall <jmarshall@acm.org>
1195
1196 * ld.texinfo: A historical requirement that MEMORY and SECTIONS
1197 appear only once across all the linker scripts involved in a link
1198 invocation no longer applies. Make the documentation reflect
1199 that.
1200
1201 2001-10-31 NIIBE Yutaka <gniibe@m17n.org>
1202
1203 * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
1204 targets.
1205 (sh-*-linux*): Added targ_extra_libpath.
1206
1207 2001-10-31 David Heine <dlheine@tensilica.com>
1208
1209 * ldlang.c (lang_size_sections): Keep a valid output_offset field
1210 for padding statements.
1211
1212 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1213
1214 * configure.tgt (mmix-*-*): New target.
1215 * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
1216 Add dependencies to match.
1217 * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
1218 emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
1219 scripttempl/mmo.sc: New files.
1220 * gen-doc.texi: @set MMIX.
1221 * ld.texinfo: Ditto.
1222 [MMIX] Add MMIX node.
1223 * Makefile.in: Regenerate.
1224
1225 2001-10-29 Kazu Hirata <kazu@hxi.com>
1226
1227 * ldlang.c: Fix a comment typo.
1228
1229 2001-10-23 Alan Modra <amodra@bigpond.net.au>
1230
1231 * configure.host: Move alpha*-*-linux-gnu* entry to generic
1232 entries, and match *-*-linux*.
1233
1234 2001-10-20 Alan Modra <amodra@bigpond.net.au>
1235
1236 * ldgram.y (mri_script_command): Surround processing of INCLUDE
1237 with ldlex_script, ldlex_popstate.
1238 (ifile_p1): Likewise.
1239 * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
1240 correct slot.
1241 (lex_push_file): Save current lineno to lineno_stack. Set lineno
1242 to 1. Don't BEGIN(SCRIPT).
1243 (lex_redirect): Similarly.
1244 * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
1245
1246 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
1247
1248 * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
1249 __EH_FRAME_END__ and accept eh frames into data section.
1250 Add ctor and dtor sections.
1251
1252 2001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1253
1254 * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
1255 (auto-export): Fix indentation.
1256
1257 2001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1258
1259 * pe-dll.c (autofilter_objectlist): Add startup objects
1260 for profiling.
1261 (auto-export): Constify char * p.
1262 Extract file basename and use strcmp rather than ststr
1263 for object lookup.
1264
1265 2001-10-18 Chris Demetriou <cgd@broadcom.com>
1266
1267 * ldmain.c (get_emulation): Improve comment about the handling
1268 of -mipsN options.
1269
1270 2001-10-17 Alan Modra <amodra@bigpond.net.au>
1271
1272 * po/POTFILES.in: Regenerate.
1273
1274 2001-10-16 Vassili Karpov <malc@pulsesoft.com>
1275
1276 * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
1277 -z nocopyreloc and -z nocombreloc usage strings.
1278
1279 2001-10-12 Vassili Karpov <malc@pulsesoft.com>
1280
1281 * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
1282 in usage.
1283
1284 2001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
1285
1286 * scripttempl/armaout.sc: Place .bss section after end of aligned
1287 data section to match behaviour of aout code in constructrion of
1288 header.
1289
1290 2001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
1291
1292 * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
1293 startup files for mingw32 dlls to list.
1294
1295 2001-10-10 Chris Demetriou <cgd@broadcom.com>
1296
1297 * emultempl/elf32.em: Fix shell 'if' usage for portability.
1298
1299 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
1300
1301 * configure.tgt (targ): Add arm9e-*-elf.
1302
1303 2001-10-05 H.J. Lu <hjl@gnu.org>
1304
1305 * genscripts.sh: Fix a typo in the last change.
1306
1307 2001-10-05 Jakub Jelinek <jakub@redhat.com>
1308
1309 * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
1310 -z nocombreloc in usage.
1311
1312 2001-10-03 Jim Blandy <jimb@redhat.com>
1313
1314 * genscripts.sh: Include a comment at the top of each generated
1315 script, explaining its purpose.
1316
1317 2001-10-03 Vassili Karpov <malc@pulsesoft.com>
1318
1319 * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
1320 * NEWS: Mention -z nocopyreloc.
1321 * ld.texinfo (Options): Describe nocopyreloc.
1322
1323 2001-10-03 Alan Modra <amodra@bigpond.net.au>
1324
1325 * configure: Regenerate.
1326
1327 2001-10-02 Alan Modra <amodra@bigpond.net.au>
1328
1329 * ldver.h (ld_program_version): Remove declaration.
1330 * lexsup.c (parse_args): Move printing of copyright message..
1331 * ldver.c (ldversion): .. to here.
1332 Use BFD_VERSION_STRING in place of BFD_VERSION.
1333 (ld_program_version): Remove.
1334 * Makefile.am (Makefile): Depend on bfd/configure.in.
1335 Run "make dep-am".
1336 * Makefile.in: Regenerate.
1337
1338 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
1339
1340 * Makefile.am: Update dependencies with "make dep-am".
1341 * Makefile.in: Regenerate.
1342
1343 2001-09-29 John Reiser <jreiser@BitWagon.com>
1344
1345 * ldlang.c (lang_common): Conditionally inhibit Common allocation.
1346 * lexsup.c: Add --no-define-common commandline option.
1347 * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
1348 * ldlex.l: Likewise.
1349 * ld.h: Add command_line.inhibit_common_definition.
1350 * ldmain.c (main): Initialize.
1351 * ld.texinfo: Document.
1352
1353 2001-09-26 Alan Modra <amodra@bigpond.net.au>
1354
1355 * ldmisc.c (USE_STDARG): Remove.
1356 (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
1357 (einfo): Likewise.
1358 (minfo): Likewise.
1359 (lfinfo): Likewise.
1360
1361 * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
1362 declarations. Update copyright.
1363
1364 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
1365
1366 * pe-dll.c: Remove obsoleted declaration of
1367 pe_get_data_import_dll_name.
1368 (pe_create_import_fixup): Fix thinko.
1369
1370 * ld.texinfo(enable-auto-import): Clarify the explanation.
1371
1372 2001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
1373
1374 * pe-dll.c (pe_create_import_fixup): Revert previous patch.
1375 * emultemp/pe.em (pe_data_import_dll): Move definition outside of
1376 DLL_SUPPORT controlled code.
1377
1378 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
1379
1380 * emultempl/pe.em(pe_data_import_dll): Make static.
1381 (pe_get_data_import_dll_name): New accessor function.
1382 * pe-dll.c(pe_create_import_fixup): call
1383 pe_get_data_import_dll_name() from pe.em, instead of
1384 directly accessing pe_data_import_dll variable from pe.em.
1385
1386 2001-09-18 Bruno Haible <haible@clisp.cons.org>
1387
1388 * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
1389 (def_file_add_directive): Use ISSPACE instead of isspace.
1390 (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
1391 isdigit/isxdigit/isalpha/isalnum.
1392 * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
1393 (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
1394 * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
1395 (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
1396 isalnum.
1397 * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
1398 (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
1399 isupper/tolower.
1400 * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
1401 (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
1402 * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
1403 (ctor_prio): Use ISDIGIT instead of isdigit.
1404 * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
1405 (ldfile_open_file_search): Use ISALPHA instead of isalpha.
1406 (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
1407 isupper/tolower.
1408 * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
1409 (stricpy): Use TOLOWER instead of isupper/tolower.
1410 (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
1411 * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
1412 (lex_warn_invalid): Use ISPRINT instead of isprint.
1413 * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
1414 (main): For gettext, also set the LC_CTYPE locate facet.
1415 (add_keepsyms_file): Use ISSPACE instead of isspace.
1416 * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
1417 (is_num, parse_args): Use ISDIGIT instead of isdigit.
1418 * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
1419 (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
1420 * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
1421 (gldppcmacos_read_file): Use ISSPACE instead of isspace.
1422 * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
1423 (quoteput): Use ISSPACE instead of isspace.
1424 (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
1425 instead of isalnum.
1426
1427 2001-09-18 Alan Modra <amodra@bigpond.net.au>
1428
1429 * deffilep.y (def_stash_module): Constify "name" param.
1430
1431 * pe-dll.c: Replace CONST with const throughout.
1432 (quick_symbol): Constify "n1", "n2", "n3" params.
1433 (make_singleton_name_thunk): Constify "import" param. Make
1434 "buffer_len" a size_t.
1435 (make_import_fixup_entry): Constify "name", "fixup_name",
1436 "dll_symname" params.
1437 (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
1438 (pe_get32): Likewise.
1439 (pe_implied_import_dll): Likewise.
1440
1441 * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
1442 (sort_by_section_name): Likewise.
1443
1444 * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
1445 (make_import_fixup): Cast printf arg, rel->address to long rather
1446 than int.
1447 (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
1448
1449 2001-09-15 Alan Modra <amodra@bigpond.net.au>
1450
1451 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
1452 defines BufferSize. Increase buffer size by one.
1453
1454 2001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
1455
1456 * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
1457
1458 2001-09-14 Kevin Lo <kevlo@openbsd.org>
1459
1460 * configure.tgt: Add arm-openbsd target.
1461
1462 2001-09-12 H.J. Lu <hjl@gnu.org>
1463
1464 * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
1465 eelf64lppc.o to ...
1466 (ALL_64_EMULATIONS): Here.
1467 * Makefile.in: Regenerated.
1468
1469 2001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
1470
1471 * emultempl/pe.em(make_import_fixup): change signature to
1472 take asection as well as arelec; we need this for proper
1473 error reporting. Only call pe_create_import_fixup() if
1474 there is no attempt to add a constant addend to the reloc;
1475 otherwise, report error condition.
1476 * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
1477 since final argument is a pointer to make_import_fixup().
1478 Change call to cb() to match make_import_fixup() signature.
1479 (make_import_fixup_mark): make buffer_len unsigned.
1480 * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
1481
1482 2001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
1483
1484 * ld.texinfo: add verbose documentation for auto-import
1485 direct-addressing workaround, to compliment the terse
1486 error message.
1487
1488 2001-09-12 Andrew MacLeod <amacleod@redhat.com>
1489
1490 * scripttempl/v850.sc: Add gcc_except_table sections.
1491
1492 2001-09-11 Jeffrey A Law (law@cygnus.com)
1493
1494 * emulparams/h8300helf.sh: Move stack to a much higher memory address.
1495 * emulparams/h8300self.sh: Similarly.
1496
1497 2001-09-05 Danny Smith <dannysmith@users.souceforge.net>
1498
1499 * ld.texinfo (Options, --stack): Correct default value for stack
1500 reserve.
1501
1502 2001-09-05 Tom Rix <trix@redhat.com>
1503
1504 * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
1505
1506 2001-09-03 Andreas Jaeger <aj@suse.de>
1507
1508 * emultempl/beos.em: Declare prototypes for comparions functions,
1509 adjust definitions.
1510
1511 2001-09-02 Andreas Jaeger <aj@suse.de>
1512
1513 * emultempl/aix.em: Add missing prototype.
1514 * emultempl/lnk960.em: Likewise.
1515 * emultempl/vanilla.em: Likewise.
1516 * emultempl/armcoff.em: Likewise.
1517 * emultempl/armelf_oabi.em: Likewise.
1518 * emultempl/beos.em: Likewise.
1519 * emultempl/gld960c.em: Likewise.
1520 * emultempl/gld960.em: Likewise.
1521
1522 * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
1523 for prototype declaration.
1524
1525 2001-08-31 Eric Christopher <echristo@redhat.com>
1526 Jason Eckhardt <jle@redhat.com>
1527
1528 * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
1529
1530 2001-08-31 Andreas Jaeger <aj@suse.de>
1531
1532 * emultempl/pe.em: Add missing prototypes.
1533 (gld_${EMULATION_NAME}_after_open): Remove extra args to
1534 pe_find_data_imports.
1535 (pr_sym): Add unused attribute.
1536
1537 2001-08-29 Joel Sherrill <joel@OARcorp.com>
1538
1539 * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
1540 default from coff to elf.
1541
1542 2001-08-29 Jeff Law <law@redhat.com>
1543
1544 * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
1545 ARCH specification.
1546 * emulparams/h8300self.sh: Similarly.
1547
1548 2001-08-28 J"orn Rennecke <amylaar@redhat.com>
1549
1550 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
1551 eh8300self.o .
1552 (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
1553 * configure.tgt (h8300-*-elf*): New case.
1554 * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
1555 * emulparams/h8300self.sh: New file.
1556 * Makefile.in: Regenerated.
1557
1558 2001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
1559
1560 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
1561 with macro name.
1562
1563 2001-08-27 Linus Nordberg <linus@swox.com>
1564 Alan Modra <amodra@bigpond.net.au>
1565
1566 * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
1567 (eelf64ppc.c, eelf64lppc.c): Add make targets.
1568 Run "make dep-am"
1569 * Makefile.in: Regenerate.
1570 * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
1571 entries to correct alphabetical position.
1572 * emulparams/elf64ppc.sh: New.
1573 * emulparams/elf64lppc.sh: New.
1574
1575 2001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
1576
1577 * ldmain.c (main): Declare BSIZE as static.
1578
1579 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1580
1581 * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
1582 into .rel.dyn resp. .rela.dyn if combreloc.
1583 (get_script): If .x linker script is equal to .xn, only put it
1584 once into the binary.
1585 Add .xc and .xsc scripts.
1586 (parse_args): Handle -z combreloc and -z nocombreloc.
1587 * scripttempl/elf.sc (.rela.sbss): Fix a typo.
1588 For .xc and .xsc scripts put all .rel* or .rela* input sections
1589 but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
1590 * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
1591 is elf.
1592 Strip trailing whitespace from script.
1593 Generate .xc and .xsc scripts if requested.
1594 * ldmain.c (main): Initialize link_info.combreloc and
1595 link_info.spare_dynamic_tags.
1596 * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
1597 (ld_options): Add --spare-dynamic-tags option.
1598 (parse_args): Likewise.
1599 * ld.texinfo: Document -z combreloc and -z nocombreloc.
1600 * ldint.texinfo: Document .xc and .xsc linker scripts.
1601 * NEWS: Add notes about -z combreloc and SHF_MERGE.
1602
1603 2001-08-22 H.J. Lu <hjl@gnu.org>
1604
1605 * emulparams/elf32fr30.sh: Add a newline.
1606
1607 2001-08-21 Andreas Jaeger <aj@suse.de>
1608
1609 * deffilep.y: Add missing prototypes.
1610 * pe-dll.c: Likewise.
1611
1612 2001-08-20 Alan Modra <amodra@bigpond.net.au>
1613
1614 * ldlang.c (insert_pad): Fix typos in last patch.
1615
1616 * ldlang.c: When traversing lang_statement_union_type lists,
1617 consistently use "header.next" rather than "next".
1618 * mpw-eppcmac.c: Likewise.
1619 * emultempl/beos.em: Likewise.
1620 * emultempl/hppaelf.em: Likewise.
1621 * emultempl/pe.em: Likewise.
1622 * ldlang.h (union lang_statement_union): Remove "next" field.
1623
1624 * ldlang.c (insert_pad): Use offsetof macro.
1625 (lang_size_sections): Always neuter padding statements.
1626 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
1627
1628 * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
1629 passed to lang_size_sections.
1630 (pe_exe_fill_sections): Likewise.
1631 * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
1632 (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
1633
1634 2001-08-18 Alan Modra <amodra@bigpond.net.au>
1635
1636 * emultempl/aix.em: Formatting fixes.
1637
1638 2001-08-18 Alan Modra <amodra@bigpond.net.au>
1639
1640 * ldlang.c (insert_pad): Make use of an existing pad statement if
1641 available. Move code calculating alignment, adjusting section
1642 alignment power, and adjusting dot to ..
1643 (size_input_section): .. here. Remove unused relax param.
1644 (lang_size_sections): Change boolean `relax' param to boolean *.
1645 Adjust call to size_input_section. Make use of insert_pad to
1646 place pad after the assignment statement. If relaxing, zap
1647 padding statements.
1648 (reset_memory_regions): Reset output_bfd section sizes too.
1649 (relax_again): Move to..
1650 (lang_process): ..here. Adjust call to lang_size_sections, and
1651 remove duplicated code.
1652 * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
1653
1654 2001-08-17 Alan Modra <amodra@bigpond.net.au>
1655
1656 * ld.texinfo: Document that fill values now use the four least
1657 significant bytes.
1658 * emulparams/elf32fr30.sh (NOP): Update.
1659 * emulparams/elf32mcore.sh: Likewise.
1660 * emulparams/elf64_s390.sh: Likewise.
1661 * emulparams/elf_i386.sh: Likewise.
1662 * emulparams/elf_i386_be.sh: Likewise.
1663 * emulparams/elf_i386_chaos.sh: Likewise.
1664 * emulparams/elf_i386_ldso.sh: Likewise.
1665 * emulparams/elf_s390.sh: Likewise.
1666 * emulparams/elf_x86_64.sh: Likewise.
1667 * emulparams/i386moss.sh: Likewise.
1668 * emulparams/i386nw.sh: Likewise.
1669 * emulparams/m68kelf.sh: Likewise.
1670 * scripttempl/elf.sc: Update NOP comment.
1671 * scripttempl/elfi370.sc: Likewise.
1672 * scripttempl/elfm68hc11.sc: Likewise.
1673 * scripttempl/elfm68hc12.sc: Likewise.
1674 * scripttempl/nw.sc: Likewise.
1675
1676 2001-08-15 Tom Rix <trix@redhat.com>
1677
1678 * ldgram.y (saved_script_handle): Initialize to NULL.
1679 * ldmain.c (main): Change check on saved_script_handle.
1680
1681 2001-08-14 Alan Modra <amodra@bigpond.net.au>
1682
1683 * emultempl/elf32.em: Formatting fixes.
1684 (output_prev_sec_find): Test for bfd_ind_section too; do so by
1685 looking at sec->owner.
1686 (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
1687 (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
1688 unused code, and reorganize orphan section placement code.
1689
1690 * ldlang.c (wild_doit): Rename to lang_add_section.
1691 * ldlang.h: Here too.
1692 * mpw-elfmips.c: And here.
1693 * emultempl/beos.em: And here.
1694 * emultempl/elf32.em: And here.
1695 * emultempl/hppaelf.em: And here.
1696 * emultempl/pe.em: And here.
1697
1698 2001-08-13 Richard Henderson <rth@redhat.com>
1699
1700 * emultempl/needrelax.em: New file.
1701 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
1702 * Makefile.am (eelf64_ia64.c): Depend on it.
1703 * Makefile.in: Rebuild.
1704
1705 2001-08-13 Alan Modra <amodra@bigpond.net.au>
1706
1707 * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
1708 output_section is set non-NULL.
1709
1710 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
1711 `true' for SEC_EXCLUDE sections so that the generic code doesn't
1712 needlessly create an output_section_statement. Treat a correctly
1713 named output_section_statement with NULL bfd_section as compatible.
1714
1715 2001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
1716
1717 * emultempl/generic.em: Support EXTRA_EM_FILE.
1718 (ld_${EMULATION_NAME}_emulation): Support emulation parameters
1719 LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
1720 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
1721 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
1722 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
1723 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
1724 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
1725 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
1726 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
1727 LDEMUL_FIND_POTENTIAL_LIBRARIES.
1728
1729 2001-08-12 Richard Henderson <rth@redhat.com>
1730
1731 * scripttempl/elf.sc, scripttempl/elfd30v.sc,
1732 scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
1733 scripttempl/v850.sc: Keep .jcr data.
1734
1735 2001-08-12 H.J. Lu <hjl@gnu.org>
1736 Andrew Haley <aph@cambridge.redhat.com>
1737 Nick Clifton <nickc@redhat.com>
1738
1739 * ldgram.y (had_script): Change name to saved_script_handle.
1740 Change type to file handle.
1741 * ld.h (had_script): Rename and retype.
1742 * ldfile.c (ldfile_open_command_file): Save the file handle
1743 used in saved_script_handle.
1744 * lexsup.c (parse_args): Do not allow -c option to alter
1745 saved_script_handle.
1746 * ldmain.c (main): Print out the linker script used if
1747 --verbose is given. Check saved_script_handle to obtain the
1748 external linker script used, or if NULL, dump the builtin
1749 script.
1750 * ld.texinfo: Document that --verbose now dumps the linker
1751 script used, regardless of whether it was an internal or an
1752 external script.
1753
1754 2001-08-10 Andreas Jaeger <aj@suse.de>
1755
1756 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
1757 to build warnings.
1758 * configure: Regenerate.
1759
1760 2001-08-09 Alan Modra <amodra@bigpond.net.au>
1761
1762 * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
1763
1764 * scripttempl/elf.sc: Move non-text .dynamic section before
1765 .plt/.got/.sdata* group.
1766 (OTHER_GOT_SECTIONS): Move to immediately after .got.
1767 (OTHER_SDATA_SECTIONS): Add.
1768 * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
1769 OTHER_GOT_SECTIONS.
1770 * emulparams/crislinux.sh: Likewise.
1771 * emulparams/elf32b4300.sh: Likewise.
1772 * emulparams/elf32bmip.sh: Likewise.
1773 * emulparams/elf32bmipn32.sh: Likewise.
1774 * emulparams/elf32bsmip.sh: Likewise.
1775 * emulparams/elf32btsmip.sh: Likewise.
1776 * emulparams/elf32ebmip.sh: Likewise.
1777 * emulparams/elf32elmip.sh: Likewise.
1778 * emulparams/elf32l4300.sh: Likewise.
1779 * emulparams/elf32lmip.sh: Likewise.
1780 * emulparams/elf32lsmip.sh: Likewise.
1781 * emulparams/elf32ltsmip.sh: Likewise.
1782 * emulparams/elf64bmip.sh: Likewise.
1783 * emulparams/elf64btsmip.sh: Likewise.
1784 * emulparams/elf64ltsmip.sh: Likewise.
1785
1786 2001-08-08 Alan Modra <amodra@bigpond.net.au>
1787
1788 * genscripts.sh: Source the emulparams script before each output
1789 script is generated so that variables like `RELOCATING' may affect
1790 variables defined in the emulparams script.
1791
1792 2001-08-04 Alan Modra <amodra@bigpond.net.au>
1793
1794 * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
1795 order.
1796
1797 * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
1798 ie. iterate over wild_statement.section_list.
1799 (gld${EMULATION_NAME}_place_orphan): Likewise.
1800
1801 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1802
1803 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
1804 .fini[0-4] sections used by _exit
1805 (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
1806 (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
1807 * scripttempl/elfm68hc11.sc: Likewise.
1808
1809 2001-08-03 H.J. Lu <hjl@gnu.org>
1810
1811 * emultempl/beos.em (init): Add the missing initialization.
1812
1813 2001-08-03 Alan Modra <amodra@bigpond.net.au>
1814
1815 * ld.texinfo (Input Section Basics): Clarify ordering of output
1816 sections.
1817 * ldlang.c (callback_t): Add wildcard_list param.
1818 (walk_wild_section): Remove "section" param. Rewrite for
1819 lang_wild_statement_type change. Remove unique_section_p test.
1820 (walk_wild_file): Remove "section" param.
1821 (walk_wild): Remove "section" and "file" params.
1822 (lang_gc_wild): Likewise.
1823 (wild): Likewise. Modify for lang_wild_statement_type change.
1824 (wild_sort): Likewise. Add "sec" param.
1825 (gc_section_callback): Likewise.
1826 (output_section_callback): Likewise. Do unique_section_p test.
1827 (map_input_to_output_sections): Modify call to wild.
1828 (lang_gc_sections_1): Likewise.
1829 (print_wild_statement): Modify for lang_wild_statement_type
1830 change.
1831 (lang_add_wild): Replace filename, filenames_sorted param with
1832 filespec. Replace section_name, sections_sorted,
1833 exclude_filename_list with section_list.
1834 * ldlang.h (lang_add_wild): Here too.
1835 (lang_wild_statement_type): Replace section_name, sections_sorted,
1836 and exclude_filename_list with section_list.
1837 * ldgram.y (current_file): Delete.
1838 (%union): Add wildcard_list.
1839 (file_NAME_list): Set type to wildcard_list. Build a linked list
1840 rather than calling lang_add_wild for each entry.
1841 (input_section_spec_no_keep): Call lang_add_wild here instead.
1842 * ld.h (struct wildcard_list): Declare.
1843 * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
1844
1845 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
1846
1847 * ldmain.c (main): initialize link_info.pei386_auto_import
1848 * pe-dll.c: new tables for auto-export filtering
1849 (auto_export): change API, pass abfd for contextual filtering.
1850 Loop thru tables of excluded symbols instead of comparing
1851 "by hand".
1852
1853 2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
1854
1855 * pe-dll.c: new variable pe_dll_enable_extra_debug. New
1856 static variable current_sec (static struct sec *). Add
1857 forward declaration for add_bfd_to_link.
1858 (process_def_file): Don't export undefined symbols. Do not
1859 export symbols starting with "_imp__". Call auto_export()
1860 with new API.
1861 (pe_walk_relocs_of_symbol): New function.
1862 (generate_reloc): add optional extra debugging
1863 (pe_dll_generate_def_file): eliminate extraneous initial blank
1864 line in output
1865 (make_one): enlarge symtab to make room for __nm__ symbols
1866 (DATA auto-import support).
1867 (make_singleton_name_thunk): New function.
1868 (make_import_fixup_mark): New function.
1869 (make_import_fixup_entry): New function.
1870 (pe_create_import_fixup): New function.
1871 (add_bfd_to_link): Specify that 'name' argument is a CONST
1872 char *.
1873 * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
1874 declare new functions pe_walk_relocs_of_symbol and
1875 pe_create_import_fixup.
1876 * emultempl/pe.em: add new options --enable-auto-import,
1877 --disable-auto-import, and --enable-extra-pe-debug.
1878 (make_import_fixup): New function.
1879 (pe_find_data_imports): New function.
1880 (pr_sym): New function.
1881 (gld_${EMULATION_NAME}_after_open): Add optional extra pe
1882 debugging. Call pe_find_data_imports. Mark .idata as DATA, not
1883 CODE.
1884
1885 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
1886
1887 * ld.texinfo: add additional documentation for
1888 --export-all-symbols. Document --out-implib,
1889 --enable-auto-image-base, --disable-auto-image-base,
1890 --dll-search-prefix, --enable-auto-import, and
1891 --disable-auto-import.
1892 * ldint.texinfo: Add detailed documentation on auto-import
1893 implementation.
1894
1895 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
1896
1897 * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
1898 example.
1899
1900 2001-07-24 Alan Modra <amodra@bigpond.net.au>
1901
1902 * Makefile.am: Update dependencies with "make dep-am".
1903 * Makefile.in: Regenerate
1904
1905 2001-07-23 Alan Modra <amodra@bigpond.net.au>
1906
1907 * ldcref.c (check_section_sym_xref): New function.
1908 (check_nocrossrefs): Call it.
1909 (check_nocrossref): Interate over h->refs here instead of..
1910 (check_refs): ..here. Pass in the symbol name, section, and bfd
1911 rather than hash_entry pointers.
1912 (struct check_refs_info): Keep symbol name rather than hash entry.
1913 Remove "same".
1914 (check_reloc_refs): Tweak for above changes in check_refs_info.
1915 Only report references to section syms when symname is NULL to
1916 prevent duplicate messages for the same reloc.
1917
1918 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1919
1920 * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
1921 available. Do not print NULL trees.
1922 (exp_print_token): Print unknown tokens with values > 126 as
1923 decimal values not ASCII characters.
1924
1925 * ldlang.c (lang_leave_overlay): If a region is specified assign
1926 it to all sections inside the overlay unless they have been
1927 assigned to the own, non-default, memory region.
1928
1929 * README: Add header for consistency with other README files.
1930
1931 2001-07-14 H.J. Lu <hjl@gnu.org>
1932
1933 * emultempl/elf32.em (output_prev_sec_find): Never return
1934 bfd_abs_section_ptr, bfd_com_section_ptr nor
1935 bfd_und_section_ptr.
1936
1937 2001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
1938
1939 * Makefile.am (em32relf.c): Change dependency from generic.em to
1940 elf32.em.
1941 * Makefile.in: Regenerate.
1942
1943 2001-07-14 matthew green <mrg@eterna.com.au>
1944
1945 * configure.tgt (i386-*-netbsdelf*): New target.
1946 (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
1947
1948 2001-07-13 Jakub Jelinek <jakub@redhat.com>
1949
1950 * emultempl/elf32.em (output_prev_sec_find): New.
1951 (place_orphan): Use it.
1952
1953 2001-07-11 H.J. Lu <hjl@gnu.org>
1954
1955 * ldmain.c (main): Fix typos in the last change.
1956
1957 2001-07-11 Jakub Jelinek <jakub@redhat.com>
1958
1959 * ldmain.c (main): Disallow -F and -f without -shared.
1960
1961 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
1962
1963 * emultempl/pe.em (after_open): Check for the output_bfd not
1964 having any coff_data structure allocated to it.
1965
1966 2001-07-09 David O'Brien <obrien@FreeBSD.org>
1967
1968 * emultempl/elf32.em: Do not assuming that contents of the buffer
1969 returned from basename function will remain unchanged accross other
1970 function calls.
1971
1972 2001-07-03 H.J. Lu <hjl@gnu.org>
1973
1974 * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
1975 2001-07-03. It creates dynamic entries even for static binaries.
1976
1977 2001-07-03 Jakub Jelinek <jakub@redhat.com>
1978
1979 * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
1980 (DYNAMIC): Use it to reserve few dynamic entries for
1981 post-linking tools.
1982
1983 2001-06-27 Alan Modra <amodra@bigpond.net.au>
1984
1985 * emulparams/hppa64linux.sh: New file.
1986 * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
1987 * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
1988 (ehppa64linux.c): Add rule to make it.
1989 Run "make dep-am".
1990 * Makefile.in: Regenerate.
1991
1992 2001-06-21 Hans-Peter Nilsson <hp@axis.com>
1993
1994 * ld.texinfo (Options, -r): Mention restrictions when using
1995 different object formats.
1996
1997 2001-06-19 Hans-Peter Nilsson <hp@axis.com>
1998
1999 * ldlang.c (lang_check): Emit fatal error if relocatable link
2000 between different object flavours with relocations in input.
2001
2002 2001-06-19 H.J. Lu <hjl@gnu.org>
2003
2004 * ld.texinfo (-E, --export-dynamic): Mention --version-script.
2005 (--version-script): Mention the language support.
2006
2007 2001-06-19 H.J. Lu <hjl@gnu.org>
2008
2009 * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
2010
2011 2001-06-18 H.J. Lu <hjl@gnu.org>
2012
2013 * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
2014 (diststuff): Add $(MANS).
2015 * Makefile.in: Regenerated.
2016
2017 * ld.1: Removed.
2018
2019 2001-06-18 Hans-Peter Nilsson <hp@axis.com>
2020
2021 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
2022 Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
2023 * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
2024 * ld.h (args_type): Remove member export_dynamic. All users
2025 changed to use struct bfd_link_info member.
2026
2027 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
2028 $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
2029 * Makefile.in: Regenerate.
2030
2031 2001-06-18 H.J. Lu <hjl@gnu.org>
2032
2033 * ldlang.c (init_os): Add the newline to the einfo call.
2034 (lang_check): Likewise.
2035 (lang_do_version_exports_section): Likewise.
2036
2037 2001-06-15 H.J. Lu <hjl@gnu.org>
2038
2039 * lexsup.c (parse_args); Save optind to report unrecognized
2040 option.
2041
2042 2001-06-15 Hans-Peter Nilsson <hp@axis.com>
2043
2044 * ldlang.c (lang_check): Emit fatal error if relocatable link
2045 between different object flavours.
2046
2047 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
2048 Set new link_info member export_dynamic.
2049 * ldmain.c (main): Initialize new link_info member export_dynamic.
2050
2051 2001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
2052
2053 * ldlang.c (walk_wild): Only call walk_wild_file if
2054 lookup_name returns something.
2055 (lookup_name): If load_symbols fails, return NULL.
2056 (load_symbols): Change to a boolean function.
2057 (open_input_bfds): If load_symbols fails then do not make the
2058 executable.
2059
2060 2001-06-08 Alan Modra <amodra@bigpond.net.au>
2061
2062 * ldlang.c (record_bfd_errors): Remove.
2063
2064 * emultempl/aix.em: Fix copyright dates.
2065
2066 2001-06-07 Andreas Jaeger <aj@suse.de>
2067
2068 * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
2069 (TEXT_START_ADDR): Likewise.
2070
2071 2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
2072
2073 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
2074
2075 2001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2076
2077 * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
2078
2079 2001-05-31 H.J. Lu <hjl@gnu.org>
2080
2081 * ldlang.c (open_input_bfds): Don't change the bfd error
2082 handler whilst loading symbols.
2083
2084 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2085
2086 * configure.tgt: Remove i370-mvs architecture, it is not currently
2087 supported.
2088
2089 2001-05-25 H.J. Lu <hjl@gnu.org>
2090
2091 * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2092 like emulparams/aixppc.sh.
2093
2094 2001-05-25 H.J. Lu <hjl@gnu.org>
2095
2096 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
2097 setting of output_filename after bfd_scan_arch.
2098 * emultempl/pe.em: Likewise.
2099
2100 2001-05-25 H.J. Lu <hjl@gnu.org>
2101
2102 * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
2103 like emulparams/aixppc.sh.
2104
2105 * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
2106 instead of ${srcdir}/emultempl/stringify.sed.
2107
2108 2001-05-25 Timothy Wall <twall@oculustech.com>
2109
2110 * emulparams/elf64_aix.sh: Change settings to match IBM linker
2111 output.
2112
2113 2001-05-25 Alan Modra <amodra@one.net.au>
2114
2115 * configure.host: Replace linuxoldld with linux*oldld.
2116 * configure.tgt: Likewise.
2117
2118 2001-05-24 H.J. Lu <hjl@gnu.org>
2119
2120 * emultempl/stringify.sed: Removed again.
2121
2122 2001-05-24 H.J. Lu <hjl@gnu.org>
2123
2124 * emultempl/aix.em (OUTPUT_ARCH): Defined.
2125 (gld${EMULATION_NAME}_before_parse): Initialize
2126 ldfile_output_architecture, ldfile_output_machine and
2127 ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
2128 * emultempl/beos.em: Likewise.
2129 * emultempl/elf32.em: Likewise.
2130 * emultempl/linux.em: Likewise.
2131 * emultempl/mipsecoff.em: Likewise.
2132 * emultempl/pe.em: Likewise.
2133 * emultempl/sunos.em: Likewise.
2134
2135 2001-05-24 Tom Rix <trix@redhat.com>
2136
2137 * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
2138 udate import file format.
2139 (change_symbol_mode) New, same
2140 (is_syscall) New, same
2141 * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
2142 * emulparams/aixppc64.sh : same
2143 * emulparams/aixrs6.sh : same
2144 * emulparams/ppcmacos.sh : same
2145 * emultempl/aix.em : use strtoull to parse options
2146 * Makefile.am : add eaixppc64 emulation for xcoff64
2147 * Makefile.in : same
2148 * configure.tgt : same
2149
2150 * scripttempl/aix.sc : default text section offset to 0x10000000
2151 default data section offset to 0x20000000
2152 add .sv3264 and .sv64 pseudo sections
2153 loader and debug sections use the currect section offset.
2154
2155 * emultempl/aix.em : Add xcoff64 support
2156 Add -binitfini support
2157 (gld${EMULATION_NAME}_before_parse) -binitfini
2158 (gld${EMULATION_NAME}_parse_args) same
2159 (gld${EMULATION_NAME}_before_allocation) format change for special
2160 sections
2161
2162 * emulparams/aixppc64.sh : New file for xcoff64 support
2163
2164 2001-05-23 Alexandre Oliva <aoliva@redhat.com>
2165
2166 * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
2167 variable to avoid non-portable shell construct.
2168
2169 2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2170
2171 * ldmain.c (get_emulation): Add -mips5 command line argument.
2172
2173 2001-05-22 Alexandre Oliva <aoliva@redhat.com>
2174
2175 * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
2176 (ELF_INTERPRETER_NAME): Define it.
2177 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
2178 it.
2179 * configure.tgt (targ_emul, targ_extra_emuls)
2180 [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
2181 as primary, elf_i386 as extra.
2182 * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
2183 (eelf_i386_ldso.c): New rule.
2184 * Makefile.in: Rebuilt.
2185
2186 2001-05-22 Nick Clifton <nickc@redhat.com>
2187
2188 * lexsup.c (ld_options): Allow -I to be an alias for
2189 --dynamic-linker. This is for Solaris compatability.
2190 * ld.texinfo: Document that -I can be used.
2191 * ld.1: Regenerate.
2192
2193 2001-05-16 Alan Modra <amodra@one.net.au>
2194
2195 * ldlang.c (wild_doit): Use linker_has_input to reliably determine
2196 whether an input section is the first one assigned to an output
2197 section.
2198 Assorted formatting fixes.
2199
2200 2001-05-14 DJ Delorie <dj@delorie.com>
2201
2202 * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
2203 * Makefile.in: Ditto.
2204
2205 2001-05-11 Jakub Jelinek <jakub@redhat.com>
2206
2207 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
2208 .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
2209 output sections.
2210 * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2211
2212 2001-05-11 Jakub Jelinek <jakub@redhat.com>
2213
2214 * ldlang.c (lang_process): Call bfd_merge_sections.
2215
2216 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2217
2218 * ldgram.y: Fix typo.
2219
2220 2001-05-03 H.J. Lu <hjl@gnu.org>
2221
2222 * emultempl/elf32.em: Include "libiberty.h".
2223 (gld${EMULATION_NAME}_vercheck): Call basename () to get the
2224 basename of the bfd filename.
2225 (gld${EMULATION_NAME}_stat_needed): Likewise.
2226 (gld${EMULATION_NAME}_try_needed): Likewise.
2227 (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
2228
2229 2001-05-02 H.J. Lu <hjl@gnu.org>
2230
2231 * emultempl/pe.em: Include <ctype.h>.
2232
2233 2001-05-02 Johan Rydberg <jrydberg@opencores.org>
2234
2235 * emulparams/elf32openrisc.sh: New file.
2236
2237 * Makefile.am: Add OpenRISC target.
2238 * Makefile.in: Regenerated.
2239
2240 * configure.tgt: Add openrisc-*-* mapping.
2241
2242 2001-05-02 Nick Clifton <nickc@redhat.com>
2243
2244 * emultempl/aix.em: Replace buystring with xstrdup.
2245 * emultempl/beos.em: Replace buystring with xstrdup.
2246
2247 2001-05-02 H.J. Lu <hjl@gnu.org>
2248
2249 * ldfile.c: Include "libiberty.h".
2250 * ldlex.l: Likewise.
2251
2252 * ldmisc.c (buystring): Removed.
2253 * ldmisc.h: Likewise.
2254
2255 * ldfile.c: Replace buystring with xstrdup.
2256 * ldlang.c: Likewise.
2257 * ldlex.l: Likewise.
2258 * ldmain.c: Likewise.
2259 * ldmisc.c: Likewise.
2260 * lexsup.c: Likewise.
2261 * mpw-eppcmac.c: Likewise.
2262
2263 2001-04-30 Andreas Jaeger <aj@suse.de>
2264
2265 * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
2266
2267 2001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2268
2269 * ldlang.c (load_symbols): Give emulation a chance
2270 to process unrecognized file before fatal error is
2271 reported, not after.
2272
2273 2001-04-27 Sean McNeil <sean@mcneil.com>
2274
2275 * configure.tgt: Add arm-vxworks target.
2276 * scripttempl/armcoff.sc: Support .text or .data as a section name
2277 prefix.
2278 Define _etext.
2279
2280 2001-04-13 J.T. Conklin <jtc@redback.com>
2281
2282 * ld.texinfo: Document --fatal-warnings.
2283 * ld.1: Regenerate.
2284
2285 * ldmisc.c (vfinfo): Set flag to inhibit making executable if
2286 warnings have been turned into errors.
2287 * lexsup.c (OPTION_WARN_FATAL): Define.
2288 (ld_options): Entry for --fatal-warnings.
2289 (parse_args): Handle OPTION_WARN_FATAL.
2290 * ld.h (ld_config_type): Add fatal_warnings field.
2291
2292 2001-04-13 Jakub Jelinek <jakub@redhat.com>
2293
2294 * ldmain.c (main): Default to discard_sec_merge.
2295 * lexsup.c (OPTION_DISCARD_NONE): Define.
2296 (ld_options): Add --discard-none.
2297 (parse_args): Handle OPTION_DISCARD_NONE.
2298 * ldlang.c (wild_doit): SEC_MERGE should be set in the output
2299 section only if SEC_MERGE and SEC_STRINGS flags and entsize of
2300 all its input sections match.
2301
2302 2001-04-05 Steven J. Hill <sjhill@cotw.com>
2303
2304 * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
2305 (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
2306 (eelf32ltsmip.c): New target.
2307 (eelf64btsmip.c): Likewise.
2308 (eelf64ltsmip.c): Likewise.
2309 * Makefile.in: Regenerated.
2310
2311 * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
2312 target.
2313 (mips*-*-linux-gnu*): Likewise.
2314
2315 * emulparams/elf32ltsmip.sh: New. Traditional little endian
2316 MIPS taget.
2317 * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
2318 target.
2319 * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
2320 endian target.
2321
2322 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
2323
2324 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
2325 correct value of __Stext here.
2326 (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
2327 .startup section.
2328
2329 * emulparams/crislinux.sh: Remove FIXME.
2330
2331 2001-04-02 Alan Modra <alan@linuxcare.com.au>
2332
2333 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
2334 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
2335
2336 2001-03-27 Hans-Peter Nilsson <hp@axis.com>
2337
2338 * configure.tgt (cris-*-*): Change default emulation to criself.
2339 (cris-*-*aout*): New rule.
2340
2341 2001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
2342
2343 * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
2344 (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
2345
2346 2001-03-26 Andreas Jaeger <aj@suse.de>
2347
2348 * ld.texinfo (Overview): Fix syntax in texi code.
2349
2350 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2351
2352 * ld.texinfo: Put @c man indications to generate the ld man page.
2353 When generating man, define all the variables. Define SEEALSO
2354 and SYNOPSIS. Re-organize some lines to avoid the cross references.
2355 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
2356 (ld.1): Generate from ld.texinfo.
2357 * Makefile.in: Regenerate.
2358
2359 2001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
2360
2361 * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
2362 and '-fdata-sections'. Set the VMA of STABS sections to zero.
2363
2364 2001-03-17 Ulrich Drepper <drepper@redhat.com>
2365
2366 * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
2367 is an absolute path look only for this file and not along the path.
2368
2369 2001-03-17 Ulrich Drepper <drepper@redhat.com>
2370
2371 * emultempl/elf32.em (OPTION_GROUP): New macro.
2372 Add new option Bgroup to longopts.
2373 (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
2374 (gld*_list_options): Add -Bgroup and -z defs.
2375 * ld.1: Document -Bgroup and -z defs.
2376 * ld.texinfo: Likewise.
2377
2378 2001-03-07 Michael Meissner <meissner@redhat.com>
2379
2380 * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
2381 with sections created by -fdata-sections.
2382 (.dynbss,.bss): Ditto.
2383
2384 2001-03-05 Alan Modra <alan@linuxcare.com.au>
2385
2386 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
2387 after_allocation_default, not gld..._before_allocation.
2388
2389 2001-02-27 Alan Modra <alan@linuxcare.com.au>
2390
2391 * configure.in (BFD_VERSION): New.
2392 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2393 * configure: Regenerate.
2394 * Makefile.am: Run "make dep-am"
2395 * Makefile.in: Regenerate.
2396
2397 2001-02-26 Timothy Wall <twall@cygnus.com>
2398
2399 * emulparams/elf64_aix.sh: Add additional read-only sections;
2400 uncomment lines which are now required.
2401
2402 2001-02-26 H.J. Lu <hjl@gnu.org>
2403
2404 * ldlang.c (open_input_bfds): Set the bfd error handler so
2405 that problems can be caught whilst loading symbols.
2406 (record_bfd_errors): New function: Report BFD errors and mark
2407 the executable output as being invalid.
2408
2409 2001-02-22 Timothy Wall <twall@cygnus.com>
2410
2411 * configure.host: Add configuration for ia64-*-aix*.
2412 * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
2413 Add dependencies for eelf64_aix.c.
2414 * Makefile.in: Regenerate.
2415 * configure.tgt: Add ia64-*-aix* mapping.
2416 * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
2417 * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
2418 AIX-specific test.
2419
2420 2001-02-20 H.J. Lu <hjl@gnu.org>
2421
2422 * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
2423 false if we found the file.
2424
2425 2001-02-18 David O'Brien <obrien@FreeBSD.org>
2426
2427 * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
2428 FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
2429
2430 2001-02-18 lars brinkhoff <lars@nocrew.org>
2431
2432 * Makefile.am: Add PDP-11 target.
2433 * configure.tgt: Likewise.
2434 * emulparams/pdp11.sh: New file.
2435
2436 2001-02-17 David O'Brien <obrien@FreeBSD.org>
2437
2438 * configure.host: Add a generic FreeBSD configuration entry such that
2439 all [modern] FreeBSD systems on all platforms will look the same.
2440
2441 2001-02-14 H.J. Lu <hjl@gnu.org>
2442
2443 * configure.tgt: Remove mention of earmelf_linux26.
2444
2445 2001-02-13 Richard Henderson <rth@redhat.com>
2446
2447 * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
2448
2449 2001-02-13 H.J. Lu <hjl@gnu.org>
2450
2451 * ldexp.h (node_type): Add etree_provided.
2452 * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
2453 type to etree_provided if defined by PROVIDE. Allow updating
2454 for etree_provided.
2455 (exp_print_tree): Handle etree_provided.
2456 * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
2457 etree_provided.
2458
2459 2001-02-09 David Mosberger <davidm@hpl.hp.com>
2460
2461 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
2462 .IA_64.unwind.* pattern to unwind table section and
2463 .IA_64.unwind_info* pattern to unwind info section.
2464
2465 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2466
2467 * Makefile.am: Add linux target for S/390.
2468 * Makefile.in: Likewise.
2469 * configure.host: Likewise.
2470 * configure.tgt: Likewise.
2471 * emulparams/elf64_s390.sh: New file.
2472 * emulparams/elf_s390.sh: New file.
2473
2474 2001-02-09 Jakub Jelinek <jakub@redhat.com>
2475
2476 * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
2477 targ_extra_libpath.
2478 (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
2479
2480 2001-02-06 Philip Blundell <philb@gnu.org>
2481
2482 * Makefile.am: Remove mention of earmelf_linux26.
2483 * Makefile.in: Regenerate.
2484
2485 2001-02-04 Philip Blundell <philb@gnu.org>
2486
2487 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
2488 * emulparams/armelf_linux26.sh: Delete.
2489 * configure.tgt: Remove mention of armelf_linux26 emulation.
2490
2491 2001-02-01 Nick Clifton <nickc@redhat.com>
2492
2493 * ld.1: Replace occurances of -oformat with --oformat.
2494
2495 2001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
2496
2497 * ldlang.c (lang_leave_overlay): Don't set lma_region when
2498 load_base is specified.
2499
2500 2001-01-24 Hans-Peter Nilsson <hp@axis.com>
2501
2502 * emultempl/elf32.em: Correct spelling in comments and listed
2503 options.
2504
2505 2001-01-23 Alan Modra <alan@linuxcare.com.au>
2506
2507 * ldlang.c (lang_leave_overlay): Only set lma_region from the
2508 default for the first section of a group of overlay sections.
2509
2510 2001-01-22 Alan Modra <alan@linuxcare.com.au>
2511
2512 * Makefile.am (GENSCRIPTS): Pass exec_prefix.
2513 * Makefile.in: Regenerate.
2514 * genscripts.sh: Use exec_prefix parameter to specify tool lib.
2515 Check for null tool_dir.
2516
2517 2001-01-16 Jim Wilson <wilson@redhat.com>
2518
2519 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
2520 and IA_64.unwind.info.
2521
2522 2001-01-16 H.J. Lu <hjl@gnu.org>
2523
2524 * ldlang.c (lang_check): Merge the private data only if the
2525 input file has contents.
2526
2527 2001-01-14 Alan Modra <alan@linuxcare.com.au>
2528
2529 * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
2530
2531 * emultempl/hppaelf.em (hppaelf_after_parse): New function,
2532 enabling search for libmilli. On a relocatable link, make .text
2533 sections unique.
2534 (LDEMUL_AFTER_PARSE): Define.
2535 (hppaelf_finish): Correct spelling of relocatable in comments.
2536
2537 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2538 rummage through the script for sections on the unique list.
2539 Correct length of strncmp for ".note".
2540 (gld${EMULATION_NAME}_check_needed): Rearrange function.
2541
2542 * ldlang.c (unique_section_list): New var.
2543 (unique_section_p): New function.
2544 (walk_wild_section): Don't match sections on unique_section_list.
2545 (lang_add_unique): New function.
2546 Correct spelling of relocatable in comments.
2547
2548 * ldlang.h (struct unique_sections): Declare.
2549 (unique_section_list): Declare.
2550 (unique_section_p): Declare.
2551 (lang_add_unique): Declare.
2552
2553 * lexsup.c (ld_options): Allow --unique to take an optional arg.
2554 (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
2555
2556 * ld.texinfo (--unique): Update.
2557
2558 2001-01-13 Nick Clifton <nickc@redhat.com>
2559
2560 * lexsup.c (parse_args): Remove spurious white space.
2561
2562 2001-01-12 Nick Clifton <nickc@redhat.com>
2563
2564 * lexsup.c (parse_args): Update copyright date.
2565
2566 2001-01-12 Philip Blundell <pb@futuretv.com>
2567
2568 * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
2569
2570 2001-01-10 Kazu Hirata <kazu@hxi.com>
2571
2572 * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
2573 * scripttempl/h8300h.sc: Fix formatting.
2574 * scripttempl/h8300s.sc: Likewise.
2575 * scripttempl/h8500.sc: Likewise.
2576 * scripttempl/h8500b.sc: Likewise.
2577 * scripttempl/h8500c.sc: Likewise.
2578 * scripttempl/h8500m.sc: Likewise.
2579 * scripttempl/h8500s.sc: Likewise.
2580
2581 2000-01-07 David O'Brien <obrien@BSDi.com>
2582
2583 * emultempl/elf32.em: Only perform Linux ld hints processing when
2584 targeting Linux.
2585
2586 2001-01-07 Philip Blundell <philb@gnu.org>
2587
2588 * ld.texinfo (Bug Reporting): Update email address for reports.
2589
2590 2000-12-31 Nick Clifton <nickc@redhat.com>
2591
2592 * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
2593 options by checking for a return value of '?' not -1.
2594
2595 2000-12-28 Nick Clifton <nickc@redhat.com>
2596
2597 * lexsup.c (struct ld_option): Add new enum value:
2598 EXACTLY_TWO_DASHES.
2599 (ld_options[]): Change -omagic, -output and -oformat options
2600 to be EXACTLY_TWO_DASHES.
2601 (OUTPUT_COUNT): Use ARRAY_SIZE.
2602 (parse_args): Change parameter 'argc' to unsigned.
2603 Place EXACTLY_TWO_DASHES options into new really_longopts
2604 array.
2605 If getopt_long_only fails, try calling getopt_long using the
2606 really_longopts array.
2607 (help): Print a double dash for both EXACTLY_TWO_DASHES and
2608 TWO_DASHES options.
2609
2610 * ldlex.h: Fix prototype of parse_args.
2611
2612 * ld.texinfo: Document that long options starting with 'o'
2613 must be preceeded by two dashes. Change example of a single
2614 dashed long option from -oformat to -trace-symbol.
2615
2616 2000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
2617
2618 * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
2619 (longopts[]): New --no-default-excludes option.
2620 (gld_${EMULATION_NAME}_list_options): Document.
2621 (gld_${EMULATION_NAME}_parse_args): Handle.
2622
2623 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2624
2625 * ldlang.c (new_stat): Revert the last beautification with "innocent"
2626 whitespace, it breaks the K&R C preprocessor.
2627
2628 2000-12-11 DJ Delorie <dj@redhat.com>
2629
2630 * ld.texinfo: Add notes about --whole-archive and gcc.
2631
2632 2000-11-18 Fred Fish <fnf@be.com>
2633
2634 * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
2635 (ld_options): Entry for --allow-shlib-undefined.
2636 (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
2637 * ldmain.c (main): Initialize link_info.allow_shlib_undefined
2638 to false.
2639 * ld.texinfo: Document new command line switch.
2640
2641 2000-12-12 Geoffrey Keating <geoffk@redhat.com>
2642
2643 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
2644 .fixup is actually read/write.
2645 * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
2646 * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
2647 * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
2648
2649 2000-12-11 Jan Hubicka <jh@suse.cz>
2650
2651 * NEWS: Add note about x86_64 architecture.
2652
2653 2000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
2654
2655 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
2656 Set DWARF2 sections to a VMA of zero.
2657
2658 2000-12-01 Joel Sherrill <joel@OARcorp.com>
2659
2660 * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
2661 New targets.
2662 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
2663 (sparc*-*-rtems*): Switched from a.out to ELF.
2664
2665 2000-11-30 Jan Hubicka <jh@suse.cz>
2666
2667 * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
2668 (eelf_x86_64.c): New.
2669 * Makefile.in: Regenerate.
2670 * configure.tgt: Add support for x86_64-*-linux-gnu*.
2671 * emulparams/elf_x86_64.sh: New.
2672
2673 2000-11-30 Hans-Peter Nilsson <hp@axis.com>
2674
2675 * emulparams/crislinux.sh (ENTRY): Change back to _start.
2676 (TEXT_START_SYMBOLS): Remove conditional setting of __start.
2677
2678 * scripttempl/crisaout.sc: Change all RELOCATING not related to
2679 merging non-a.out sections into CONSTRUCTING.
2680
2681 2000-11-28 Nick Clifton <nickc@redhat.com>
2682
2683 * ld.1 (COPYING): Mention that the GNU Free Documentation
2684 License is present in the sources, but not the output, and
2685 also available from the GNU website.
2686 (GNU Free Documentation License): Comment out this section.
2687
2688 2000-11-28 David O'Brien <obrien@dragon.nuxi.com>
2689
2690 * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
2691 does not use them.
2692
2693 2000-11-25 David O'Brien <obrien@FreeBSD.org>
2694
2695 * ld.1: Remove old date so it does not give the impression the manpage
2696 is way out of date.
2697
2698 2000-11-24 Nick Clifton <nickc@redhat.com>
2699
2700 * configure.tgt (xscale-coff): Add target.
2701 (xscale-elf): Add target.
2702
2703 2000-11-24 Fred Fish <fnf@be.com>
2704
2705 * ldmain.c (main): Remove redundant init of config.make_executable
2706 to true.
2707
2708 2000-11-15 Richard Henderson <rth@redhat.com>
2709
2710 * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
2711
2712 2000-11-14 Kazu Hirata <kazu@hxi.com>
2713
2714 * scripttempl/h8300.sc: Fix formatting.
2715 * scripttempl/h8300h.sc: Likewise.
2716 * scripttempl/h8300s.sc: Likewise.
2717
2718 2000-11-14 Denis Chertykov <denisc@overta.ru>
2719
2720 * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
2721
2722 2000-11-09 Philip Blundell <pb@futuretv.com>
2723
2724 * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
2725 around orphan sections whose names can be represented in C.
2726
2727 2000-11-07 Jim Wilson <wilson@redhat.com>
2728
2729 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
2730 hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
2731
2732 2000-11-06 Nick Clifton <nickc@redhat.com>
2733
2734 * ld.texinfo: Add GNU Free Documentation License.
2735 * ldint.texinfo: Add GNU Free Documentation License.
2736 * ld.1: Add GNU Free Documentation License.
2737
2738 2000-11-05 Alan Modra <alan@linuxcare.com.au>
2739
2740 * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
2741 yy_is_interactive, yy_at_bol, and yy_fill_buffer.
2742
2743 * Makefile.am (DISTCLEANFILES): Add stringify.sed.
2744 Move 2000-11-02 Makefile.in changes to this file.
2745 * Makefile.in: Regenerate.
2746
2747 2000-11-03 Nick Clifton <nickc@redhat.com>
2748
2749 * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
2750 constructors and destructors.
2751 * scripttempl/h8300h.sc: Ditto.
2752 * scripttempl/h8300s.sc: Ditto.
2753 * scripttempl/h8500.sc: Ditto.
2754 * scripttempl/h8500b.sc: Ditto.
2755 * scripttempl/h8500c.sc: Ditto.
2756 * scripttempl/h8500m.sc: Ditto.
2757 * scripttempl/h8500s.sc: Ditto.
2758 * scripttempl/v850.sc: Ditto.
2759 * scripttempl/w65.sc: Ditto.
2760 * scripttempl/z8000.sc: Ditto.
2761
2762 2000-11-02 Per Lundberg <plundis@chaosdev.org>
2763
2764 * Makefile.in (e_i386_chaos.c): New rule.
2765 (ALL_EMULATIONS): Added e_i386_chaos.o.
2766 * emulparams/elf_i386_chaos.sh: New file.
2767 * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
2768
2769 2000-10-20 Jakub Jelinek <jakub@redhat.com>
2770
2771 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
2772 NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
2773 Fix sed invocation, so that it coped with '/' in Solaris 64bit
2774 library path suffix.
2775 Based on patch by Andrew Macleod <amacleod@cygnus.com>.
2776
2777 2000-10-18 Hans-Peter Nilsson <hp@axis.com>
2778
2779 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
2780 for consecutive sections.
2781
2782 2000-10-17 Chandrakala Chavva <cchavva@redhat.com>
2783
2784 * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
2785 options.
2786 * ld.texinfo: Added notes about this new option.
2787
2788 2000-10-16 Nick Clifton <nickc@redhat.com>
2789
2790 * emultempl/pe.em (_after_open): Add tests of return values from
2791 bfd functions. Emit appropriate error messages if necessary.
2792
2793 2000-10-13 Nick Clifton <nickc@redhat.com>
2794
2795 * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
2796 local variables - they are not used, but leave in the call to
2797 bfd_canonicalize_symtab.
2798 (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
2799 pe_dll_search_prefix.
2800
2801 2000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
2802
2803 * emultempl/pe.em (pe_dll_search_prefix): New variable,
2804 (longopts): New --dll-search-prefix option.
2805 (gld_${EMULATION_NAME}_list_options): Document.
2806 (gld_${EMULATION_NAME}_parse_args): Handle.
2807 (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
2808 dynamically, search for a dll named '<prefix><basename>.dll'
2809 in preference to 'lib<basename>.dll' if --dll-search-prefix
2810 is specified.
2811
2812 2000-10-12 Alan Modra <alan@linuxcare.com.au>
2813
2814 * ldlang.c (section_already_linked): Set kept_section instead of
2815 sec->comdat->sec.
2816
2817 2000-10-10 Kazu Hirata <kazu@hxi.com>
2818
2819 * deffile.h: Fix formatting.
2820 * lexsup.c: Likewise.
2821 * mri.c: Likewise.
2822
2823 2000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2824
2825 * pe-dll.c (make_one): Do not generate code thunk for DATA
2826 exports.
2827 (process_def_file): deduce DATA flag for auto-export sumbols.
2828
2829 2000-10-09 Kazu Hirata <kazu@hxi.com>
2830
2831 * ld.h: Fix formatting.
2832 * ldcref.c: Likewise.
2833 * ldctor.h: Likewise.
2834 * ldemul.c: Likewise.
2835 * ldemul.h: Likewise.
2836 * ldexp.c: Likewise.
2837 * ldexp.h: Likewise.
2838 * ldfile.c: Likewise.
2839 * ldfile.h: Likewise.
2840 * ldlang.c: Likewise.
2841 * ldlang.h: Likewise.
2842 * ldmain.c: Likewise.
2843 * pe-dll.c: Likewise.
2844
2845 * pe-dll.c: Revert some formatting fixes.
2846
2847 2000-10-08 Kazu Hirata <kazu@hxi.com>
2848
2849 * pe-dll.c: Fix formatting.
2850
2851 2000-10-05 Kazu Hirata <kazu@hxi.com>
2852
2853 * ldlang.c: Fix formatting.
2854
2855 2000-10-03 DJ Delorie <dj@redhat.com>
2856
2857 * pe-dll.c (fill_edata): initialize entire block
2858 (make_one): fill in correct section.
2859
2860 2000-10-03 Kazu Hirata <kazu@hxi.com>
2861
2862 * ldexp.c: Fix formatting.
2863
2864 2000-10-02 DJ Delorie <dj@redhat.com>
2865
2866 * emultempl/pe.em (gld_*_after_open): detect case where there two
2867 import libraries for same dll; rename one to ensure proper link
2868 order.
2869
2870 * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
2871 typo
2872 (generate_edata): fix typo
2873
2874 2000-09-29 Hans-Peter Nilsson <hp@axis.com>
2875
2876 * scripttempl/crisaout.sc (ENTRY): Now __start.
2877 (.text): Add default setting for __start.
2878 Remove CONSTRUCTORS handling.
2879 (/DISCARD/): Add .gnu.warning.*.
2880 * emulparams/crislinux.sh (ENTRY): Now __start.
2881 (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
2882 * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
2883 (ENTRY): Now __start.
2884 (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
2885 (EXECUTABLE_SYMBOLS): Add default setting for __start.
2886
2887 2000-09-29 Kazu Hirata <kazu@hxi.com>
2888
2889 * deffile.h: Fix formatting.
2890 * ld.h: Likewise.
2891 * ldcref.c: Likewise.
2892 * ldctor.c: Likewise.
2893 * ldctor.h: Likewise.
2894 * ldemul.c: Likewise.
2895 * ldemul.h: Likewise.
2896 * ldexp.c: Likewise.
2897 * ldexp.h: Likewise.
2898 * ldfile.c: Likewise.
2899 * ldfile.h: Likewise.
2900 * ldlang.c: Likewise.
2901 * ldlang.h: Likewise.
2902 * lexsup.c: Likewise.
2903 * mri.c: Likewise.
2904 * pe-dll.c: Likewise.
2905
2906 2000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
2907
2908 * pe-dll.c (process_def_file): Uninitialized data wasn't
2909 exported with --export-all-symbols switch.
2910
2911 2000-09-28 DJ Delorie <dj@redhat.com>
2912
2913 * pe-dll.c (fill_edata): rearrange the data so that ordinals and
2914 noname work properly.
2915
2916 2000-09-28 Alan Modra <alan@linuxcare.com.au>
2917
2918 * ld.texinfo (HPPA ELF32): New section.
2919
2920 * emultempl/hppaelf.em (group_size): New.
2921 (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
2922 (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
2923 (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
2924 options to prevent abbreviations matching.
2925 (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
2926 (PARSE_AND_LIST_ARGS_CASES): Handle it.
2927
2928 2000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2929
2930 * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
2931 on the m68*-*-elf target. Make it support COFF input objects.
2932
2933 2000-09-21 Kazu Hirata <kazu@hxi.com>
2934
2935 * ldmain.c: Fix formatting.
2936 * ldmisc.c: Likewise.
2937 * ldver.c: Likewise.
2938 * ldwrite.c: Likewise.
2939
2940 2000-09-21 Alan Modra <alan@linuxcare.com.au>
2941
2942 * ldwrite.c (clone_section): Silence gcc warnings.
2943
2944 2000-09-20 Alan Modra <alan@linuxcare.com.au>
2945
2946 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
2947 out of memory failure.
2948
2949 * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
2950 (clone_section): Handle out of memory failures. Rename var to
2951 avoid c++ reserved word.
2952
2953 2000-09-18 Alan Modra <alan@linuxcare.com.au>
2954
2955 * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
2956 stub_name param to stub_sec_name.
2957 (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
2958
2959 2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2960
2961 * emultempl/m68kelf.em: New file.
2962 * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
2963 * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
2964 * Makefile.in: Regenerate.
2965
2966 2000-09-15 Alan Modra <alan@linuxcare.com.au>
2967
2968 * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
2969 only as needed.
2970
2971 2000-09-13 Nick Clifton <nickc@redhat.com>
2972
2973 * ldmain.c (multiple_definition): Disable relaxation if
2974 multiple symbol definitions are encountered - otherwise the
2975 linker could abort with an assertion failure.
2976
2977 2000-09-10 Nick Clifton <nickc@redhat.com>
2978
2979 * mri.c: Fix formatting.
2980
2981 2000-09-07 H.J. Lu <hjl@gnu.org>
2982
2983 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
2984 * configure: Rebuild.
2985
2986 2000-09-07 H.J. Lu <hjl@gnu.org>
2987
2988 * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
2989 * Makefile.in: Rebuild.
2990
2991 2000-09-07 Alan Modra <alan@linuxcare.com.au>
2992
2993 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
2994 broken list handling. Create __start_SECNAME and __stop_SECNAME
2995 when no place-holder. Add some comments. Test both SEC_CODE and
2996 SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
2997 Handle case where no output section statement created.
2998
2999 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
3000
3001 * configure.tgt (sh-*-linux*): Added.
3002 * Makefile.am: Added eshelf_linux and eshlelf_linux.
3003 * Makefile.in: Rebuilt.
3004 * emulparams/shelf_linux.sh: New file.
3005 * emulparams/shlelf_linux.sh: New file.
3006
3007 2000-09-06 Alan Modra <alan@linuxcare.com.au>
3008
3009 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3010 try shuffling sections when the orphan happens to be the place
3011 holder. Keep count of unique section names generated so we speed
3012 the search for a new name.
3013
3014 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
3015
3016 * configure: Rebuilt with new libtool.m4.
3017
3018 2000-09-05 Nick Clifton <nickc@redhat.com>
3019
3020 * Makefile.in: Regenerate.
3021 * aclocal.m4: Regenerate.
3022 * configure: Regenerate.
3023 * config.in: Regenerate.
3024 * po/ld.pot: Regenerate.
3025
3026 * ldint.texinfo: Remove CVS revision marker - it foils local
3027 comparisons.
3028
3029 * emultempl/ticoff.em: Remove extraneous comma.
3030
3031 2000-09-05 Alan Modra <alan@linuxcare.com.au>
3032
3033 * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
3034 to stub section flags.
3035 (hppa_for_each_input_file_wrapper): New.
3036 (hppa_lang_for_each_input_file): New.
3037 (lang_for_each_input_file): Define to call above.
3038 (multi_subspace): New.
3039 (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
3040 (PARSE_AND_LIST_PROLOGUE): Define.
3041 (PARSE_AND_LIST_LONGOPTS): Define.
3042 (PARSE_AND_LIST_OPTIONS): Define.
3043 (PARSE_AND_LIST_ARGS_CASES): Define.
3044 (hppaelf_finish): Call elf32_hppa_set_gp.
3045 (hppaelf_set_output_arch): Remove.
3046 (LDEMUL_SET_OUTPUT_ARCH): Remove.
3047
3048 * emulparams/hppalinux.sh (ELFSIZE): Define.
3049 (MACHINE): Define.
3050 (OTHER_READONLY_SECTIONS): Define.
3051 (DATA_PLT): Define.
3052 (GENERATE_SHLIB_SCRIPT): Define.
3053
3054 * ldlang.c: Add missing prototypes, and tidy others. Change CONST
3055 to const throughout. Change `void *' to `PTR' throughout.
3056 (lang_memory_default): Function is local to file, add `static'.
3057
3058 * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
3059 (ehppalinux.c): Likewise.
3060 (earmelf.c): Likewise.
3061 (earmelf_linux.c): Likewise.
3062 (earmelf_linux26.c): Likewise.
3063 * Makefile.in: Regenerate.
3064
3065 * ld.h (ld_config_type): Add unique_orphan_sections.
3066 * lexsup.c (OPTION_UNIQUE): Define.
3067 (ld_options): Add "--unique".
3068 (parse_args): Handle it.
3069 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
3070 search for an existing output section if unique_orphan_sections is
3071 set. Make use of bfd_get_unique_section_name rather than
3072 duplicating code here.
3073 * ld.texinfo: Describe --unique.
3074
3075 * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
3076 optional arg to split-by-file.
3077 (parse_args): Handle them.
3078 * ld.texinfo: Update description of these options.
3079 * ldwrite.c (clone_section): Pass in the section name. Replace
3080 local code with bfd_get_unique_section_name.
3081 (split_sections): Tidy code and comments. Use a list traversal
3082 more appropriate to the list construction. Handle cooked section
3083 sizes. Split when split_by_reloc reached rather than exceeded.
3084 Track section size and split when split_by_file reached. Fix
3085 link_order_tail (even though it's not used).
3086 (ldwrite): Modify condition for calling split_sections to suit
3087 changed split_by_reloc and split_by_file.
3088 * ldmain.c (main): Init config.split_by_reloc and
3089 config.split_by_file to -1.
3090 * ld.h (ld_config_type): Change split_by_reloc to unsigned.
3091 Change split_by_file to bfd_size_type.
3092
3093 2000-09-02 Nick Clifton <nickc@redhat.com>
3094
3095 * configure.in: Increase version number to 2.10.91.
3096 * NEWS: Mention new ability to support removal of duplicate DWARF2
3097 debug information.
3098 * configure: Regenerate.
3099 * aclocal.m4: Regenerate.
3100 * config.in: Regenerate.
3101
3102 2000-09-02 Daniel Berlin <dberlin@redhat.com>
3103
3104 * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
3105 sections.
3106 * scripttempl/elf32avr.sc: Ditto.
3107 * scripttempl/elfd10v.sc: Ditto.
3108 * scripttempl/elfd30v.sc: Ditto.
3109 * scripttempl/elfi370.sc: Ditto.
3110 * scripttempl/elfm68hc11.sc: Ditto.
3111 * scripttempl/elfm68hc12.sc: Ditto.
3112 * scripttempl/elfi386beos.sc: Ditto.
3113 * scripttempl/v850.sc: Ditto.
3114
3115 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
3116
3117 * acinclude.m4: Include libtool and gettext macros from the
3118 top level.
3119 * aclocal.m4, configure: Rebuilt.
3120
3121 2000-08-25 Nick Clifton <nickc@redhat.com>
3122
3123 * ldlang.c (open_output): When choosing the target for a
3124 particular endianness, do nothing if the target is not
3125 supported.
3126
3127 2000-08-25 H.J. Lu <hjl@gnu.org>
3128
3129 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
3130 check -rpath nor LD_RUN_PATH for cross link.
3131 * ld.texinfo: Document the change.
3132
3133 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
3134
3135 * NEWS: Mention support for CRIS.
3136
3137 2000-08-23 H.J. Lu <hjl@gnu.org>
3138
3139 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
3140 the current runpath list from bfd_elf_get_runpath_list ()
3141 before search.
3142
3143 2000-08-22 H.J. Lu <hjl@gnu.org>
3144
3145 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
3146 the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
3147 LD_LIBRARY_PATH for native linker. Display the needed DSO if
3148 trace_file_tries is non-zero.
3149 (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
3150 if trace_file_tries is non-zero.
3151
3152 * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
3153 * NEWS: Mention it.
3154
3155 2000-08-14 Jason Eckhardt <jle@cygnus.com>
3156
3157 * NEWS: Mention i860 support.
3158
3159 2000-08-14 Andreas Schwab <schwab@suse.de>
3160
3161 * scripttempl/elf.sc: Fix last change to use correct comment
3162 syntax.
3163
3164 2000-08-10 Geoff Keating <geoffk@cygnus.com>
3165
3166 * scripttempl/elf.sc: Add a comment giving the correspondence
3167 between sections, per-datum sections, and linkonce sections. Make
3168 the comment true even for .bss, .sdata, .sdata2, .sbss, and
3169 .sbss2.
3170
3171 2000-08-10 Jason Eckhardt <jle@cygnus.com>
3172
3173 * emulparams/elf32_i860.sh: New file.
3174 * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
3175 * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
3176 (eelf32_i860.c): New rule.
3177 * Makefile.in: Regenerate.
3178
3179 2000-08-10 Nick Clifton <nickc@cygnus.com>
3180
3181 * emulparams/mipspe.sh (ENTRY): Add definition.
3182
3183 2000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
3184
3185 * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
3186 in error message.
3187
3188 2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3189
3190 * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
3191 the final size of .bss section.
3192 * scripttempl/elfm68hc12.sc: Likewise.
3193
3194 2000-08-04 Alan Modra <alan@linuxcare.com.au>
3195
3196 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
3197 gld${EMULATION_NAME}_parse_args for consistency. Combine
3198 lastoptind and prevoptind vars, and keep track of last optind.
3199 (gld_${EMULATION_NAME}_list_options): Rename to
3200 gld${EMULATION_NAME}_list_options.
3201
3202 2000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
3203
3204 * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
3205 (i586-sco-sysv5uw7.1.0).
3206
3207 2000-07-27 H.J. Lu <hjl@gnu.org>
3208
3209 * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
3210 (PARSE_AND_LIST_PROLOGUE): New.
3211 (PARSE_AND_LIST_LONGOPTS): Likewise.
3212 (PARSE_AND_LIST_OPTIONS): Likewise.
3213 (PARSE_AND_LIST_ARGS_CASES): Likewise.
3214 (PARSE_AND_LIST_EPILOGUE): Likewise.
3215
3216 2000-07-28 Alan Modra <alan@linuxcare.com.au>
3217
3218 * emultempl/armelf.em: Elide functions common to elf32.em,
3219 ie. most of the file.
3220 (arm_elf_after_open): New. Do arm specific things then call
3221 gld${EMULATION_NAME}_after_open.
3222 (arm_elf_before_allocation): New. Call
3223 gld${EMULATION_NAME}_before_allocation then do arm specifics.
3224 (PARSE_AND_LIST_PROLOGUE): Define.
3225 (PARSE_AND_LIST_SHORTOPTS): Define.
3226 (PARSE_AND_LIST_LONGOPTS): Define.
3227 (PARSE_AND_LIST_OPTIONS): Define.
3228 (PARSE_AND_LIST_ARGS_CASES): Define.
3229 (LDEMUL_AFTER_OPEN): Define.
3230 (LDEMUL_BEFORE_ALLOCATION): Define.
3231 (LDEMUL_BEFORE_PARSE): Define.
3232 (LDEMUL_FINISH): Define.
3233
3234 * emultempl/hppaelf.em: Similarly zap most of this file.
3235 (hppaelf_add_stub_section): Prototype.
3236 (hppaelf_layaout_sections_again): Prototype.
3237 (hook_in_stub): Prototype.
3238 (LDEMUL_SET_OUTPUT_ARCH): Define.
3239 (LDEMUL_FINISH): Define.
3240 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
3241
3242 * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
3243 (EXTRA_EM_FILE): New.
3244 * emulparams/armelf_linux.sh: Likewise.
3245 * emulparams/armelf_linux26.sh: Likewise.
3246 * emulparams/hppalinux.sh: Likewise.
3247 * emulparams/hppaelf.sh: Likewise.
3248 (NOP): Define.
3249
3250 * emultempl/elf32.em: Fix formatting.
3251 (EXTRA_EM_FILE): Source it.
3252 (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
3253 LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
3254 LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
3255 LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
3256 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
3257 LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
3258 LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
3259 LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
3260 LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
3261 allow functions in this file to be overridden.
3262 (PARSE_AND_LIST_SHORTOPTS): Handle it.
3263
3264 * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
3265
3266 * emultempl/elf32.em: Reorganize file.
3267
3268 2000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
3269
3270 * emulparams/elf64alpha.sh: Implement "-taso" emulation
3271 specific option to fit 64-bit executable in the lower
3272 31-bit address range. This is done by changing start
3273 address of .interp (the very first section of executable)
3274 and then setting EF_ALPHA_32BIT elf header flag.
3275
3276 2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3277
3278 * emultempl/m68kcoff.em: New file.
3279 * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
3280 * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
3281 generic.em.
3282 * Makefile.in: Regenerate.
3283
3284 2000-07-20 H.J. Lu <hjl@gnu.org>
3285
3286 * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
3287 and "disable-new-dtags" to stop getopt from treating -d/-e as
3288 abbreviations for these options.
3289
3290 2000-07-20 H.J. Lu <hjl@gnu.org>
3291
3292 * ld.texinfo: Add documentation for --disable-new-dtags and
3293 --enable-new-dtags.
3294
3295 * ldmain.c (main): Initialize link_info.new_dtags to false.
3296
3297 * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
3298 --disable-new-dtags and --enable-new-dtags.
3299 (gld_${EMULATION_NAME}_list_options): Likewise.
3300
3301 2000-07-05 Kenneth Block <krblock@computer.org>
3302
3303 * lexsup.c: Add optional style to demangle switch
3304 * ld.texinfo: Document optional style to demangle switch.
3305
3306 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
3307
3308 * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
3309 ecrislinux.o.
3310 (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
3311 Regenerate dependencies.
3312 * Makefile.in: Rebuild.
3313 * configure.tgt (cris-*-*): New target.
3314 * emulparams/crisaout.sh, emulparams/criself.sh,
3315 emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
3316 * po/POTFILES.in, po/ld.pot: Regenerate.
3317
3318 2000-07-20 H.J. Lu <hjl@gnu.org>
3319
3320 * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
3321 Print out ignored -z options.
3322
3323 2000-07-19 H.J. Lu <hjl@gnu.org>
3324
3325 * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
3326 (PARSE_AND_LIST_PROLOGUE): New.
3327 (PARSE_AND_LIST_LONGOPTS): Likewise.
3328 (PARSE_AND_LIST_OPTIONS): Likewise.
3329 (PARSE_AND_LIST_ARGS_CASES): Likewise.
3330
3331 * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
3332
3333 * lexsup.c (ld_options): Comment out 'z'.
3334 (parse_args): Likewise.
3335
3336 * emultempl/elf32.em: Include "elf/common.h".
3337 (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
3338 options.
3339 (gld_${EMULATION_NAME}_list_options): Likewise.
3340
3341 * ld.texinfo: Add documentation for the recognized -z options.
3342
3343 2000-07-19 H.J. Lu <hjl@gnu.org>
3344
3345 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
3346 bfd_elf_set_dt_needed_soname ().
3347
3348 2000-07-18 DJ Delorie <dj@cygnus.com>
3349
3350 * pe-dll.c (pe_dll_id_target): check object target name also
3351
3352 2000-07-18 Hans-Peter Nilsson <hp@axis.com>
3353
3354 * scripttempl/elf.sc (.init): Only do ${INIT_START} and
3355 ${INIT_END} if relocating.
3356 (.fini): Likewise ${FINI_START} and ${FINI_END}.
3357
3358 2000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
3359
3360 * emultempl/pe.em (gld_*_open_dynamic_archive): New search
3361 order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
3362 foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
3363 errors introduced by the old dynamic lib search order.
3364
3365 2000-07-17 DJ Delorie <dj@cygnus.com>
3366
3367 * pe-dll.c (process_def_file): auto-export data items also
3368 (pe_process_import_defs): also see if _imp_ form needed
3369
3370 2000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
3371
3372 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
3373 for dll import libraries
3374
3375 2000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
3376
3377 * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
3378 gcc 2.95.2 and later.
3379
3380 2000-07-11 Kazu Hirata <kazu@hxi.com>
3381
3382 * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
3383 message.
3384
3385 2000-07-10 Alan Modra <alan@linuxcare.com.au>
3386
3387 * ldemul.h (struct lang_input_statement_struct): Remove forward
3388 declaration.
3389 (struct search_dirs): Likewise.
3390 * ldfile.h (struct lang_input_statement_struct): Likewise.
3391 Protect file from multiple inclusion.
3392 * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
3393 declaration from macro to file scope.
3394
3395 * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
3396 * ldgram.y: Likewise here.
3397 * ldlang.c: And here.
3398 * ldmain.c: And here.
3399 * mpw-elfmips.c: And here.
3400 * mpw-eppcmac.c: And here.
3401 * emultempl/aix.em: And here.
3402 * emultempl/armcoff.em: And here.
3403 * emultempl/armelf.em: And here.
3404 * emultempl/armelf_oabi.em: And here.
3405 * emultempl/beos.em: And here.
3406 * emultempl/elf32.em: And here.
3407 * emultempl/hppaelf.em: And here.
3408 * emultempl/linux.em: And here.
3409 * emultempl/lnk960.em: And here.
3410 * emultempl/pe.em: And here.
3411 * emultempl/sunos.em: And here.
3412 * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
3413 * mpw-idtmips.c: Ditto.
3414 * emultempl/generic.em: Ditto.
3415 * emultempl/gld960.em: Ditto.
3416 * emultempl/gld960c.em: Ditto.
3417 * emultempl/mipsecoff.em: Ditto.
3418 * emultempl/ticoff.em: Ditto.
3419 * emultempl/vanilla.em: Ditto.
3420
3421 * pe-dll.c: Include ldfile.h
3422 * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
3423
3424 * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
3425 arguments to bfd_elf32_size_dynamic_sections call.
3426 (gldelf32ebmip_place_orphan): Add missing arguments to
3427 lang_leave_output_section_statement call.
3428
3429 2000-07-10 H.J. Lu <hjl@gnu.org>
3430
3431 * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
3432 DLL_SUPPORT.
3433 (strhash): Likewise.
3434 (compute_dll_image_base): Likewise.
3435 (pe_undef_found_sym): Likewise.
3436 (pe_undef_cdecl_match): Likewise.
3437 (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
3438 argument "arch" with ATTRIBUTE_UNUSED.
3439
3440 2000-07-10 Alan Modra <alan@linuxcare.com.au>
3441
3442 * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
3443
3444 From Ryan Bradetich <rbradetich@uswest.net>
3445 * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
3446
3447 2000-07-09 Alan Modra <alan@linuxcare.com.au>
3448
3449 Changes to create multiple linker stubs, positioned immediately
3450 before the section where they are required.
3451 * emultempl/hppaelf.em: Include elf32-hppa.h.
3452 (stub_sec, file_chain): Delete.
3453 (hppaelf_create_output_section_statements): Don't make a stub
3454 section here.
3455 (hook_stub_info): New struct.
3456 (hook_in_stub): New function.
3457 (hppaelf_add_stub_section): New function.
3458 (hppaelf_finish): Do nothing for relocateable links. Modify the
3459 call to elf32_hppa_size_stubs. Move code for updating section
3460 layout from here...
3461 (hppaelf_layaout_sections_again): ..to here, a new function.
3462
3463 * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
3464 broken list handling. Pass in a pointer to the list.
3465 (hppaelf_finish): Update call to hppaelf_delete_padding_statements
3466 for above changes.
3467 (hppaelf_before_parse): Prototype.
3468 (hppaelf_set_output_arch): Prototype.
3469 (hppaelf_create_output_section_statements): Prototype.
3470 (hppaelf_delete_padding_statements): Prototype.
3471 (hppaelf_finish): Prototype.
3472
3473 Merge from elf32.em
3474 * emultempl/hppaelf.em: Include ctype.h.
3475 (struct orphan_save): New.
3476 (gld${EMULATION_NAME}_place_orphan): New.
3477 (output_rel_find): New.
3478 (hppaelf_get_script): Update from elf32.em.
3479 (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
3480 Change emulation_name field to "${EMULATION_NAME}". Add
3481 gld${EMULATION_NAME}_place_orphan.
3482
3483 * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
3484 ehppalinux.o, sort it. Regenerate dependencies.
3485 (ehppalinux.c): Depend on hppaelf.em
3486 * Makefile.in: Regenerate.
3487
3488 * configure.tgt: targ_emul=hppalinux for hppa*linux
3489
3490 * emulparams/hppalinux.sh: New.
3491 * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
3492
3493 2000-07-08 Alan Modra <alan@linuxcare.com.au>
3494
3495 * lexsup.c (parse_args): Copy section name.
3496
3497 2000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
3498
3499 * emultempl/pe.em: institute the following search order for
3500 dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
3501 libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
3502 static lib (libfoo.a) if none of the above are found.
3503
3504 2000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
3505
3506 * emultempl/pe.em (pe_enable_auto_image_base): New variable.
3507 (longopts): New --{enable,disable}-auto-image-base options.
3508 (gld_${EMULATION_NAME}_list_options): Document.
3509 (gld_${EMULATION_NAME}_parse): Handle.
3510 (strhash): New static function.
3511 (compute_dll_image_base): New static function.
3512 (gld_${EMULATION_NAME}_set_symbols): Use.
3513
3514 2000-07-05 DJ Delorie <dj@redhat.com>
3515
3516 * MAINTAINERS: new
3517
3518 2000-07-01 Koundinya K <kk@ddeorg.soft.net>
3519
3520 * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
3521 * emulparams/elf32btsmip.sh: New file.
3522 * Makefile.am: Add traditional mips target.
3523 * Makefile.in: Rebuild.
3524
3525 2000-07-01 H.J. Lu <hjl@gnu.org>
3526
3527 * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
3528 automake to use YLWRAP.
3529 * Makefile.in: Rebuild.
3530
3531 2000-07-01 Alan Modra <alan@linuxcare.com.au>
3532
3533 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
3534 (CLEANFILES): Add DEPA.
3535 * Makefile.in: Regenerate.
3536
3537 2000-06-30 Timothy Wall <twall@ppc>
3538
3539 * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
3540 the page in the upper octet of the address.
3541
3542 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
3543
3544 * emulparams/avrmega161.sh (ARCH): Change to avr:5.
3545
3546 2000-06-24 Alan Modra <alan@linuxcare.com.au>
3547
3548 * NEWS: arm-elf does --gc-sections too.
3549
3550 2000-06-22 Alan Modra <alan@linuxcare.com.au>
3551
3552 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
3553 find one.
3554 * Makefile.in: Regenerate.
3555
3556 2000-06-21 H.J. Lu <hjl@gnu.org>
3557
3558 * Makefile.am: Rebuild dependency.
3559 * Makefile.in: Rebuild.
3560
3561 2000-06-20 H.J. Lu <hjl@gnu.org>
3562
3563 * Makefile.am: Rebuild dependency.
3564 * Makefile.in: Rebuild.
3565
3566 2000-06-20 Timothy Wall <twall@cygnus.com>
3567
3568 * scripttempl/tic54xcoff.sc: New.
3569 * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
3570 * gen-doc.texi: Add flag for TI COFF.
3571 * ld.texinfo: Add documentation for TI COFF handling switches.
3572 * emultempl/ticoff.em: New. TI COFF handling.
3573 * configure.tgt: Add tic54x target.
3574 * Makefile.am: Add tic54x target.
3575 * Makefile.in: Ditto.
3576
3577 2000-06-20 Alan Modra <alan@linuxcare.com.au>
3578
3579 * ldmain.c (set_scripts_dir): Correct pointer comparison when
3580 checking for backslashes.
3581
3582 2000-06-19 Alan Modra <alan@linuxcare.com.au>
3583
3584 * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
3585
3586 2000-06-18 Alan Modra <alan@linuxcare.com.au>
3587
3588 * NEWS: Update list of targets supporting --gc-sections.
3589
3590 * scripttempl/elf.sc: KEEP .eh_frame contents.
3591 * scripttempl/elfd30v.sc: Same here.
3592
3593 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
3594
3595 * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
3596 and m68hc11 (elf).
3597 * Makefile.in: Rebuild.
3598 * configure.tgt: Recognize m68hc12 and m68hc11.
3599 * scripttempl/elfm68hc12.sc: New file.
3600 * emulparams/m68hc12elfb: New emulation.
3601 * emulparams/m68hc12elf: New emulation.
3602 * emulparams/m68hc11elfb.sh: New file. User configurable emulation
3603 (includes a memory.x script to define the ROM and RAM banks).
3604 * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
3605 New configuration files for support of Motorola 68hc11
3606
3607 2000-06-15 Alan Modra <alan@linuxcare.com.au>
3608
3609 * ldmain.c (main): Only change SEC_READONLY for final link.
3610
3611 2000-06-13 H.J. Lu <hjl@gnu.org>
3612
3613 * configure: Regenerate.
3614
3615 2000-06-08 David O'Brien <obrien@FreeBSD.org>
3616
3617 * configure.in (VERSION): Update to show this is the CVS mainline.
3618
3619 2000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3620
3621 * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
3622 input objects to be ECOFF.
3623 (check_sections): einfo takes %B, not %P, to print a BFD name.
3624
3625 2000-06-05 Michael Matz <matz@ifh.de>
3626
3627 * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
3628 version scripts.
3629
3630 * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
3631
3632 2000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
3633
3634 * emulparams/avr1200.sh (STACK): Define as 0.
3635 * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
3636 * emulparams/avr4433.sh (STACK): Likewise.
3637 * emulparams/avr44x4.sh (STACK): Likewise.
3638 * emulparams/avr85xx.sh (STACK): Likewise.
3639 * emulparams/avrmega103.sh (STACK): Likewise.
3640 * emulparams/avrmega161.sh (STACK): Likewise.
3641 * emulparams/avrmega603.sh (STACK): Likewise.
3642 * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
3643 (__stack): Define from ${STACK} for main().
3644
3645 2000-05-26 Alan Modra <alan@linuxcare.com.au>
3646
3647 * Makefile.am: Update dependencies with "make dep-am"
3648 * Makefile.in: Regenerate.
3649
3650 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
3651
3652 * ldmain.c: Include filenames.h.
3653 (set_scripts_dir): Support backslashes in program name.
3654
3655 2000-05-22 Igor Shevlyakov <igor@windriver.com>
3656
3657 * ldmain.c (main): When deciding if ".text" section should be
3658 read-only, don't forget to reset SEC_READONLY because it
3659 could be already set.
3660
3661 2000-05-22 Thomas de Lellis <tdel@windriver.com>
3662
3663 * ld.1: Add documentation for new command line option:
3664 --section-start <sectionname>=<sectionorg>
3665 This is a generic version of -Ttext etc. which accepts
3666 any section name as a parameter instead of just text/data/
3667 bss.
3668 * ld.texinfo: More docs.
3669 * NEWS: More docs.
3670 * lexsup.c: (parse_args): Recognize new command line option.
3671 (ld_options): Add new option.
3672
3673 2000-05-18 H.J. Lu <hjl@gnu.org>
3674
3675 * lexsup.c (parse_args): `i' == `r', not `q'.
3676
3677 2000-05-18 Jeffrey A Law (law@cygnus.com)
3678
3679 * configure.tgt (hppa*64*-*-*): Enable PA64 target.
3680
3681 2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
3682 Rick Gorton <gorton@scrugs.lkg.dec.com>
3683
3684 Add support for '-q' == '--emit-relocs' switch.
3685 * ldmain.c (main): Default to false.
3686 * lexsup.c (parse_args): Turn on emitrelocations flag if set.
3687 * NEWS: Describe the emitrelocations switch.
3688 * ld.texinfo: Describe the emitrelocations switch.
3689
3690 2000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
3691
3692 * emultempl/pe.em (_open_dynamic_archive): New function: Search
3693 the library path for "foo.dll" and "libfoo.dll" dynamic libraries
3694 before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
3695 link options.
3696
3697 2000-05-15 David O'Brien <obrien@FreeBSD.org>
3698
3699 * lexsup.c (parse_args): Update the year in the copyright notice.
3700
3701 2000-05-13 Alan Modra <alan@linuxcare.com.au>
3702
3703 * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
3704 Replace defines with those from intl/libgettext.h to quieten gcc
3705 warnings.
3706
3707 2000-05-10 H.J. Lu <hjl@gnu.org>
3708
3709 * ldlang.c (open_input_bfds): Don't load the same file within
3710 a group again if the whole archive has been loaded already.
3711
3712 2000-05-03 Alan Modra <alan@linuxcare.com.au>
3713
3714 From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
3715 * lexsup.c (set_section_start): Use bfd_scan_vma rather than
3716 strtoul.
3717
3718 2000-05-01 Jim Wilson <wilson@cygnus.com>
3719
3720 * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
3721
3722 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
3723 host "ia64-*-linux-gnu*".
3724
3725 2000-04-29 Andreas Jaeger <aj@suse.de>
3726
3727 * ld.h: Correctly check GCC version.
3728
3729 2000-04-25 Jeffrey A Law (law@cygnus.com)
3730
3731 * Makefile.am: Add PA64 support. Add missing dependencies for
3732 PA32 elf support.
3733 * Makefile.in: Rebuilt.
3734 * configure.tgt: Add PA64 support (currently disabled).
3735
3736 2000-04-25 Alan Modra <alan@linuxcare.com.au>
3737
3738 * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
3739 (output_rel_find): New function.
3740 (hold_section, hold_use): Delete.
3741 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
3742 hold_interp): Make local to place_orphan.
3743 (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
3744 rather than place_section to find possible previous use of orphan.
3745 Similarly find the place-holder output sections. Use returned
3746 value from lang_enter_output_section_statement rather than calling
3747 lang_output_section_statement_lookup.
3748 * emultempl/armelf.em: Same here.
3749 * emultempl/pe.em: Similar to above, but no need for output_rel_find.
3750
3751 * ldlang.c (lang_enter_output_section_statement): Return output
3752 section statement.
3753 * ldlang.h (lang_enter_output_section_statement): Change
3754 declaration too.
3755
3756 * ldlang.h (lang_output_section_statement): Export it.
3757 * ldlang.c (lang_output_section_statement): Ditto.
3758
3759 2000-04-24 Nick Clifton <nickc@cygnus.com>
3760
3761 * ld.texinfo (Output Section Data): Add note that section data
3762 commands cannot appear outside of section directives.
3763
3764 2000-04-2 Matthew Green <mrg@cygnus.com>
3765
3766 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
3767
3768 2000-04-21 Richard Henderson <rth@cygnus.com>
3769 David Mosberger <davidm@hpl.hp.com>
3770
3771 * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
3772 (eelf64_ia64.c): New rule.
3773 * Makefile.in: Rebuild.
3774 * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
3775 * emulparams/elf64_ia64.sh: New file.
3776
3777 2000-04-21 Richard Henderson <rth@cygnus.com>
3778
3779 * scripttempl/elfd30v.sc: Place .gcc_except_table.
3780
3781 2000-04-19 Alan Modra <alan@linuxcare.com.au>
3782
3783 * dep-in.sed: Match space at start of file name, not at end.
3784
3785 2000-04-18 H.J. Lu <hjl@gnu.org>
3786
3787 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
3788 lang_leave_output_section_statement () after calling
3789 lang_enter_output_section_statement ().
3790 * emultempl/armelf.em: Likewise.
3791
3792 2000-04-18 Alan Modra <alan@linuxcare.com.au>
3793
3794 * emultempl/elf32.em (struct orphan_save): Add section field.
3795 (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
3796 better order, and place first orphan section as we did before the
3797 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
3798 Don't call make_bfd_section here, let wild_doit do the job for us.
3799 Don't build a statement list when we'll only throw it away.
3800 * emultempl/armelf.em: Ditto.
3801 * emultempl/pe.em: Similarly.
3802
3803 2000-04-14 Geoff Keating <geoffk@cygnus.com>
3804
3805 * scripttempl/elfppc.sc: Remove.
3806 * emulparams/elf32ppc.sh: Use elf.sc.
3807 * emulparams/elf32lppc.sh: Use elf.sc.
3808 * emulparams/elf32ppclinux.sh: Use elf.sc.
3809 * emulparams/elf32ppcsim.sh: New file.
3810 * emulparams/elf32lppcsim.sh: New file.
3811 * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
3812 (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
3813 * Makefile.in: Regenerate.
3814 * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
3815
3816 2000-04-14 Alan Modra <alan@linuxcare.com.au>
3817
3818 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
3819 ~SEC_ALLOC sections too. Init start address of debug sections.
3820 * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
3821 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
3822 Also set all relocateable section start addresses.
3823
3824 2000-04-13 Geoff Keating <geoffk@cygnus.com>
3825
3826 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
3827 Add new BSS_PLT variable for when .plt need not be contained in
3828 the file. Move _etext so that it is also after .fini, and provide
3829 both etext and _etext with a leading underscore. Mark the start
3830 and end of .sbss.
3831
3832 2000-04-12 Alan Modra <alan@linuxcare.com.au>
3833
3834 * emultempl/elf32.em (struct orphan_save): New.
3835 (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
3836 hold_interp): Make them struct orphan_save.
3837 (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
3838 (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
3839 the end of the relevant section list. Also add associated section
3840 statements to the end of any previous orphan statements.
3841 * emultempl/armelf.em: Similarly.
3842 * emultempl/pe.em: Similarly.
3843
3844 2000-04-11 Alan Modra <alan@linuxcare.com.au>
3845
3846 * ld.texinfo (Simple Example): Remove extraneous paragraph.
3847
3848 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
3849
3850 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3851 --enable-build-warnings option.
3852 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3853 * Makefile.in, configure: Re-generate.
3854
3855 2000-04-04 Alan Modra <alan@linuxcare.com.au>
3856
3857 * po/ld.pot: Regenerate.
3858
3859 * lexsup.c (help): Restore translated part of bug string.
3860
3861 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
3862 (DEP): Quote when passing vars to sub-make. Add warning message
3863 to end.
3864 (DEP1): Rewrite for "gcc -MM".
3865 (CLEANFILES): Add DEP2.
3866 Update dependencies.
3867 * Makefile.in: Regenerate.
3868
3869 2000-04-03 Alan Modra <alan@linuxcare.com.au>
3870
3871 * ld.h: #include "bin-bugs.h"
3872 * lexsup.c (help): Use REPORT_BUGS_TO.
3873
3874 2000-03-27 Denis Chertykov <denisc@overta.ru>
3875
3876 * configure.tgt (avr-*-*): New target support.
3877 * Makefile.am: Likewise.
3878 * scripttempl/elf32avr.sc: New script file.
3879 * emulparams/avr1200.sh: New file.
3880 * emulparams/avr23xx.sh: New file.
3881 * emulparams/avr4433.sh New file.
3882 * emulparams/avr44x4.sh New file.
3883 * emulparams/avr85xx.sh New file.
3884 * emulparams/avrmega103.sh New file.
3885 * emulparams/avrmega161.sh New file.
3886 * emulparams/avrmega603.sh New file.
3887 * Makefile.in: Regenerate.
3888
3889 2000-03-09 Andreas Jaeger <aj@suse.de>
3890
3891 * Makefile.am (check-DEJAGNU): Also unset LANG.
3892 * Makefile.in: Rebuild.
3893
3894 2000-03-06 Ian Lance Taylor <ian@zembu.com>
3895
3896 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
3897 archive.
3898
3899 2000-03-02 H.J. Lu <hjl@gnu.org>
3900
3901 * emulparams/elf32mcore.sh: Include "getopt.h".
3902
3903 2000-03-01 Ian Lance Taylor <ian@zembu.com>
3904
3905 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
3906
3907 2000-03-01 H.J. Lu <hjl@gnu.org>
3908
3909 * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
3910 * emulparams/shpe.sh: Likewise.
3911
3912 2000-03-01 Nick Clifton <nickc@cygnus.com>
3913
3914 * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
3915 to unused parameters.
3916
3917 * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
3918 functions only used by DLL code.
3919 (_place_orphan): Initialise 'dollar'.
3920
3921 2000-03-01 H.J. Lu <hjl@gnu.org>
3922
3923 * ldmain.c (undefined_symbol): Take one more arg, fatal, to
3924 indicate if the undefined symbol is a fatal error or not.
3925 Don't delete the output file if "fatal" is false.
3926
3927 2000-02-29 H.J. Lu <hjl@gnu.org>
3928
3929 * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
3930 Set LC_COLLATE and LC_ALL to null and export them. It is for
3931 sort which expects the C locale.
3932 Add $(LIBS) to all $(HOSTING_LIBS).
3933 * Makefile.in: Rebuild.
3934
3935 2000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
3936
3937 * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
3938 beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
3939 linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
3940 (ld_emulation_xfer_struct): Add missing NULL initialiser for
3941 find_potential_libraries.
3942
3943 2000-02-28 Jim Blandy <jimb@redhat.com>
3944
3945 * ldgram.y (exclude_name_list): Don't require a comma to separate
3946 list entries; the lexer considers commas to be valid part of a
3947 filename, so in something like `foo, bar' the comma is considered
3948 part of the first filename, `foo,'.
3949 * ld.texinfo: Update section on EXCLUDE_FILE lists.
3950
3951 2000-02-27 Loren J. Rittle <ljrittle@acm.org>
3952
3953 * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
3954 host "i[3456]86-*-freebsdelf*".
3955
3956 2000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
3957
3958 * scripttempl/i386go32.sc: Move misplaced semicolons.
3959
3960 2000-02-25 Ian Lance Taylor <ian@zembu.com>
3961
3962 * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
3963 (ALL_64_EMULATIONS): Remove eelf64hppa.o.
3964 (eelf64hppa.c, ehppaelf.c): Remove targets.
3965 * Makefile.in: Rebuild.
3966
3967 2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3968
3969 * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
3970 GNU/Linux/sparc, but keep the default as 32.
3971
3972 * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
3973 it default if sparcv9 or sparc64.
3974
3975 2000-02-24 Nick Clifton <nickc@cygnus.com>
3976
3977 * Makefile.am: Add rules to build emipspe.o and earmpe.o.
3978 * Makefile.in: Regenerate.
3979 * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
3980
3981 * ldemul.h (ld_emulation_xfer_struct): Add new field:
3982 find_potential_libraries.
3983 * ldemul.c (ldemul_find_potential_libraries): New function.
3984
3985 * ldfile.c (ldfile_open_file_search): Allow function to be
3986 exported.
3987 (ldfile_open_file): Call ldemul_find_potential_libraries.
3988 * ldfile.h: Add prototype for ldfile_open_file_search.
3989
3990 * pe-dll.c: Add support for ARM, MIPS and SH targets.
3991
3992 * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
3993 * emulparams/shpe.sh: New file. Parameters for sh-pe target.
3994
3995 * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
3996 (gld_X_find_potential_libraries): New function. Search for
3997 libraries called "*.lib".
3998
3999 * scripttempl/pe.sc: Add .pdata section.
4000
4001 2000-02-23 Richard Henderson <rth@cygnus.com>
4002
4003 * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
4004 Add and use memory regions.
4005
4006 2000-02-23 Linas Vepstas (linas@linas.org)
4007
4008 * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
4009
4010 * Makefile.am: Add support for Linux/IBM 370.
4011 * configure.tgt: Likewise.
4012
4013 * Makefile.in: Regenerate.
4014
4015 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
4016
4017 * ldlang.c (print_input_section, print_data_statement,
4018 print_reloc_statement, print_padding_statement, insert_pad,
4019 size_input_section, lang_check_section_addresses,
4020 lang_size_sections, lang_do_assignments, lang_set_startof,
4021 lang_one_common): Change `opb' to unsigned.
4022 (lang_do_assignments): Also change `size' to unsigned.
4023
4024 2000-02-16 Richard Henderson <rth@cygnus.com>
4025
4026 * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
4027
4028 2000-02-16 Timothy Wall <twall@cygnus.com>
4029
4030 * mri.c (mri_draw_tree): Add default LMA region argument to call
4031 to lang_leave_output_section_statement.
4032 * ldlang.h: Update prototypes with LMA region arguments.
4033 * ldlang.c (lang_size_sections): Encapsulate region bounds
4034 checking in os_check_region call.
4035 (os_check_region): New function.
4036 (lang_output_section_statement_lookup): Initialize lma_region.
4037 (lang_leave_output_section_statement): Add LMA region argument.
4038 (lang_leave_overlay): Ditto.
4039 * ldgram.y: Handle LMA region syntax.
4040 * ld.texinfo (Output Section Description): Describe LMA region usage.
4041 * emultempl/armelf.em (gld$place_orphan): Add default value for
4042 lma region in call to lang_leave_output_section_statement.
4043 * emultempl/elf32.em (gld$place_orphan): Add default value for
4044 lma region in call to lang_leave_output_section_statement.
4045 * emultempl/pe.em (gld$place_orphan): Add default value for
4046 lma region in call to lang_leave_output_section_statement.
4047
4048
4049 2000-02-04 Timothy Wall <twall@redhat.com>
4050
4051 * ldlang.c (lang_check_section_addresses): Use bytes instead of
4052 octets when calculating section end addresses.
4053
4054 2000-02-04 Timothy Wall <twall@redhat.com>
4055
4056 * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
4057
4058 2000-02-03 Timothy Wall <twall@redhat.com>
4059
4060 * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
4061 octet count.
4062 * ldlang.c (print_input_section, print_data_statement,
4063 print_reloc_statement, print_padding_statement): Print target
4064 address values and section sizes as bytes, not octets.
4065 (insert_pad) Calculate padding size in octets, and adjust "dot"
4066 by bytes.
4067 (size_input_section) Always adjust "dot" by bytes, not octets.
4068 (lang_check_section_addresses, lang_do_assignments) Adjust
4069 "dot" by bytes, not octets. Use the larger of the directive size
4070 or octets_per_byte for the number of octets actually allocated in
4071 the output section.
4072 (lang_set_startof) Make sure STARTOF returns a target address.
4073 (lang_one_common) Record size changes in octets.
4074 (lang_abs_symbol_at_end_of) Section end symbol's value is
4075 recorded in target bytes.
4076 * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
4077 to be clear about behavior when an octet is smaller than one byte.
4078
4079 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
4080
4081 * ldcref.c (output_cref): Don't pass message strings to printf
4082 as format arg.
4083 Update copyright.
4084
4085 * ldmisc.c (vfinfo): Same here.
4086 Update copyright.
4087
4088 2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
4089
4090 * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
4091 generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
4092 mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
4093 Add missing NULL initialisers, and comments.
4094
4095 * testsuite/ld-srec/sr3.cc (__rethrow): New.
4096
4097 2000-01-21 Nick Clifton <nickc@cygnus.com>
4098
4099 * ldlang.c (lang_size_sections): Fix typo in comment.
4100
4101 2000-01-18 H.J. Lu <hjl@gnu.org>
4102
4103 * ldlang.c (lang_size_sections): Also update the current
4104 address of a region if the SEC_NEVER_LOAD bit is not set.
4105
4106 2000-01-10 Philip Blundell <pb@futuretv.com>
4107
4108 * configure.tgt (arm*-*-conix*): New target.
4109
4110 2000-01-07 Nick Clifton <nickc@cygnus.com>
4111
4112 * ld.texinfo (Options): Remind users to preceed linker command
4113 line switches with -Wl, (or whatever is appropriate) if it is
4114 being invoked by a comnpiler driver program.
4115 Fix description of the behaviour of the -n command line switch.
4116
4117 2000-01-05 Catherine Moore <clm@cygnus.com>
4118
4119 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
4120 (name_list): New.
4121 * ld.texinfo (EXCLUDE_FILE): Update documentation.
4122 * ldgram.y (wildcard_spec): Support a list of excluded_files.
4123 (exclude_name_list): New.
4124 ldlang.c (walk_wild_section): Support list of excluded files.
4125 (print_wild_statement): Likewise.
4126 (lang_add_wild): Likewise.
4127 * ldlang.h (lang_wild_statement_type): Likewise.
4128 * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
4129
4130 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
4131
4132 * pe-dll.c (pe_dll_warn_dup_exports): New variable.
4133 (process_def_file): Use.
4134 (pe_dll_compat_implib): New variable.
4135 (make_one): Use.
4136
4137 * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
4138 pe_dll_compat_implib.
4139
4140 * emultempl/pe.em (longopts): Add warn-duplicate-exports and
4141 compat-implib options.
4142 (gld_${EMULATION_NAME}_list_options): List new options.
4143 (gld_${EMULATION_NAME}_parse_args): Handle.
4144
4145 * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
4146 dll.
4147
4148 * deffilep.y (opt_name): Allow "." in name.
4149
4150 For older changes see ChangeLog-9899
4151 \f
4152 Local Variables:
4153 mode: change-log
4154 left-margin: 8
4155 fill-column: 74
4156 version-control: never
4157 End: