Index: sim/frv/ChangeLog
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
fc0a2244
AC
12003-10-30 Andrew Cagney <cagney@redhat.com>
2
3 * emultempl/pe.em, pe-dll.c: Replace "struct symbol_cache_entry"
4 with "struct bfd_symbol".
5
325fab4e
NC
62003-10-30 Phil Edwards <phil@codesourcery.com>
7
8 * Makefile.am (ALL_EMULATIONS): Add elf32mipswindiss.o.
9 (eelf32mipswindiss.c): New target.
10 * Makefile.in: Regenerated.
11 * emulparams/elf32mipswindiss.sh: New file.
12 * configure.tgt (i[3-7]86-*-vxworks*, arm-*-vxworks, sh-*-vxworks,
13 mips*-*-vxworks*): Use ELF now.
14 (mips*-*-windiss): New stanza, use elf32mipswindiss.
15
d522f227
SC
162003-10-27 Stephane Carrez <stcarrez@nerim.fr>
17
18 * scripttempl/elfm68hc12.sc: Define eeprom memory region.
19
07f3b6ad
KH
202003-10-25 Kazu Hirata <kazu@cs.umass.edu>
21
22 * ChangeLog-9197: Fix typos.
23 * NEWS: Likewise.
24 * ld.texinfo: Likewise.
25 * ldlang.c: Fix comment typos.
26
df816215
L
272003-10-24 H.J. Lu <hongjiu.lu@intel.com>
28
29 * ldlang.c (lang_vers_match): Fix a typo.
30
7a995eb3
L
312003-10-24 H.J. Lu <hongjiu.lu@intel.com>
32
33 * ldlang.c (lang_vers_match): Check demangled symbols.
34
5e35cbc2
L
352003-10-24 H.J. Lu <hongjiu.lu@intel.com>
36
37 * ldlang.c (lang_vers_match): Check "symbol" instead of
38 "wildcard" and "pattern". Fix a typo.
39 (lang_finalize_version_expr_head): Likewise.
40 (lang_register_vers_node): Likewise.
41 (realsymbol): New function.
42 (lang_new_vers_pattern): Set "symbol" and remove "wildcard".
43
44 * ldlex.l (V_IDENTIFIER): Allow '\\'.
45
383b8428
NC
462003-10-24 Nick Clifton <nickc@redhat.com>
47
48 * emultempl/m68hc1xelf.em (before_allocation): Add missing second
49 parameter to lang_memory_region_lookup.
50
108ba305
JJ
512003-10-22 Jakub Jelinek <jakub@redhat.com>
52
53 * ldlang.c: Include hashtab.h.
54 (lang_vers_match_lang_c, lang_vers_match_lang_cplusplus,
55 lang_vers_match_lang_java): Remove.
56 (lang_vers_match): New function.
57 (lang_new_vers_pattern): Initialize wildcard and mask
58 fields, don't initialize match.
59 (lang_new_vers_node): Use xcalloc. Adjust for globals and
60 locals field type changes. Set match field.
61 (version_expr_head_hash, version_expr_head_eq): New functions.
62 (lang_finalize_version_expr_head): New function.
63 (lang_register_vers_node): Call lang_finalize_version_expr_head.
64 Search in hash table if not wildcard when looking for duplicates.
65 * emultempl/ppc64elf.em (new_vers_pattern): Don't bother with
66 duplicate checking. Initialize all fields of dot_entry from entry
67 with the exception of pattern and next.
68
a747ee4d
NC
692003-10-21 Nick Clifton <nickc@redhat.com>
70
71 * ldlang.c (lang_memory_region_lookup): Add second parameter -
72 create - which is true if the region is being created. Issue
73 appropriate warning messages for finding and not finding
74 already created regions.
75 (lang_memory_default): Use DEFAULT_MEMORY_REGION.
76 (lang_leave_overlay_section): Likewise.
77 (lang_size_sections_1): Likewise.
78 Pass second parameter to lang_memory_region_lookup.
79 (lang_get_regions): Likewise.
80 * ldlang.h (DEFAULT_MEMORY_REGION): Define.
81 Update prototype for lang_memory_region_lookup.
82 * ldgram.y: Pass second parameter to lang_memory_region_lookup.
83 Use DEFAULT_MEMORY_REGION instead of "*default".
84
198beae2
AC
852003-10-20 Andrew Cagney <cagney@redhat.com>
86
87 * pe-dll.c: Replace "struct sec" with "struct bfd_section".
88
75ca919a
MM
892003-10-19 Marek Michalkiewicz <marekm@amelek.gda.pl>
90
91 * Makefile.am: Remove old (before GCC 3.3) emulations for AVR
92 target: avr1200, avr23xx, avr4433, avr44x4, avr85xx, avrmega103,
93 avrmega161, avrmega603. Default to avr2.
94 * Makefile.in: Regenerate.
95 * configure.tgt: Likewise.
96 * emulparams/avr1200.sh: Remove.
97 * emulparams/avr23xx.sh: Remove.
98 * emulparams/avr4433.sh: Remove.
99 * emulparams/avr44x4.sh: Remove.
100 * emulparams/avr85xx.sh: Remove.
101 * emulparams/avrmega103.sh: Remove.
102 * emulparams/avrmega161.sh: Remove.
103 * emulparams/avrmega603.sh: Remove.
104 * scripttempl/elf32avr.sc: Remove.
105
655f76a2
AS
1062003-10-19 Andreas Schwab <schwab@suse.de>
107
c2411cd2
AS
108 * emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): Add
109 newline to message.
110
655f76a2
AS
111 * deffilep.y: Remove commas from %token lines.
112
86d3c9a8
HPN
1132003-10-18 Hans-Peter Nilsson <hp@bitrange.com>
114
06335781
HPN
115 * emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker
116 relaxation always; don't exclude relocatable linking. Adjust for
117 _bfd_mmix_prepare_linker_allocated_gregs renamed to
118 _bfd_mmix_before_linker_allocation.
119 (mmix_after_allocation): Adjust for
120 _bfd_mmix_finalize_linker_allocated_gregs renamed to
121 _bfd_mmix_after_linker_allocation.
122 * scripttempl/mmo.sc: Use ADDR (.text), not . - SIZEOF (.text).
123
86d3c9a8
HPN
124 * ldlang.c (lang_size_sections): Last, set _cooked_size for output
125 sections.
126
8fbdf3ab
AM
1272003-10-16 Alan Modra <amodra@bigpond.net.au>
128
129 * Makefile.am (GENSCRIPTS_EXTRA, GEN_EXTRA_DEPENDS): Remove. Use
130 GENSCRIPTS and GEN_DEPENDS in place of these.
131 * Makefile.in: Regenerate.
132 * genscripts_extra.sh: Delete. Merge extra functionality to..
133 * genscripts.sh: ..here.
134
135 * emulparams/gld960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Define.
136 * emulparams/gld960coff.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
137 * emulparams/lnk960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
138 * emulparams/m88kbcs.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
139 * emulparams/vanilla.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
140
9c4f8b73
AM
1412003-10-16 Alan Modra <amodra@bigpond.net.au>
142
143 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't
144 use $EMULATION_NAME to call bfd function.
145
661a32f7
DS
1462003-10-14 Danny Smith <dannysmith@users.sourceforge.net>
147
148 * pe-dll.c (pe_implied_import_dll): Also scan .rdata sections
149 to identify data symbols.
150
786dbcc3
RS
1512003-10-13 Richard Sandiford <rsandifo@redhat.com>
152
153 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Move
154 definition from elf64btsmip.sh.
155 (TEXT_DYNAMIC): Likewise elf32btsmipn32.sh.
156 * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Remove.
157 * emulparams/elf64btsmip.sh (INITIAL_READONLY_SECTIONS): Remove.
158 * emulparams/elf64bmip.sh (SHLIB_TEXT_START_ADDR): Define.
159 (EXECUTABLE_SYMBOLS): Set __elf_header correctly for shared objects.
160 Define __program_header_table in terms of __elf_header.
161
3f7deb8a
L
1622003-10-10 H.J. Lu <hongjiu.lu@intel.com>
163
164 * Makefile.am (eelf64_ia64.c): Also depend on
165 $(srcdir)/emultempl/ia64elf.em.
166 * Makefile.in: Regenerated.
167
168 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Set to ia64elf.
169
170 * emultempl/ia64elf.em: New.
171
f19ae42f
KK
1722003-10-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
173
174 * emulparams/shelf32_nbsd.sh (OTHER_SECTIONS): Redefine.
175
420e579c
HPN
1762003-10-11 Hans-Peter Nilsson <hp@bitrange.com>
177
178 * ld.texinfo (Builtin Functions) <DEFINED>: Say that only symbols
179 defined before the statement using DEFINED yield 1.
180 * ldexp.c (fold_name) <case DEFINED>: In lang_first_phase_enum,
181 call lang_track_definedness on symbol. In subsequent phases, use
182 lang_symbol_definition_iteration and lang_statement_iteration to
183 check whether the symbol was defined before the current statement.
184 (exp_fold_tree) <case etree_assign et al>: Call
185 lang_update_definedness before updating symbol type when setting
186 symbol.
187 * ldlang.c (lang_definedness_table): New variable.
188 (lang_definedness_newfunc, lang_track_definedness)
189 (lang_symbol_definition_iteration, lang_update_definedness): New
190 functions.
191 (lang_init): Initialize lang_definedness_table and
192 lang_statement_iteration.
193 (lang_finish): Destroy bfd_hash_table_free.
194 (lang_size_sections): Increment lang_statement_iteration.
195 (lang_do_assignments_1): New function with former
196 lang_do_assignments contents. Change recursive calls to call this
197 function.
198 (lang_do_assignments): Evacuate contents. Increment
199 lang_statement_iteration, then just call lang_do_assignments_1.
200 * ldlang.h (struct lang_definedness_hash_entry)
201 (lang_statement_iteration, lang_track_definedness)
202 (lang_symbol_definition_iteration, lang_update_definedness):
203 Declare.
204
c6d3b05f
L
2052003-10-09 H.J. Lu <hongjiu.lu@intel.com>
206
207 * scripttempl/elf.sc (__executable_start): Provide.
208
2f857bd0
DJ
2092003-10-09 Daniel Jacobowitz <drow@mvista.com>
210
211 * emulparams/armelf.sh: Define NO_SMALL_DATA.
212 * emulparams/armelf_linux.sh, emulparams/armelf_oabi.sh,
213 emulparams/armnto.sh: Likewise.
214
a7f18fb3
AO
2152003-10-08 Alexandre Oliva <aoliva@redhat.com>
216
217 * ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell
218 whether to skip test for no memory region.
219
e62eb3ee
NC
2202003-10-08 Nick Clifton <nickc@redhat.com>
221
222 * lexsup.c (parse_args: OPTION_CALL_SHARED): Revise comment
223 describing defaults. Change default to report unresolved symbols
224 in object files as well.
225
6a33aff4
HPN
2262003-10-08 Hans-Peter Nilsson <hp@bitrange.com>
227
228 * ldexp.c (fold_name) <case DEFINED>: Set section of result to
229 abs_output_section.
230
398b8515
BW
2312003-10-07 Bob Wilson <bob.wilson@acm.org>
232
233 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS,
234 OTHER_READWRITE_SECTIONS, OTHER_SECTIONS): Set section addresses to
235 zero for relocatable links.
236
c0d48c0b
DA
2372003-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
238
239 * configure.host (HOSTING_LIBS): Define for hppa*-*-linux*.
240
29ca8dc5
NS
2412003-10-07 Nathan Sidwell <nathan@codesourcery.com>
242
243 * ldwrite.c (unsplittable_name): New.
244 (clone_section): Strip existing numeric suffix. Only truncate names
245 for coff targets.
246 (split_sections): Use unsplittable_name.
247
85477099
NC
2482003-10-06 Nick Clifton <nickc@redhat.com>
249
250 * lexsup.c (parse_args): Report unresolved symbols in shared
251 libraries when creating a dynamic executable. This is a
252 restoration of the default behaviour for previous versions of
253 the linker.
254
2552003-10-06 Matt Thomas <matt@3am-software.com>
85cf2a8a
NC
256
257 * emulparams/hppanbsd.sh: Remove OUTPUT_FORMAT.
258 * emulparams/hppaobsd.sh: Add OUTPUT_FORMAT="elf32-hppa".
259
4615568e
NC
2602003-10-06 Robert Millan <robertmh@gnu.org>
261
262 * configure.tgt: Match GNU/KNetBSD with new knetbsd*-gnu triplet.
263
4b7f0676
NC
2642003-10-02 Ivan Warren <ivan@vmfacility.fr>
265
266 * pe-dll.c (make_one): Correct sym def order & pick right sym for
267 .idata$7 reloc.
268
43c58ae6
CD
2692003-09-30 Chris Demetriou <cgd@broadcom.com>
270
271 * NEWS: Add an indication of the cutoff for 2.14.
272
5f74bc13
CD
2732003-09-30 Chris Demetriou <cgd@broadcom.com>
274
275 * ldmain.c (get_emulation): Ignore "-mips64r2".
276
13dfd2d0
NC
2772003-09-03 Robert Millan <robertmh@gnu.org>
278
279 * configure.host: Match GNU/KFreeBSD with new kfreebsd*-gnu
280 triplet.
281 * configure.tgt: Likewise.
282
71df864f
AM
2832003-08-29 Jafa <jafa@silicondust.com>
284
285 * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define.
286
3673a93e
NC
2872003-08-21 Nick Clifton <nickc@redhat.com>
288
289 * po/tr.po: Updated Turkish translation.
290
560e09e9
NC
2912003-08-20 Nick Clifton <nickc@redhat.com>
292
293 * ldmain.c: Initialise the new fields in bfd_link_info to
294 NOT_YET_SET.
295 * lexsup.c (enum option_values): New enum. Use this to
296 replace the handed coded values for the long switch options.
297 (ld_options): Add 'unresolved-symbols',
298 'warn-unresolved-symbols' and 'error-unresolved-symbols'.
299 (parse_args): Handle the new switches. Set the values of
300 unresolved_symbols_in_objects and
301 unresolved_symbols_in_shared_libs appropriately. If they were
302 not initialised by the command line, install default values.
303 * emultempl/elf32.em (handle_option): Update OPTION_GROUP and
304 -z defs to use the new fields in bfd_link_info.
305 * ld.texinfo: Document the new switches.
306 * NEWS: Mention this feature.
307
aafdb207
NC
3082003-08-15 Dmitry Diky <diwil@mail.ru>
309
310 * Makefile.am (GENSCRIPTS_EXTRA): New script definition which
311 calls genscripts_extra.sh.
312 Rearrange all msp430 depends using this script.
313 * Makefile.in: Regenerate.
314 * genscripts_extra.sh: New file: Similar to genscripts.sh, except
315 that the script to be run to generate the emulations can be passed
316 as an optional parameter instead of being computed from the
317 emulation name.
318 * emulparams/msp430all.sh: New file: Combine all msp430 subdevice
319 definitions into one file.
320 * emulparams/msp430x*.sh: Removed.
321
cd6d6c15
NC
3222003-08-15 Nick Clifton <nickc@redhat.com>
323
324 * ld.texinfo (Options): Put keywords for the -z option into a
325 table. Add more text describing what the -z now option does.
326
68cdbb4a
AM
3272003-08-14 Alan Modra <amodra@bigpond.net.au>
328
329 * dep-in.sed: Remove libintl.h.
330 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
331 * Makefile.in: Regenerate.
332
f22f5fcd
AM
3332003-08-13 Alan Modra <amodra@bigpond.net.au>
334
335 * genscripts.sh (libpath.exp): Only generate for first emulation.
336 (LIB_PATH): Correct order of paths. Don't add $tool_lib when
337 already present or when LIB_PATH is set to ":".
338
0b28295d
ILT
3392003-08-12 Ian Lance Taylor <ian@airs.com>
340
341 * ldmain.c (undefined_symbol): Change parameter name from `fatal'
342 to `error'. If only a warning, put warning in the reported
343 string. Consistently set failure flag when not a warning.
344
3b260895
NC
3452003-08-08 Dmitry Diky <diwil@mail.ru>
346
347 * Makefile.am: Add xW42 and xE42 parts. Sort MPU list according to
348 gcc order.
349 * Makefile.in: Regenerate.
350 * configure.tgt: Add extra emulations.
351 * emulparams/msp430xE423.sh: New file.
352 * emulparams/msp430xE427.sh: New file.
353 * emulparams/msp430xW425.sh: New file.
354 * emulparams/msp430xE425.sh: New file.
355 * emulparams/msp430xW423.sh: New file.
356 * emulparams/msp430xW427.sh: New file.
357
1fa1d2cd
DS
3582003-08-07 Danny Smith <dannysmith@users.sourceforge.net>
359
360 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
361 Change second (cmdline) arg to lang_add_entry to FALSE.
362 (set_pe_subsystem): Change second arg to lang_add_entry to TRUE.
363
9d7e2ba5
JE
3642003-08-05 Christian Groessler <chris@groessler.org>
365 Jason Eckhardt <jle@rice.edu>
366
367 * configure.tgt: Recognize new target i860-*-coff.
368 * Makefile.am (ALL_EMULATIONS): Add ecoff_i860.o.
369 (ecoff_i860.c): New rule.
370 * emulparams/coff_i860.sh: New file.
371 * scripttempl/i860coff.sc: New file.
372 * Makefile.in: Regenerate.
373
8c675694
NC
3742003-08-04 Nick Clifton <nickc@redhat.com>
375
376 * emultempl/elf32.em (before_allocation): Prepend "warning: "
377 to messages produced for .gnu.warning.SYMBOL sections.
378
2a36a117
AM
3792003-08-04 Alan Modra <amodra@bigpond.net.au>
380
381 * emultempl/elf32.em (output_rel_find): Add "isdyn" param. Put
382 .rel.dyn before other reloc sections. Don't stop looking for reloc
383 sections on finding one that isn't allocated. Match .rel even when
384 placing .rela and vice versa, when setting last_rel and
385 last_rel_alloc for the first time. If no reloc sections in script,
386 prefer allocated section over non-alloc.
387 (gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn.
388
8a1cb159
KK
3892003-07-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
390
391 * emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack
392 section for shared library.
393 * emulparams/shelf32.sh (OTHER_SECTIONS): Likewise.
394 * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
395
83a27a96
SC
3962003-07-29 Stephane Carrez <stcarrez@nerim.fr>
397
398 * scripttempl/elfm68hc12.sc: Add gcc_except_table.
399 * scripttempl/elfm68hc11.sc: Likewise.
400
c86b6a7b
AM
4012003-07-28 Alan Modra <amodra@bigpond.net.au>
402
f37f3db7
AM
403 * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching.
404
c86b6a7b
AM
405 * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r.
406
7e7d5768
AM
4072003-07-27 Alan Modra <amodra@bigpond.net.au>
408
409 * ld.texinfo: Typo fixes. Document SUBALIGN.
410 * ldgram.y (opt_subalign): Add.
411 * ldlex.l (SUBALIGN): Recognize.
412 * ldlang.c (overlay_subalign): New var.
413 (lang_enter_overlay): Add subalign param.
414 (lang_enter_overlay_section): Pass overlay_subalign to
415 lang_enter_output_section_statement.
416 * ldlang.h (lang_enter_overlay): Update.
417
834d807b
NC
4182003-07-24 Nick Clifton <nickc@redhat.com>
419
420 * po/fr.po: Updated French translation.
421
494fee87
SC
4222003-07-23 Stephane Carrez <stcarrez@nerim.fr>
423
424 * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into
425 account .tramp sections;
426 * scripttempl/elfm68hc12.sc: Likewise.
427
602d6c6f
NC
4282003-07-17 Charles Wilson <cwilson@ece.gatech.edu>
429
430 * ld/pe-dll.c: Add libcygwin to autofilter_liblist[]
431
6c37ac4d
NC
4322003-07-17 Nick Clifton <nickc@redhat.com>
433
434 * po/es.po: New Spanish translation.
435
fce00800
AM
4362003-07-11 Alan Modra <amodra@bigpond.net.au>
437
438 * po/ld.pot: Regenerate.
439
e901de89
BW
4402003-07-10 Bob Wilson <bob.wilson@acm.org>
441
442 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit
443 with new .got.loc section.
444 (OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for
445 non-relocating links.
446 (OTHER_SECTIONS): Add .xt.lit here. Change it to keep linkonce
447 sections separate for non-relocating links; likewise for .xt.insn.
448
4a096548
AO
4492003-07-10 Alexandre Oliva <aoliva@redhat.com>
450
451 2001-08-22 Alexandre Oliva <aoliva@redhat.com>
452 * emulparams/elf32am33lin.sh: Adjust to match kernel parameters.
453 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
454 * configure.host (am33_2.0-*-linux*): Added.
455 * configure.tgt (am33_2.0-*-linux*): Likewise.
456 * emulparams/elf32am33lin.sh: New.
457 * Makefile.am (eelf32am33lin.c): New rule.
458 * Makefile.in: Rebuilt.
459
892bb326
AO
4602003-07-09 Alexandre Oliva <aoliva@redhat.com>
461
462 2001-04-17 Alexandre Oliva <aoliva@redhat.com>
463 * emulparams/mn10300.sh (TEMPLATE_NAME): Define.
464 (GENERATE_SHLIB_SCRIPT): Likewise.
465
68f8ff14
AM
4662003-07-10 Alan Modra <amodra@bigpond.net.au>
467
468 * emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define.
469 (GOT): Define.
470 * emultempl/ppc64elf.em (stub_added): New static var.
471 (ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd.
472 (ppc_add_stub_section): Set stub_added.
473 (gld${EMULATION_NAME}_finish): Look for .got rather than .toc. Adjust
474 ppc64_elf_size_stubs call and test for stubs.
475 * scripttempl/elf.sc (GOT): Define and use.
476
fb319d8d
JR
4772003-07-08 J"orn Rennecke <joern.rennecke@superh.com>
478
479 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
480 Allow second call from ldemul_finish.
481
3a51fda6
JR
4822003-07-04 J"orn Rennecke <joern.rennecke@superh.com>
483
484 * emulparams/shelf32.sh (STACK_ADDR): Don't define.
485 (OTHER_SECTIONS): Include .stack.
486 * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
487
9203ba99
JJ
4882003-07-02 Jakub Jelinek <jakub@redhat.com>
489
490 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include
491 .opd if -pie.
492 (OTHER_READWRITE_SECTIONS): Include .opd if -pie.
493 * scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR
494 if -pie.
495
1579bae1
AM
4962003-06-28 Alan Modra <amodra@bigpond.net.au>
497
498 * ld.h: Convert to C90, remove unnecessary prototypes and casts.
499 Replace PTR with void *. Formatting.
500 * ldcref.c: Likewise.
501 * ldctor.c: Likewise.
502 * ldctor.h: Likewise.
503 * ldemul.h: Likewise.
504 * ldexp.c: Likewise.
505 * ldexp.h: Likewise.
506 * ldfile.c: Likewise.
507 * ldfile.h: Likewise.
508 * ldlang.c: Likewise.
509 * ldlang.h: Likewise.
510 * ldlex.h: Likewise.
511 * ldlex.l: Likewise.
512 * ldmain.c: Likewise.
513 * ldmain.h: Likewise.
514 * ldmisc.c: Likewise.
515 * ldmisc.h: Likewise.
516 * ldver.h: Likewise.
517 * ldwrite.c: Likewise.
518 * ldwrite.h: Likewise.
519 * lexsup.c: Likewise.
520 * mri.c: Likewise.
521 * mri.h: Likewise.
522 * pe-dll.c: Likewise.
523 * pe-dll.h: Likewise.
524 * deffilep.y: Likewise.
525 * deffile.h: Likewise. Don't include ansidecl.h.
526 * emulparams/elf32mcore.sh: Remove unnecessary cast.
527 * emultempl/m68kcoff.em: Likewise.
528 * emultempl/m68kelf.em: Likewise.
529 * emultempl/ticoff.em: Remove lang_add_output_format declaration.
530 * sysdep.h: Don't include ansidecl.h.
531 * Makefile.am: Run "make dep-am".
532 * Makefile.in: Regenerate.
533
dc17f155
NC
5342003-06-27 Nick Clifton <nickc@redhat.com>
535
536 * deffilep.y (def_file_add_directive): Cope with NUL seperated
537 directives. Fix reporting of unparseable directives.
538 (def_error): Check for a NULL def_filename.
539
0c7a8e5a
AM
5402003-06-27 Alan Modra <amodra@bigpond.net.au>
541
542 * emultempl/aix.em: Convert to C90, remove unnecessary prototypes
543 and casts. Replace PTR with void *. Formatting.
1579bae1
AM
544 * emultempl/alphaelf.em: Likewise.
545 * emultempl/armcoff.em: Likewise.
546 * emultempl/armelf.em: Likewise.
547 * emultempl/armelf_oabi.em: Likewise.
548 * emultempl/beos.em: Likewise.
549 * emultempl/elf32.em: Likewise.
550 * emultempl/generic.em: Likewise.
551 * emultempl/gld960.em: Likewise.
552 * emultempl/gld960c.em: Likewise.
553 * emultempl/hppaelf.em: Likewise.
554 * emultempl/linux.em: Likewise.
555 * emultempl/lnk960.em: Likewise.
556 * emultempl/m68hc1xelf.em: Likewise.
557 * emultempl/m68kcoff.em: Likewise.
558 * emultempl/m68kelf.em: Likewise.
559 * emultempl/mipsecoff.em: Likewise.
560 * emultempl/mipself.em: Likewise.
561 * emultempl/mmix-elfnmmo.em: Likewise.
562 * emultempl/mmixelf.em: Likewise.
563 * emultempl/mmo.em: Likewise.
564 * emultempl/needrelax.em: Likewise.
565 * emultempl/netbsd.em: Likewise.
566 * emultempl/pe.em: Likewise.
567 * emultempl/sh64elf.em: Likewise.
568 * emultempl/sunos.em: Likewise.
569 * emultempl/ticoff.em: Likewise.
570 * emultempl/vanilla.em: Likewise.
571 * emultempl/xtensaelf.em: Likewise.
0c7a8e5a
AM
572 * Makefile.am: Correct dependencies.
573 * Makefile.in: Regenerate.
574
1049f94e
AM
5752003-06-25 Alan Modra <amodra@bigpond.net.au>
576
577 * ld.texinfo: Correct spelling of "relocatable".
1579bae1
AM
578 * ldctor.c: Likewise.
579 * ldexp.c: Likewise.
580 * ldfile.c: Likewise.
581 * ldint.texinfo: Likewise.
582 * ldlang.c: Likewise.
583 * ldmain.c: Likewise.
584 * ldwrite.c: Likewise.
585 * lexsup.c: Likewise.
586 * emultempl/aix.em: Likewise.
587 * emultempl/alphaelf.em: Likewise.
588 * emultempl/armcoff.em: Likewise.
589 * emultempl/armelf_oabi.em: Likewise.
590 * emultempl/beos.em: Likewise.
591 * emultempl/elf32.em: Likewise.
592 * emultempl/generic.em: Likewise.
593 * emultempl/gld960.em: Likewise.
594 * emultempl/gld960c.em: Likewise.
595 * emultempl/hppaelf.em: Likewise.
596 * emultempl/linux.em: Likewise.
597 * emultempl/lnk960.em: Likewise.
598 * emultempl/m68hc1xelf.em: Likewise.
599 * emultempl/m68kcoff.em: Likewise.
600 * emultempl/m68kelf.em: Likewise.
601 * emultempl/mipsecoff.em: Likewise.
602 * emultempl/mipself.em: Likewise.
603 * emultempl/mmix-elfnmmo.em: Likewise.
604 * emultempl/mmo.em: Likewise.
605 * emultempl/needrelax.em: Likewise.
606 * emultempl/pe.em: Likewise.
607 * emultempl/ppc64elf.em: Likewise.
608 * emultempl/sh64elf.em: Likewise.
609 * emultempl/sunos.em: Likewise.
610 * emultempl/ticoff.em: Likewise.
611 * emultempl/xtensaelf.em: Likewise.
1049f94e 612
7e5d8d48
AM
6132003-06-24 Alan Modra <amodra@bigpond.net.au>
614
615 * emultempl/ppc32elf.em: Convert to C90.
616
7d8a3a28
AM
6172003-06-20 Alan Modra <amodra@bigpond.net.au>
618
619 * emultempl/ppc64elf.em: Convert to C90 function definitions, remove
620 unnecessary prototypes and casts.
621
bda6c678
AM
6222003-06-19 Alan Modra <amodra@bigpond.net.au>
623
624 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out
625 statistics from ppc64_elf_build_stubs.
626
6bc8652b
AM
6272003-06-19 Alan Modra <amodra@bigpond.net.au>
628
629 * emultempl/ppc64elf.em (build_section_lists): Check return status
630 from ppc64_elf_next_input_section.
631
f97b9cb8
L
6322003-06-17 H.J. Lu <hongjiu.lu@intel.com>
633
634 * ldlang.c (section_already_linked): Put back assignment of
635 kept_section.
636
fea39bcb
NC
6372003-06-17 Rainer Keuchel <rkeuchel@allgeier.com>
638
639 * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D
6bc8652b 640 reloc.
fea39bcb 641
40bdaaa8
NC
6422003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com>
643
644 * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1
645 if not produced by gcc.
646
b826ae22
HPN
6472003-06-16 Hans-Peter Nilsson <hp@axis.com>
648
649 * configure.tgt: Add specific case for cris-*-linux-gnu*
650 with crislinux emulation only.
651
a06a29f2
NC
6522003-06-13 Robert Millan <zeratul2@wanadoo.es>
653
654 * configure.tgt: Add i386-netbsd-gnu target.
655
728fa2f6
RS
6562003-06-12 Richard Sandiford <rsandifo@redhat.com>
657
658 * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations
659 to $targ_extra_libpath.
660
3b443373
L
6612003-06-11 H.J. Lu <hongjiu.lu@intel.com>
662
663 * po/Make-in (DESTDIR): New.
664 (install-data-yes): Support $(DESTDIR).
665 (uninstall): Likewise.
666
cfa1ac0c
DE
6672003-06-10 Doug Evans <dje@sebabeach.org>
668
669 * Makefile.am (ALL_EMULATIONS): Add em32relf.o.
670 * Makefile.in: Regenerate.
671
f4984206
RS
6722003-06-10 Richard Sandiford <rsandifo@redhat.com>
673
674 * configure.tgt (h8300*): Add h8300sxn emulations.
675 * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o.
676 (eh8300sxn.c, eh8300sxnelf.c): New rules.
677 * Makefile.in: Regenerate.
678 * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.
d1b2d571 679 * scripttempl/h8300sxn.sc: New file.
f4984206 680
285272bd
AM
6812003-06-10 Alan Modra <amodra@bigpond.net.au>
682
683 * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS,
684 CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define.
685
0b9a4d73
AM
6862003-06-08 Alan Modra <amodra@bigpond.net.au>
687
688 * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars.
689 (build_toc_list): New function.
690 (gld${EMULATION_NAME}_finish): Call build_toc_list and
691 ppc64_elf_reinit_toc. Adjust ppc64_elf_build_stubs call.
692 (OPTION_STUBSYMS): Define.
693 (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
694 (PARSE_AND_LIST_OPTIONS): Document.
695 (PARSE_AND_LIST_ARGS_CASES): Handle.
696
c16d554d
RM
6972003-06-05 Roland McGrath <roland@redhat.com>
698
699 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove
700 extra \t in -z noexecstack line.
701
9ee5e499
JJ
7022003-05-23 Jakub Jelinek <jakub@redhat.com>
703
704 * ldgram.y (phdr_type): Grok PT_GNU_STACK.
705 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
706 -z execstack and -z noexecstack.
707 (gld${EMULATION_NAME}_list_options): Likewise.
708 * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
709
65982ba6 7102003-06-03 Michael Snyder <msnyder@redhat.com>
6bc8652b 711 and Bernd Schmidt <bernds@redhat.com>
65982ba6 712 and Alexandre Oliva <aoliva@redhat.com>
9ee5e499 713
65982ba6
MS
714 * Makefile.am: Add new emulations for h8300sx.
715 * Makefile.in: Regenerate.
716 * configure.tgt: Add new emulations.
717 * emulparams/h8300sx.sh: New emulation.
718 * emulparams/h8300sxelf.sh: Ditto.
719 * scripttempl/h8300sx.sc: Ditto.
720
6f6f27f8
L
7212003-06-03 H.J. Lu <hongjiu.lu@intel.com>
722
723 * ldmisc.c: Include "bfdlink.h".
724 (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION
725 and -LD_DEFINITION_IN_DISCARDED_SECTION.
726
727 * Makefile.am: Rebuild dependency.
728 * Makefile.in: Regenerated.
729
308f753f
KK
7302003-06-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
731
732 * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
733 * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize.
734
03a1c9a7
NC
7352003-06-02 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
736
737 * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is
738 sorted alphabetically, instead of exported_symbols, which is
739 sorted by ordinal.
740
36af4a4e
JJ
7412003-05-30 Ulrich Drepper <drepper@redhat.com>
742 Jakub Jelinek <jakub@redhat.com>
743
744 * lexsup.c (OPTION_PIE): Define.
745 (ld_options): Add -pie and --pic-executable options.
746 (parse_args): Handle OPTION_PIE.
747 * ldmain.c (main): Initialize link_info.pie and
748 link_info.executable.
749 * genscripts.sh: Generate PIE scripts.
750 * ld.texinfo: Document -pie and --pic-executable options.
751 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
752 (gld${EMULATION_NAME}_place_orphan): Likewise.
753 (gld${EMULATION_NAME}_get_script): Include PIE scripts.
754 * scripttempl/elf.sc: In PIE scripts set . the same way as in
755 shared scripts.
756 * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes.
757 * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise.
758 * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
759 * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
760 * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise.
761 * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
762 * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
763 * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
764 * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise.
765 * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
766 * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.
767
cdaeef2e
L
7682003-05-30 H.J. Lu <hongjiu.lu@intel.com>
769
770 * genscripts.sh: Create tmpdir/libpath.exp.
771
06aa7234
NC
7722003-05-30 Nick Clifton <nickc@redhat.com>
773
774 * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT
775 with a test for a NULL bfd_for_interworking.
776
561c27b2
JT
7772003-05-29 Jason Thorpe <thorpej@wasabisystems.com>
778
779 * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS
780 correctly for more recent versions of NetBSD.
781 (alpha*-*-netbsd*): Remove.
782 (i[3-7]86-*-netbsd*): Remove.
783
29e1a6e4
NC
7842003-05-29 Nick Clifton <nickc@redhat.com>
785
786 * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>.
787
90be1c5c
MR
7882003-05-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
789
790 * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to
791 trap on pointer crops.
792
cea3d58d
NC
7932003-05-21 Marcus Comstedt <marcus@mc.pp.se>
794
795 * configure.tgt: Check for a target triplet of shl-...-netbsdelf
796 as well as shle-...-netbsdelf.
797
80c7c40a
NC
7982003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
799
800 * configure.host: Accept i[3-7]86 variants.
801 * configure.tgt: Likewise.
802
a6c0916f
L
8032003-05-15 H.J. Lu <hongjiu.lu@intel.com>
804
805 * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
806
d2012d17
DJ
8072003-05-09 Daniel Jacobowitz <drow@mvista.com>
808
809 * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o.
810 (earmelfb.c, earmelfb_linux.c): New rules.
811 * Makefile.in: Regenerated.
812 * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files.
df9a14a1 813 * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu.
d2012d17 814
3cd9fdd5 8152003-05-09 Nick Clifton <nickc@redhat.com>
c16d554d 816
66184979
NC
817 * ldlang.c (lang_size_sections_1): Default to generating a
818 fatal error message if a loadable section is not allocated
819 to a memory region when regions are defined.
820
efdffbe2
AM
8212003-05-09 Alan Modra <amodra@bigpond.net.au>
822
823 * Makefile.am (em68hc11elf.c): Correct dependencies.
824 (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise.
825 * Makefile.in: Regenerate.
826 * emultempl/elf32.em (find_exp_assignment): Adjust for changed
827 bfd_elf_record_link_assignment name.
828
8aae64e6
AO
8292003-05-07 Alexandre Oliva <aoliva@redhat.com>
830
831 * ldmain.h (overflow_cutoff_limit): Declare.
832 * ldmain.c (overflow_cutoff_limit): Define, initialized to 10.
833 (reloc_overflow): Limit error messages based on it.
834 * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to
835 unlimited.
836
5c7966bf
AM
8372003-05-05 Alan Modra <amodra@bigpond.net.au>
838
839 * ldlex.l: Accept C style comments in version scripts.
840
c7996ad6
L
8412003-04-28 H.J. Lu <hjl@gnu.org>
842
843 * ldlang.c (lang_process): Add the relax finalize pass.
844
845 * ldmain.c (main): Initialize link_info.relax_finalizing to
846 FALSE.
847
d145330d
RM
8482003-04-24 Roland McGrath <roland@redhat.com>
849
850 * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names.
851 If a name string is unknown, give an error rather than crashing later.
852
8532003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
854
855 * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o,
8d9cd6b1
NC
856 eh8300hnelf.o, eh8300snelf.o and respective rules.
857 * Makefile.in: Regenerate.
858 * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf
859 * emulparams/h8300hn.sh: New
860 * emulparams/h8300sn.sh: New
d145330d 861 * emulparams/h8300hnelf.sh: New
8d9cd6b1
NC
862 * emulparams/h8300snelf.sh: New
863 * scripttempl/h8300hn.sc: new
864 * scripttempl/h8300sn.sc: new
865
0f0569c4
L
8662003-04-23 H.J. Lu <hjl@gnu.org>
867
868 * ldmain.c (link_callbacks): Initialize error_handler.
869
870 * ldmisc.c (error_handler): New function.
871
872 * ldmisc.h (error_handler): New prototype.
873
e2cebd4b
SC
8742003-04-21 Stephane Carrez <stcarrez@nerim.fr>
875
876 * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
877 * emulparams/m68hc11elfb.sh: Likewise.
878 * emulparams/m68hc12elf.sh: Likewise.
879 * emulparams/m68hc12elfb.sh: Likewise.
880
67bb9940
SC
8812003-04-19 Stephane Carrez <stcarrez@nerim.fr>
882
883 * emultempl/m68hc1xelf.em: New file to generate far trampolines on
884 68HC11 and 68HC12.
885 (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to
886 generate.
887 (LDEMUL_FINISH): Override to generate the trampolines after gc and
888 linker relaxation.
889 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the
890 stub file for trampolines.
891 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options
892 --no-trampoline and --bank-window to control the memory bank window.
893
97b51f20
L
8942003-04-18 H.J. Lu <hjl@gnu.org>
895
896 * ldfile.c (ldfile_add_library_path): Remove the unused
897 variable.
898
517ed485
NC
8992003-04-18 Andrew Haley <aph@cambridge.redhat.com>
900
901 * scripttempl/xstormy16.sc (__data, __rdata): New.
902
39f1ebed
NC
9032003-04-16 Nick Clifton <nickc@redhat.com>
904
905 * scripttempl/xstormy16.sc: Add .jcr section mapping.
906
731e28d8
L
9072003-04-15 H.J. Lu <hjl@gnu.org>
908
909 From Debian by Jack Howarth <howarth@nitro.med.uc.edu>:
910
911 * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
912
c2dcd04e
NC
9132003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
914
915 * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'.
916 * ld.texinfo: Likewise.
917
877d60f7
AM
9182003-04-14 Alan Modra <amodra@bigpond.net.au>
919
920 From Prashanth Tamraparni <prashanth_t@in.ibm.com>
921 * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
922 other variants of crtbegin.o, crtend.o.
923 (DTOR): Likewise.
924 * scripttempl/crisaout.sc (ctors, dtors): Likewise.
925 * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
926 * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
927 * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
928 * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
929 * scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
930 * scripttempl/mmo.sc (ctors, dtors): Likewise.
931 * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
932
d4b6ee67
NC
9332003-04-09 Dmitry Diky <diwil@mail.ru>
934
935 * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors
936 sections to respect C++ constructor/destructor. Add ctors/dtors
937 start/stop definitions.
938 * scripttempl/elf32msp430_3.sc: Likewise.
939
bb10df36
NC
9402003-04-06 Nick Clifton <nickc@redhat.com>
941
942 * ld.texinfo (Options): Add a reminder of the target specific
943 nature to the description of the i386 PE specific options, for
944 readers who have not read all the way through the manual.
945
be33c5dd
SS
9462003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
947
9f863369 948 * configure.tgt: Fixed bug in list of targ_extra_emuls.
be33c5dd
SS
949 * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace
950 cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/
951 * emulparams/tic3xcoff_onchip.sh: Ditto
952 * emulparams/tic4xcoff.sh: Ditto
953 * scripttempl/tic4xcoff.sc: Ditto
954
e8fd7476
NC
9552003-04-03 Nick Clifton <nickc@redhat.com>
956
957 * NEWS: Mention support for Xtensa architecture.
958
2b817be1
NC
9592003-04-02 Nick Clifton <nickc@redhat.com>
960
961 * pe-dll.c (pe_detail_list): arm-pe targets use underscores.
962
9632003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
964
965 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
966 Don't call pe_dll_build_section() if link_info.relocateable.
967 (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections()
968 if link_info.relocateable.
969
9702003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
971
972 * pe-dll.c (process_def_file): Don't create an export
973 section if there are no exports and we're building an exe
974 (pe_dll_build_sections): Ditto
975 (pe_dll_fill_sections): Conditionalize setting
976 abfd->dll true on info->shared
977 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
978 If i386pe or armpe, call pe_dll_build_section()
979 for both exe's and dll's, not just dll's.
980 (gld_${EMULATION_NAME}_finish): For all targets except
981 shpe and mipspe, call pe_dll_fill_sections() for both
982 exe's and dll's, not just dll's.
983
f6c8b716
BW
9842003-04-02 Bob Wilson <bob.wilson@acm.org>
985
986 * emulparams/xtensa-config.sh: Remove comment indicating that this is
987 a generated file.
988
e0001a05
NC
9892003-04-01 Bob Wilson <bob.wilson@acm.org>
990
877d60f7
AM
991 * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o.
992 (eelf32xtensa.c): New target.
993 * Makefile.in: Regenerate.
994 * configure.tgt: Handle xtensa-*-*.
995 * gen-doc.texi: Set XTENSA variable.
996 * ld.texinfo: Set XTENSA variable. Add new Xtensa node.
997 * emulparams/elf32xtensa.sh: New file.
998 * emulparams/xtensa-config.sh: Likewise.
999 * emultempl/xtensaelf.em: Likewise.
1000 * scripttempl/elfxtensa.sc: Likewise.
e0001a05 1001
276e5094
JJ
10022003-04-01 Jakub Jelinek <jakub@redhat.com>
1003
1004 * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
1005 targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath
1006 if --enable-64-bit-bfd.
1007
5a6c6817
NC
10082003-04-01 Nick Clifton <nickc@redhat.com>
1009
394ce546 1010 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of
5a6c6817 1011 note section.
394ce546 1012 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change
5a6c6817
NC
1013 name of note section.
1014
a6e02871
AO
10152003-03-31 Alexandre Oliva <aoliva@redhat.com>
1016
1017 * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
1018 --section-start.
1019
5ed6aba4
NC
10202003-03-31 David Heine <dlheine@suif.stanford.edu>
1021
1022 * ldfile.c (ldfile_add_library_path): Always allocate space for
1023 the filename.
1024 * ldlang.c (lang_register_vers_node): Free the node if it cannot
1025 be used.
1026 * ldmain.c (set_scripts_dir): Always free the constructed
1027 directory name.
1028 (add_keepsyms_file): Fix memory leak.
1029 * ldmisc.c (vfinfo): Likewise.
877d60f7 1030 * lexsup.c (parse_args): Likewise.
5ed6aba4 1031
e16bb312
NC
10322003-03-25 Stan Cox <scox@redhat.com>
1033 Nick Clifton <nickc@redhat.com>
877d60f7 1034
6bc8652b 1035 Contribute support for Intel's iWMMXt chip - an ARM variant:
e16bb312
NC
1036
1037 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define.
1038 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define.
1039 * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment.
1040 (.bss): Likewise.
1041
3fe38064
NC
10422003-03-25 Alexandre Oliva <aoliva@redhat.com>
1043
1044 * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare.
1045 * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define.
1046 (main): Initialize them.
1047 * ldfile.c: Include pathnames.h.
1048 (is_sysrooted_pathname): New.
1049 (ldfile_add_library_path): Use it.
1050 (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't
1051 search_dirs if given an absolute pathname.
1052 (ldfile_open_file): Issue error message for sysrooted
1053 absolute pathnames.
1054 * Makefile.am: Updated dependencies.
1055 * Makefile.in: Rebuild.
1056