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