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