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