*** empty log message ***
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
ca6dee30
NC
12003-11-10 Jonathan Wilson <jonwil@tpgi.com.au>
2
3 * scripttempl/pe.sc: Add support for TLS sections.
4
00ce77f4
AM
52003-11-09 Alan Modra <amodra@bigpond.net.au>
6
7 * configure.host (HOSTING_LIBS): Group libgcc and libc with
8 --start-group, --end-group pair.
9 (*-*-netbsd*, am33_2.0-*-linux*): Use the default HOSTING_LIBS.
10 (am33_2.0-*-linux*): Edit default HOSTING_CRT0.
11 (arm*-*-linux-gnu*): Remove extraneous '*' in sed expression.
12 (hppa*64*-*-linux*, hppa*-*-linux*): Remove target specific case.
13
f24ddbdd 142003-11-07 Jonathan R. Grant <jg-binutils@jguk.org>
00ce77f4 15
f24ddbdd
NC
16 * ldfile.c (ldfile_open_file): Use "No such file" error message.
17
1be59579
NC
182003-11-06 Bruno Rohee <bruno@rohee.com>
19
20 * ls.texinfo: Fix "the the" typo.
21
e0e97e2c
AM
222003-11-05 Alan Modra <amodra@bigpond.net.au>
23
4b83d615
AM
24 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Only do
25 pe_dll_extra_pe_debug stuff when DLL_SUPPORT defined.
26 (pr_sym): Move inside #ifdef DLL_SUPPORT.
27
2c07ab8a
AM
28 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Zap
29 unused variable.
30
e0e97e2c
AM
31 * emulparams/elf32_i860.sh (TEXT_START_ADDR): Define.
32
e1918d23
AM
332003-11-04 Alan Modra <amodra@bigpond.net.au>
34
35 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Call
36 _bfd_elf_tls_setup.
37
0013291d
NC
382003-10-31 Nick Clifton <nickc@redhat.com>
39
2c07ab8a
AM
40 * ldlang.c (lookup_name): When looking for a previously loaded
41 file compare the local_sym_name not the filename, as the
42 filename might have been transformed via the search directory
43 path lookup.
44 If the sought-for file has not been found in the input file
45 chain then create a new node with the search_dirs_flag set so
46 that the entire set of directory paths will be scanned for it.
0013291d 47
fc0a2244
AC
482003-10-30 Andrew Cagney <cagney@redhat.com>
49
50 * emultempl/pe.em, pe-dll.c: Replace "struct symbol_cache_entry"
51 with "struct bfd_symbol".
52
325fab4e
NC
532003-10-30 Phil Edwards <phil@codesourcery.com>
54
55 * Makefile.am (ALL_EMULATIONS): Add elf32mipswindiss.o.
56 (eelf32mipswindiss.c): New target.
57 * Makefile.in: Regenerated.
58 * emulparams/elf32mipswindiss.sh: New file.
59 * configure.tgt (i[3-7]86-*-vxworks*, arm-*-vxworks, sh-*-vxworks,
60 mips*-*-vxworks*): Use ELF now.
61 (mips*-*-windiss): New stanza, use elf32mipswindiss.
62
d522f227
SC
632003-10-27 Stephane Carrez <stcarrez@nerim.fr>
64
65 * scripttempl/elfm68hc12.sc: Define eeprom memory region.
66
07f3b6ad
KH
672003-10-25 Kazu Hirata <kazu@cs.umass.edu>
68
69 * ChangeLog-9197: Fix typos.
70 * NEWS: Likewise.
71 * ld.texinfo: Likewise.
72 * ldlang.c: Fix comment typos.
73
df816215
L
742003-10-24 H.J. Lu <hongjiu.lu@intel.com>
75
76 * ldlang.c (lang_vers_match): Fix a typo.
77
7a995eb3
L
782003-10-24 H.J. Lu <hongjiu.lu@intel.com>
79
80 * ldlang.c (lang_vers_match): Check demangled symbols.
81
5e35cbc2
L
822003-10-24 H.J. Lu <hongjiu.lu@intel.com>
83
84 * ldlang.c (lang_vers_match): Check "symbol" instead of
85 "wildcard" and "pattern". Fix a typo.
86 (lang_finalize_version_expr_head): Likewise.
87 (lang_register_vers_node): Likewise.
88 (realsymbol): New function.
89 (lang_new_vers_pattern): Set "symbol" and remove "wildcard".
90
91 * ldlex.l (V_IDENTIFIER): Allow '\\'.
92
383b8428
NC
932003-10-24 Nick Clifton <nickc@redhat.com>
94
95 * emultempl/m68hc1xelf.em (before_allocation): Add missing second
96 parameter to lang_memory_region_lookup.
97
108ba305
JJ
982003-10-22 Jakub Jelinek <jakub@redhat.com>
99
100 * ldlang.c: Include hashtab.h.
101 (lang_vers_match_lang_c, lang_vers_match_lang_cplusplus,
102 lang_vers_match_lang_java): Remove.
103 (lang_vers_match): New function.
104 (lang_new_vers_pattern): Initialize wildcard and mask
105 fields, don't initialize match.
106 (lang_new_vers_node): Use xcalloc. Adjust for globals and
107 locals field type changes. Set match field.
108 (version_expr_head_hash, version_expr_head_eq): New functions.
109 (lang_finalize_version_expr_head): New function.
110 (lang_register_vers_node): Call lang_finalize_version_expr_head.
111 Search in hash table if not wildcard when looking for duplicates.
112 * emultempl/ppc64elf.em (new_vers_pattern): Don't bother with
113 duplicate checking. Initialize all fields of dot_entry from entry
114 with the exception of pattern and next.
115
a747ee4d
NC
1162003-10-21 Nick Clifton <nickc@redhat.com>
117
2c07ab8a
AM
118 * ldlang.c (lang_memory_region_lookup): Add second parameter -
119 create - which is true if the region is being created. Issue
120 appropriate warning messages for finding and not finding
121 already created regions.
122 (lang_memory_default): Use DEFAULT_MEMORY_REGION.
123 (lang_leave_overlay_section): Likewise.
124 (lang_size_sections_1): Likewise.
125 Pass second parameter to lang_memory_region_lookup.
126 (lang_get_regions): Likewise.
127 * ldlang.h (DEFAULT_MEMORY_REGION): Define.
128 Update prototype for lang_memory_region_lookup.
a747ee4d 129 * ldgram.y: Pass second parameter to lang_memory_region_lookup.
2c07ab8a
AM
130 Use DEFAULT_MEMORY_REGION instead of "*default".
131
198beae2
AC
1322003-10-20 Andrew Cagney <cagney@redhat.com>
133
134 * pe-dll.c: Replace "struct sec" with "struct bfd_section".
135
75ca919a
MM
1362003-10-19 Marek Michalkiewicz <marekm@amelek.gda.pl>
137
138 * Makefile.am: Remove old (before GCC 3.3) emulations for AVR
139 target: avr1200, avr23xx, avr4433, avr44x4, avr85xx, avrmega103,
140 avrmega161, avrmega603. Default to avr2.
141 * Makefile.in: Regenerate.
142 * configure.tgt: Likewise.
143 * emulparams/avr1200.sh: Remove.
144 * emulparams/avr23xx.sh: Remove.
145 * emulparams/avr4433.sh: Remove.
146 * emulparams/avr44x4.sh: Remove.
147 * emulparams/avr85xx.sh: Remove.
148 * emulparams/avrmega103.sh: Remove.
149 * emulparams/avrmega161.sh: Remove.
150 * emulparams/avrmega603.sh: Remove.
151 * scripttempl/elf32avr.sc: Remove.
152
655f76a2
AS
1532003-10-19 Andreas Schwab <schwab@suse.de>
154
c2411cd2
AS
155 * emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): Add
156 newline to message.
157
655f76a2
AS
158 * deffilep.y: Remove commas from %token lines.
159
86d3c9a8
HPN
1602003-10-18 Hans-Peter Nilsson <hp@bitrange.com>
161
06335781
HPN
162 * emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker
163 relaxation always; don't exclude relocatable linking. Adjust for
164 _bfd_mmix_prepare_linker_allocated_gregs renamed to
165 _bfd_mmix_before_linker_allocation.
166 (mmix_after_allocation): Adjust for
167 _bfd_mmix_finalize_linker_allocated_gregs renamed to
168 _bfd_mmix_after_linker_allocation.
169 * scripttempl/mmo.sc: Use ADDR (.text), not . - SIZEOF (.text).
170
86d3c9a8
HPN
171 * ldlang.c (lang_size_sections): Last, set _cooked_size for output
172 sections.
173
8fbdf3ab
AM
1742003-10-16 Alan Modra <amodra@bigpond.net.au>
175
176 * Makefile.am (GENSCRIPTS_EXTRA, GEN_EXTRA_DEPENDS): Remove. Use
177 GENSCRIPTS and GEN_DEPENDS in place of these.
178 * Makefile.in: Regenerate.
179 * genscripts_extra.sh: Delete. Merge extra functionality to..
180 * genscripts.sh: ..here.
181
182 * emulparams/gld960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Define.
183 * emulparams/gld960coff.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
184 * emulparams/lnk960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
185 * emulparams/m88kbcs.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
186 * emulparams/vanilla.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
187
9c4f8b73
AM
1882003-10-16 Alan Modra <amodra@bigpond.net.au>
189
190 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't
191 use $EMULATION_NAME to call bfd function.
192
2c07ab8a 1932003-10-14 Danny Smith <dannysmith@users.sourceforge.net>
661a32f7
DS
194
195 * pe-dll.c (pe_implied_import_dll): Also scan .rdata sections
196 to identify data symbols.
197
786dbcc3
RS
1982003-10-13 Richard Sandiford <rsandifo@redhat.com>
199
200 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Move
201 definition from elf64btsmip.sh.
202 (TEXT_DYNAMIC): Likewise elf32btsmipn32.sh.
203 * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Remove.
204 * emulparams/elf64btsmip.sh (INITIAL_READONLY_SECTIONS): Remove.
205 * emulparams/elf64bmip.sh (SHLIB_TEXT_START_ADDR): Define.
206 (EXECUTABLE_SYMBOLS): Set __elf_header correctly for shared objects.
207 Define __program_header_table in terms of __elf_header.
208
3f7deb8a
L
2092003-10-10 H.J. Lu <hongjiu.lu@intel.com>
210
211 * Makefile.am (eelf64_ia64.c): Also depend on
212 $(srcdir)/emultempl/ia64elf.em.
213 * Makefile.in: Regenerated.
214
215 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Set to ia64elf.
216
217 * emultempl/ia64elf.em: New.
218
f19ae42f
KK
2192003-10-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
220
221 * emulparams/shelf32_nbsd.sh (OTHER_SECTIONS): Redefine.
222
420e579c
HPN
2232003-10-11 Hans-Peter Nilsson <hp@bitrange.com>
224
225 * ld.texinfo (Builtin Functions) <DEFINED>: Say that only symbols
226 defined before the statement using DEFINED yield 1.
227 * ldexp.c (fold_name) <case DEFINED>: In lang_first_phase_enum,
228 call lang_track_definedness on symbol. In subsequent phases, use
229 lang_symbol_definition_iteration and lang_statement_iteration to
230 check whether the symbol was defined before the current statement.
231 (exp_fold_tree) <case etree_assign et al>: Call
232 lang_update_definedness before updating symbol type when setting
233 symbol.
234 * ldlang.c (lang_definedness_table): New variable.
235 (lang_definedness_newfunc, lang_track_definedness)
236 (lang_symbol_definition_iteration, lang_update_definedness): New
237 functions.
238 (lang_init): Initialize lang_definedness_table and
239 lang_statement_iteration.
240 (lang_finish): Destroy bfd_hash_table_free.
241 (lang_size_sections): Increment lang_statement_iteration.
242 (lang_do_assignments_1): New function with former
243 lang_do_assignments contents. Change recursive calls to call this
244 function.
245 (lang_do_assignments): Evacuate contents. Increment
246 lang_statement_iteration, then just call lang_do_assignments_1.
247 * ldlang.h (struct lang_definedness_hash_entry)
248 (lang_statement_iteration, lang_track_definedness)
249 (lang_symbol_definition_iteration, lang_update_definedness):
250 Declare.
251
c6d3b05f
L
2522003-10-09 H.J. Lu <hongjiu.lu@intel.com>
253
254 * scripttempl/elf.sc (__executable_start): Provide.
255
2f857bd0
DJ
2562003-10-09 Daniel Jacobowitz <drow@mvista.com>
257
258 * emulparams/armelf.sh: Define NO_SMALL_DATA.
259 * emulparams/armelf_linux.sh, emulparams/armelf_oabi.sh,
260 emulparams/armnto.sh: Likewise.
261
a7f18fb3
AO
2622003-10-08 Alexandre Oliva <aoliva@redhat.com>
263
264 * ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell
265 whether to skip test for no memory region.
266
e62eb3ee
NC
2672003-10-08 Nick Clifton <nickc@redhat.com>
268
269 * lexsup.c (parse_args: OPTION_CALL_SHARED): Revise comment
270 describing defaults. Change default to report unresolved symbols
271 in object files as well.
272
6a33aff4
HPN
2732003-10-08 Hans-Peter Nilsson <hp@bitrange.com>
274
275 * ldexp.c (fold_name) <case DEFINED>: Set section of result to
276 abs_output_section.
277
398b8515
BW
2782003-10-07 Bob Wilson <bob.wilson@acm.org>
279
280 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS,
281 OTHER_READWRITE_SECTIONS, OTHER_SECTIONS): Set section addresses to
282 zero for relocatable links.
283
c0d48c0b
DA
2842003-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
285
286 * configure.host (HOSTING_LIBS): Define for hppa*-*-linux*.
287
29ca8dc5
NS
2882003-10-07 Nathan Sidwell <nathan@codesourcery.com>
289
290 * ldwrite.c (unsplittable_name): New.
291 (clone_section): Strip existing numeric suffix. Only truncate names
292 for coff targets.
293 (split_sections): Use unsplittable_name.
294
85477099
NC
2952003-10-06 Nick Clifton <nickc@redhat.com>
296
297 * lexsup.c (parse_args): Report unresolved symbols in shared
298 libraries when creating a dynamic executable. This is a
299 restoration of the default behaviour for previous versions of
300 the linker.
301
3022003-10-06 Matt Thomas <matt@3am-software.com>
85cf2a8a
NC
303
304 * emulparams/hppanbsd.sh: Remove OUTPUT_FORMAT.
305 * emulparams/hppaobsd.sh: Add OUTPUT_FORMAT="elf32-hppa".
306
4615568e
NC
3072003-10-06 Robert Millan <robertmh@gnu.org>
308
309 * configure.tgt: Match GNU/KNetBSD with new knetbsd*-gnu triplet.
310
4b7f0676
NC
3112003-10-02 Ivan Warren <ivan@vmfacility.fr>
312
2c07ab8a 313 * pe-dll.c (make_one): Correct sym def order & pick right sym for
4b7f0676
NC
314 .idata$7 reloc.
315
43c58ae6
CD
3162003-09-30 Chris Demetriou <cgd@broadcom.com>
317
318 * NEWS: Add an indication of the cutoff for 2.14.
319
5f74bc13
CD
3202003-09-30 Chris Demetriou <cgd@broadcom.com>
321
322 * ldmain.c (get_emulation): Ignore "-mips64r2".
323
13dfd2d0
NC
3242003-09-03 Robert Millan <robertmh@gnu.org>
325
326 * configure.host: Match GNU/KFreeBSD with new kfreebsd*-gnu
327 triplet.
328 * configure.tgt: Likewise.
329
71df864f
AM
3302003-08-29 Jafa <jafa@silicondust.com>
331
332 * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define.
333
3673a93e
NC
3342003-08-21 Nick Clifton <nickc@redhat.com>
335
336 * po/tr.po: Updated Turkish translation.
337
560e09e9
NC
3382003-08-20 Nick Clifton <nickc@redhat.com>
339
340 * ldmain.c: Initialise the new fields in bfd_link_info to
2c07ab8a
AM
341 NOT_YET_SET.
342 * lexsup.c (enum option_values): New enum. Use this to
343 replace the handed coded values for the long switch options.
344 (ld_options): Add 'unresolved-symbols',
345 'warn-unresolved-symbols' and 'error-unresolved-symbols'.
346 (parse_args): Handle the new switches. Set the values of
347 unresolved_symbols_in_objects and
348 unresolved_symbols_in_shared_libs appropriately. If they were
349 not initialised by the command line, install default values.
350 * emultempl/elf32.em (handle_option): Update OPTION_GROUP and
351 -z defs to use the new fields in bfd_link_info.
560e09e9
NC
352 * ld.texinfo: Document the new switches.
353 * NEWS: Mention this feature.
354
aafdb207 3552003-08-15 Dmitry Diky <diwil@mail.ru>
2c07ab8a 356
aafdb207
NC
357 * Makefile.am (GENSCRIPTS_EXTRA): New script definition which
358 calls genscripts_extra.sh.
359 Rearrange all msp430 depends using this script.
360 * Makefile.in: Regenerate.
361 * genscripts_extra.sh: New file: Similar to genscripts.sh, except
362 that the script to be run to generate the emulations can be passed
363 as an optional parameter instead of being computed from the
364 emulation name.
365 * emulparams/msp430all.sh: New file: Combine all msp430 subdevice
366 definitions into one file.
367 * emulparams/msp430x*.sh: Removed.
368
cd6d6c15
NC
3692003-08-15 Nick Clifton <nickc@redhat.com>
370
371 * ld.texinfo (Options): Put keywords for the -z option into a
372 table. Add more text describing what the -z now option does.
373
68cdbb4a
AM
3742003-08-14 Alan Modra <amodra@bigpond.net.au>
375
376 * dep-in.sed: Remove libintl.h.
377 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
378 * Makefile.in: Regenerate.
379
f22f5fcd
AM
3802003-08-13 Alan Modra <amodra@bigpond.net.au>
381
382 * genscripts.sh (libpath.exp): Only generate for first emulation.
383 (LIB_PATH): Correct order of paths. Don't add $tool_lib when
384 already present or when LIB_PATH is set to ":".
385
0b28295d
ILT
3862003-08-12 Ian Lance Taylor <ian@airs.com>
387
388 * ldmain.c (undefined_symbol): Change parameter name from `fatal'
389 to `error'. If only a warning, put warning in the reported
390 string. Consistently set failure flag when not a warning.
391
3b260895
NC
3922003-08-08 Dmitry Diky <diwil@mail.ru>
393
394 * Makefile.am: Add xW42 and xE42 parts. Sort MPU list according to
395 gcc order.
396 * Makefile.in: Regenerate.
397 * configure.tgt: Add extra emulations.
398 * emulparams/msp430xE423.sh: New file.
399 * emulparams/msp430xE427.sh: New file.
400 * emulparams/msp430xW425.sh: New file.
2c07ab8a
AM
401 * emulparams/msp430xE425.sh: New file.
402 * emulparams/msp430xW423.sh: New file.
3b260895
NC
403 * emulparams/msp430xW427.sh: New file.
404
1fa1d2cd
DS
4052003-08-07 Danny Smith <dannysmith@users.sourceforge.net>
406
407 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
408 Change second (cmdline) arg to lang_add_entry to FALSE.
409 (set_pe_subsystem): Change second arg to lang_add_entry to TRUE.
410
9d7e2ba5 4112003-08-05 Christian Groessler <chris@groessler.org>
2c07ab8a
AM
412 Jason Eckhardt <jle@rice.edu>
413
414 * configure.tgt: Recognize new target i860-*-coff.
415 * Makefile.am (ALL_EMULATIONS): Add ecoff_i860.o.
416 (ecoff_i860.c): New rule.
417 * emulparams/coff_i860.sh: New file.
418 * scripttempl/i860coff.sc: New file.
419 * Makefile.in: Regenerate.
9d7e2ba5 420
8c675694
NC
4212003-08-04 Nick Clifton <nickc@redhat.com>
422
423 * emultempl/elf32.em (before_allocation): Prepend "warning: "
424 to messages produced for .gnu.warning.SYMBOL sections.
425
2a36a117
AM
4262003-08-04 Alan Modra <amodra@bigpond.net.au>
427
428 * emultempl/elf32.em (output_rel_find): Add "isdyn" param. Put
429 .rel.dyn before other reloc sections. Don't stop looking for reloc
430 sections on finding one that isn't allocated. Match .rel even when
431 placing .rela and vice versa, when setting last_rel and
432 last_rel_alloc for the first time. If no reloc sections in script,
433 prefer allocated section over non-alloc.
434 (gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn.
435
8a1cb159
KK
4362003-07-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
437
438 * emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack
439 section for shared library.
440 * emulparams/shelf32.sh (OTHER_SECTIONS): Likewise.
441 * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
442
83a27a96
SC
4432003-07-29 Stephane Carrez <stcarrez@nerim.fr>
444
445 * scripttempl/elfm68hc12.sc: Add gcc_except_table.
446 * scripttempl/elfm68hc11.sc: Likewise.
447
c86b6a7b
AM
4482003-07-28 Alan Modra <amodra@bigpond.net.au>
449
f37f3db7
AM
450 * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching.
451
c86b6a7b
AM
452 * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r.
453
7e7d5768
AM
4542003-07-27 Alan Modra <amodra@bigpond.net.au>
455
456 * ld.texinfo: Typo fixes. Document SUBALIGN.
457 * ldgram.y (opt_subalign): Add.
458 * ldlex.l (SUBALIGN): Recognize.
459 * ldlang.c (overlay_subalign): New var.
460 (lang_enter_overlay): Add subalign param.
461 (lang_enter_overlay_section): Pass overlay_subalign to
462 lang_enter_output_section_statement.
463 * ldlang.h (lang_enter_overlay): Update.
464
834d807b
NC
4652003-07-24 Nick Clifton <nickc@redhat.com>
466
467 * po/fr.po: Updated French translation.
468
494fee87
SC
4692003-07-23 Stephane Carrez <stcarrez@nerim.fr>
470
471 * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into
472 account .tramp sections;
473 * scripttempl/elfm68hc12.sc: Likewise.
474
602d6c6f
NC
4752003-07-17 Charles Wilson <cwilson@ece.gatech.edu>
476
477 * ld/pe-dll.c: Add libcygwin to autofilter_liblist[]
478
6c37ac4d
NC
4792003-07-17 Nick Clifton <nickc@redhat.com>
480
481 * po/es.po: New Spanish translation.
482
fce00800
AM
4832003-07-11 Alan Modra <amodra@bigpond.net.au>
484
485 * po/ld.pot: Regenerate.
486
e901de89
BW
4872003-07-10 Bob Wilson <bob.wilson@acm.org>
488
489 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit
490 with new .got.loc section.
491 (OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for
492 non-relocating links.
493 (OTHER_SECTIONS): Add .xt.lit here. Change it to keep linkonce
494 sections separate for non-relocating links; likewise for .xt.insn.
495
4a096548
AO
4962003-07-10 Alexandre Oliva <aoliva@redhat.com>
497
498 2001-08-22 Alexandre Oliva <aoliva@redhat.com>
499 * emulparams/elf32am33lin.sh: Adjust to match kernel parameters.
500 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
501 * configure.host (am33_2.0-*-linux*): Added.
502 * configure.tgt (am33_2.0-*-linux*): Likewise.
503 * emulparams/elf32am33lin.sh: New.
504 * Makefile.am (eelf32am33lin.c): New rule.
505 * Makefile.in: Rebuilt.
506
892bb326
AO
5072003-07-09 Alexandre Oliva <aoliva@redhat.com>
508
509 2001-04-17 Alexandre Oliva <aoliva@redhat.com>
510 * emulparams/mn10300.sh (TEMPLATE_NAME): Define.
511 (GENERATE_SHLIB_SCRIPT): Likewise.
512
68f8ff14
AM
5132003-07-10 Alan Modra <amodra@bigpond.net.au>
514
515 * emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define.
516 (GOT): Define.
517 * emultempl/ppc64elf.em (stub_added): New static var.
518 (ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd.
519 (ppc_add_stub_section): Set stub_added.
520 (gld${EMULATION_NAME}_finish): Look for .got rather than .toc. Adjust
521 ppc64_elf_size_stubs call and test for stubs.
522 * scripttempl/elf.sc (GOT): Define and use.
523
fb319d8d
JR
5242003-07-08 J"orn Rennecke <joern.rennecke@superh.com>
525
526 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
527 Allow second call from ldemul_finish.
528
3a51fda6
JR
5292003-07-04 J"orn Rennecke <joern.rennecke@superh.com>
530
531 * emulparams/shelf32.sh (STACK_ADDR): Don't define.
532 (OTHER_SECTIONS): Include .stack.
533 * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
534
9203ba99
JJ
5352003-07-02 Jakub Jelinek <jakub@redhat.com>
536
537 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include
538 .opd if -pie.
539 (OTHER_READWRITE_SECTIONS): Include .opd if -pie.
540 * scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR
541 if -pie.
542
1579bae1
AM
5432003-06-28 Alan Modra <amodra@bigpond.net.au>
544
545 * ld.h: Convert to C90, remove unnecessary prototypes and casts.
546 Replace PTR with void *. Formatting.
547 * ldcref.c: Likewise.
548 * ldctor.c: Likewise.
549 * ldctor.h: Likewise.
550 * ldemul.h: Likewise.
551 * ldexp.c: Likewise.
552 * ldexp.h: Likewise.
553 * ldfile.c: Likewise.
554 * ldfile.h: Likewise.
555 * ldlang.c: Likewise.
556 * ldlang.h: Likewise.
557 * ldlex.h: Likewise.
558 * ldlex.l: Likewise.
559 * ldmain.c: Likewise.
560 * ldmain.h: Likewise.
561 * ldmisc.c: Likewise.
562 * ldmisc.h: Likewise.
563 * ldver.h: Likewise.
564 * ldwrite.c: Likewise.
565 * ldwrite.h: Likewise.
566 * lexsup.c: Likewise.
567 * mri.c: Likewise.
568 * mri.h: Likewise.
569 * pe-dll.c: Likewise.
570 * pe-dll.h: Likewise.
571 * deffilep.y: Likewise.
572 * deffile.h: Likewise. Don't include ansidecl.h.
573 * emulparams/elf32mcore.sh: Remove unnecessary cast.
574 * emultempl/m68kcoff.em: Likewise.
575 * emultempl/m68kelf.em: Likewise.
576 * emultempl/ticoff.em: Remove lang_add_output_format declaration.
577 * sysdep.h: Don't include ansidecl.h.
578 * Makefile.am: Run "make dep-am".
579 * Makefile.in: Regenerate.
580
dc17f155
NC
5812003-06-27 Nick Clifton <nickc@redhat.com>
582
583 * deffilep.y (def_file_add_directive): Cope with NUL seperated
584 directives. Fix reporting of unparseable directives.
585 (def_error): Check for a NULL def_filename.
586
0c7a8e5a
AM
5872003-06-27 Alan Modra <amodra@bigpond.net.au>
588
589 * emultempl/aix.em: Convert to C90, remove unnecessary prototypes
590 and casts. Replace PTR with void *. Formatting.
1579bae1
AM
591 * emultempl/alphaelf.em: Likewise.
592 * emultempl/armcoff.em: Likewise.
593 * emultempl/armelf.em: Likewise.
594 * emultempl/armelf_oabi.em: Likewise.
595 * emultempl/beos.em: Likewise.
596 * emultempl/elf32.em: Likewise.
597 * emultempl/generic.em: Likewise.
598 * emultempl/gld960.em: Likewise.
599 * emultempl/gld960c.em: Likewise.
600 * emultempl/hppaelf.em: Likewise.
601 * emultempl/linux.em: Likewise.
602 * emultempl/lnk960.em: Likewise.
603 * emultempl/m68hc1xelf.em: Likewise.
604 * emultempl/m68kcoff.em: Likewise.
605 * emultempl/m68kelf.em: Likewise.
606 * emultempl/mipsecoff.em: Likewise.
607 * emultempl/mipself.em: Likewise.
608 * emultempl/mmix-elfnmmo.em: Likewise.
609 * emultempl/mmixelf.em: Likewise.
610 * emultempl/mmo.em: Likewise.
611 * emultempl/needrelax.em: Likewise.
612 * emultempl/netbsd.em: Likewise.
613 * emultempl/pe.em: Likewise.
614 * emultempl/sh64elf.em: Likewise.
615 * emultempl/sunos.em: Likewise.
616 * emultempl/ticoff.em: Likewise.
617 * emultempl/vanilla.em: Likewise.
618 * emultempl/xtensaelf.em: Likewise.
0c7a8e5a
AM
619 * Makefile.am: Correct dependencies.
620 * Makefile.in: Regenerate.
621
1049f94e
AM
6222003-06-25 Alan Modra <amodra@bigpond.net.au>
623
624 * ld.texinfo: Correct spelling of "relocatable".
1579bae1
AM
625 * ldctor.c: Likewise.
626 * ldexp.c: Likewise.
627 * ldfile.c: Likewise.
628 * ldint.texinfo: Likewise.
629 * ldlang.c: Likewise.
630 * ldmain.c: Likewise.
631 * ldwrite.c: Likewise.
632 * lexsup.c: Likewise.
633 * emultempl/aix.em: Likewise.
634 * emultempl/alphaelf.em: Likewise.
635 * emultempl/armcoff.em: Likewise.
636 * emultempl/armelf_oabi.em: Likewise.
637 * emultempl/beos.em: Likewise.
638 * emultempl/elf32.em: Likewise.
639 * emultempl/generic.em: Likewise.
640 * emultempl/gld960.em: Likewise.
641 * emultempl/gld960c.em: Likewise.
642 * emultempl/hppaelf.em: Likewise.
643 * emultempl/linux.em: Likewise.
644 * emultempl/lnk960.em: Likewise.
645 * emultempl/m68hc1xelf.em: Likewise.
646 * emultempl/m68kcoff.em: Likewise.
647 * emultempl/m68kelf.em: Likewise.
648 * emultempl/mipsecoff.em: Likewise.
649 * emultempl/mipself.em: Likewise.
650 * emultempl/mmix-elfnmmo.em: Likewise.
651 * emultempl/mmo.em: Likewise.
652 * emultempl/needrelax.em: Likewise.
653 * emultempl/pe.em: Likewise.
654 * emultempl/ppc64elf.em: Likewise.
655 * emultempl/sh64elf.em: Likewise.
656 * emultempl/sunos.em: Likewise.
657 * emultempl/ticoff.em: Likewise.
658 * emultempl/xtensaelf.em: Likewise.
1049f94e 659
7e5d8d48
AM
6602003-06-24 Alan Modra <amodra@bigpond.net.au>
661
662 * emultempl/ppc32elf.em: Convert to C90.
663
7d8a3a28
AM
6642003-06-20 Alan Modra <amodra@bigpond.net.au>
665
666 * emultempl/ppc64elf.em: Convert to C90 function definitions, remove
667 unnecessary prototypes and casts.
668
bda6c678
AM
6692003-06-19 Alan Modra <amodra@bigpond.net.au>
670
671 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out
672 statistics from ppc64_elf_build_stubs.
673
6bc8652b
AM
6742003-06-19 Alan Modra <amodra@bigpond.net.au>
675
676 * emultempl/ppc64elf.em (build_section_lists): Check return status
677 from ppc64_elf_next_input_section.
678
f97b9cb8
L
6792003-06-17 H.J. Lu <hongjiu.lu@intel.com>
680
681 * ldlang.c (section_already_linked): Put back assignment of
682 kept_section.
683
fea39bcb
NC
6842003-06-17 Rainer Keuchel <rkeuchel@allgeier.com>
685
686 * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D
6bc8652b 687 reloc.
fea39bcb 688
40bdaaa8
NC
6892003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com>
690
691 * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1
692 if not produced by gcc.
693
b826ae22
HPN
6942003-06-16 Hans-Peter Nilsson <hp@axis.com>
695
696 * configure.tgt: Add specific case for cris-*-linux-gnu*
697 with crislinux emulation only.
698
a06a29f2
NC
6992003-06-13 Robert Millan <zeratul2@wanadoo.es>
700
701 * configure.tgt: Add i386-netbsd-gnu target.
702
728fa2f6
RS
7032003-06-12 Richard Sandiford <rsandifo@redhat.com>
704
705 * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations
706 to $targ_extra_libpath.
707
3b443373
L
7082003-06-11 H.J. Lu <hongjiu.lu@intel.com>
709
710 * po/Make-in (DESTDIR): New.
711 (install-data-yes): Support $(DESTDIR).
712 (uninstall): Likewise.
713
cfa1ac0c
DE
7142003-06-10 Doug Evans <dje@sebabeach.org>
715
716 * Makefile.am (ALL_EMULATIONS): Add em32relf.o.
717 * Makefile.in: Regenerate.
718
f4984206
RS
7192003-06-10 Richard Sandiford <rsandifo@redhat.com>
720
721 * configure.tgt (h8300*): Add h8300sxn emulations.
722 * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o.
723 (eh8300sxn.c, eh8300sxnelf.c): New rules.
724 * Makefile.in: Regenerate.
725 * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.
d1b2d571 726 * scripttempl/h8300sxn.sc: New file.
f4984206 727
285272bd
AM
7282003-06-10 Alan Modra <amodra@bigpond.net.au>
729
730 * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS,
731 CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define.
732
0b9a4d73
AM
7332003-06-08 Alan Modra <amodra@bigpond.net.au>
734
735 * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars.
736 (build_toc_list): New function.
737 (gld${EMULATION_NAME}_finish): Call build_toc_list and
738 ppc64_elf_reinit_toc. Adjust ppc64_elf_build_stubs call.
739 (OPTION_STUBSYMS): Define.
740 (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
741 (PARSE_AND_LIST_OPTIONS): Document.
742 (PARSE_AND_LIST_ARGS_CASES): Handle.
743
c16d554d
RM
7442003-06-05 Roland McGrath <roland@redhat.com>
745
746 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove
747 extra \t in -z noexecstack line.
748
9ee5e499
JJ
7492003-05-23 Jakub Jelinek <jakub@redhat.com>
750
751 * ldgram.y (phdr_type): Grok PT_GNU_STACK.
752 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
753 -z execstack and -z noexecstack.
754 (gld${EMULATION_NAME}_list_options): Likewise.
755 * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
756
65982ba6 7572003-06-03 Michael Snyder <msnyder@redhat.com>
6bc8652b 758 and Bernd Schmidt <bernds@redhat.com>
65982ba6 759 and Alexandre Oliva <aoliva@redhat.com>
9ee5e499 760
65982ba6
MS
761 * Makefile.am: Add new emulations for h8300sx.
762 * Makefile.in: Regenerate.
763 * configure.tgt: Add new emulations.
764 * emulparams/h8300sx.sh: New emulation.
765 * emulparams/h8300sxelf.sh: Ditto.
766 * scripttempl/h8300sx.sc: Ditto.
767
6f6f27f8
L
7682003-06-03 H.J. Lu <hongjiu.lu@intel.com>
769
770 * ldmisc.c: Include "bfdlink.h".
771 (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION
772 and -LD_DEFINITION_IN_DISCARDED_SECTION.
773
774 * Makefile.am: Rebuild dependency.
775 * Makefile.in: Regenerated.
776
308f753f
KK
7772003-06-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
778
779 * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
780 * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize.
781
03a1c9a7
NC
7822003-06-02 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
783
784 * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is
785 sorted alphabetically, instead of exported_symbols, which is
786 sorted by ordinal.
787
36af4a4e
JJ
7882003-05-30 Ulrich Drepper <drepper@redhat.com>
789 Jakub Jelinek <jakub@redhat.com>
790
791 * lexsup.c (OPTION_PIE): Define.
792 (ld_options): Add -pie and --pic-executable options.
793 (parse_args): Handle OPTION_PIE.
794 * ldmain.c (main): Initialize link_info.pie and
795 link_info.executable.
796 * genscripts.sh: Generate PIE scripts.
797 * ld.texinfo: Document -pie and --pic-executable options.
798 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
799 (gld${EMULATION_NAME}_place_orphan): Likewise.
800 (gld${EMULATION_NAME}_get_script): Include PIE scripts.
801 * scripttempl/elf.sc: In PIE scripts set . the same way as in
802 shared scripts.
803 * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes.
804 * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise.
805 * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
806 * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
807 * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise.
808 * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
809 * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
810 * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
811 * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise.
812 * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
813 * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.
814
cdaeef2e
L
8152003-05-30 H.J. Lu <hongjiu.lu@intel.com>
816
817 * genscripts.sh: Create tmpdir/libpath.exp.
818
06aa7234
NC
8192003-05-30 Nick Clifton <nickc@redhat.com>
820
821 * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT
822 with a test for a NULL bfd_for_interworking.
823
561c27b2
JT
8242003-05-29 Jason Thorpe <thorpej@wasabisystems.com>
825
826 * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS
827 correctly for more recent versions of NetBSD.
828 (alpha*-*-netbsd*): Remove.
829 (i[3-7]86-*-netbsd*): Remove.
830
29e1a6e4
NC
8312003-05-29 Nick Clifton <nickc@redhat.com>
832
833 * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>.
834
90be1c5c
MR
8352003-05-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
836
837 * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to
838 trap on pointer crops.
839
cea3d58d
NC
8402003-05-21 Marcus Comstedt <marcus@mc.pp.se>
841
842 * configure.tgt: Check for a target triplet of shl-...-netbsdelf
843 as well as shle-...-netbsdelf.
844
80c7c40a
NC
8452003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
846
847 * configure.host: Accept i[3-7]86 variants.
848 * configure.tgt: Likewise.
849
a6c0916f
L
8502003-05-15 H.J. Lu <hongjiu.lu@intel.com>
851
852 * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
853
d2012d17
DJ
8542003-05-09 Daniel Jacobowitz <drow@mvista.com>
855
856 * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o.
857 (earmelfb.c, earmelfb_linux.c): New rules.
858 * Makefile.in: Regenerated.
859 * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files.
df9a14a1 860 * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu.
d2012d17 861
3cd9fdd5 8622003-05-09 Nick Clifton <nickc@redhat.com>
c16d554d 863
66184979
NC
864 * ldlang.c (lang_size_sections_1): Default to generating a
865 fatal error message if a loadable section is not allocated
866 to a memory region when regions are defined.
867
efdffbe2
AM
8682003-05-09 Alan Modra <amodra@bigpond.net.au>
869
870 * Makefile.am (em68hc11elf.c): Correct dependencies.
871 (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise.
872 * Makefile.in: Regenerate.
873 * emultempl/elf32.em (find_exp_assignment): Adjust for changed
874 bfd_elf_record_link_assignment name.
875
8aae64e6
AO
8762003-05-07 Alexandre Oliva <aoliva@redhat.com>
877
878 * ldmain.h (overflow_cutoff_limit): Declare.
879 * ldmain.c (overflow_cutoff_limit): Define, initialized to 10.
880 (reloc_overflow): Limit error messages based on it.
881 * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to
882 unlimited.
883
5c7966bf
AM
8842003-05-05 Alan Modra <amodra@bigpond.net.au>
885
886 * ldlex.l: Accept C style comments in version scripts.
887
c7996ad6
L
8882003-04-28 H.J. Lu <hjl@gnu.org>
889
890 * ldlang.c (lang_process): Add the relax finalize pass.
891
892 * ldmain.c (main): Initialize link_info.relax_finalizing to
893 FALSE.
894
d145330d
RM
8952003-04-24 Roland McGrath <roland@redhat.com>
896
897 * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names.
898 If a name string is unknown, give an error rather than crashing later.
899
9002003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
901
902 * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o,
8d9cd6b1
NC
903 eh8300hnelf.o, eh8300snelf.o and respective rules.
904 * Makefile.in: Regenerate.
905 * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf
906 * emulparams/h8300hn.sh: New
907 * emulparams/h8300sn.sh: New
d145330d 908 * emulparams/h8300hnelf.sh: New
8d9cd6b1
NC
909 * emulparams/h8300snelf.sh: New
910 * scripttempl/h8300hn.sc: new
911 * scripttempl/h8300sn.sc: new
912
0f0569c4
L
9132003-04-23 H.J. Lu <hjl@gnu.org>
914
915 * ldmain.c (link_callbacks): Initialize error_handler.
916
917 * ldmisc.c (error_handler): New function.
918
919 * ldmisc.h (error_handler): New prototype.
920
e2cebd4b
SC
9212003-04-21 Stephane Carrez <stcarrez@nerim.fr>
922
923 * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
924 * emulparams/m68hc11elfb.sh: Likewise.
925 * emulparams/m68hc12elf.sh: Likewise.
926 * emulparams/m68hc12elfb.sh: Likewise.
927
67bb9940
SC
9282003-04-19 Stephane Carrez <stcarrez@nerim.fr>
929
930 * emultempl/m68hc1xelf.em: New file to generate far trampolines on
931 68HC11 and 68HC12.
932 (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to
933 generate.
934 (LDEMUL_FINISH): Override to generate the trampolines after gc and
935 linker relaxation.
936 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the
937 stub file for trampolines.
938 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options
939 --no-trampoline and --bank-window to control the memory bank window.
940
97b51f20
L
9412003-04-18 H.J. Lu <hjl@gnu.org>
942
943 * ldfile.c (ldfile_add_library_path): Remove the unused
944 variable.
945
517ed485
NC
9462003-04-18 Andrew Haley <aph@cambridge.redhat.com>
947
948 * scripttempl/xstormy16.sc (__data, __rdata): New.
949
39f1ebed
NC
9502003-04-16 Nick Clifton <nickc@redhat.com>
951
952 * scripttempl/xstormy16.sc: Add .jcr section mapping.
953
731e28d8
L
9542003-04-15 H.J. Lu <hjl@gnu.org>
955
956 From Debian by Jack Howarth <howarth@nitro.med.uc.edu>:
957
958 * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
959
c2dcd04e
NC
9602003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
961
962 * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'.
963 * ld.texinfo: Likewise.
964
877d60f7
AM
9652003-04-14 Alan Modra <amodra@bigpond.net.au>
966
967 From Prashanth Tamraparni <prashanth_t@in.ibm.com>
968 * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
969 other variants of crtbegin.o, crtend.o.
970 (DTOR): Likewise.
971 * scripttempl/crisaout.sc (ctors, dtors): Likewise.
972 * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
973 * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
974 * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
975 * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
976 * scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
977 * scripttempl/mmo.sc (ctors, dtors): Likewise.
978 * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
979
d4b6ee67
NC
9802003-04-09 Dmitry Diky <diwil@mail.ru>
981
982 * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors
983 sections to respect C++ constructor/destructor. Add ctors/dtors
984 start/stop definitions.
985 * scripttempl/elf32msp430_3.sc: Likewise.
986
bb10df36
NC
9872003-04-06 Nick Clifton <nickc@redhat.com>
988
989 * ld.texinfo (Options): Add a reminder of the target specific
990 nature to the description of the i386 PE specific options, for
991 readers who have not read all the way through the manual.
992
be33c5dd
SS
9932003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
994
9f863369 995 * configure.tgt: Fixed bug in list of targ_extra_emuls.
be33c5dd
SS
996 * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace
997 cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/
998 * emulparams/tic3xcoff_onchip.sh: Ditto
999 * emulparams/tic4xcoff.sh: Ditto
1000 * scripttempl/tic4xcoff.sc: Ditto
1001
e8fd7476
NC
10022003-04-03 Nick Clifton <nickc@redhat.com>
1003
1004 * NEWS: Mention support for Xtensa architecture.
1005
2b817be1
NC
10062003-04-02 Nick Clifton <nickc@redhat.com>
1007
1008 * pe-dll.c (pe_detail_list): arm-pe targets use underscores.
1009
10102003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
1011
1012 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
1013 Don't call pe_dll_build_section() if link_info.relocateable.
1014 (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections()
1015 if link_info.relocateable.
1016
10172003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
1018
1019 * pe-dll.c (process_def_file): Don't create an export
1020 section if there are no exports and we're building an exe
1021 (pe_dll_build_sections): Ditto
1022 (pe_dll_fill_sections): Conditionalize setting
1023 abfd->dll true on info->shared
1024 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
1025 If i386pe or armpe, call pe_dll_build_section()
1026 for both exe's and dll's, not just dll's.
1027 (gld_${EMULATION_NAME}_finish): For all targets except
1028 shpe and mipspe, call pe_dll_fill_sections() for both
1029 exe's and dll's, not just dll's.
1030
f6c8b716
BW
10312003-04-02 Bob Wilson <bob.wilson@acm.org>
1032
1033 * emulparams/xtensa-config.sh: Remove comment indicating that this is
1034 a generated file.
1035
e0001a05
NC
10362003-04-01 Bob Wilson <bob.wilson@acm.org>
1037
877d60f7
AM
1038 * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o.
1039 (eelf32xtensa.c): New target.
1040 * Makefile.in: Regenerate.
1041 * configure.tgt: Handle xtensa-*-*.
1042 * gen-doc.texi: Set XTENSA variable.
1043 * ld.texinfo: Set XTENSA variable. Add new Xtensa node.
1044 * emulparams/elf32xtensa.sh: New file.
1045 * emulparams/xtensa-config.sh: Likewise.
1046 * emultempl/xtensaelf.em: Likewise.
1047 * scripttempl/elfxtensa.sc: Likewise.
e0001a05 1048
276e5094
JJ
10492003-04-01 Jakub Jelinek <jakub@redhat.com>
1050
1051 * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
1052 targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath
1053 if --enable-64-bit-bfd.
1054
5a6c6817
NC
10552003-04-01 Nick Clifton <nickc@redhat.com>
1056
394ce546 1057 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of
5a6c6817 1058 note section.
394ce546 1059 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change
5a6c6817
NC
1060 name of note section.
1061
a6e02871
AO
10622003-03-31 Alexandre Oliva <aoliva@redhat.com>
1063
1064 * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
1065 --section-start.
1066
5ed6aba4
NC
10672003-03-31 David Heine <dlheine@suif.stanford.edu>
1068
1069 * ldfile.c (ldfile_add_library_path): Always allocate space for
1070 the filename.
1071 * ldlang.c (lang_register_vers_node): Free the node if it cannot
1072 be used.
1073 * ldmain.c (set_scripts_dir): Always free the constructed
1074 directory name.
1075 (add_keepsyms_file): Fix memory leak.
1076 * ldmisc.c (vfinfo): Likewise.
877d60f7 1077 * lexsup.c (parse_args): Likewise.
5ed6aba4 1078
e16bb312
NC
10792003-03-25 Stan Cox <scox@redhat.com>
1080 Nick Clifton <nickc@redhat.com>
877d60f7 1081
6bc8652b 1082 Contribute support for Intel's iWMMXt chip - an ARM variant:
e16bb312
NC
1083
1084 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define.
1085 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define.
1086 * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment.
1087 (.bss): Likewise.
1088
3fe38064
NC
10892003-03-25 Alexandre Oliva <aoliva@redhat.com>
1090
1091 * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare.
1092 * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define.
1093 (main): Initialize them.
1094 * ldfile.c: Include pathnames.h.
1095 (is_sysrooted_pathname): New.
1096 (ldfile_add_library_path): Use it.
1097 (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't
1098 search_dirs if given an absolute pathname.
1099 (ldfile_open_file): Issue error message for sysrooted
1100 absolute pathnames.
1101 * Makefile.am: Updated dependencies.
1102 * Makefile.in: Rebuild.
1103