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