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