* amd64-nat.h: New file.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
71df864f
AM
12003-08-29 Jafa <jafa@silicondust.com>
2
3 * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define.
4
3673a93e
NC
52003-08-21 Nick Clifton <nickc@redhat.com>
6
7 * po/tr.po: Updated Turkish translation.
8
560e09e9
NC
92003-08-20 Nick Clifton <nickc@redhat.com>
10
11 * ldmain.c: Initialise the new fields in bfd_link_info to
12 NOT_YET_SET.
13 * lexsup.c (enum option_values): New enum. Use this to
14 replace the handed coded values for the long switch options.
15 (ld_options): Add 'unresolved-symbols',
16 'warn-unresolved-symbols' and 'error-unresolved-symbols'.
17 (parse_args): Handle the new switches. Set the values of
18 unresolved_symbols_in_objects and
19 unresolved_symbols_in_shared_libs appropriately. If they were
20 not initialised by the command line, install default values.
21 * emultempl/elf32.em (handle_option): Update OPTION_GROUP and
22 -z defs to use the new fields in bfd_link_info.
23 * ld.texinfo: Document the new switches.
24 * NEWS: Mention this feature.
25
aafdb207
NC
262003-08-15 Dmitry Diky <diwil@mail.ru>
27
28 * Makefile.am (GENSCRIPTS_EXTRA): New script definition which
29 calls genscripts_extra.sh.
30 Rearrange all msp430 depends using this script.
31 * Makefile.in: Regenerate.
32 * genscripts_extra.sh: New file: Similar to genscripts.sh, except
33 that the script to be run to generate the emulations can be passed
34 as an optional parameter instead of being computed from the
35 emulation name.
36 * emulparams/msp430all.sh: New file: Combine all msp430 subdevice
37 definitions into one file.
38 * emulparams/msp430x*.sh: Removed.
39
cd6d6c15
NC
402003-08-15 Nick Clifton <nickc@redhat.com>
41
42 * ld.texinfo (Options): Put keywords for the -z option into a
43 table. Add more text describing what the -z now option does.
44
68cdbb4a
AM
452003-08-14 Alan Modra <amodra@bigpond.net.au>
46
47 * dep-in.sed: Remove libintl.h.
48 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
49 * Makefile.in: Regenerate.
50
f22f5fcd
AM
512003-08-13 Alan Modra <amodra@bigpond.net.au>
52
53 * genscripts.sh (libpath.exp): Only generate for first emulation.
54 (LIB_PATH): Correct order of paths. Don't add $tool_lib when
55 already present or when LIB_PATH is set to ":".
56
0b28295d
ILT
572003-08-12 Ian Lance Taylor <ian@airs.com>
58
59 * ldmain.c (undefined_symbol): Change parameter name from `fatal'
60 to `error'. If only a warning, put warning in the reported
61 string. Consistently set failure flag when not a warning.
62
3b260895
NC
632003-08-08 Dmitry Diky <diwil@mail.ru>
64
65 * Makefile.am: Add xW42 and xE42 parts. Sort MPU list according to
66 gcc order.
67 * Makefile.in: Regenerate.
68 * configure.tgt: Add extra emulations.
69 * emulparams/msp430xE423.sh: New file.
70 * emulparams/msp430xE427.sh: New file.
71 * emulparams/msp430xW425.sh: New file.
72 * emulparams/msp430xE425.sh: New file.
73 * emulparams/msp430xW423.sh: New file.
74 * emulparams/msp430xW427.sh: New file.
75
1fa1d2cd
DS
762003-08-07 Danny Smith <dannysmith@users.sourceforge.net>
77
78 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
79 Change second (cmdline) arg to lang_add_entry to FALSE.
80 (set_pe_subsystem): Change second arg to lang_add_entry to TRUE.
81
9d7e2ba5
JE
822003-08-05 Christian Groessler <chris@groessler.org>
83 Jason Eckhardt <jle@rice.edu>
84
85 * configure.tgt: Recognize new target i860-*-coff.
86 * Makefile.am (ALL_EMULATIONS): Add ecoff_i860.o.
87 (ecoff_i860.c): New rule.
88 * emulparams/coff_i860.sh: New file.
89 * scripttempl/i860coff.sc: New file.
90 * Makefile.in: Regenerate.
91
8c675694
NC
922003-08-04 Nick Clifton <nickc@redhat.com>
93
94 * emultempl/elf32.em (before_allocation): Prepend "warning: "
95 to messages produced for .gnu.warning.SYMBOL sections.
96
2a36a117
AM
972003-08-04 Alan Modra <amodra@bigpond.net.au>
98
99 * emultempl/elf32.em (output_rel_find): Add "isdyn" param. Put
100 .rel.dyn before other reloc sections. Don't stop looking for reloc
101 sections on finding one that isn't allocated. Match .rel even when
102 placing .rela and vice versa, when setting last_rel and
103 last_rel_alloc for the first time. If no reloc sections in script,
104 prefer allocated section over non-alloc.
105 (gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn.
106
8a1cb159
KK
1072003-07-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
108
109 * emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack
110 section for shared library.
111 * emulparams/shelf32.sh (OTHER_SECTIONS): Likewise.
112 * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
113
83a27a96
SC
1142003-07-29 Stephane Carrez <stcarrez@nerim.fr>
115
116 * scripttempl/elfm68hc12.sc: Add gcc_except_table.
117 * scripttempl/elfm68hc11.sc: Likewise.
118
c86b6a7b
AM
1192003-07-28 Alan Modra <amodra@bigpond.net.au>
120
f37f3db7
AM
121 * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching.
122
c86b6a7b
AM
123 * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r.
124
7e7d5768
AM
1252003-07-27 Alan Modra <amodra@bigpond.net.au>
126
127 * ld.texinfo: Typo fixes. Document SUBALIGN.
128 * ldgram.y (opt_subalign): Add.
129 * ldlex.l (SUBALIGN): Recognize.
130 * ldlang.c (overlay_subalign): New var.
131 (lang_enter_overlay): Add subalign param.
132 (lang_enter_overlay_section): Pass overlay_subalign to
133 lang_enter_output_section_statement.
134 * ldlang.h (lang_enter_overlay): Update.
135
834d807b
NC
1362003-07-24 Nick Clifton <nickc@redhat.com>
137
138 * po/fr.po: Updated French translation.
139
494fee87
SC
1402003-07-23 Stephane Carrez <stcarrez@nerim.fr>
141
142 * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into
143 account .tramp sections;
144 * scripttempl/elfm68hc12.sc: Likewise.
145
602d6c6f
NC
1462003-07-17 Charles Wilson <cwilson@ece.gatech.edu>
147
148 * ld/pe-dll.c: Add libcygwin to autofilter_liblist[]
149
6c37ac4d
NC
1502003-07-17 Nick Clifton <nickc@redhat.com>
151
152 * po/es.po: New Spanish translation.
153
fce00800
AM
1542003-07-11 Alan Modra <amodra@bigpond.net.au>
155
156 * po/ld.pot: Regenerate.
157
e901de89
BW
1582003-07-10 Bob Wilson <bob.wilson@acm.org>
159
160 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit
161 with new .got.loc section.
162 (OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for
163 non-relocating links.
164 (OTHER_SECTIONS): Add .xt.lit here. Change it to keep linkonce
165 sections separate for non-relocating links; likewise for .xt.insn.
166
4a096548
AO
1672003-07-10 Alexandre Oliva <aoliva@redhat.com>
168
169 2001-08-22 Alexandre Oliva <aoliva@redhat.com>
170 * emulparams/elf32am33lin.sh: Adjust to match kernel parameters.
171 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
172 * configure.host (am33_2.0-*-linux*): Added.
173 * configure.tgt (am33_2.0-*-linux*): Likewise.
174 * emulparams/elf32am33lin.sh: New.
175 * Makefile.am (eelf32am33lin.c): New rule.
176 * Makefile.in: Rebuilt.
177
892bb326
AO
1782003-07-09 Alexandre Oliva <aoliva@redhat.com>
179
180 2001-04-17 Alexandre Oliva <aoliva@redhat.com>
181 * emulparams/mn10300.sh (TEMPLATE_NAME): Define.
182 (GENERATE_SHLIB_SCRIPT): Likewise.
183
68f8ff14
AM
1842003-07-10 Alan Modra <amodra@bigpond.net.au>
185
186 * emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define.
187 (GOT): Define.
188 * emultempl/ppc64elf.em (stub_added): New static var.
189 (ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd.
190 (ppc_add_stub_section): Set stub_added.
191 (gld${EMULATION_NAME}_finish): Look for .got rather than .toc. Adjust
192 ppc64_elf_size_stubs call and test for stubs.
193 * scripttempl/elf.sc (GOT): Define and use.
194
fb319d8d
JR
1952003-07-08 J"orn Rennecke <joern.rennecke@superh.com>
196
197 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
198 Allow second call from ldemul_finish.
199
3a51fda6
JR
2002003-07-04 J"orn Rennecke <joern.rennecke@superh.com>
201
202 * emulparams/shelf32.sh (STACK_ADDR): Don't define.
203 (OTHER_SECTIONS): Include .stack.
204 * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
205
9203ba99
JJ
2062003-07-02 Jakub Jelinek <jakub@redhat.com>
207
208 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include
209 .opd if -pie.
210 (OTHER_READWRITE_SECTIONS): Include .opd if -pie.
211 * scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR
212 if -pie.
213
1579bae1
AM
2142003-06-28 Alan Modra <amodra@bigpond.net.au>
215
216 * ld.h: Convert to C90, remove unnecessary prototypes and casts.
217 Replace PTR with void *. Formatting.
218 * ldcref.c: Likewise.
219 * ldctor.c: Likewise.
220 * ldctor.h: Likewise.
221 * ldemul.h: Likewise.
222 * ldexp.c: Likewise.
223 * ldexp.h: Likewise.
224 * ldfile.c: Likewise.
225 * ldfile.h: Likewise.
226 * ldlang.c: Likewise.
227 * ldlang.h: Likewise.
228 * ldlex.h: Likewise.
229 * ldlex.l: Likewise.
230 * ldmain.c: Likewise.
231 * ldmain.h: Likewise.
232 * ldmisc.c: Likewise.
233 * ldmisc.h: Likewise.
234 * ldver.h: Likewise.
235 * ldwrite.c: Likewise.
236 * ldwrite.h: Likewise.
237 * lexsup.c: Likewise.
238 * mri.c: Likewise.
239 * mri.h: Likewise.
240 * pe-dll.c: Likewise.
241 * pe-dll.h: Likewise.
242 * deffilep.y: Likewise.
243 * deffile.h: Likewise. Don't include ansidecl.h.
244 * emulparams/elf32mcore.sh: Remove unnecessary cast.
245 * emultempl/m68kcoff.em: Likewise.
246 * emultempl/m68kelf.em: Likewise.
247 * emultempl/ticoff.em: Remove lang_add_output_format declaration.
248 * sysdep.h: Don't include ansidecl.h.
249 * Makefile.am: Run "make dep-am".
250 * Makefile.in: Regenerate.
251
dc17f155
NC
2522003-06-27 Nick Clifton <nickc@redhat.com>
253
254 * deffilep.y (def_file_add_directive): Cope with NUL seperated
255 directives. Fix reporting of unparseable directives.
256 (def_error): Check for a NULL def_filename.
257
0c7a8e5a
AM
2582003-06-27 Alan Modra <amodra@bigpond.net.au>
259
260 * emultempl/aix.em: Convert to C90, remove unnecessary prototypes
261 and casts. Replace PTR with void *. Formatting.
1579bae1
AM
262 * emultempl/alphaelf.em: Likewise.
263 * emultempl/armcoff.em: Likewise.
264 * emultempl/armelf.em: Likewise.
265 * emultempl/armelf_oabi.em: Likewise.
266 * emultempl/beos.em: Likewise.
267 * emultempl/elf32.em: Likewise.
268 * emultempl/generic.em: Likewise.
269 * emultempl/gld960.em: Likewise.
270 * emultempl/gld960c.em: Likewise.
271 * emultempl/hppaelf.em: Likewise.
272 * emultempl/linux.em: Likewise.
273 * emultempl/lnk960.em: Likewise.
274 * emultempl/m68hc1xelf.em: Likewise.
275 * emultempl/m68kcoff.em: Likewise.
276 * emultempl/m68kelf.em: Likewise.
277 * emultempl/mipsecoff.em: Likewise.
278 * emultempl/mipself.em: Likewise.
279 * emultempl/mmix-elfnmmo.em: Likewise.
280 * emultempl/mmixelf.em: Likewise.
281 * emultempl/mmo.em: Likewise.
282 * emultempl/needrelax.em: Likewise.
283 * emultempl/netbsd.em: Likewise.
284 * emultempl/pe.em: Likewise.
285 * emultempl/sh64elf.em: Likewise.
286 * emultempl/sunos.em: Likewise.
287 * emultempl/ticoff.em: Likewise.
288 * emultempl/vanilla.em: Likewise.
289 * emultempl/xtensaelf.em: Likewise.
0c7a8e5a
AM
290 * Makefile.am: Correct dependencies.
291 * Makefile.in: Regenerate.
292
1049f94e
AM
2932003-06-25 Alan Modra <amodra@bigpond.net.au>
294
295 * ld.texinfo: Correct spelling of "relocatable".
1579bae1
AM
296 * ldctor.c: Likewise.
297 * ldexp.c: Likewise.
298 * ldfile.c: Likewise.
299 * ldint.texinfo: Likewise.
300 * ldlang.c: Likewise.
301 * ldmain.c: Likewise.
302 * ldwrite.c: Likewise.
303 * lexsup.c: Likewise.
304 * emultempl/aix.em: Likewise.
305 * emultempl/alphaelf.em: Likewise.
306 * emultempl/armcoff.em: Likewise.
307 * emultempl/armelf_oabi.em: Likewise.
308 * emultempl/beos.em: Likewise.
309 * emultempl/elf32.em: Likewise.
310 * emultempl/generic.em: Likewise.
311 * emultempl/gld960.em: Likewise.
312 * emultempl/gld960c.em: Likewise.
313 * emultempl/hppaelf.em: Likewise.
314 * emultempl/linux.em: Likewise.
315 * emultempl/lnk960.em: Likewise.
316 * emultempl/m68hc1xelf.em: Likewise.
317 * emultempl/m68kcoff.em: Likewise.
318 * emultempl/m68kelf.em: Likewise.
319 * emultempl/mipsecoff.em: Likewise.
320 * emultempl/mipself.em: Likewise.
321 * emultempl/mmix-elfnmmo.em: Likewise.
322 * emultempl/mmo.em: Likewise.
323 * emultempl/needrelax.em: Likewise.
324 * emultempl/pe.em: Likewise.
325 * emultempl/ppc64elf.em: Likewise.
326 * emultempl/sh64elf.em: Likewise.
327 * emultempl/sunos.em: Likewise.
328 * emultempl/ticoff.em: Likewise.
329 * emultempl/xtensaelf.em: Likewise.
1049f94e 330
7e5d8d48
AM
3312003-06-24 Alan Modra <amodra@bigpond.net.au>
332
333 * emultempl/ppc32elf.em: Convert to C90.
334
7d8a3a28
AM
3352003-06-20 Alan Modra <amodra@bigpond.net.au>
336
337 * emultempl/ppc64elf.em: Convert to C90 function definitions, remove
338 unnecessary prototypes and casts.
339
bda6c678
AM
3402003-06-19 Alan Modra <amodra@bigpond.net.au>
341
342 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out
343 statistics from ppc64_elf_build_stubs.
344
6bc8652b
AM
3452003-06-19 Alan Modra <amodra@bigpond.net.au>
346
347 * emultempl/ppc64elf.em (build_section_lists): Check return status
348 from ppc64_elf_next_input_section.
349
f97b9cb8
L
3502003-06-17 H.J. Lu <hongjiu.lu@intel.com>
351
352 * ldlang.c (section_already_linked): Put back assignment of
353 kept_section.
354
fea39bcb
NC
3552003-06-17 Rainer Keuchel <rkeuchel@allgeier.com>
356
357 * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D
6bc8652b 358 reloc.
fea39bcb 359
40bdaaa8
NC
3602003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com>
361
362 * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1
363 if not produced by gcc.
364
b826ae22
HPN
3652003-06-16 Hans-Peter Nilsson <hp@axis.com>
366
367 * configure.tgt: Add specific case for cris-*-linux-gnu*
368 with crislinux emulation only.
369
a06a29f2
NC
3702003-06-13 Robert Millan <zeratul2@wanadoo.es>
371
372 * configure.tgt: Add i386-netbsd-gnu target.
373
728fa2f6
RS
3742003-06-12 Richard Sandiford <rsandifo@redhat.com>
375
376 * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations
377 to $targ_extra_libpath.
378
3b443373
L
3792003-06-11 H.J. Lu <hongjiu.lu@intel.com>
380
381 * po/Make-in (DESTDIR): New.
382 (install-data-yes): Support $(DESTDIR).
383 (uninstall): Likewise.
384
cfa1ac0c
DE
3852003-06-10 Doug Evans <dje@sebabeach.org>
386
387 * Makefile.am (ALL_EMULATIONS): Add em32relf.o.
388 * Makefile.in: Regenerate.
389
f4984206
RS
3902003-06-10 Richard Sandiford <rsandifo@redhat.com>
391
392 * configure.tgt (h8300*): Add h8300sxn emulations.
393 * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o.
394 (eh8300sxn.c, eh8300sxnelf.c): New rules.
395 * Makefile.in: Regenerate.
396 * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.
d1b2d571 397 * scripttempl/h8300sxn.sc: New file.
f4984206 398
285272bd
AM
3992003-06-10 Alan Modra <amodra@bigpond.net.au>
400
401 * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS,
402 CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define.
403
0b9a4d73
AM
4042003-06-08 Alan Modra <amodra@bigpond.net.au>
405
406 * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars.
407 (build_toc_list): New function.
408 (gld${EMULATION_NAME}_finish): Call build_toc_list and
409 ppc64_elf_reinit_toc. Adjust ppc64_elf_build_stubs call.
410 (OPTION_STUBSYMS): Define.
411 (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
412 (PARSE_AND_LIST_OPTIONS): Document.
413 (PARSE_AND_LIST_ARGS_CASES): Handle.
414
c16d554d
RM
4152003-06-05 Roland McGrath <roland@redhat.com>
416
417 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove
418 extra \t in -z noexecstack line.
419
9ee5e499
JJ
4202003-05-23 Jakub Jelinek <jakub@redhat.com>
421
422 * ldgram.y (phdr_type): Grok PT_GNU_STACK.
423 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
424 -z execstack and -z noexecstack.
425 (gld${EMULATION_NAME}_list_options): Likewise.
426 * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
427
65982ba6 4282003-06-03 Michael Snyder <msnyder@redhat.com>
6bc8652b 429 and Bernd Schmidt <bernds@redhat.com>
65982ba6 430 and Alexandre Oliva <aoliva@redhat.com>
9ee5e499 431
65982ba6
MS
432 * Makefile.am: Add new emulations for h8300sx.
433 * Makefile.in: Regenerate.
434 * configure.tgt: Add new emulations.
435 * emulparams/h8300sx.sh: New emulation.
436 * emulparams/h8300sxelf.sh: Ditto.
437 * scripttempl/h8300sx.sc: Ditto.
438
6f6f27f8
L
4392003-06-03 H.J. Lu <hongjiu.lu@intel.com>
440
441 * ldmisc.c: Include "bfdlink.h".
442 (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION
443 and -LD_DEFINITION_IN_DISCARDED_SECTION.
444
445 * Makefile.am: Rebuild dependency.
446 * Makefile.in: Regenerated.
447
308f753f
KK
4482003-06-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
449
450 * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
451 * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize.
452
03a1c9a7
NC
4532003-06-02 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
454
455 * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is
456 sorted alphabetically, instead of exported_symbols, which is
457 sorted by ordinal.
458
36af4a4e
JJ
4592003-05-30 Ulrich Drepper <drepper@redhat.com>
460 Jakub Jelinek <jakub@redhat.com>
461
462 * lexsup.c (OPTION_PIE): Define.
463 (ld_options): Add -pie and --pic-executable options.
464 (parse_args): Handle OPTION_PIE.
465 * ldmain.c (main): Initialize link_info.pie and
466 link_info.executable.
467 * genscripts.sh: Generate PIE scripts.
468 * ld.texinfo: Document -pie and --pic-executable options.
469 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
470 (gld${EMULATION_NAME}_place_orphan): Likewise.
471 (gld${EMULATION_NAME}_get_script): Include PIE scripts.
472 * scripttempl/elf.sc: In PIE scripts set . the same way as in
473 shared scripts.
474 * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes.
475 * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise.
476 * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
477 * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
478 * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise.
479 * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
480 * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
481 * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
482 * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise.
483 * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
484 * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.
485
cdaeef2e
L
4862003-05-30 H.J. Lu <hongjiu.lu@intel.com>
487
488 * genscripts.sh: Create tmpdir/libpath.exp.
489
06aa7234
NC
4902003-05-30 Nick Clifton <nickc@redhat.com>
491
492 * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT
493 with a test for a NULL bfd_for_interworking.
494
561c27b2
JT
4952003-05-29 Jason Thorpe <thorpej@wasabisystems.com>
496
497 * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS
498 correctly for more recent versions of NetBSD.
499 (alpha*-*-netbsd*): Remove.
500 (i[3-7]86-*-netbsd*): Remove.
501
29e1a6e4
NC
5022003-05-29 Nick Clifton <nickc@redhat.com>
503
504 * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>.
505
90be1c5c
MR
5062003-05-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
507
508 * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to
509 trap on pointer crops.
510
cea3d58d
NC
5112003-05-21 Marcus Comstedt <marcus@mc.pp.se>
512
513 * configure.tgt: Check for a target triplet of shl-...-netbsdelf
514 as well as shle-...-netbsdelf.
515
80c7c40a
NC
5162003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
517
518 * configure.host: Accept i[3-7]86 variants.
519 * configure.tgt: Likewise.
520
a6c0916f
L
5212003-05-15 H.J. Lu <hongjiu.lu@intel.com>
522
523 * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
524
d2012d17
DJ
5252003-05-09 Daniel Jacobowitz <drow@mvista.com>
526
527 * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o.
528 (earmelfb.c, earmelfb_linux.c): New rules.
529 * Makefile.in: Regenerated.
530 * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files.
df9a14a1 531 * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu.
d2012d17 532
3cd9fdd5 5332003-05-09 Nick Clifton <nickc@redhat.com>
c16d554d 534
66184979
NC
535 * ldlang.c (lang_size_sections_1): Default to generating a
536 fatal error message if a loadable section is not allocated
537 to a memory region when regions are defined.
538
efdffbe2
AM
5392003-05-09 Alan Modra <amodra@bigpond.net.au>
540
541 * Makefile.am (em68hc11elf.c): Correct dependencies.
542 (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise.
543 * Makefile.in: Regenerate.
544 * emultempl/elf32.em (find_exp_assignment): Adjust for changed
545 bfd_elf_record_link_assignment name.
546
8aae64e6
AO
5472003-05-07 Alexandre Oliva <aoliva@redhat.com>
548
549 * ldmain.h (overflow_cutoff_limit): Declare.
550 * ldmain.c (overflow_cutoff_limit): Define, initialized to 10.
551 (reloc_overflow): Limit error messages based on it.
552 * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to
553 unlimited.
554
5c7966bf
AM
5552003-05-05 Alan Modra <amodra@bigpond.net.au>
556
557 * ldlex.l: Accept C style comments in version scripts.
558
c7996ad6
L
5592003-04-28 H.J. Lu <hjl@gnu.org>
560
561 * ldlang.c (lang_process): Add the relax finalize pass.
562
563 * ldmain.c (main): Initialize link_info.relax_finalizing to
564 FALSE.
565
d145330d
RM
5662003-04-24 Roland McGrath <roland@redhat.com>
567
568 * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names.
569 If a name string is unknown, give an error rather than crashing later.
570
5712003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
572
573 * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o,
8d9cd6b1
NC
574 eh8300hnelf.o, eh8300snelf.o and respective rules.
575 * Makefile.in: Regenerate.
576 * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf
577 * emulparams/h8300hn.sh: New
578 * emulparams/h8300sn.sh: New
d145330d 579 * emulparams/h8300hnelf.sh: New
8d9cd6b1
NC
580 * emulparams/h8300snelf.sh: New
581 * scripttempl/h8300hn.sc: new
582 * scripttempl/h8300sn.sc: new
583
0f0569c4
L
5842003-04-23 H.J. Lu <hjl@gnu.org>
585
586 * ldmain.c (link_callbacks): Initialize error_handler.
587
588 * ldmisc.c (error_handler): New function.
589
590 * ldmisc.h (error_handler): New prototype.
591
e2cebd4b
SC
5922003-04-21 Stephane Carrez <stcarrez@nerim.fr>
593
594 * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
595 * emulparams/m68hc11elfb.sh: Likewise.
596 * emulparams/m68hc12elf.sh: Likewise.
597 * emulparams/m68hc12elfb.sh: Likewise.
598
67bb9940
SC
5992003-04-19 Stephane Carrez <stcarrez@nerim.fr>
600
601 * emultempl/m68hc1xelf.em: New file to generate far trampolines on
602 68HC11 and 68HC12.
603 (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to
604 generate.
605 (LDEMUL_FINISH): Override to generate the trampolines after gc and
606 linker relaxation.
607 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the
608 stub file for trampolines.
609 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options
610 --no-trampoline and --bank-window to control the memory bank window.
611
97b51f20
L
6122003-04-18 H.J. Lu <hjl@gnu.org>
613
614 * ldfile.c (ldfile_add_library_path): Remove the unused
615 variable.
616
517ed485
NC
6172003-04-18 Andrew Haley <aph@cambridge.redhat.com>
618
619 * scripttempl/xstormy16.sc (__data, __rdata): New.
620
39f1ebed
NC
6212003-04-16 Nick Clifton <nickc@redhat.com>
622
623 * scripttempl/xstormy16.sc: Add .jcr section mapping.
624
731e28d8
L
6252003-04-15 H.J. Lu <hjl@gnu.org>
626
627 From Debian by Jack Howarth <howarth@nitro.med.uc.edu>:
628
629 * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
630
c2dcd04e
NC
6312003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
632
633 * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'.
634 * ld.texinfo: Likewise.
635
877d60f7
AM
6362003-04-14 Alan Modra <amodra@bigpond.net.au>
637
638 From Prashanth Tamraparni <prashanth_t@in.ibm.com>
639 * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
640 other variants of crtbegin.o, crtend.o.
641 (DTOR): Likewise.
642 * scripttempl/crisaout.sc (ctors, dtors): Likewise.
643 * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
644 * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
645 * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
646 * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
647 * scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
648 * scripttempl/mmo.sc (ctors, dtors): Likewise.
649 * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
650
d4b6ee67
NC
6512003-04-09 Dmitry Diky <diwil@mail.ru>
652
653 * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors
654 sections to respect C++ constructor/destructor. Add ctors/dtors
655 start/stop definitions.
656 * scripttempl/elf32msp430_3.sc: Likewise.
657
bb10df36
NC
6582003-04-06 Nick Clifton <nickc@redhat.com>
659
660 * ld.texinfo (Options): Add a reminder of the target specific
661 nature to the description of the i386 PE specific options, for
662 readers who have not read all the way through the manual.
663
be33c5dd
SS
6642003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
665
9f863369 666 * configure.tgt: Fixed bug in list of targ_extra_emuls.
be33c5dd
SS
667 * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace
668 cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/
669 * emulparams/tic3xcoff_onchip.sh: Ditto
670 * emulparams/tic4xcoff.sh: Ditto
671 * scripttempl/tic4xcoff.sc: Ditto
672
e8fd7476
NC
6732003-04-03 Nick Clifton <nickc@redhat.com>
674
675 * NEWS: Mention support for Xtensa architecture.
676
2b817be1
NC
6772003-04-02 Nick Clifton <nickc@redhat.com>
678
679 * pe-dll.c (pe_detail_list): arm-pe targets use underscores.
680
6812003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
682
683 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
684 Don't call pe_dll_build_section() if link_info.relocateable.
685 (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections()
686 if link_info.relocateable.
687
6882003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
689
690 * pe-dll.c (process_def_file): Don't create an export
691 section if there are no exports and we're building an exe
692 (pe_dll_build_sections): Ditto
693 (pe_dll_fill_sections): Conditionalize setting
694 abfd->dll true on info->shared
695 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
696 If i386pe or armpe, call pe_dll_build_section()
697 for both exe's and dll's, not just dll's.
698 (gld_${EMULATION_NAME}_finish): For all targets except
699 shpe and mipspe, call pe_dll_fill_sections() for both
700 exe's and dll's, not just dll's.
701
f6c8b716
BW
7022003-04-02 Bob Wilson <bob.wilson@acm.org>
703
704 * emulparams/xtensa-config.sh: Remove comment indicating that this is
705 a generated file.
706
e0001a05
NC
7072003-04-01 Bob Wilson <bob.wilson@acm.org>
708
877d60f7
AM
709 * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o.
710 (eelf32xtensa.c): New target.
711 * Makefile.in: Regenerate.
712 * configure.tgt: Handle xtensa-*-*.
713 * gen-doc.texi: Set XTENSA variable.
714 * ld.texinfo: Set XTENSA variable. Add new Xtensa node.
715 * emulparams/elf32xtensa.sh: New file.
716 * emulparams/xtensa-config.sh: Likewise.
717 * emultempl/xtensaelf.em: Likewise.
718 * scripttempl/elfxtensa.sc: Likewise.
e0001a05 719
276e5094
JJ
7202003-04-01 Jakub Jelinek <jakub@redhat.com>
721
722 * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
723 targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath
724 if --enable-64-bit-bfd.
725
5a6c6817
NC
7262003-04-01 Nick Clifton <nickc@redhat.com>
727
394ce546 728 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of
5a6c6817 729 note section.
394ce546 730 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change
5a6c6817
NC
731 name of note section.
732
a6e02871
AO
7332003-03-31 Alexandre Oliva <aoliva@redhat.com>
734
735 * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
736 --section-start.
737
5ed6aba4
NC
7382003-03-31 David Heine <dlheine@suif.stanford.edu>
739
740 * ldfile.c (ldfile_add_library_path): Always allocate space for
741 the filename.
742 * ldlang.c (lang_register_vers_node): Free the node if it cannot
743 be used.
744 * ldmain.c (set_scripts_dir): Always free the constructed
745 directory name.
746 (add_keepsyms_file): Fix memory leak.
747 * ldmisc.c (vfinfo): Likewise.
877d60f7 748 * lexsup.c (parse_args): Likewise.
5ed6aba4 749
e16bb312
NC
7502003-03-25 Stan Cox <scox@redhat.com>
751 Nick Clifton <nickc@redhat.com>
877d60f7 752
6bc8652b 753 Contribute support for Intel's iWMMXt chip - an ARM variant:
e16bb312
NC
754
755 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define.
756 * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define.
757 * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment.
758 (.bss): Likewise.
759
3fe38064
NC
7602003-03-25 Alexandre Oliva <aoliva@redhat.com>
761
762 * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare.
763 * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define.
764 (main): Initialize them.
765 * ldfile.c: Include pathnames.h.
766 (is_sysrooted_pathname): New.
767 (ldfile_add_library_path): Use it.
768 (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't
769 search_dirs if given an absolute pathname.
770 (ldfile_open_file): Issue error message for sysrooted
771 absolute pathnames.
772 * Makefile.am: Updated dependencies.
773 * Makefile.in: Rebuild.
774