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