gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / ld / ChangeLog-0203
CommitLineData
c9e214e5
AM
12003-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
132003-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.
752937aa 18
c9e214e5
AM
192003-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
242003-12-07 Kazu Hirata <kazu@cs.umass.edu>
25
26 * ldemul.c: Convert to ISO-C.
27 * ldver.c: Likewise.
28
292003-12-06 Kazu Hirata <kazu@cs.umass.edu>
30
31 * lexsup.c (is_num): Remove.
32
332003-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
382003-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.
752937aa 46
c9e214e5
AM
472003-12-04 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
48
49 * armpe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define.
50
512003-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
592003-12-03 Dave Airlie <airlied@linux.ie>
60
61 * configure.tgt: Add vax-linux-gnu target.
62
632003-12-03 Dmitry Diky <diwil@mail.ru>
752937aa 64
c9e214e5
AM
65 * scripttempl/elf32msp430.sc (HEAP_SECTION_MSP430): New section for
66 forthcoming devices.
67 (_etext): provide this defenition for all scripts.
68
692003-12-02 Kazu Hirata <kazu@cs.umass.edu>
70
71 * emultempl/beos.em: Remove ARGSUSED.
72
732003-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
812003-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
862003-12-02 Alan Modra <amodra@bigpond.net.au>
87
88 * Makefile.am: Run "make dep-am".
89 * Makefile.in: Regenerate.
90
912003-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
982003-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
1062003-11-28 Marcel Moolenaar <marcel@xcllnt.net>
107
108 * emulparams/elf64_ia64_fbsd.sh (TEXT_START_ADDR): Define.
109 (DATA_ADDR): Unset.
110
1112003-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
1192003-11-10 Jonathan Wilson <jonwil@tpgi.com.au>
120
121 * scripttempl/pe.sc: Add support for TLS sections.
122
1232003-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
1322003-11-07 Jonathan R. Grant <jg-binutils@jguk.org>
133
134 * ldfile.c (ldfile_open_file): Use "No such file" error message.
135
1362003-11-06 Bruno Rohee <bruno@rohee.com>
137
138 * ls.texinfo: Fix "the the" typo.
139
1402003-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
1512003-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
1562003-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
1662003-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
1712003-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
1812003-10-27 Stephane Carrez <stcarrez@nerim.fr>
182
183 * scripttempl/elfm68hc12.sc: Define eeprom memory region.
184
1852003-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
1922003-10-24 H.J. Lu <hongjiu.lu@intel.com>
193
194 * ldlang.c (lang_vers_match): Fix a typo.
195
1962003-10-24 H.J. Lu <hongjiu.lu@intel.com>
197
198 * ldlang.c (lang_vers_match): Check demangled symbols.
199
2002003-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
2112003-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
2162003-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
2342003-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
2502003-10-20 Andrew Cagney <cagney@redhat.com>
251
252 * pe-dll.c: Replace "struct sec" with "struct bfd_section".
253
2542003-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
2712003-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
2782003-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
2922003-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
3062003-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
3112003-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
3162003-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
3272003-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
3372003-10-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
338
339 * emulparams/shelf32_nbsd.sh (OTHER_SECTIONS): Redefine.
340
3412003-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
3702003-10-09 H.J. Lu <hongjiu.lu@intel.com>
371
372 * scripttempl/elf.sc (__executable_start): Provide.
373
3742003-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
3802003-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
3852003-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
3912003-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
3962003-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
4022003-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
403
404 * configure.host (HOSTING_LIBS): Define for hppa*-*-linux*.
405
4062003-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
4132003-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
4202003-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
4252003-10-06 Robert Millan <robertmh@gnu.org>
426
427 * configure.tgt: Match GNU/KNetBSD with new knetbsd*-gnu triplet.
428
4292003-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
4342003-09-30 Chris Demetriou <cgd@broadcom.com>
435
436 * NEWS: Add an indication of the cutoff for 2.14.
437
4382003-09-30 Chris Demetriou <cgd@broadcom.com>
439
440 * ldmain.c (get_emulation): Ignore "-mips64r2".
441
4422003-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
4482003-08-29 Jafa <jafa@silicondust.com>
449
450 * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define.
451
4522003-08-21 Nick Clifton <nickc@redhat.com>
453
454 * po/tr.po: Updated Turkish translation.
455
4562003-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
4732003-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
4872003-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
4922003-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
4982003-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
5042003-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
5102003-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
5232003-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
5292003-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
5392003-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
5442003-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
5542003-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
5612003-07-29 Stephane Carrez <stcarrez@nerim.fr>
562
563 * scripttempl/elfm68hc12.sc: Add gcc_except_table.
564 * scripttempl/elfm68hc11.sc: Likewise.
565
5662003-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
5722003-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
5832003-07-24 Nick Clifton <nickc@redhat.com>
584
585 * po/fr.po: Updated French translation.
586
5872003-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
5932003-07-17 Charles Wilson <cwilson@ece.gatech.edu>
594
595 * ld/pe-dll.c: Add libcygwin to autofilter_liblist[]
596
5972003-07-17 Nick Clifton <nickc@redhat.com>
598
599 * po/es.po: New Spanish translation.
600
6012003-07-11 Alan Modra <amodra@bigpond.net.au>
602
603 * po/ld.pot: Regenerate.
604
6052003-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
6142003-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
6252003-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
6312003-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
6422003-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
6472003-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
6532003-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
6612003-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
6992003-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
7052003-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
7402003-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
7782003-06-24 Alan Modra <amodra@bigpond.net.au>
779
780 * emultempl/ppc32elf.em: Convert to C90.
781
7822003-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
7872003-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
7922003-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
7972003-06-17 H.J. Lu <hongjiu.lu@intel.com>
798
799 * ldlang.c (section_already_linked): Put back assignment of
800 kept_section.
801
8022003-06-17 Rainer Keuchel <rkeuchel@allgeier.com>
803
804 * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D
805 reloc.
806
8072003-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
8122003-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
8172003-06-13 Robert Millan <zeratul2@wanadoo.es>
818
819 * configure.tgt: Add i386-netbsd-gnu target.
820
8212003-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
8262003-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
8322003-06-10 Doug Evans <dje@sebabeach.org>
833
834 * Makefile.am (ALL_EMULATIONS): Add em32relf.o.
835 * Makefile.in: Regenerate.
836
8372003-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
8462003-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
8512003-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
8622003-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
8672003-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
8752003-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
8862003-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
8952003-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
9002003-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
9062003-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
9332003-05-30 H.J. Lu <hongjiu.lu@intel.com>
934
935 * genscripts.sh: Create tmpdir/libpath.exp.
936
9372003-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
9422003-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
9492003-05-29 Nick Clifton <nickc@redhat.com>
950
951 * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>.
952
9532003-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
9582003-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
9632003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
964
965 * configure.host: Accept i[3-7]86 variants.
966 * configure.tgt: Likewise.
967
9682003-05-15 H.J. Lu <hongjiu.lu@intel.com>
969
970 * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
971
9722003-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
9802003-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
9862003-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
9942003-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
10022003-05-05 Alan Modra <amodra@bigpond.net.au>
1003
1004 * ldlex.l: Accept C style comments in version scripts.
1005
10062003-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
10132003-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
10182003-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
10312003-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
10392003-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
10462003-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
10592003-04-18 H.J. Lu <hjl@gnu.org>
1060
1061 * ldfile.c (ldfile_add_library_path): Remove the unused
1062 variable.
1063
10642003-04-18 Andrew Haley <aph@cambridge.redhat.com>
1065
1066 * scripttempl/xstormy16.sc (__data, __rdata): New.
1067
10682003-04-16 Nick Clifton <nickc@redhat.com>
1069
1070 * scripttempl/xstormy16.sc: Add .jcr section mapping.
1071
10722003-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
10782003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
1079
1080 * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'.
1081 * ld.texinfo: Likewise.
1082
10832003-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
10982003-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
11052003-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
11112003-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
11202003-04-03 Nick Clifton <nickc@redhat.com>
1121
1122 * NEWS: Mention support for Xtensa architecture.
1123
11242003-04-02 Nick Clifton <nickc@redhat.com>
1125
1126 * pe-dll.c (pe_detail_list): arm-pe targets use underscores.
1127
11282003-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
11352003-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
11492003-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
11542003-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
11672003-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
11732003-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
11802003-03-31 Alexandre Oliva <aoliva@redhat.com>
1181
1182 * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
1183 --section-start.
1184
11852003-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
11972003-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
12072003-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