]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/ChangeLog-0203
Split ChangeLog files.
[thirdparty/binutils-gdb.git] / ld / ChangeLog-0203
1 2003-12-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
2
3 Add m32r-linux and PIC support. Add new ABI that uses RELA.
4 * Makefile.am: Added em32rlelf.c, em32relf_linux.c,
5 em32rlelf_linux.c.
6 * Makefile.in: Regenerate.
7 * configure.tgt (m32r*-*-linux*, m32r*le-*-linux*, m32r*le-*-*):Added.
8 * emulparams/m32relf_linux.sh: Added.
9 * emulparams/m32rlelf.sh: Ditto.
10 * emulparams/m32rlelf_linux.sh: Ditto.
11 * NEWS: Mention support m32r Linux.
12
13 2003-12-18 Eric Youngdale <eric@mkssoftware.com>
14 Nick Clifton <nickc@redhat.com>
15
16 * emultempl/pe.em (_after_open): When scanning MS import
17 libraries allow for the possible presence of static objects.
18
19 2003-12-07 H.J. Lu <hongjiu.lu@intel.com>
20
21 * ldlang.c (lang_vers_match): Pass "DMGL_PARAMS | DMGL_ANSI" to
22 cplus_demangle.
23
24 2003-12-07 Kazu Hirata <kazu@cs.umass.edu>
25
26 * ldemul.c: Convert to ISO-C.
27 * ldver.c: Likewise.
28
29 2003-12-06 Kazu Hirata <kazu@cs.umass.edu>
30
31 * lexsup.c (is_num): Remove.
32
33 2003-12-05 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
34
35 * pe-dll.c (generate_reloc): Remap ARM_26D relocation from 5 to
36 0. This fixes "bad fixup" error generated by MS linker.
37
38 2003-12-04 H.J. Lu <hongjiu.lu@intel.com>
39
40 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Set
41 link_info.need_relax_finalize to TRUE.
42
43 * ldlang.c (lang_process): Use link_info.need_relax_finalize
44 instead of link_info.relax_finalizing.
45 * ldmain.c (main): Likewise.
46
47 2003-12-04 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
48
49 * armpe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define.
50
51 2003-12-04 Alan Modra <amodra@bigpond.net.au>
52
53 * ldlang.c (lang_do_assignments): Function return is void.
54 * ldlang.h (lang_do_assignments): Ditto.
55 * emultempl/netbsd.em (gld${EMULATION_NAME}_before_parse): Declare.
56 * Makefile.am (ens32knbsd.c): Depend on netbsd.em.
57 * Makefile.in: Regenerate.
58
59 2003-12-03 Dave Airlie <airlied@linux.ie>
60
61 * configure.tgt: Add vax-linux-gnu target.
62
63 2003-12-03 Dmitry Diky <diwil@mail.ru>
64
65 * scripttempl/elf32msp430.sc (HEAP_SECTION_MSP430): New section for
66 forthcoming devices.
67 (_etext): provide this defenition for all scripts.
68
69 2003-12-02 Kazu Hirata <kazu@cs.umass.edu>
70
71 * emultempl/beos.em: Remove ARGSUSED.
72
73 2003-12-03 Alan Modra <amodra@bigpond.net.au>
74
75 * emultempl/pe.em (pe_fixup_stdcalls): Update for renamed
76 bfd_link_hash_entry field "next" -> "und_next".
77 (pe_find_data_imports): Likewise.
78 (gld_${EMULATION_NAME}_after_open): Likewise.
79 * emultempl/sunos.em (before_allocation): Likewise.
80
81 2003-12-02 Nick Clifton <nickc@redhat.com>
82
83 * ld.texinfo (Options): --ignore-all is no longer the default
84 behaviour for shared libraries and dynamic executables.
85
86 2003-12-02 Alan Modra <amodra@bigpond.net.au>
87
88 * Makefile.am: Run "make dep-am".
89 * Makefile.in: Regenerate.
90
91 2003-12-02 Alan Modra <amodra@bigpond.net.au>
92
93 * ldmain.c (main): Remove mpc860c0 code.
94 * lexsup.c (enum option_values): Delete OPTION_MPC860C0.
95 (ld_options): Delete mpc860c0 entry.
96 (parse_args): Likewise.
97
98 2003-12-01 Alan Modra <amodra@bigpond.net.au>
99
100 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Test
101 hash table type rather than testing creator flavour.
102 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
103 Only create stub_file bfd if hash table creator is as expected.
104 (gld${EMULATION_NAME}_finish): Test stub_file.
105
106 2003-11-28 Marcel Moolenaar <marcel@xcllnt.net>
107
108 * emulparams/elf64_ia64_fbsd.sh (TEXT_START_ADDR): Define.
109 (DATA_ADDR): Unset.
110
111 2003-11-18 James E Wilson <wilson@specifixinc.com>
112
113 * ldlang.c (lang_process): Move lang_reset_memory_regions call after
114 lang_do_assignments call.
115
116 * emulparams/elf64_ia64.sh (OTHER_PLT_RELOC_SECTIONS): Include
117 .rela.opd if -pie.
118
119 2003-11-10 Jonathan Wilson <jonwil@tpgi.com.au>
120
121 * scripttempl/pe.sc: Add support for TLS sections.
122
123 2003-11-09 Alan Modra <amodra@bigpond.net.au>
124
125 * configure.host (HOSTING_LIBS): Group libgcc and libc with
126 --start-group, --end-group pair.
127 (*-*-netbsd*, am33_2.0-*-linux*): Use the default HOSTING_LIBS.
128 (am33_2.0-*-linux*): Edit default HOSTING_CRT0.
129 (arm*-*-linux-gnu*): Remove extraneous '*' in sed expression.
130 (hppa*64*-*-linux*, hppa*-*-linux*): Remove target specific case.
131
132 2003-11-07 Jonathan R. Grant <jg-binutils@jguk.org>
133
134 * ldfile.c (ldfile_open_file): Use "No such file" error message.
135
136 2003-11-06 Bruno Rohee <bruno@rohee.com>
137
138 * ls.texinfo: Fix "the the" typo.
139
140 2003-11-05 Alan Modra <amodra@bigpond.net.au>
141
142 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Only do
143 pe_dll_extra_pe_debug stuff when DLL_SUPPORT defined.
144 (pr_sym): Move inside #ifdef DLL_SUPPORT.
145
146 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Zap
147 unused variable.
148
149 * emulparams/elf32_i860.sh (TEXT_START_ADDR): Define.
150
151 2003-11-04 Alan Modra <amodra@bigpond.net.au>
152
153 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Call
154 _bfd_elf_tls_setup.
155
156 2003-10-31 Nick Clifton <nickc@redhat.com>
157
158 * ldlang.c (lookup_name): When looking for a previously loaded
159 file compare the local_sym_name not the filename, as the
160 filename might have been transformed via the search directory
161 path lookup.
162 If the sought-for file has not been found in the input file
163 chain then create a new node with the search_dirs_flag set so
164 that the entire set of directory paths will be scanned for it.
165
166 2003-10-30 Andrew Cagney <cagney@redhat.com>
167
168 * emultempl/pe.em, pe-dll.c: Replace "struct symbol_cache_entry"
169 with "struct bfd_symbol".
170
171 2003-10-30 Phil Edwards <phil@codesourcery.com>
172
173 * Makefile.am (ALL_EMULATIONS): Add elf32mipswindiss.o.
174 (eelf32mipswindiss.c): New target.
175 * Makefile.in: Regenerated.
176 * emulparams/elf32mipswindiss.sh: New file.
177 * configure.tgt (i[3-7]86-*-vxworks*, arm-*-vxworks, sh-*-vxworks,
178 mips*-*-vxworks*): Use ELF now.
179 (mips*-*-windiss): New stanza, use elf32mipswindiss.
180
181 2003-10-27 Stephane Carrez <stcarrez@nerim.fr>
182
183 * scripttempl/elfm68hc12.sc: Define eeprom memory region.
184
185 2003-10-25 Kazu Hirata <kazu@cs.umass.edu>
186
187 * ChangeLog-9197: Fix typos.
188 * NEWS: Likewise.
189 * ld.texinfo: Likewise.
190 * ldlang.c: Fix comment typos.
191
192 2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
193
194 * ldlang.c (lang_vers_match): Fix a typo.
195
196 2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
197
198 * ldlang.c (lang_vers_match): Check demangled symbols.
199
200 2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
201
202 * ldlang.c (lang_vers_match): Check "symbol" instead of
203 "wildcard" and "pattern". Fix a typo.
204 (lang_finalize_version_expr_head): Likewise.
205 (lang_register_vers_node): Likewise.
206 (realsymbol): New function.
207 (lang_new_vers_pattern): Set "symbol" and remove "wildcard".
208
209 * ldlex.l (V_IDENTIFIER): Allow '\\'.
210
211 2003-10-24 Nick Clifton <nickc@redhat.com>
212
213 * emultempl/m68hc1xelf.em (before_allocation): Add missing second
214 parameter to lang_memory_region_lookup.
215
216 2003-10-22 Jakub Jelinek <jakub@redhat.com>
217
218 * ldlang.c: Include hashtab.h.
219 (lang_vers_match_lang_c, lang_vers_match_lang_cplusplus,
220 lang_vers_match_lang_java): Remove.
221 (lang_vers_match): New function.
222 (lang_new_vers_pattern): Initialize wildcard and mask
223 fields, don't initialize match.
224 (lang_new_vers_node): Use xcalloc. Adjust for globals and
225 locals field type changes. Set match field.
226 (version_expr_head_hash, version_expr_head_eq): New functions.
227 (lang_finalize_version_expr_head): New function.
228 (lang_register_vers_node): Call lang_finalize_version_expr_head.
229 Search in hash table if not wildcard when looking for duplicates.
230 * emultempl/ppc64elf.em (new_vers_pattern): Don't bother with
231 duplicate checking. Initialize all fields of dot_entry from entry
232 with the exception of pattern and next.
233
234 2003-10-21 Nick Clifton <nickc@redhat.com>
235
236 * ldlang.c (lang_memory_region_lookup): Add second parameter -
237 create - which is true if the region is being created. Issue
238 appropriate warning messages for finding and not finding
239 already created regions.
240 (lang_memory_default): Use DEFAULT_MEMORY_REGION.
241 (lang_leave_overlay_section): Likewise.
242 (lang_size_sections_1): Likewise.
243 Pass second parameter to lang_memory_region_lookup.
244 (lang_get_regions): Likewise.
245 * ldlang.h (DEFAULT_MEMORY_REGION): Define.
246 Update prototype for lang_memory_region_lookup.
247 * ldgram.y: Pass second parameter to lang_memory_region_lookup.
248 Use DEFAULT_MEMORY_REGION instead of "*default".
249
250 2003-10-20 Andrew Cagney <cagney@redhat.com>
251
252 * pe-dll.c: Replace "struct sec" with "struct bfd_section".
253
254 2003-10-19 Marek Michalkiewicz <marekm@amelek.gda.pl>
255
256 * Makefile.am: Remove old (before GCC 3.3) emulations for AVR
257 target: avr1200, avr23xx, avr4433, avr44x4, avr85xx, avrmega103,
258 avrmega161, avrmega603. Default to avr2.
259 * Makefile.in: Regenerate.
260 * configure.tgt: Likewise.
261 * emulparams/avr1200.sh: Remove.
262 * emulparams/avr23xx.sh: Remove.
263 * emulparams/avr4433.sh: Remove.
264 * emulparams/avr44x4.sh: Remove.
265 * emulparams/avr85xx.sh: Remove.
266 * emulparams/avrmega103.sh: Remove.
267 * emulparams/avrmega161.sh: Remove.
268 * emulparams/avrmega603.sh: Remove.
269 * scripttempl/elf32avr.sc: Remove.
270
271 2003-10-19 Andreas Schwab <schwab@suse.de>
272
273 * emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): Add
274 newline to message.
275
276 * deffilep.y: Remove commas from %token lines.
277
278 2003-10-18 Hans-Peter Nilsson <hp@bitrange.com>
279
280 * emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker
281 relaxation always; don't exclude relocatable linking. Adjust for
282 _bfd_mmix_prepare_linker_allocated_gregs renamed to
283 _bfd_mmix_before_linker_allocation.
284 (mmix_after_allocation): Adjust for
285 _bfd_mmix_finalize_linker_allocated_gregs renamed to
286 _bfd_mmix_after_linker_allocation.
287 * scripttempl/mmo.sc: Use ADDR (.text), not . - SIZEOF (.text).
288
289 * ldlang.c (lang_size_sections): Last, set _cooked_size for output
290 sections.
291
292 2003-10-16 Alan Modra <amodra@bigpond.net.au>
293
294 * Makefile.am (GENSCRIPTS_EXTRA, GEN_EXTRA_DEPENDS): Remove. Use
295 GENSCRIPTS and GEN_DEPENDS in place of these.
296 * Makefile.in: Regenerate.
297 * genscripts_extra.sh: Delete. Merge extra functionality to..
298 * genscripts.sh: ..here.
299
300 * emulparams/gld960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Define.
301 * emulparams/gld960coff.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
302 * emulparams/lnk960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
303 * emulparams/m88kbcs.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
304 * emulparams/vanilla.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
305
306 2003-10-16 Alan Modra <amodra@bigpond.net.au>
307
308 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't
309 use $EMULATION_NAME to call bfd function.
310
311 2003-10-14 Danny Smith <dannysmith@users.sourceforge.net>
312
313 * pe-dll.c (pe_implied_import_dll): Also scan .rdata sections
314 to identify data symbols.
315
316 2003-10-13 Richard Sandiford <rsandifo@redhat.com>
317
318 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Move
319 definition from elf64btsmip.sh.
320 (TEXT_DYNAMIC): Likewise elf32btsmipn32.sh.
321 * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Remove.
322 * emulparams/elf64btsmip.sh (INITIAL_READONLY_SECTIONS): Remove.
323 * emulparams/elf64bmip.sh (SHLIB_TEXT_START_ADDR): Define.
324 (EXECUTABLE_SYMBOLS): Set __elf_header correctly for shared objects.
325 Define __program_header_table in terms of __elf_header.
326
327 2003-10-10 H.J. Lu <hongjiu.lu@intel.com>
328
329 * Makefile.am (eelf64_ia64.c): Also depend on
330 $(srcdir)/emultempl/ia64elf.em.
331 * Makefile.in: Regenerated.
332
333 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Set to ia64elf.
334
335 * emultempl/ia64elf.em: New.
336
337 2003-10-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
338
339 * emulparams/shelf32_nbsd.sh (OTHER_SECTIONS): Redefine.
340
341 2003-10-11 Hans-Peter Nilsson <hp@bitrange.com>
342
343 * ld.texinfo (Builtin Functions) <DEFINED>: Say that only symbols
344 defined before the statement using DEFINED yield 1.
345 * ldexp.c (fold_name) <case DEFINED>: In lang_first_phase_enum,
346 call lang_track_definedness on symbol. In subsequent phases, use
347 lang_symbol_definition_iteration and lang_statement_iteration to
348 check whether the symbol was defined before the current statement.
349 (exp_fold_tree) <case etree_assign et al>: Call
350 lang_update_definedness before updating symbol type when setting
351 symbol.
352 * ldlang.c (lang_definedness_table): New variable.
353 (lang_definedness_newfunc, lang_track_definedness)
354 (lang_symbol_definition_iteration, lang_update_definedness): New
355 functions.
356 (lang_init): Initialize lang_definedness_table and
357 lang_statement_iteration.
358 (lang_finish): Destroy bfd_hash_table_free.
359 (lang_size_sections): Increment lang_statement_iteration.
360 (lang_do_assignments_1): New function with former
361 lang_do_assignments contents. Change recursive calls to call this
362 function.
363 (lang_do_assignments): Evacuate contents. Increment
364 lang_statement_iteration, then just call lang_do_assignments_1.
365 * ldlang.h (struct lang_definedness_hash_entry)
366 (lang_statement_iteration, lang_track_definedness)
367 (lang_symbol_definition_iteration, lang_update_definedness):
368 Declare.
369
370 2003-10-09 H.J. Lu <hongjiu.lu@intel.com>
371
372 * scripttempl/elf.sc (__executable_start): Provide.
373
374 2003-10-09 Daniel Jacobowitz <drow@mvista.com>
375
376 * emulparams/armelf.sh: Define NO_SMALL_DATA.
377 * emulparams/armelf_linux.sh, emulparams/armelf_oabi.sh,
378 emulparams/armnto.sh: Likewise.
379
380 2003-10-08 Alexandre Oliva <aoliva@redhat.com>
381
382 * ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell
383 whether to skip test for no memory region.
384
385 2003-10-08 Nick Clifton <nickc@redhat.com>
386
387 * lexsup.c (parse_args: OPTION_CALL_SHARED): Revise comment
388 describing defaults. Change default to report unresolved symbols
389 in object files as well.
390
391 2003-10-08 Hans-Peter Nilsson <hp@bitrange.com>
392
393 * ldexp.c (fold_name) <case DEFINED>: Set section of result to
394 abs_output_section.
395
396 2003-10-07 Bob Wilson <bob.wilson@acm.org>
397
398 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS,
399 OTHER_READWRITE_SECTIONS, OTHER_SECTIONS): Set section addresses to
400 zero for relocatable links.
401
402 2003-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
403
404 * configure.host (HOSTING_LIBS): Define for hppa*-*-linux*.
405
406 2003-10-07 Nathan Sidwell <nathan@codesourcery.com>
407
408 * ldwrite.c (unsplittable_name): New.
409 (clone_section): Strip existing numeric suffix. Only truncate names
410 for coff targets.
411 (split_sections): Use unsplittable_name.
412
413 2003-10-06 Nick Clifton <nickc@redhat.com>
414
415 * lexsup.c (parse_args): Report unresolved symbols in shared
416 libraries when creating a dynamic executable. This is a
417 restoration of the default behaviour for previous versions of
418 the linker.
419
420 2003-10-06 Matt Thomas <matt@3am-software.com>
421
422 * emulparams/hppanbsd.sh: Remove OUTPUT_FORMAT.
423 * emulparams/hppaobsd.sh: Add OUTPUT_FORMAT="elf32-hppa".
424
425 2003-10-06 Robert Millan <robertmh@gnu.org>
426
427 * configure.tgt: Match GNU/KNetBSD with new knetbsd*-gnu triplet.
428
429 2003-10-02 Ivan Warren <ivan@vmfacility.fr>
430
431 * pe-dll.c (make_one): Correct sym def order & pick right sym for
432 .idata$7 reloc.
433
434 2003-09-30 Chris Demetriou <cgd@broadcom.com>
435
436 * NEWS: Add an indication of the cutoff for 2.14.
437
438 2003-09-30 Chris Demetriou <cgd@broadcom.com>
439
440 * ldmain.c (get_emulation): Ignore "-mips64r2".
441
442 2003-09-03 Robert Millan <robertmh@gnu.org>
443
444 * configure.host: Match GNU/KFreeBSD with new kfreebsd*-gnu
445 triplet.
446 * configure.tgt: Likewise.
447
448 2003-08-29 Jafa <jafa@silicondust.com>
449
450 * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define.
451
452 2003-08-21 Nick Clifton <nickc@redhat.com>
453
454 * po/tr.po: Updated Turkish translation.
455
456 2003-08-20 Nick Clifton <nickc@redhat.com>
457
458 * ldmain.c: Initialise the new fields in bfd_link_info to
459 NOT_YET_SET.
460 * lexsup.c (enum option_values): New enum. Use this to
461 replace the hand coded values for the long switch options.
462 (ld_options): Add 'unresolved-symbols',
463 'warn-unresolved-symbols' and 'error-unresolved-symbols'.
464 (parse_args): Handle the new switches. Set the values of
465 unresolved_symbols_in_objects and
466 unresolved_symbols_in_shared_libs appropriately. If they were
467 not initialised by the command line, install default values.
468 * emultempl/elf32.em (handle_option): Update OPTION_GROUP and
469 -z defs to use the new fields in bfd_link_info.
470 * ld.texinfo: Document the new switches.
471 * NEWS: Mention this feature.
472
473 2003-08-15 Dmitry Diky <diwil@mail.ru>
474
475 * Makefile.am (GENSCRIPTS_EXTRA): New script definition which
476 calls genscripts_extra.sh.
477 Rearrange all msp430 depends using this script.
478 * Makefile.in: Regenerate.
479 * genscripts_extra.sh: New file: Similar to genscripts.sh, except
480 that the script to be run to generate the emulations can be passed
481 as an optional parameter instead of being computed from the
482 emulation name.
483 * emulparams/msp430all.sh: New file: Combine all msp430 subdevice
484 definitions into one file.
485 * emulparams/msp430x*.sh: Removed.
486
487 2003-08-15 Nick Clifton <nickc@redhat.com>
488
489 * ld.texinfo (Options): Put keywords for the -z option into a
490 table. Add more text describing what the -z now option does.
491
492 2003-08-14 Alan Modra <amodra@bigpond.net.au>
493
494 * dep-in.sed: Remove libintl.h.
495 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
496 * Makefile.in: Regenerate.
497
498 2003-08-13 Alan Modra <amodra@bigpond.net.au>
499
500 * genscripts.sh (libpath.exp): Only generate for first emulation.
501 (LIB_PATH): Correct order of paths. Don't add $tool_lib when
502 already present or when LIB_PATH is set to ":".
503
504 2003-08-12 Ian Lance Taylor <ian@airs.com>
505
506 * ldmain.c (undefined_symbol): Change parameter name from `fatal'
507 to `error'. If only a warning, put warning in the reported
508 string. Consistently set failure flag when not a warning.
509
510 2003-08-08 Dmitry Diky <diwil@mail.ru>
511
512 * Makefile.am: Add xW42 and xE42 parts. Sort MPU list according to
513 gcc order.
514 * Makefile.in: Regenerate.
515 * configure.tgt: Add extra emulations.
516 * emulparams/msp430xE423.sh: New file.
517 * emulparams/msp430xE427.sh: New file.
518 * emulparams/msp430xW425.sh: New file.
519 * emulparams/msp430xE425.sh: New file.
520 * emulparams/msp430xW423.sh: New file.
521 * emulparams/msp430xW427.sh: New file.
522
523 2003-08-07 Danny Smith <dannysmith@users.sourceforge.net>
524
525 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
526 Change second (cmdline) arg to lang_add_entry to FALSE.
527 (set_pe_subsystem): Change second arg to lang_add_entry to TRUE.
528
529 2003-08-05 Christian Groessler <chris@groessler.org>
530 Jason Eckhardt <jle@rice.edu>
531
532 * configure.tgt: Recognize new target i860-*-coff.
533 * Makefile.am (ALL_EMULATIONS): Add ecoff_i860.o.
534 (ecoff_i860.c): New rule.
535 * emulparams/coff_i860.sh: New file.
536 * scripttempl/i860coff.sc: New file.
537 * Makefile.in: Regenerate.
538
539 2003-08-04 Nick Clifton <nickc@redhat.com>
540
541 * emultempl/elf32.em (before_allocation): Prepend "warning: "
542 to messages produced for .gnu.warning.SYMBOL sections.
543
544 2003-08-04 Alan Modra <amodra@bigpond.net.au>
545
546 * emultempl/elf32.em (output_rel_find): Add "isdyn" param. Put
547 .rel.dyn before other reloc sections. Don't stop looking for reloc
548 sections on finding one that isn't allocated. Match .rel even when
549 placing .rela and vice versa, when setting last_rel and
550 last_rel_alloc for the first time. If no reloc sections in script,
551 prefer allocated section over non-alloc.
552 (gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn.
553
554 2003-07-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
555
556 * emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack
557 section for shared library.
558 * emulparams/shelf32.sh (OTHER_SECTIONS): Likewise.
559 * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
560
561 2003-07-29 Stephane Carrez <stcarrez@nerim.fr>
562
563 * scripttempl/elfm68hc12.sc: Add gcc_except_table.
564 * scripttempl/elfm68hc11.sc: Likewise.
565
566 2003-07-28 Alan Modra <amodra@bigpond.net.au>
567
568 * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching.
569
570 * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r.
571
572 2003-07-27 Alan Modra <amodra@bigpond.net.au>
573
574 * ld.texinfo: Typo fixes. Document SUBALIGN.
575 * ldgram.y (opt_subalign): Add.
576 * ldlex.l (SUBALIGN): Recognize.
577 * ldlang.c (overlay_subalign): New var.
578 (lang_enter_overlay): Add subalign param.
579 (lang_enter_overlay_section): Pass overlay_subalign to
580 lang_enter_output_section_statement.
581 * ldlang.h (lang_enter_overlay): Update.
582
583 2003-07-24 Nick Clifton <nickc@redhat.com>
584
585 * po/fr.po: Updated French translation.
586
587 2003-07-23 Stephane Carrez <stcarrez@nerim.fr>
588
589 * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into
590 account .tramp sections;
591 * scripttempl/elfm68hc12.sc: Likewise.
592
593 2003-07-17 Charles Wilson <cwilson@ece.gatech.edu>
594
595 * ld/pe-dll.c: Add libcygwin to autofilter_liblist[]
596
597 2003-07-17 Nick Clifton <nickc@redhat.com>
598
599 * po/es.po: New Spanish translation.
600
601 2003-07-11 Alan Modra <amodra@bigpond.net.au>
602
603 * po/ld.pot: Regenerate.
604
605 2003-07-10 Bob Wilson <bob.wilson@acm.org>
606
607 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit
608 with new .got.loc section.
609 (OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for
610 non-relocating links.
611 (OTHER_SECTIONS): Add .xt.lit here. Change it to keep linkonce
612 sections separate for non-relocating links; likewise for .xt.insn.
613
614 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
615
616 2001-08-22 Alexandre Oliva <aoliva@redhat.com>
617 * emulparams/elf32am33lin.sh: Adjust to match kernel parameters.
618 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
619 * configure.host (am33_2.0-*-linux*): Added.
620 * configure.tgt (am33_2.0-*-linux*): Likewise.
621 * emulparams/elf32am33lin.sh: New.
622 * Makefile.am (eelf32am33lin.c): New rule.
623 * Makefile.in: Rebuilt.
624
625 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
626
627 2001-04-17 Alexandre Oliva <aoliva@redhat.com>
628 * emulparams/mn10300.sh (TEMPLATE_NAME): Define.
629 (GENERATE_SHLIB_SCRIPT): Likewise.
630
631 2003-07-10 Alan Modra <amodra@bigpond.net.au>
632
633 * emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define.
634 (GOT): Define.
635 * emultempl/ppc64elf.em (stub_added): New static var.
636 (ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd.
637 (ppc_add_stub_section): Set stub_added.
638 (gld${EMULATION_NAME}_finish): Look for .got rather than .toc. Adjust
639 ppc64_elf_size_stubs call and test for stubs.
640 * scripttempl/elf.sc (GOT): Define and use.
641
642 2003-07-08 J"orn Rennecke <joern.rennecke@superh.com>
643
644 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
645 Allow second call from ldemul_finish.
646
647 2003-07-04 J"orn Rennecke <joern.rennecke@superh.com>
648
649 * emulparams/shelf32.sh (STACK_ADDR): Don't define.
650 (OTHER_SECTIONS): Include .stack.
651 * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
652
653 2003-07-02 Jakub Jelinek <jakub@redhat.com>
654
655 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include
656 .opd if -pie.
657 (OTHER_READWRITE_SECTIONS): Include .opd if -pie.
658 * scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR
659 if -pie.
660
661 2003-06-28 Alan Modra <amodra@bigpond.net.au>
662
663 * ld.h: Convert to C90, remove unnecessary prototypes and casts.
664 Replace PTR with void *. Formatting.
665 * ldcref.c: Likewise.
666 * ldctor.c: Likewise.
667 * ldctor.h: Likewise.
668 * ldemul.h: Likewise.
669 * ldexp.c: Likewise.
670 * ldexp.h: Likewise.
671 * ldfile.c: Likewise.
672 * ldfile.h: Likewise.
673 * ldlang.c: Likewise.
674 * ldlang.h: Likewise.
675 * ldlex.h: Likewise.
676 * ldlex.l: Likewise.
677 * ldmain.c: Likewise.
678 * ldmain.h: Likewise.
679 * ldmisc.c: Likewise.
680 * ldmisc.h: Likewise.
681 * ldver.h: Likewise.
682 * ldwrite.c: Likewise.
683 * ldwrite.h: Likewise.
684 * lexsup.c: Likewise.
685 * mri.c: Likewise.
686 * mri.h: Likewise.
687 * pe-dll.c: Likewise.
688 * pe-dll.h: Likewise.
689 * deffilep.y: Likewise.
690 * deffile.h: Likewise. Don't include ansidecl.h.
691 * emulparams/elf32mcore.sh: Remove unnecessary cast.
692 * emultempl/m68kcoff.em: Likewise.
693 * emultempl/m68kelf.em: Likewise.
694 * emultempl/ticoff.em: Remove lang_add_output_format declaration.
695 * sysdep.h: Don't include ansidecl.h.
696 * Makefile.am: Run "make dep-am".
697 * Makefile.in: Regenerate.
698
699 2003-06-27 Nick Clifton <nickc@redhat.com>
700
701 * deffilep.y (def_file_add_directive): Cope with NUL seperated
702 directives. Fix reporting of unparseable directives.
703 (def_error): Check for a NULL def_filename.
704
705 2003-06-27 Alan Modra <amodra@bigpond.net.au>
706
707 * emultempl/aix.em: Convert to C90, remove unnecessary prototypes
708 and casts. Replace PTR with void *. Formatting.
709 * emultempl/alphaelf.em: Likewise.
710 * emultempl/armcoff.em: Likewise.
711 * emultempl/armelf.em: Likewise.
712 * emultempl/armelf_oabi.em: Likewise.
713 * emultempl/beos.em: Likewise.
714 * emultempl/elf32.em: Likewise.
715 * emultempl/generic.em: Likewise.
716 * emultempl/gld960.em: Likewise.
717 * emultempl/gld960c.em: Likewise.
718 * emultempl/hppaelf.em: Likewise.
719 * emultempl/linux.em: Likewise.
720 * emultempl/lnk960.em: Likewise.
721 * emultempl/m68hc1xelf.em: Likewise.
722 * emultempl/m68kcoff.em: Likewise.
723 * emultempl/m68kelf.em: Likewise.
724 * emultempl/mipsecoff.em: Likewise.
725 * emultempl/mipself.em: Likewise.
726 * emultempl/mmix-elfnmmo.em: Likewise.
727 * emultempl/mmixelf.em: Likewise.
728 * emultempl/mmo.em: Likewise.
729 * emultempl/needrelax.em: Likewise.
730 * emultempl/netbsd.em: Likewise.
731 * emultempl/pe.em: Likewise.
732 * emultempl/sh64elf.em: Likewise.
733 * emultempl/sunos.em: Likewise.
734 * emultempl/ticoff.em: Likewise.
735 * emultempl/vanilla.em: Likewise.
736 * emultempl/xtensaelf.em: Likewise.
737 * Makefile.am: Correct dependencies.
738 * Makefile.in: Regenerate.
739
740 2003-06-25 Alan Modra <amodra@bigpond.net.au>
741
742 * ld.texinfo: Correct spelling of "relocatable".
743 * ldctor.c: Likewise.
744 * ldexp.c: Likewise.
745 * ldfile.c: Likewise.
746 * ldint.texinfo: Likewise.
747 * ldlang.c: Likewise.
748 * ldmain.c: Likewise.
749 * ldwrite.c: Likewise.
750 * lexsup.c: Likewise.
751 * emultempl/aix.em: Likewise.
752 * emultempl/alphaelf.em: Likewise.
753 * emultempl/armcoff.em: Likewise.
754 * emultempl/armelf_oabi.em: Likewise.
755 * emultempl/beos.em: Likewise.
756 * emultempl/elf32.em: Likewise.
757 * emultempl/generic.em: Likewise.
758 * emultempl/gld960.em: Likewise.
759 * emultempl/gld960c.em: Likewise.
760 * emultempl/hppaelf.em: Likewise.
761 * emultempl/linux.em: Likewise.
762 * emultempl/lnk960.em: Likewise.
763 * emultempl/m68hc1xelf.em: Likewise.
764 * emultempl/m68kcoff.em: Likewise.
765 * emultempl/m68kelf.em: Likewise.
766 * emultempl/mipsecoff.em: Likewise.
767 * emultempl/mipself.em: Likewise.
768 * emultempl/mmix-elfnmmo.em: Likewise.
769 * emultempl/mmo.em: Likewise.
770 * emultempl/needrelax.em: Likewise.
771 * emultempl/pe.em: Likewise.
772 * emultempl/ppc64elf.em: Likewise.
773 * emultempl/sh64elf.em: Likewise.
774 * emultempl/sunos.em: Likewise.
775 * emultempl/ticoff.em: Likewise.
776 * emultempl/xtensaelf.em: Likewise.
777
778 2003-06-24 Alan Modra <amodra@bigpond.net.au>
779
780 * emultempl/ppc32elf.em: Convert to C90.
781
782 2003-06-20 Alan Modra <amodra@bigpond.net.au>
783
784 * emultempl/ppc64elf.em: Convert to C90 function definitions, remove
785 unnecessary prototypes and casts.
786
787 2003-06-19 Alan Modra <amodra@bigpond.net.au>
788
789 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out
790 statistics from ppc64_elf_build_stubs.
791
792 2003-06-19 Alan Modra <amodra@bigpond.net.au>
793
794 * emultempl/ppc64elf.em (build_section_lists): Check return status
795 from ppc64_elf_next_input_section.
796
797 2003-06-17 H.J. Lu <hongjiu.lu@intel.com>
798
799 * ldlang.c (section_already_linked): Put back assignment of
800 kept_section.
801
802 2003-06-17 Rainer Keuchel <rkeuchel@allgeier.com>
803
804 * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D
805 reloc.
806
807 2003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com>
808
809 * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1
810 if not produced by gcc.
811
812 2003-06-16 Hans-Peter Nilsson <hp@axis.com>
813
814 * configure.tgt: Add specific case for cris-*-linux-gnu*
815 with crislinux emulation only.
816
817 2003-06-13 Robert Millan <zeratul2@wanadoo.es>
818
819 * configure.tgt: Add i386-netbsd-gnu target.
820
821 2003-06-12 Richard Sandiford <rsandifo@redhat.com>
822
823 * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations
824 to $targ_extra_libpath.
825
826 2003-06-11 H.J. Lu <hongjiu.lu@intel.com>
827
828 * po/Make-in (DESTDIR): New.
829 (install-data-yes): Support $(DESTDIR).
830 (uninstall): Likewise.
831
832 2003-06-10 Doug Evans <dje@sebabeach.org>
833
834 * Makefile.am (ALL_EMULATIONS): Add em32relf.o.
835 * Makefile.in: Regenerate.
836
837 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
838
839 * configure.tgt (h8300*): Add h8300sxn emulations.
840 * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o.
841 (eh8300sxn.c, eh8300sxnelf.c): New rules.
842 * Makefile.in: Regenerate.
843 * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.
844 * scripttempl/h8300sxn.sc: New file.
845
846 2003-06-10 Alan Modra <amodra@bigpond.net.au>
847
848 * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS,
849 CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define.
850
851 2003-06-08 Alan Modra <amodra@bigpond.net.au>
852
853 * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars.
854 (build_toc_list): New function.
855 (gld${EMULATION_NAME}_finish): Call build_toc_list and
856 ppc64_elf_reinit_toc. Adjust ppc64_elf_build_stubs call.
857 (OPTION_STUBSYMS): Define.
858 (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
859 (PARSE_AND_LIST_OPTIONS): Document.
860 (PARSE_AND_LIST_ARGS_CASES): Handle.
861
862 2003-06-05 Roland McGrath <roland@redhat.com>
863
864 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove
865 extra \t in -z noexecstack line.
866
867 2003-05-23 Jakub Jelinek <jakub@redhat.com>
868
869 * ldgram.y (phdr_type): Grok PT_GNU_STACK.
870 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
871 -z execstack and -z noexecstack.
872 (gld${EMULATION_NAME}_list_options): Likewise.
873 * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
874
875 2003-06-03 Michael Snyder <msnyder@redhat.com>
876 and Bernd Schmidt <bernds@redhat.com>
877 and Alexandre Oliva <aoliva@redhat.com>
878
879 * Makefile.am: Add new emulations for h8300sx.
880 * Makefile.in: Regenerate.
881 * configure.tgt: Add new emulations.
882 * emulparams/h8300sx.sh: New emulation.
883 * emulparams/h8300sxelf.sh: Ditto.
884 * scripttempl/h8300sx.sc: Ditto.
885
886 2003-06-03 H.J. Lu <hongjiu.lu@intel.com>
887
888 * ldmisc.c: Include "bfdlink.h".
889 (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION
890 and -LD_DEFINITION_IN_DISCARDED_SECTION.
891
892 * Makefile.am: Rebuild dependency.
893 * Makefile.in: Regenerated.
894
895 2003-06-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
896
897 * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
898 * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize.
899
900 2003-06-02 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
901
902 * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is
903 sorted alphabetically, instead of exported_symbols, which is
904 sorted by ordinal.
905
906 2003-05-30 Ulrich Drepper <drepper@redhat.com>
907 Jakub Jelinek <jakub@redhat.com>
908
909 * lexsup.c (OPTION_PIE): Define.
910 (ld_options): Add -pie and --pic-executable options.
911 (parse_args): Handle OPTION_PIE.
912 * ldmain.c (main): Initialize link_info.pie and
913 link_info.executable.
914 * genscripts.sh: Generate PIE scripts.
915 * ld.texinfo: Document -pie and --pic-executable options.
916 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
917 (gld${EMULATION_NAME}_place_orphan): Likewise.
918 (gld${EMULATION_NAME}_get_script): Include PIE scripts.
919 * scripttempl/elf.sc: In PIE scripts set . the same way as in
920 shared scripts.
921 * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes.
922 * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise.
923 * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
924 * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
925 * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise.
926 * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
927 * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
928 * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
929 * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise.
930 * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
931 * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.
932
933 2003-05-30 H.J. Lu <hongjiu.lu@intel.com>
934
935 * genscripts.sh: Create tmpdir/libpath.exp.
936
937 2003-05-30 Nick Clifton <nickc@redhat.com>
938
939 * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT
940 with a test for a NULL bfd_for_interworking.
941
942 2003-05-29 Jason Thorpe <thorpej@wasabisystems.com>
943
944 * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS
945 correctly for more recent versions of NetBSD.
946 (alpha*-*-netbsd*): Remove.
947 (i[3-7]86-*-netbsd*): Remove.
948
949 2003-05-29 Nick Clifton <nickc@redhat.com>
950
951 * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>.
952
953 2003-05-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
954
955 * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to
956 trap on pointer crops.
957
958 2003-05-21 Marcus Comstedt <marcus@mc.pp.se>
959
960 * configure.tgt: Check for a target triplet of shl-...-netbsdelf
961 as well as shle-...-netbsdelf.
962
963 2003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
964
965 * configure.host: Accept i[3-7]86 variants.
966 * configure.tgt: Likewise.
967
968 2003-05-15 H.J. Lu <hongjiu.lu@intel.com>
969
970 * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
971
972 2003-05-09 Daniel Jacobowitz <drow@mvista.com>
973
974 * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o.
975 (earmelfb.c, earmelfb_linux.c): New rules.
976 * Makefile.in: Regenerated.
977 * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files.
978 * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu.
979
980 2003-05-09 Nick Clifton <nickc@redhat.com>
981
982 * ldlang.c (lang_size_sections_1): Default to generating a
983 fatal error message if a loadable section is not allocated
984 to a memory region when regions are defined.
985
986 2003-05-09 Alan Modra <amodra@bigpond.net.au>
987
988 * Makefile.am (em68hc11elf.c): Correct dependencies.
989 (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise.
990 * Makefile.in: Regenerate.
991 * emultempl/elf32.em (find_exp_assignment): Adjust for changed
992 bfd_elf_record_link_assignment name.
993
994 2003-05-07 Alexandre Oliva <aoliva@redhat.com>
995
996 * ldmain.h (overflow_cutoff_limit): Declare.
997 * ldmain.c (overflow_cutoff_limit): Define, initialized to 10.
998 (reloc_overflow): Limit error messages based on it.
999 * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to
1000 unlimited.
1001
1002 2003-05-05 Alan Modra <amodra@bigpond.net.au>
1003
1004 * ldlex.l: Accept C style comments in version scripts.
1005
1006 2003-04-28 H.J. Lu <hjl@gnu.org>
1007
1008 * ldlang.c (lang_process): Add the relax finalize pass.
1009
1010 * ldmain.c (main): Initialize link_info.relax_finalizing to
1011 FALSE.
1012
1013 2003-04-24 Roland McGrath <roland@redhat.com>
1014
1015 * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names.
1016 If a name string is unknown, give an error rather than crashing later.
1017
1018 2003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
1019
1020 * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o,
1021 eh8300hnelf.o, eh8300snelf.o and respective rules.
1022 * Makefile.in: Regenerate.
1023 * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf
1024 * emulparams/h8300hn.sh: New
1025 * emulparams/h8300sn.sh: New
1026 * emulparams/h8300hnelf.sh: New
1027 * emulparams/h8300snelf.sh: New
1028 * scripttempl/h8300hn.sc: new
1029 * scripttempl/h8300sn.sc: new
1030
1031 2003-04-23 H.J. Lu <hjl@gnu.org>
1032
1033 * ldmain.c (link_callbacks): Initialize error_handler.
1034
1035 * ldmisc.c (error_handler): New function.
1036
1037 * ldmisc.h (error_handler): New prototype.
1038
1039 2003-04-21 Stephane Carrez <stcarrez@nerim.fr>
1040
1041 * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
1042 * emulparams/m68hc11elfb.sh: Likewise.
1043 * emulparams/m68hc12elf.sh: Likewise.
1044 * emulparams/m68hc12elfb.sh: Likewise.
1045
1046 2003-04-19 Stephane Carrez <stcarrez@nerim.fr>
1047
1048 * emultempl/m68hc1xelf.em: New file to generate far trampolines on
1049 68HC11 and 68HC12.
1050 (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to
1051 generate.
1052 (LDEMUL_FINISH): Override to generate the trampolines after gc and
1053 linker relaxation.
1054 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the
1055 stub file for trampolines.
1056 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options
1057 --no-trampoline and --bank-window to control the memory bank window.
1058
1059 2003-04-18 H.J. Lu <hjl@gnu.org>
1060
1061 * ldfile.c (ldfile_add_library_path): Remove the unused
1062 variable.
1063
1064 2003-04-18 Andrew Haley <aph@cambridge.redhat.com>
1065
1066 * scripttempl/xstormy16.sc (__data, __rdata): New.
1067
1068 2003-04-16 Nick Clifton <nickc@redhat.com>
1069
1070 * scripttempl/xstormy16.sc: Add .jcr section mapping.
1071
1072 2003-04-15 H.J. Lu <hjl@gnu.org>
1073
1074 From Debian by Jack Howarth <howarth@nitro.med.uc.edu>:
1075
1076 * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
1077
1078 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
1079
1080 * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'.
1081 * ld.texinfo: Likewise.
1082
1083 2003-04-14 Alan Modra <amodra@bigpond.net.au>
1084
1085 From Prashanth Tamraparni <prashanth_t@in.ibm.com>
1086 * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
1087 other variants of crtbegin.o, crtend.o.
1088 (DTOR): Likewise.
1089 * scripttempl/crisaout.sc (ctors, dtors): Likewise.
1090 * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
1091 * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
1092 * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
1093 * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
1094 * scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
1095 * scripttempl/mmo.sc (ctors, dtors): Likewise.
1096 * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
1097
1098 2003-04-09 Dmitry Diky <diwil@mail.ru>
1099
1100 * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors
1101 sections to respect C++ constructor/destructor. Add ctors/dtors
1102 start/stop definitions.
1103 * scripttempl/elf32msp430_3.sc: Likewise.
1104
1105 2003-04-06 Nick Clifton <nickc@redhat.com>
1106
1107 * ld.texinfo (Options): Add a reminder of the target specific
1108 nature to the description of the i386 PE specific options, for
1109 readers who have not read all the way through the manual.
1110
1111 2003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
1112
1113 * configure.tgt: Fixed bug in list of targ_extra_emuls.
1114 * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace
1115 cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/
1116 * emulparams/tic3xcoff_onchip.sh: Ditto
1117 * emulparams/tic4xcoff.sh: Ditto
1118 * scripttempl/tic4xcoff.sc: Ditto
1119
1120 2003-04-03 Nick Clifton <nickc@redhat.com>
1121
1122 * NEWS: Mention support for Xtensa architecture.
1123
1124 2003-04-02 Nick Clifton <nickc@redhat.com>
1125
1126 * pe-dll.c (pe_detail_list): arm-pe targets use underscores.
1127
1128 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
1129
1130 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
1131 Don't call pe_dll_build_section() if link_info.relocateable.
1132 (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections()
1133 if link_info.relocateable.
1134
1135 2003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
1136
1137 * pe-dll.c (process_def_file): Don't create an export
1138 section if there are no exports and we're building an exe
1139 (pe_dll_build_sections): Ditto
1140 (pe_dll_fill_sections): Conditionalize setting
1141 abfd->dll true on info->shared
1142 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
1143 If i386pe or armpe, call pe_dll_build_section()
1144 for both exe's and dll's, not just dll's.
1145 (gld_${EMULATION_NAME}_finish): For all targets except
1146 shpe and mipspe, call pe_dll_fill_sections() for both
1147 exe's and dll's, not just dll's.
1148
1149 2003-04-02 Bob Wilson <bob.wilson@acm.org>
1150
1151 * emulparams/xtensa-config.sh: Remove comment indicating that this is
1152 a generated file.
1153
1154 2003-04-01 Bob Wilson <bob.wilson@acm.org>
1155
1156 * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o.
1157 (eelf32xtensa.c): New target.
1158 * Makefile.in: Regenerate.
1159 * configure.tgt: Handle xtensa-*-*.
1160 * gen-doc.texi: Set XTENSA variable.
1161 * ld.texinfo: Set XTENSA variable. Add new Xtensa node.
1162 * emulparams/elf32xtensa.sh: New file.
1163 * emulparams/xtensa-config.sh: Likewise.
1164 * emultempl/xtensaelf.em: Likewise.
1165 * scripttempl/elfxtensa.sc: Likewise.
1166
1167 2003-04-01 Jakub Jelinek <jakub@redhat.com>
1168
1169 * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
1170 targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath
1171 if --enable-64-bit-bfd.
1172
1173 2003-04-01 Nick Clifton <nickc@redhat.com>
1174
1175 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of
1176 note section.
1177 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change
1178 name of note section.
1179
1180 2003-03-31 Alexandre Oliva <aoliva@redhat.com>
1181
1182 * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
1183 --section-start.
1184
1185 2003-03-31 David Heine <dlheine@suif.stanford.edu>
1186
1187 * ldfile.c (ldfile_add_library_path): Always allocate space for
1188 the filename.
1189 * ldlang.c (lang_register_vers_node): Free the node if it cannot
1190 be used.
1191 * ldmain.c (set_scripts_dir): Always free the constructed
1192 directory name.
1193 (add_keepsyms_file): Fix memory leak.
1194 * ldmisc.c (vfinfo): Likewise.
1195 * lexsup.c (parse_args): Likewise.
1196
1197 2003-03-25 Stan Cox <scox@redhat.com>
1198 Nick Clifton <nickc@redhat.com>
1199
1200 Contribute support for Intel's iWMMXt chip - an ARM variant:
1201
1202 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define.
1203 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define.
1204 * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment.
1205 (.bss): Likewise.
1206
1207 2003-03-25 Alexandre Oliva <aoliva@redhat.com>
1208
1209 * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare.
1210 * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define.
1211 (main): Initialize them.
1212 * ldfile.c: Include pathnames.h.
1213 (is_sysrooted_pathname): New.
1214 (ldfile_add_library_path): Use it.
1215 (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't
1216 search_dirs if given an absolute pathname.
1217 (ldfile_open_file): Issue error message for sysrooted
1218 absolute pathnames.
1219 * Makefile.am: Updated dependencies.
1220 * Makefile.in: Rebuild.
1221
1222 2003-03-24 Daniel Néri <dne@mayonnaise.net>
1223
1224 * ld.texinfo: Rename all occurances of C54X to TIC54X.
1225
1226 2003-03-19 Andreas Schwab <schwab@suse.de>
1227
1228 * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after
1229 eof.
1230
1231 2003-03-18 Danny Smith <dannysmith@users.sourceforge.net>
1232
1233 * deffilep.y (opt_base): If no number given, set to default
1234 (-1), not 0.
1235
1236 2003-03-13 Danny Smith <dannysmith@users.sourceforge.net>
1237
1238 * deffilep.y (def_import): Use default extension of "dll"
1239 if no extension provided in parsed IMPORT definition.
1240
1241 * deffilep.y (def_lex): Revert 2003-03-12 change.
1242 (dot_name): New id type and rule.
1243 (expline): Use instead of ID.
1244 (opt_equal_name): Likewise.
1245
1246 2003-03-12 Danny Smith <dannysmith@users.sourceforge.net>
1247
1248 * deffilep.y (def_lex): Accept '.' as valid non-lead char.
1249
1250 2003-03-07 Christopher Faylor <cgf@redhat.com>
1251
1252 * configure.tgt: Add NATIVE_LIB_DIRS for cygwin target back after
1253 apparent accidental removal on 2003-01-06.
1254
1255 2003-03-04 Dmitry Diky <diwil@mail.ru>
1256
1257 * Makefile.am: Add new devices x1122 x1132 emulation
1258 * configure.tgt: Likewise.
1259 * Makefile.in: Regenerate.
1260 * emulparams/msp430x1122.sh: New file.
1261 * emulparams/msp430x1132.sh: New file.
1262
1263 2003-03-03 Alexandre Oliva <aoliva@redhat.com>
1264
1265 * ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR as
1266 well.
1267
1268 * ldfile.h (struct search_dirs): Added sysrooted field.
1269 * ldlang.h (struct lang_input_statement_struct): Likewise.
1270 * ldfile.c (ldfile_add_library_path): Mark sysrooted paths.
1271 (ldfile_open_file_search): Look for sysrooted filename starting
1272 with / in ld_sysroot instead of in the current directory. Clear
1273 sysrooted flag if it's found in the current directory. Set it
1274 from the search directory's sysrooted flag where it is found
1275 otherwise.
1276 * ldlang.c (ldlang_sysrooted_script): New static variable.
1277 (new_afile): Mark search_file_enums as sysrooted if
1278 ldlang_sysrooted_script.
1279 (load_symbols): Set ldlang_sysrooted_script according to the
1280 script's sysrooted field while processing it.
1281 * ld.texinfo: Document INPUT behavior in sysroot.
1282
1283 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
1284
1285 * scripttempl/pe.sc: Use PROVIDE with etext, end, _end,
1286
1287 2003-03-03 Alan Modra <amodra@bigpond.net.au>
1288
1289 * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define.
1290 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
1291 PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES,
1292 PARSE_AND_LIST_EPILOGUE): Don't define.
1293 * emultempl/alphaelf.em: New file.
1294
1295 2003-03-01 Alan Modra <amodra@bigpond.net.au>
1296
1297 * ldemul.c: Include getopt.h.
1298 * emultempl/elf32.em: Include getopt.h earlier.
1299 * emultempl/ticoff.em: Likewise.
1300
1301 2003-02-28 Alan Modra <amodra@bigpond.net.au>
1302
1303 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Add combreloc
1304 support when scripts read from files.
1305
1306 2003-02-28 Alan Modra <amodra@bigpond.net.au>
1307
1308 * ldemul.c (ldemul_parse_args): Return FALSE by default.
1309 * ldemul.h (struct ld_emulation_xfer_struct): Update parse_args
1310 comment.
1311
1312 * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions.
1313 (ldemul_parse_args): Return bfd_boolean. Formatting.
1314 * ldemul.h (ldemul_add_options, ldemul_handle_option): Declare.
1315 (ldemul_parse_args): Adjust.
1316 (struct ld_emulation_xfer_struct): Add add_options and handle_option.
1317 Return bfd_boolean from parse_args.
1318 * lexsup.c (parse_args): Malloc shortopts, longopts and
1319 really_longopts. Call ldemul_add_options and ldemul_handle_option.
1320 * emultempl/aix.em (gld${EMULATION_NAME}_add_options): Split out from
1321 gld${EMULATION_NAME}_parse_args.
1322 (gld${EMULATION_NAME}_handle_option): Likewise.
1323 (ld_${EMULATION_NAME}_emulation): Adjust initializer.
1324 * emultempl/armcoff.em: As for aix.em, but remove parse_args.
1325 * emultempl/beos.em: Likewise.
1326 * emultempl/pe.em: Likewise.
1327 * emultempl/ticoff.em: Likewise.
1328 * emultempl/elf32.em: Likewise. Don't duplicate long options either.
1329 (gld${EMULATION_NAME}_add_sysroot): Prototype.
1330 * emultempl/armelf.em (PARSE_AND_LIST_LONGOPTS): Don't duplicate
1331 options.
1332 * emultempl/hppaelf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
1333 * emultempl/ppc32elf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
1334 * emultempl/ppc64elf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
1335 * emultempl/armelf_oabi.em (ld_${EMULATION_NAME}_emulation): Adjust
1336 initializer.
1337 * emultempl/generic.em: Likewise.
1338 * emultempl/gld960.em: Likewise.
1339 * emultempl/gld960c.em: Likewise.
1340 * emultempl/linux.em: Likewise.
1341 * emultempl/lnk960.em: Likewise.
1342 * emultempl/m68kcoff.em: Likewise.
1343 * emultempl/mipsecoff.em: Likewise.
1344 * emultempl/sunos.em: Likewise.
1345 * emultempl/vanilla.em: Likewise.
1346 * emultempl/netbsd.em (gldnetbsd_before_parse): Prototype.
1347
1348 2003-02-25 Alexandre Oliva <aoliva@redhat.com>
1349
1350 * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Fix
1351 memory allocation error.
1352
1353 * Makefile.am (ldmain.o): Define TOOLBINDIR.
1354 * Makefile.in: Rebuilt.
1355 * ldmain.c (ld_sysroot): Try to set from TOOLBINDIR too.
1356
1357 2003-02-21 Bob Wilson <bob.wilson@acm.org>
1358
1359 * ldlang.c (lang_size_sections_1): Add CHECK_REGIONS argument and only
1360 call os_region_check when it is set.
1361 (lang_size_sections): Add CHECK_REGIONS argument and pass it through to
1362 lang_size_sections_1.
1363 (lang_process): Change lang_size_sections calls to set CHECK_REGIONS
1364 only for the last call, not on every relaxation iteration.
1365 * ldlang.h (lang_size_sections): Update prototype.
1366 * pe-dll.c (pe_dll_fill_sections): Set CHECK_REGIONS argument in calls
1367 to lang_size_sections.
1368 (pe_exe_fill_sections): Likewise.
1369 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Likewise.
1370 * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
1371 * emultempl/ppc64elf.em (ppc_before_allocation): Likewise.
1372 (ppc_layout_sections_again): Likewise.
1373
1374 2003-02-21 Bob Wilson <bob.wilson@acm.org>
1375
1376 * gen-doc.texi: Set ARM and HPPA variables.
1377 * ld.texinfo: Fix typos and obvious texinfo mistakes. Make section
1378 title capitalization more consistent. Add missing menu entries for
1379 machine-specific sections and conditionalize them consistently.
1380 Conditionalize text that is irrelevant when SingleFormat is set.
1381 Add @group divisions to improve page breaks in long examples.
1382 Use @iftex/@ifnottex instead of @iftex/@ifinfo so that HTML output
1383 is correct. Remove "FIXME" comment about not using
1384 @raisesections/@lowersections. Use @raisesections/@lowersections
1385 consistently for machine-specific sections. Change to be more polite
1386 about poor bug reports. Replace FDL appendix with include of fdl.texi.
1387 Move WIN32 node to match its order in the menus.
1388 * fdl.texi: New file.
1389
1390 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
1391
1392 * configure.in (TARGET_SYSTEM_ROOT): Set default to
1393 ${exec_prefix}/${target_alias}/sys-root. Match explicit
1394 '${exec_prefix}' (in addition to the expansion thereof) as
1395 relocatable.
1396 * configure: Rebuilt.
1397
1398 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
1399
1400 * ldgram.y (vers_defns): Also recurse with 'EXTERN NAME' patterns.
1401
1402 2003-02-20 Harri Porten <porten@kde.org>
1403
1404 * ldgram.y (vers_defns): Allow optional trailing semicolon in
1405 EXTERN NAME block;
1406
1407 2003-02-18 Alan Modra <amodra@bigpond.net.au>
1408
1409 * emultempl/ppc32elf.em: New file.
1410 * emulparams/elf32ppc.sh (EXTRA_EM_FILE): Define.
1411 * Makefile.am (eelf32lppc.c): Depend on emultempl/ppc32elf.em.
1412 (eelf32lppcnto.c): Likewise.
1413 (eelf32lppcsim.c): Likewise.
1414 (eelf32ppcnto.c): Likewise.
1415 (eelf32ppc.c): Likewise.
1416 (eelf32ppc_fbsd.c): Likewise.
1417 (eelf32ppcsim.c): Likewise.
1418 (eelf32ppclinux.c): Likewise.
1419 * Makefile.in: Regenerate.
1420
1421 2003-02-18 Alan Modra <amodra@bigpond.net.au>
1422
1423 * ld.texinfo: Remove spaces between @samp and opening brace.
1424
1425 2003-02-18 Alan Modra <amodra@bigpond.net.au>
1426
1427 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Check
1428 hash creator.
1429 (ppc_before_allocation): Don't do optimizations if wrong hash table.
1430 (gld${EMULATION_NAME}_finish): Ditto.
1431
1432 2003-02-17 Nick Clifton <nickc@redhat.com>
1433
1434 * ldmain.c (main) Default allow_shlib_undefined to true.
1435 * lexsup.c (ld_options): Add --no-allow-shlib-undefined.
1436 (parse_args): Parse the new switch.
1437 * ld.texinfo: Document new switch and default behaviour of
1438 allowing undefined symbols in shared libraries.
1439
1440 2003-02-11 Dmitry Diky <diwil@mail.ru>
1441
1442 * scripttempl/elf32msp430.sc: Add new data anchors definitions.
1443 * scripttempl/elf32msp430_3.sc: Likewise.
1444
1445 2003-02-11 Uwe Stieber <uwe@wwws.de>
1446
1447 * configure.tgt: Add support for kaOS as cross build target
1448 system.
1449
1450 2003-02-10 John Daivid Anglin <dave.anglin@nrc-cnrc.gc.ca>
1451
1452 * hppaelf.em (group_size): Change default back to 1.
1453
1454 2003-02-09 Alan Modra <amodra@bigpond.net.au>
1455
1456 * emultempl/ppc64elf.em: Add "no-tls-optimize" option and support code.
1457
1458 2003-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1459
1460 * hppaelf.em (group_size): Change default to -1.
1461
1462 2003-02-07 Nick Clifton <nickc@redhat.com>
1463
1464 * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Remove 'n' short
1465 opt.
1466 (PARSE_AND_LIST_LONGOPTS): Add duplicate entry for
1467 no-pipeline-knowledge. This will prevent the getopt package from
1468 thinking that there are any shorter abbreviations for
1469 --no-pipeline-knowledge.
1470
1471 2003-02-07 Jakub Jelinek <jakub@redhat.com>
1472
1473 * genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to paths
1474 which already have it. Avoid duplicates.
1475
1476 2003-02-06 Jakub Jelinek <jakub@redhat.com>
1477
1478 * emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64.
1479 * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX): Likewise.
1480 * emulparams/elf64_sparc.sh (LIBPATH_SUFFIX): Set instead of suffix.
1481
1482 2003-02-05 Alan Modra <amodra@bigpond.net.au>
1483
1484 * emultempl/ppc64elf.em (ppc_before_allocation): Size sections then
1485 call ppc64_elf_tls_optimize.
1486
1487 2003-02-03 Daniel Jacobowitz <drow@mvista.com>
1488
1489 * emultempl/elf32.em: Move gld${EMULATION_NAME}_add_sysroot
1490 outside of GNU/Linux conditional.
1491
1492 2003-01-28 Ralf Habacker <ralf.habacker@freenet.de>
1493
1494 * deffilep.y (def_get_module): New function: locate an already
1495 added module.
1496 * deffile.h (def_get_module): New prototype.
1497 * pe-dll.c (pe_implied_import_dll): Add code to prevent importing
1498 a dll multiple times.
1499
1500 2003-01-23 Alan Modra <amodra@bigpond.net.au>
1501
1502 * emultempl/sh64elf.em: Include elf32-sh64.h.
1503 (sh64_elf_${EMULATION_NAME}_before_allocation): Adjust for changed
1504 sh64_elf_section_data.
1505 (sh64_elf_${EMULATION_NAME}_after_allocation): Likewise.
1506
1507 2003-01-23 Wu Yongwei <adah@netstd.com>
1508
1509 * ld.texinfo: Remove an extra "i" in --dll-search-prefix.
1510 * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Move a
1511 cross-80th-column-margin "an" to the next line.
1512
1513 2003-01-21 Nick Clifton <nickc@redhat.com>
1514
1515 * emulparams/tic3xcoff-onchip.sh: Rename to ...z
1516 * emulparams/tic3xcoff_onchip.sh: ...this.
1517 * Makefile.am (etic3xcoff_onchip.c): Fix name of generated C file.
1518 * Makefile.in: Regenerate.
1519
1520 2003-01-21 Fabio Alemagna <falemagn@aros.org>
1521
1522 * configure.tgt: Handle i[3456]86-*-aros*
1523
1524 2003-01-19 Svein E. Seldal <Svein.Seldal@solidas.com>
1525
1526 * Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o
1527 * Makefile.in: Regenerate
1528 * configure.tgt: Added extra target emulations
1529 * emulparams/tic3xcoff.sh: Remove old settings
1530 * emulparams/tic4xcoff.sh: Ditto
1531 * emulparams/tic3xcoff-onchip.sh: Added new
1532 * scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x
1533 * scripttempl/tic3xcoff.sc: Remove
1534
1535 2003-01-17 Andreas Jaeger <aj@suse.de>
1536
1537 * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not
1538 skip ':'.
1539
1540 2003-01-16 Alan Modra <amodra@bigpond.net.au>
1541
1542 * Makefile.in: Regenerate.
1543
1544 2002-01-14 Charles Wilson <cwilson@ece.gatech.edu>
1545
1546 * ld.texinfo (node WIN32): Some clarifications
1547 and formatting fixups.
1548
1549 2003-01-09 Chris Demetriou <cgd@broadcom.com>
1550
1551 * ldmain.c (get_emulation): Sort -mipsNN checks in the usual
1552 order, and handle (ignore) -mips32r2.
1553
1554 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
1555
1556 * ldmain.c (main): Make sure ld_sysroot is initialized.
1557
1558 2003-01-06 Daniel Jacobowitz <drow@mvista.com>
1559
1560 * Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup.
1561
1562 * Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@.
1563 (GENSCRIPTS): Add @use_sysroot@.
1564 * Makefile.in: Regenerated.
1565 * configure.host: Move setting of NATIVE_LIB_DIRS to...
1566 * configure.tgt: ... here. Use ${target} instead of ${host}
1567 for NATIVE_LIB_DIRS.
1568 * configure.in: Add --with-sysroot.
1569 * configure: Regenerated.
1570 * genscripts.sh: Accept use_sysroot option. Set new variables
1571 NATIVE and USE_LIBPATH. Prepend "=" to directory names if
1572 $use_sysroot. Don't search $tool_lib if $use_sysroot.
1573 * ldfile.c (ldfile_add_library_path): Handle leading '='.
1574 * ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined.
1575 (ld_sysroot): New variable.
1576 (main): Initialize ld_sysroot.
1577 * ldmain.h (ld_sysroot): New extern.
1578 * emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of
1579 searching $EMULATION_LIBPATH.
1580 (gld${EMULATION_NAME}_add_sysroot): New function.
1581 (gld${EMULATION_NAME}_check_ld_so_conf): Use it. Honor ld_sysroot.
1582 (gld${EMULATION_NAME}_after_open): Likewise. Only search
1583 environment variables if $NATIVE.
1584 * ld.texinfo (Options): Mention "=" prefix in the description of -L.
1585 * NEWS: Mention --with-sysroot.
1586
1587 * emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX
1588 instead of setting LIB_PATH.
1589 * emulparams/elf32ppc.sh: Likewise.
1590 * emulparams/elf64_s390.sh: Likewise.
1591 * emulparams/elf64_sparc.sh: Likewise.
1592 * emulparams/elf64ppc.sh: Likewise.
1593 * emulparams/elf_x86_64.sh: Likewise.
1594
1595 * emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH.
1596 * emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH.
1597
1598 2003-01-03 Charles Wilson <cwilson@ece.gatech.edu>
1599
1600 * pe-dll.c (autofilter_symbollist): Add cygwin_crt0.
1601
1602 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1603
1604 * Makefile.am (ldmain.o): Pass BINDIR.
1605 * Makefile.in: Regenerated.
1606 * ldmain.c (set_scripts_dir): Use make_relative_prefix for the first
1607 search path.
1608
1609 2003-01-02 Ben Elliston <bje@redhat.com>
1610
1611 * Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o.
1612 (eelf32iq2000.c): New target.
1613 * Makefile.in: Regenerate.
1614 * configure.tgt: Handle iq2000-*-elf.
1615 * emulparams/elf32iq10.sh: New file.
1616 * emulparams/elf32iq2000.sh: New file.
1617 * scripttempl/iq2000.sc: New file.
1618
1619 2003-01-02 Charles Wilson <cwilson@ece.gatech.edu>
1620
1621 * pe-dll.c (autofilter_symbollist): Add do_pseudo_reloc
1622 and _pei386_runtime_relocator to the exclude list.
1623
1624 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
1625
1626 * ldfile.c: Fix comment typos.
1627 * ldlang.c: Likewise.
1628 * mri.c: Likewise.
1629 * pe-dll.c: Likewise.
1630
1631 2003-01-01 Daniel Jacobowitz <drow@mvista.com>
1632
1633 Suggested by Manfred Hollstein <manfred.h@gmx.net>:
1634 * Makefile.am (ld.1): Depend on configdoc.texi
1635 and ldver.texi.
1636 * Makefile.in: Regenerated.
1637
1638 For older changes see ChangeLog-0001
1639 \f
1640 Local Variables:
1641 mode: change-log
1642 left-margin: 8
1643 fill-column: 74
1644 version-control: never
1645 End: