* Makefile.am: Remove old (before GCC 3.3) emulations for AVR
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
75ca919a
MM
12003-10-19 Marek Michalkiewicz <marekm@amelek.gda.pl>
2
3 * Makefile.am: Remove old (before GCC 3.3) emulations for AVR
4 target: avr1200, avr23xx, avr4433, avr44x4, avr85xx, avrmega103,
5 avrmega161, avrmega603. Default to avr2.
6 * Makefile.in: Regenerate.
7 * configure.tgt: Likewise.
8 * emulparams/avr1200.sh: Remove.
9 * emulparams/avr23xx.sh: Remove.
10 * emulparams/avr4433.sh: Remove.
11 * emulparams/avr44x4.sh: Remove.
12 * emulparams/avr85xx.sh: Remove.
13 * emulparams/avrmega103.sh: Remove.
14 * emulparams/avrmega161.sh: Remove.
15 * emulparams/avrmega603.sh: Remove.
16 * scripttempl/elf32avr.sc: Remove.
17
655f76a2
AS
182003-10-19 Andreas Schwab <schwab@suse.de>
19
c2411cd2
AS
20 * emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): Add
21 newline to message.
22
655f76a2
AS
23 * deffilep.y: Remove commas from %token lines.
24
86d3c9a8
HPN
252003-10-18 Hans-Peter Nilsson <hp@bitrange.com>
26
06335781
HPN
27 * emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker
28 relaxation always; don't exclude relocatable linking. Adjust for
29 _bfd_mmix_prepare_linker_allocated_gregs renamed to
30 _bfd_mmix_before_linker_allocation.
31 (mmix_after_allocation): Adjust for
32 _bfd_mmix_finalize_linker_allocated_gregs renamed to
33 _bfd_mmix_after_linker_allocation.
34 * scripttempl/mmo.sc: Use ADDR (.text), not . - SIZEOF (.text).
35
86d3c9a8
HPN
36 * ldlang.c (lang_size_sections): Last, set _cooked_size for output
37 sections.
38
8fbdf3ab
AM
392003-10-16 Alan Modra <amodra@bigpond.net.au>
40
41 * Makefile.am (GENSCRIPTS_EXTRA, GEN_EXTRA_DEPENDS): Remove. Use
42 GENSCRIPTS and GEN_DEPENDS in place of these.
43 * Makefile.in: Regenerate.
44 * genscripts_extra.sh: Delete. Merge extra functionality to..
45 * genscripts.sh: ..here.
46
47 * emulparams/gld960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Define.
48 * emulparams/gld960coff.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
49 * emulparams/lnk960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
50 * emulparams/m88kbcs.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
51 * emulparams/vanilla.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
52
9c4f8b73
AM
532003-10-16 Alan Modra <amodra@bigpond.net.au>
54
55 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't
56 use $EMULATION_NAME to call bfd function.
57
661a32f7
DS
582003-10-14 Danny Smith <dannysmith@users.sourceforge.net>
59
60 * pe-dll.c (pe_implied_import_dll): Also scan .rdata sections
61 to identify data symbols.
62
786dbcc3
RS
632003-10-13 Richard Sandiford <rsandifo@redhat.com>
64
65 * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Move
66 definition from elf64btsmip.sh.
67 (TEXT_DYNAMIC): Likewise elf32btsmipn32.sh.
68 * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Remove.
69 * emulparams/elf64btsmip.sh (INITIAL_READONLY_SECTIONS): Remove.
70 * emulparams/elf64bmip.sh (SHLIB_TEXT_START_ADDR): Define.
71 (EXECUTABLE_SYMBOLS): Set __elf_header correctly for shared objects.
72 Define __program_header_table in terms of __elf_header.
73
3f7deb8a
L
742003-10-10 H.J. Lu <hongjiu.lu@intel.com>
75
76 * Makefile.am (eelf64_ia64.c): Also depend on
77 $(srcdir)/emultempl/ia64elf.em.
78 * Makefile.in: Regenerated.
79
80 * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Set to ia64elf.
81
82 * emultempl/ia64elf.em: New.
83
f19ae42f
KK
842003-10-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
85
86 * emulparams/shelf32_nbsd.sh (OTHER_SECTIONS): Redefine.
87
420e579c
HPN
882003-10-11 Hans-Peter Nilsson <hp@bitrange.com>
89
90 * ld.texinfo (Builtin Functions) <DEFINED>: Say that only symbols
91 defined before the statement using DEFINED yield 1.
92 * ldexp.c (fold_name) <case DEFINED>: In lang_first_phase_enum,
93 call lang_track_definedness on symbol. In subsequent phases, use
94 lang_symbol_definition_iteration and lang_statement_iteration to
95 check whether the symbol was defined before the current statement.
96 (exp_fold_tree) <case etree_assign et al>: Call
97 lang_update_definedness before updating symbol type when setting
98 symbol.
99 * ldlang.c (lang_definedness_table): New variable.
100 (lang_definedness_newfunc, lang_track_definedness)
101 (lang_symbol_definition_iteration, lang_update_definedness): New
102 functions.
103 (lang_init): Initialize lang_definedness_table and
104 lang_statement_iteration.
105 (lang_finish): Destroy bfd_hash_table_free.
106 (lang_size_sections): Increment lang_statement_iteration.
107 (lang_do_assignments_1): New function with former
108 lang_do_assignments contents. Change recursive calls to call this
109 function.
110 (lang_do_assignments): Evacuate contents. Increment
111 lang_statement_iteration, then just call lang_do_assignments_1.
112 * ldlang.h (struct lang_definedness_hash_entry)
113 (lang_statement_iteration, lang_track_definedness)
114 (lang_symbol_definition_iteration, lang_update_definedness):
115 Declare.
116
c6d3b05f
L
1172003-10-09 H.J. Lu <hongjiu.lu@intel.com>
118
119 * scripttempl/elf.sc (__executable_start): Provide.
120
2f857bd0
DJ
1212003-10-09 Daniel Jacobowitz <drow@mvista.com>
122
123 * emulparams/armelf.sh: Define NO_SMALL_DATA.
124 * emulparams/armelf_linux.sh, emulparams/armelf_oabi.sh,
125 emulparams/armnto.sh: Likewise.
126
a7f18fb3
AO
1272003-10-08 Alexandre Oliva <aoliva@redhat.com>
128
129 * ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell
130 whether to skip test for no memory region.
131
e62eb3ee
NC
1322003-10-08 Nick Clifton <nickc@redhat.com>
133
134 * lexsup.c (parse_args: OPTION_CALL_SHARED): Revise comment
135 describing defaults. Change default to report unresolved symbols
136 in object files as well.
137
6a33aff4
HPN
1382003-10-08 Hans-Peter Nilsson <hp@bitrange.com>
139
140 * ldexp.c (fold_name) <case DEFINED>: Set section of result to
141 abs_output_section.
142
398b8515
BW
1432003-10-07 Bob Wilson <bob.wilson@acm.org>
144
145 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS,
146 OTHER_READWRITE_SECTIONS, OTHER_SECTIONS): Set section addresses to
147 zero for relocatable links.
148
c0d48c0b
DA
1492003-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
150
151 * configure.host (HOSTING_LIBS): Define for hppa*-*-linux*.
152
29ca8dc5
NS
1532003-10-07 Nathan Sidwell <nathan@codesourcery.com>
154
155 * ldwrite.c (unsplittable_name): New.
156 (clone_section): Strip existing numeric suffix. Only truncate names
157 for coff targets.
158 (split_sections): Use unsplittable_name.
159
85477099
NC
1602003-10-06 Nick Clifton <nickc@redhat.com>
161
162 * lexsup.c (parse_args): Report unresolved symbols in shared
163 libraries when creating a dynamic executable. This is a
164 restoration of the default behaviour for previous versions of
165 the linker.
166
1672003-10-06 Matt Thomas <matt@3am-software.com>
85cf2a8a
NC
168
169 * emulparams/hppanbsd.sh: Remove OUTPUT_FORMAT.
170 * emulparams/hppaobsd.sh: Add OUTPUT_FORMAT="elf32-hppa".
171
4615568e
NC
1722003-10-06 Robert Millan <robertmh@gnu.org>
173
174 * configure.tgt: Match GNU/KNetBSD with new knetbsd*-gnu triplet.
175
4b7f0676
NC
1762003-10-02 Ivan Warren <ivan@vmfacility.fr>
177
178 * pe-dll.c (make_one): Correct sym def order & pick right sym for
179 .idata$7 reloc.
180
43c58ae6
CD
1812003-09-30 Chris Demetriou <cgd@broadcom.com>
182
183 * NEWS: Add an indication of the cutoff for 2.14.
184
5f74bc13
CD
1852003-09-30 Chris Demetriou <cgd@broadcom.com>
186
187 * ldmain.c (get_emulation): Ignore "-mips64r2".
188
13dfd2d0
NC
1892003-09-03 Robert Millan <robertmh@gnu.org>
190
191 * configure.host: Match GNU/KFreeBSD with new kfreebsd*-gnu
192 triplet.
193 * configure.tgt: Likewise.
194
71df864f
AM
1952003-08-29 Jafa <jafa@silicondust.com>
196
197 * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define.
198
3673a93e
NC
1992003-08-21 Nick Clifton <nickc@redhat.com>
200
201 * po/tr.po: Updated Turkish translation.
202
560e09e9
NC
2032003-08-20 Nick Clifton <nickc@redhat.com>
204
205 * ldmain.c: Initialise the new fields in bfd_link_info to
206 NOT_YET_SET.
207 * lexsup.c (enum option_values): New enum. Use this to
208 replace the handed coded values for the long switch options.
209 (ld_options): Add 'unresolved-symbols',
210 'warn-unresolved-symbols' and 'error-unresolved-symbols'.
211 (parse_args): Handle the new switches. Set the values of
212 unresolved_symbols_in_objects and
213 unresolved_symbols_in_shared_libs appropriately. If they were
214 not initialised by the command line, install default values.
215 * emultempl/elf32.em (handle_option): Update OPTION_GROUP and
216 -z defs to use the new fields in bfd_link_info.
217 * ld.texinfo: Document the new switches.
218 * NEWS: Mention this feature.
219
aafdb207
NC
2202003-08-15 Dmitry Diky <diwil@mail.ru>
221
222 * Makefile.am (GENSCRIPTS_EXTRA): New script definition which
223 calls genscripts_extra.sh.
224 Rearrange all msp430 depends using this script.
225 * Makefile.in: Regenerate.
226 * genscripts_extra.sh: New file: Similar to genscripts.sh, except
227 that the script to be run to generate the emulations can be passed
228 as an optional parameter instead of being computed from the
229 emulation name.
230 * emulparams/msp430all.sh: New file: Combine all msp430 subdevice
231 definitions into one file.
232 * emulparams/msp430x*.sh: Removed.
233
cd6d6c15
NC
2342003-08-15 Nick Clifton <nickc@redhat.com>
235
236 * ld.texinfo (Options): Put keywords for the -z option into a
237 table. Add more text describing what the -z now option does.
238
68cdbb4a
AM
2392003-08-14 Alan Modra <amodra@bigpond.net.au>
240
241 * dep-in.sed: Remove libintl.h.
242 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
243 * Makefile.in: Regenerate.
244
f22f5fcd
AM
2452003-08-13 Alan Modra <amodra@bigpond.net.au>
246
247 * genscripts.sh (libpath.exp): Only generate for first emulation.
248 (LIB_PATH): Correct order of paths. Don't add $tool_lib when
249 already present or when LIB_PATH is set to ":".
250
0b28295d
ILT
2512003-08-12 Ian Lance Taylor <ian@airs.com>
252
253 * ldmain.c (undefined_symbol): Change parameter name from `fatal'
254 to `error'. If only a warning, put warning in the reported
255 string. Consistently set failure flag when not a warning.
256
3b260895
NC
2572003-08-08 Dmitry Diky <diwil@mail.ru>
258
259 * Makefile.am: Add xW42 and xE42 parts. Sort MPU list according to
260 gcc order.
261 * Makefile.in: Regenerate.
262 * configure.tgt: Add extra emulations.
263 * emulparams/msp430xE423.sh: New file.
264 * emulparams/msp430xE427.sh: New file.
265 * emulparams/msp430xW425.sh: New file.
266 * emulparams/msp430xE425.sh: New file.
267 * emulparams/msp430xW423.sh: New file.
268 * emulparams/msp430xW427.sh: New file.
269
1fa1d2cd
DS
2702003-08-07 Danny Smith <dannysmith@users.sourceforge.net>
271
272 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
273 Change second (cmdline) arg to lang_add_entry to FALSE.
274 (set_pe_subsystem): Change second arg to lang_add_entry to TRUE.
275
9d7e2ba5
JE
2762003-08-05 Christian Groessler <chris@groessler.org>
277 Jason Eckhardt <jle@rice.edu>
278
279 * configure.tgt: Recognize new target i860-*-coff.
280 * Makefile.am (ALL_EMULATIONS): Add ecoff_i860.o.
281 (ecoff_i860.c): New rule.
282 * emulparams/coff_i860.sh: New file.
283 * scripttempl/i860coff.sc: New file.
284 * Makefile.in: Regenerate.
285
8c675694
NC
2862003-08-04 Nick Clifton <nickc@redhat.com>
287
288 * emultempl/elf32.em (before_allocation): Prepend "warning: "
289 to messages produced for .gnu.warning.SYMBOL sections.
290
2a36a117
AM
2912003-08-04 Alan Modra <amodra@bigpond.net.au>
292
293 * emultempl/elf32.em (output_rel_find): Add "isdyn" param. Put
294 .rel.dyn before other reloc sections. Don't stop looking for reloc
295 sections on finding one that isn't allocated. Match .rel even when
296 placing .rela and vice versa, when setting last_rel and
297 last_rel_alloc for the first time. If no reloc sections in script,
298 prefer allocated section over non-alloc.
299 (gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn.
300
8a1cb159
KK
3012003-07-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
302
303 * emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack
304 section for shared library.
305 * emulparams/shelf32.sh (OTHER_SECTIONS): Likewise.
306 * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
307
83a27a96
SC
3082003-07-29 Stephane Carrez <stcarrez@nerim.fr>
309
310 * scripttempl/elfm68hc12.sc: Add gcc_except_table.
311 * scripttempl/elfm68hc11.sc: Likewise.
312
c86b6a7b
AM
3132003-07-28 Alan Modra <amodra@bigpond.net.au>
314
f37f3db7
AM
315 * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching.
316
c86b6a7b
AM
317 * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r.
318
7e7d5768
AM
3192003-07-27 Alan Modra <amodra@bigpond.net.au>
320
321 * ld.texinfo: Typo fixes. Document SUBALIGN.
322 * ldgram.y (opt_subalign): Add.
323 * ldlex.l (SUBALIGN): Recognize.
324 * ldlang.c (overlay_subalign): New var.
325 (lang_enter_overlay): Add subalign param.
326 (lang_enter_overlay_section): Pass overlay_subalign to
327 lang_enter_output_section_statement.
328 * ldlang.h (lang_enter_overlay): Update.
329
834d807b
NC
3302003-07-24 Nick Clifton <nickc@redhat.com>
331
332 * po/fr.po: Updated French translation.
333
494fee87
SC
3342003-07-23 Stephane Carrez <stcarrez@nerim.fr>
335
336 * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into
337 account .tramp sections;
338 * scripttempl/elfm68hc12.sc: Likewise.
339
602d6c6f
NC
3402003-07-17 Charles Wilson <cwilson@ece.gatech.edu>
341
342 * ld/pe-dll.c: Add libcygwin to autofilter_liblist[]
343
6c37ac4d
NC
3442003-07-17 Nick Clifton <nickc@redhat.com>
345
346 * po/es.po: New Spanish translation.
347
fce00800
AM
3482003-07-11 Alan Modra <amodra@bigpond.net.au>
349
350 * po/ld.pot: Regenerate.
351
e901de89
BW
3522003-07-10 Bob Wilson <bob.wilson@acm.org>
353
354 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit
355 with new .got.loc section.
356 (OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for
357 non-relocating links.
358 (OTHER_SECTIONS): Add .xt.lit here. Change it to keep linkonce
359 sections separate for non-relocating links; likewise for .xt.insn.
360
4a096548
AO
3612003-07-10 Alexandre Oliva <aoliva@redhat.com>
362
363 2001-08-22 Alexandre Oliva <aoliva@redhat.com>
364 * emulparams/elf32am33lin.sh: Adjust to match kernel parameters.
365 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
366 * configure.host (am33_2.0-*-linux*): Added.
367 * configure.tgt (am33_2.0-*-linux*): Likewise.
368 * emulparams/elf32am33lin.sh: New.
369 * Makefile.am (eelf32am33lin.c): New rule.
370 * Makefile.in: Rebuilt.
371
892bb326
AO
3722003-07-09 Alexandre Oliva <aoliva@redhat.com>
373
374 2001-04-17 Alexandre Oliva <aoliva@redhat.com>
375 * emulparams/mn10300.sh (TEMPLATE_NAME): Define.
376 (GENERATE_SHLIB_SCRIPT): Likewise.
377
68f8ff14
AM
3782003-07-10 Alan Modra <amodra@bigpond.net.au>
379
380 * emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define.
381 (GOT): Define.
382 * emultempl/ppc64elf.em (stub_added): New static var.
383 (ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd.
384 (ppc_add_stub_section): Set stub_added.
385 (gld${EMULATION_NAME}_finish): Look for .got rather than .toc. Adjust
386 ppc64_elf_size_stubs call and test for stubs.
387 * scripttempl/elf.sc (GOT): Define and use.
388
fb319d8d
JR
3892003-07-08 J"orn Rennecke <joern.rennecke@superh.com>
390
391 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
392 Allow second call from ldemul_finish.
393
3a51fda6
JR
3942003-07-04 J"orn Rennecke <joern.rennecke@superh.com>
395
396 * emulparams/shelf32.sh (STACK_ADDR): Don't define.
397 (OTHER_SECTIONS): Include .stack.
398 * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
399
9203ba99
JJ
4002003-07-02 Jakub Jelinek <jakub@redhat.com>
401
402 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include
403 .opd if -pie.
404 (OTHER_READWRITE_SECTIONS): Include .opd if -pie.
405 * scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR
406 if -pie.
407
1579bae1
AM
4082003-06-28 Alan Modra <amodra@bigpond.net.au>
409
410 * ld.h: Convert to C90, remove unnecessary prototypes and casts.
411 Replace PTR with void *. Formatting.
412 * ldcref.c: Likewise.
413 * ldctor.c: Likewise.
414 * ldctor.h: Likewise.
415 * ldemul.h: Likewise.
416 * ldexp.c: Likewise.
417 * ldexp.h: Likewise.
418 * ldfile.c: Likewise.
419 * ldfile.h: Likewise.
420 * ldlang.c: Likewise.
421 * ldlang.h: Likewise.
422 * ldlex.h: Likewise.
423 * ldlex.l: Likewise.
424 * ldmain.c: Likewise.
425 * ldmain.h: Likewise.
426 * ldmisc.c: Likewise.
427 * ldmisc.h: Likewise.
428 * ldver.h: Likewise.
429 * ldwrite.c: Likewise.
430 * ldwrite.h: Likewise.
431 * lexsup.c: Likewise.
432 * mri.c: Likewise.
433 * mri.h: Likewise.
434 * pe-dll.c: Likewise.
435 * pe-dll.h: Likewise.
436 * deffilep.y: Likewise.
437 * deffile.h: Likewise. Don't include ansidecl.h.
438 * emulparams/elf32mcore.sh: Remove unnecessary cast.
439 * emultempl/m68kcoff.em: Likewise.
440 * emultempl/m68kelf.em: Likewise.
441 * emultempl/ticoff.em: Remove lang_add_output_format declaration.
442 * sysdep.h: Don't include ansidecl.h.
443 * Makefile.am: Run "make dep-am".
444 * Makefile.in: Regenerate.
445
dc17f155
NC
4462003-06-27 Nick Clifton <nickc@redhat.com>
447
448 * deffilep.y (def_file_add_directive): Cope with NUL seperated
449 directives. Fix reporting of unparseable directives.
450 (def_error): Check for a NULL def_filename.
451
0c7a8e5a
AM
4522003-06-27 Alan Modra <amodra@bigpond.net.au>
453
454 * emultempl/aix.em: Convert to C90, remove unnecessary prototypes
455 and casts. Replace PTR with void *. Formatting.
1579bae1
AM
456 * emultempl/alphaelf.em: Likewise.
457 * emultempl/armcoff.em: Likewise.
458 * emultempl/armelf.em: Likewise.
459 * emultempl/armelf_oabi.em: Likewise.
460 * emultempl/beos.em: Likewise.
461 * emultempl/elf32.em: Likewise.
462 * emultempl/generic.em: Likewise.
463 * emultempl/gld960.em: Likewise.
464 * emultempl/gld960c.em: Likewise.
465 * emultempl/hppaelf.em: Likewise.
466 * emultempl/linux.em: Likewise.
467 * emultempl/lnk960.em: Likewise.
468 * emultempl/m68hc1xelf.em: Likewise.
469 * emultempl/m68kcoff.em: Likewise.
470 * emultempl/m68kelf.em: Likewise.
471 * emultempl/mipsecoff.em: Likewise.
472 * emultempl/mipself.em: Likewise.
473 * emultempl/mmix-elfnmmo.em: Likewise.
474 * emultempl/mmixelf.em: Likewise.
475 * emultempl/mmo.em: Likewise.
476 * emultempl/needrelax.em: Likewise.
477 * emultempl/netbsd.em: Likewise.
478 * emultempl/pe.em: Likewise.
479 * emultempl/sh64elf.em: Likewise.
480 * emultempl/sunos.em: Likewise.
481 * emultempl/ticoff.em: Likewise.
482 * emultempl/vanilla.em: Likewise.
483 * emultempl/xtensaelf.em: Likewise.
0c7a8e5a
AM
484 * Makefile.am: Correct dependencies.
485 * Makefile.in: Regenerate.
486
1049f94e
AM
4872003-06-25 Alan Modra <amodra@bigpond.net.au>
488
489 * ld.texinfo: Correct spelling of "relocatable".
1579bae1
AM
490 * ldctor.c: Likewise.
491 * ldexp.c: Likewise.
492 * ldfile.c: Likewise.
493 * ldint.texinfo: Likewise.
494 * ldlang.c: Likewise.
495 * ldmain.c: Likewise.
496 * ldwrite.c: Likewise.
497 * lexsup.c: Likewise.
498 * emultempl/aix.em: Likewise.
499 * emultempl/alphaelf.em: Likewise.
500 * emultempl/armcoff.em: Likewise.
501 * emultempl/armelf_oabi.em: Likewise.
502 * emultempl/beos.em: Likewise.
503 * emultempl/elf32.em: Likewise.
504 * emultempl/generic.em: Likewise.
505 * emultempl/gld960.em: Likewise.
506 * emultempl/gld960c.em: Likewise.
507 * emultempl/hppaelf.em: Likewise.
508 * emultempl/linux.em: Likewise.
509 * emultempl/lnk960.em: Likewise.
510 * emultempl/m68hc1xelf.em: Likewise.
511 * emultempl/m68kcoff.em: Likewise.
512 * emultempl/m68kelf.em: Likewise.
513 * emultempl/mipsecoff.em: Likewise.
514 * emultempl/mipself.em: Likewise.
515 * emultempl/mmix-elfnmmo.em: Likewise.
516 * emultempl/mmo.em: Likewise.
517 * emultempl/needrelax.em: Likewise.
518 * emultempl/pe.em: Likewise.
519 * emultempl/ppc64elf.em: Likewise.
520 * emultempl/sh64elf.em: Likewise.
521 * emultempl/sunos.em: Likewise.
522 * emultempl/ticoff.em: Likewise.
523 * emultempl/xtensaelf.em: Likewise.
1049f94e 524
7e5d8d48
AM
5252003-06-24 Alan Modra <amodra@bigpond.net.au>
526
527 * emultempl/ppc32elf.em: Convert to C90.
528
7d8a3a28
AM
5292003-06-20 Alan Modra <amodra@bigpond.net.au>
530
531 * emultempl/ppc64elf.em: Convert to C90 function definitions, remove
532 unnecessary prototypes and casts.
533
bda6c678
AM
5342003-06-19 Alan Modra <amodra@bigpond.net.au>
535
536 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out
537 statistics from ppc64_elf_build_stubs.
538
6bc8652b
AM
5392003-06-19 Alan Modra <amodra@bigpond.net.au>
540
541 * emultempl/ppc64elf.em (build_section_lists): Check return status
542 from ppc64_elf_next_input_section.
543
f97b9cb8
L
5442003-06-17 H.J. Lu <hongjiu.lu@intel.com>
545
546 * ldlang.c (section_already_linked): Put back assignment of
547 kept_section.
548
fea39bcb
NC
5492003-06-17 Rainer Keuchel <rkeuchel@allgeier.com>
550
551 * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D
6bc8652b 552 reloc.
fea39bcb 553
40bdaaa8
NC
5542003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com>
555
556 * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1
557 if not produced by gcc.
558
b826ae22
HPN
5592003-06-16 Hans-Peter Nilsson <hp@axis.com>
560
561 * configure.tgt: Add specific case for cris-*-linux-gnu*
562 with crislinux emulation only.
563
a06a29f2
NC
5642003-06-13 Robert Millan <zeratul2@wanadoo.es>
565
566 * configure.tgt: Add i386-netbsd-gnu target.
567
728fa2f6
RS
5682003-06-12 Richard Sandiford <rsandifo@redhat.com>
569
570 * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations
571 to $targ_extra_libpath.
572
3b443373
L
5732003-06-11 H.J. Lu <hongjiu.lu@intel.com>
574
575 * po/Make-in (DESTDIR): New.
576 (install-data-yes): Support $(DESTDIR).
577 (uninstall): Likewise.
578
cfa1ac0c
DE
5792003-06-10 Doug Evans <dje@sebabeach.org>
580
581 * Makefile.am (ALL_EMULATIONS): Add em32relf.o.
582 * Makefile.in: Regenerate.
583
f4984206
RS
5842003-06-10 Richard Sandiford <rsandifo@redhat.com>
585
586 * configure.tgt (h8300*): Add h8300sxn emulations.
587 * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o.
588 (eh8300sxn.c, eh8300sxnelf.c): New rules.
589 * Makefile.in: Regenerate.
590 * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.
d1b2d571 591 * scripttempl/h8300sxn.sc: New file.
f4984206 592
285272bd
AM
5932003-06-10 Alan Modra <amodra@bigpond.net.au>
594
595 * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS,
596 CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define.
597
0b9a4d73
AM
5982003-06-08 Alan Modra <amodra@bigpond.net.au>
599
600 * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars.
601 (build_toc_list): New function.
602 (gld${EMULATION_NAME}_finish): Call build_toc_list and
603 ppc64_elf_reinit_toc. Adjust ppc64_elf_build_stubs call.
604 (OPTION_STUBSYMS): Define.
605 (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
606 (PARSE_AND_LIST_OPTIONS): Document.
607 (PARSE_AND_LIST_ARGS_CASES): Handle.
608
c16d554d
RM
6092003-06-05 Roland McGrath <roland@redhat.com>
610
611 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove
612 extra \t in -z noexecstack line.
613
9ee5e499
JJ
6142003-05-23 Jakub Jelinek <jakub@redhat.com>
615
616 * ldgram.y (phdr_type): Grok PT_GNU_STACK.
617 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
618 -z execstack and -z noexecstack.
619 (gld${EMULATION_NAME}_list_options): Likewise.
620 * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
621
65982ba6 6222003-06-03 Michael Snyder <msnyder@redhat.com>
6bc8652b 623 and Bernd Schmidt <bernds@redhat.com>
65982ba6 624 and Alexandre Oliva <aoliva@redhat.com>
9ee5e499 625
65982ba6
MS
626 * Makefile.am: Add new emulations for h8300sx.
627 * Makefile.in: Regenerate.
628 * configure.tgt: Add new emulations.
629 * emulparams/h8300sx.sh: New emulation.
630 * emulparams/h8300sxelf.sh: Ditto.
631 * scripttempl/h8300sx.sc: Ditto.
632
6f6f27f8
L
6332003-06-03 H.J. Lu <hongjiu.lu@intel.com>
634
635 * ldmisc.c: Include "bfdlink.h".
636 (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION
637 and -LD_DEFINITION_IN_DISCARDED_SECTION.
638
639 * Makefile.am: Rebuild dependency.
640 * Makefile.in: Regenerated.
641
308f753f
KK
6422003-06-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
643
644 * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
645 * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize.
646
03a1c9a7
NC
6472003-06-02 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
648
649 * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is
650 sorted alphabetically, instead of exported_symbols, which is
651 sorted by ordinal.
652
36af4a4e
JJ
6532003-05-30 Ulrich Drepper <drepper@redhat.com>
654 Jakub Jelinek <jakub@redhat.com>
655
656 * lexsup.c (OPTION_PIE): Define.
657 (ld_options): Add -pie and --pic-executable options.
658 (parse_args): Handle OPTION_PIE.
659 * ldmain.c (main): Initialize link_info.pie and
660 link_info.executable.
661 * genscripts.sh: Generate PIE scripts.
662 * ld.texinfo: Document -pie and --pic-executable options.
663 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
664 (gld${EMULATION_NAME}_place_orphan): Likewise.
665 (gld${EMULATION_NAME}_get_script): Include PIE scripts.
666 * scripttempl/elf.sc: In PIE scripts set . the same way as in
667 shared scripts.
668 * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes.
669 * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise.
670 * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
671 * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
672 * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise.
673 * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
674 * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
675 * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
676 * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise.
677 * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
678 * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.
679
cdaeef2e
L
6802003-05-30 H.J. Lu <hongjiu.lu@intel.com>
681
682 * genscripts.sh: Create tmpdir/libpath.exp.
683
06aa7234
NC
6842003-05-30 Nick Clifton <nickc@redhat.com>
685
686 * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT
687 with a test for a NULL bfd_for_interworking.
688
561c27b2
JT
6892003-05-29 Jason Thorpe <thorpej@wasabisystems.com>
690
691 * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS
692 correctly for more recent versions of NetBSD.
693 (alpha*-*-netbsd*): Remove.
694 (i[3-7]86-*-netbsd*): Remove.
695
29e1a6e4
NC
6962003-05-29 Nick Clifton <nickc@redhat.com>
697
698 * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>.
699
90be1c5c
MR
7002003-05-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
701
702 * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to
703 trap on pointer crops.
704
cea3d58d
NC
7052003-05-21 Marcus Comstedt <marcus@mc.pp.se>
706
707 * configure.tgt: Check for a target triplet of shl-...-netbsdelf
708 as well as shle-...-netbsdelf.
709
80c7c40a
NC
7102003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
711
712 * configure.host: Accept i[3-7]86 variants.
713 * configure.tgt: Likewise.
714
a6c0916f
L
7152003-05-15 H.J. Lu <hongjiu.lu@intel.com>
716
717 * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
718
d2012d17
DJ
7192003-05-09 Daniel Jacobowitz <drow@mvista.com>
720
721 * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o.
722 (earmelfb.c, earmelfb_linux.c): New rules.
723 * Makefile.in: Regenerated.
724 * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files.
df9a14a1 725 * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu.
d2012d17 726
3cd9fdd5 7272003-05-09 Nick Clifton <nickc@redhat.com>
c16d554d 728
66184979
NC
729 * ldlang.c (lang_size_sections_1): Default to generating a
730 fatal error message if a loadable section is not allocated
731 to a memory region when regions are defined.
732
efdffbe2
AM
7332003-05-09 Alan Modra <amodra@bigpond.net.au>
734
735 * Makefile.am (em68hc11elf.c): Correct dependencies.
736 (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise.
737 * Makefile.in: Regenerate.
738 * emultempl/elf32.em (find_exp_assignment): Adjust for changed
739 bfd_elf_record_link_assignment name.
740
8aae64e6
AO
7412003-05-07 Alexandre Oliva <aoliva@redhat.com>
742
743 * ldmain.h (overflow_cutoff_limit): Declare.
744 * ldmain.c (overflow_cutoff_limit): Define, initialized to 10.
745 (reloc_overflow): Limit error messages based on it.
746 * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to
747 unlimited.
748
5c7966bf
AM
7492003-05-05 Alan Modra <amodra@bigpond.net.au>
750
751 * ldlex.l: Accept C style comments in version scripts.
752
c7996ad6
L
7532003-04-28 H.J. Lu <hjl@gnu.org>
754
755 * ldlang.c (lang_process): Add the relax finalize pass.
756
757 * ldmain.c (main): Initialize link_info.relax_finalizing to
758 FALSE.
759
d145330d
RM
7602003-04-24 Roland McGrath <roland@redhat.com>
761
762 * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names.
763 If a name string is unknown, give an error rather than crashing later.
764
7652003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
766
767 * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o,
8d9cd6b1
NC
768 eh8300hnelf.o, eh8300snelf.o and respective rules.
769 * Makefile.in: Regenerate.
770 * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf
771 * emulparams/h8300hn.sh: New
772 * emulparams/h8300sn.sh: New
d145330d 773 * emulparams/h8300hnelf.sh: New
8d9cd6b1
NC
774 * emulparams/h8300snelf.sh: New
775 * scripttempl/h8300hn.sc: new
776 * scripttempl/h8300sn.sc: new
777
0f0569c4
L
7782003-04-23 H.J. Lu <hjl@gnu.org>
779
780 * ldmain.c (link_callbacks): Initialize error_handler.
781
782 * ldmisc.c (error_handler): New function.
783
784 * ldmisc.h (error_handler): New prototype.
785
e2cebd4b
SC
7862003-04-21 Stephane Carrez <stcarrez@nerim.fr>
787
788 * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
789 * emulparams/m68hc11elfb.sh: Likewise.
790 * emulparams/m68hc12elf.sh: Likewise.
791 * emulparams/m68hc12elfb.sh: Likewise.
792
67bb9940
SC
7932003-04-19 Stephane Carrez <stcarrez@nerim.fr>
794
795 * emultempl/m68hc1xelf.em: New file to generate far trampolines on
796 68HC11 and 68HC12.
797 (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to
798 generate.
799 (LDEMUL_FINISH): Override to generate the trampolines after gc and
800 linker relaxation.
801 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the
802 stub file for trampolines.
803 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options
804 --no-trampoline and --bank-window to control the memory bank window.
805
97b51f20
L
8062003-04-18 H.J. Lu <hjl@gnu.org>
807
808 * ldfile.c (ldfile_add_library_path): Remove the unused
809 variable.
810
517ed485
NC
8112003-04-18 Andrew Haley <aph@cambridge.redhat.com>
812
813 * scripttempl/xstormy16.sc (__data, __rdata): New.
814
39f1ebed
NC
8152003-04-16 Nick Clifton <nickc@redhat.com>
816
817 * scripttempl/xstormy16.sc: Add .jcr section mapping.
818
731e28d8
L
8192003-04-15 H.J. Lu <hjl@gnu.org>
820
821 From Debian by Jack Howarth <howarth@nitro.med.uc.edu>:
822
823 * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
824
c2dcd04e
NC
8252003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
826
827 * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'.
828 * ld.texinfo: Likewise.
829
877d60f7
AM
8302003-04-14 Alan Modra <amodra@bigpond.net.au>
831
832 From Prashanth Tamraparni <prashanth_t@in.ibm.com>
833 * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
834 other variants of crtbegin.o, crtend.o.
835 (DTOR): Likewise.
836 * scripttempl/crisaout.sc (ctors, dtors): Likewise.
837 * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
838 * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
839 * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
840 * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
841 * scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
842 * scripttempl/mmo.sc (ctors, dtors): Likewise.
843 * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
844
d4b6ee67
NC
8452003-04-09 Dmitry Diky <diwil@mail.ru>
846
847 * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors
848 sections to respect C++ constructor/destructor. Add ctors/dtors
849 start/stop definitions.
850 * scripttempl/elf32msp430_3.sc: Likewise.
851
bb10df36
NC
8522003-04-06 Nick Clifton <nickc@redhat.com>
853
854 * ld.texinfo (Options): Add a reminder of the target specific
855 nature to the description of the i386 PE specific options, for
856 readers who have not read all the way through the manual.
857
be33c5dd
SS
8582003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
859
9f863369 860 * configure.tgt: Fixed bug in list of targ_extra_emuls.
be33c5dd
SS
861 * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace
862 cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/
863 * emulparams/tic3xcoff_onchip.sh: Ditto
864 * emulparams/tic4xcoff.sh: Ditto
865 * scripttempl/tic4xcoff.sc: Ditto
866
e8fd7476
NC
8672003-04-03 Nick Clifton <nickc@redhat.com>
868
869 * NEWS: Mention support for Xtensa architecture.
870
2b817be1
NC
8712003-04-02 Nick Clifton <nickc@redhat.com>
872
873 * pe-dll.c (pe_detail_list): arm-pe targets use underscores.
874
8752003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
876
877 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
878 Don't call pe_dll_build_section() if link_info.relocateable.
879 (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections()
880 if link_info.relocateable.
881
8822003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
883
884 * pe-dll.c (process_def_file): Don't create an export
885 section if there are no exports and we're building an exe
886 (pe_dll_build_sections): Ditto
887 (pe_dll_fill_sections): Conditionalize setting
888 abfd->dll true on info->shared
889 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
890 If i386pe or armpe, call pe_dll_build_section()
891 for both exe's and dll's, not just dll's.
892 (gld_${EMULATION_NAME}_finish): For all targets except
893 shpe and mipspe, call pe_dll_fill_sections() for both
894 exe's and dll's, not just dll's.
895
f6c8b716
BW
8962003-04-02 Bob Wilson <bob.wilson@acm.org>
897
898 * emulparams/xtensa-config.sh: Remove comment indicating that this is
899 a generated file.
900
e0001a05
NC
9012003-04-01 Bob Wilson <bob.wilson@acm.org>
902
877d60f7
AM
903 * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o.
904 (eelf32xtensa.c): New target.
905 * Makefile.in: Regenerate.
906 * configure.tgt: Handle xtensa-*-*.
907 * gen-doc.texi: Set XTENSA variable.
908 * ld.texinfo: Set XTENSA variable. Add new Xtensa node.
909 * emulparams/elf32xtensa.sh: New file.
910 * emulparams/xtensa-config.sh: Likewise.
911 * emultempl/xtensaelf.em: Likewise.
912 * scripttempl/elfxtensa.sc: Likewise.
e0001a05 913
276e5094
JJ
9142003-04-01 Jakub Jelinek <jakub@redhat.com>
915
916 * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
917 targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath
918 if --enable-64-bit-bfd.
919
5a6c6817
NC
9202003-04-01 Nick Clifton <nickc@redhat.com>
921
394ce546 922 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of
5a6c6817 923 note section.
394ce546 924 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change
5a6c6817
NC
925 name of note section.
926
a6e02871
AO
9272003-03-31 Alexandre Oliva <aoliva@redhat.com>
928
929 * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
930 --section-start.
931
5ed6aba4
NC
9322003-03-31 David Heine <dlheine@suif.stanford.edu>
933
934 * ldfile.c (ldfile_add_library_path): Always allocate space for
935 the filename.
936 * ldlang.c (lang_register_vers_node): Free the node if it cannot
937 be used.
938 * ldmain.c (set_scripts_dir): Always free the constructed
939 directory name.
940 (add_keepsyms_file): Fix memory leak.
941 * ldmisc.c (vfinfo): Likewise.
877d60f7 942 * lexsup.c (parse_args): Likewise.
5ed6aba4 943
e16bb312
NC
9442003-03-25 Stan Cox <scox@redhat.com>
945 Nick Clifton <nickc@redhat.com>
877d60f7 946
6bc8652b 947 Contribute support for Intel's iWMMXt chip - an ARM variant:
e16bb312
NC
948
949 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define.
950 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define.
951 * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment.
952 (.bss): Likewise.
953
3fe38064
NC
9542003-03-25 Alexandre Oliva <aoliva@redhat.com>
955
956 * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare.
957 * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define.
958 (main): Initialize them.
959 * ldfile.c: Include pathnames.h.
960 (is_sysrooted_pathname): New.
961 (ldfile_add_library_path): Use it.
962 (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't
963 search_dirs if given an absolute pathname.
964 (ldfile_open_file): Issue error message for sysrooted
965 absolute pathnames.
966 * Makefile.am: Updated dependencies.
967 * Makefile.in: Rebuild.
968