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