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