* ld.texinfo (--reduce-memory-overheads): Fix typo.
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2005-10-25 Chris Metcalf <cdmetcalf@comcast.net>
2
3 * ld.texinfo (--reduce-memory-overheads): Fix typo.
4
5 2005-10-23 H.J. Lu <hongjiu.lu@intel.com>
6
7 PR ld/1487
8 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
9 bfd_match_sections_by_type to match section types.
10
11 * ldlang.c (init_os): Take the input section. Call
12 bfd_init_private_section_data if the input section isn't NULL.
13 (exp_init_os): Pass NULL to init_os.
14 (map_input_to_output_sections): Likewise.
15 (lang_add_section): Pass the input section to init_os.
16
17 2005-10-19 Paul Brook <paul@codesourcery.com>
18
19 * emulparams/armelf.sh: Add .ARM.attributes to OTHER_SECTIONS.
20
21 2005-10-15 H.J. Lu <hongjiu.lu@intel.com>
22
23 PR ld/1467
24 * emultempl/elf32.em: Include "elf-bfd.h".
25 (gld${EMULATION_NAME}_place_orphan): Check section type and
26 don't use section name for ELF input sections.
27
28 * ld.texinfo: Document orphan section processing.
29
30 * ldlang.c (lang_output_section_find_by_flags): Match section
31 types by calling bfd_match_sections_by_type.
32
33 2005-10-13 Mark Mitchell <mark@codesourcery.com>
34
35 * ld.texino: Describe double-quoted string syntax for version
36 nodes.
37 * ldlang.h (lang_new_vers_pattern): Add literal_p parameter.
38 * ldgram.y (vers_defns): Allow NAME as well as VERS_IDENTIFIER.
39 Adjust calls to lang_new_vers_pattern to pass literal_p argument.
40 * ldlang.c (lang_vers_match): Fix indentation. Do not glob-match
41 version nodes without a pattern.
42 (lang_new_vers_pattern): Add literal_p parameter.
43 (lang_do_version_exports_section): Pass it.
44
45 2005-10-12 Mark Mitchell <mark@codesourcery.com>
46
47 * NEWS: Mention @file.
48
49 2005-10-05 H.J. Lu <hongjiu.lu@intel.com>
50
51 PR ld/1396
52 * ldcref.c (check_refs): Accept bfd_boolean.
53 (check_local_sym_xref): Pass FALSE to check_refs.
54 (check_nocrossref): Pass TRUE to check_refs.
55 (check_refs_info): Add bfd_boolean.
56 (check_refs): Add bfd_boolean to check_refs_info.
57 (check_reloc_refs): Match relocations with proper symbols.
58
59 * ldmisc.c (vfinfo): Don't add extra ":\n".
60
61 2005-10-05 Danny Smith <dannysmith@users.sourceforge.net>
62
63 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
64 default entry symbol to ENTRY here.
65 * scripttempl/pe.sc: Not here.
66
67 2005-09-30 James E Wilson <wilson@specifix.com>
68
69 * ldlang.c (lang_startup): Add missing ": " to einfo call.
70
71 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
72
73 * Makefile.am: Run "make dep-am".
74 * Makefile.in: Regenerated.
75 * aclocal.m4: Likewise.
76
77 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
78
79 * ldlang.c (output_statement_hash_entry): New type.
80 (output_statement_table): New variable for hash table.
81 (output_statement_newfunc): New function.
82 (output_statement_table_init): Likewise.
83 (output_statement_table_free): Likewise.
84 (lang_init): Call output_statement_table_init.
85 (lang_finish): Renamed to ...
86 (lang_end): This.
87 (lang_process): Updated.
88 (lang_finish): New function.
89 (lang_output_section_find_1): Use hash table.
90 (lang_output_section_statement_lookup_1): Likewise.
91
92 * ldlang.h (lang_finish): New.
93
94 * ldmain.c (main): Call lang_finish.
95
96 2005-09-30 Mark Mitchell <mark@codesourcery.com>
97
98 * ldmain.c (main): Use expandargv.
99
100 2005-09-30 Catherine Moore <clm@cm00re.com>
101
102 * Makefile.am: Bfin support.
103 * Makefile.in: Regenerated.
104 * aclocal.m4: Regenerated.
105 * configure.tgt: Bfin support.
106 * emulparams/bfin.sh: New file.
107 * emultempl/bfin.em: New file.
108
109 2005-09-30 Matthias Kurz <mk@baerlap.north.de>
110
111 * ld.h: Prevent the inclusion of <libintl.h> from the Solaris
112 version of <locale.h> when ENABLE_NLS is not defined.
113
114 2005-09-27 H.J. Lu <hongjiu.lu@intel.com>
115
116 * ld.texinfo (ALIGN): Document it as forcing output section
117 alignment.
118
119 * ldgram.y (ALIGN): Support it for forcing output section
120 alignment.
121
122 2005-09-20 Alan Modra <amodra@bigpond.net.au>
123
124 * ldlang.h (lang_output_section_statement_struct): Change type of
125 "processed" to bfd_boolean.
126 * ldexp.c (fold_name): Update references to os->processed.
127 * ldlang.c (lang_output_section_statement_lookup_1): Likewise.
128 (lang_size_sections_1): Likewise.
129 (lang_reset_memory_regions): Likewise.
130
131 PR ld/1353
132 * ldlang.c (lang_size_sections_1): Process addr_tree earlier,
133 so that unused output section statements affect dot.
134
135 2005-09-08 Jakub Jelinek <jakub@redhat.com>
136
137 * ld.texinfo: Document -z {no,}execstack, -z {no,}relro
138 and --eh-frame-hdr options.
139
140 2005-09-07 Alan Modra <amodra@bigpond.net.au>
141
142 * ldexp.c (fold_name <SIZEOF>): Return 0 for non-existent section.
143 (exp_fold_tree_1): Print assert message only in final stage of
144 linking. Trigger assertion failure if expression cannot be
145 evaluated.
146
147 2005-09-06 H.J. Lu <hongjiu.lu@intel.com>
148
149 PR ld/1263
150 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Check
151 --just-symbols on DSO.
152
153 2005-08-18 Alan Modra <amodra@bigpond.net.au>
154
155 * scripttempl/elf.sc: Remove commented out defines.
156
157 2005-08-18 Alan Modra <amodra@bigpond.net.au>
158
159 * emulparams/a29k.sh: Delete.
160 * emulparams/ebmon29k.sh: Delete.
161 * emulparams/sa29200.sh: Delete.
162 * Makefile.am: Remove a29k support.
163 * configure.tgt: Likewise.
164 * ld.texinfo: Likewise.
165 * Makefile.in: Regenerate.
166
167 2005-08-17 Jakub Jelinek <jakub@redhat.com>
168
169 * ldgram.y (vers_defns): Don't lose pattern list before
170 extern NAME {}. Handle global, local and extern symbol names.
171
172 2005-08-17 Kaz Kojima <kkojima@rr.iij4u.or.jp>
173
174 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
175 Don't increment rel_count of .cranges here. Set rawsize of .cranges.
176
177 2005-08-10 Nick Clifton <nickc@redhat.com>
178
179 * pe-dll.c (pe_exe_fill_sections): Call lang_reset_memory_regions
180 before lang_size_sections.
181
182 2005-08-09 Alan Modra <amodra@bigpond.net.au>
183
184 * emulparams/hppa64linux.sh (LARGE_SECTIONS): Remove .tbss.
185
186 2005-08-08 Eric Doenges <Eric.Doenges@betty-tv.com>
187
188 * Makefile.am (ALL_EMULATIONS): Add msp430x21xx variants.
189 Add rules to build these emulations.
190 * Makefile.in: Regenerate.
191 * configure.tgt (msp430): Add the new variants to the
192 targ_extra_emuls list.
193 * emulparams/msp430all.sh: Add entries for the msp430x21xx
194 variants.
195
196 2005-08-05 H.J. Lu <hongjiu.lu@intel.com>
197
198 * ld.texinfo: Document PROVIDE_HIDDEN.
199
200 * ldexp.c (exp_fold_tree_1): Hide a provided symbol if asked.
201 (exp_provide): Add and set hidden.
202
203 * ldexp.h (etree_type): Add hidden to assign.
204
205 * ldgram.y (PROVIDE_HIDDEN): New.
206 * ldlex.l (PROVIDE_HIDDEN): Likewise.
207
208 * scripttempl/elf.sc: Use PROVIDE_HIDDEN on array bound
209 symbols.
210
211 2005-08-05 Alan Modra <amodra@bigpond.net.au>
212
213 * emulparams/elf_x86_64.sh: Revert last change.
214 * scripttempl/elf.sc (REL_LARGE, LARGE_SECTIONS): Define here.
215
216 2005-08-05 Alan Modra <amodra@bigpond.net.au>
217
218 * emulparams/armelf.sh (OTHER_BSS_END_SYMBOLS): Split out from
219 OTHER_END_SYMBOLS.
220 * emulparams/armelf_linux.sh: Likewise.
221 * emulparams/armnto.sh: Likewise.
222 * emulparams/criself.sh: Likewise.
223 * emulparams/elf32mcore.sh: Likewise.
224 * emulparams/criself.sh (OTHER_SYMBOLS): Define.
225 * emulparams/crislinux.sh (OTHER_SYMBOLS): Define.
226 (OTHER_END_SYMBOLS): Don't define.
227 * emulparams/elf32fr30.sh: Likewise.
228 * emulparams/elf64mmix.sh: Likewise.
229 * emulparams/hppa64linux.sh: Likewise.
230 * emulparams/m32relf.sh: Likewise.
231 * emulparams/vxworks.sh: Likewise.
232 * scripttempl/armbpabi.sc (OTHER_BSS_SECTIONS): Delete.
233 (OTHER_BSS_END_SYMBOLS): Add.
234 (OTHER_END_SYMBOLS): Move before current end sym definitions.
235 (OTHER_SYMBOLS): Replace OTHER_END_SYMBOLS near end of script.
236 * scripttempl/elf.sc: Likewise.
237 * scripttempl/elf32sh-symbian.sc: Likewise.
238 * scripttempl/elf_chaos.sc: Likewise.
239 * scripttempl/elfxtensa.sc: Likewise.
240 * scripttempl/iq2000.sc: Likewise.
241 * scripttempl/xstormy16.sc: Likewise.
242
243 * scripttempl/elf.sc (LBSS, LARGE_SECTIONS): Delete.
244 (REL_LDATA, REL_LBSS, REL_LRODATA): Delete.
245 (REL_LARGE, LARGE_SECTIONS): Add.
246 * emulparams/elf_x86_64.sh (LARGE_SECTIONS): Define as script text.
247 (REL_LARGE): Define.
248 * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define.
249 (LARGE_SECTIONS): Define.
250 * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define.
251 (LARGE_SECTIONS): Define.
252
253 2005-08-04 Alan Modra <amodra@bigpond.net.au>
254
255 * ldemul.c (ldemul_do_assignments, do_assignments_default): Delete.
256 * ldemul.h (ldemul_do_assignments, do_assignments_default): Delete.
257 (struct ld_emulation_xfer_struct): Remove do_assignments field.
258 * ldlang.c (lang_do_assignments): Don't call ldemul_do_assignments.
259 * emulparams/elf32ppc.sh (SDATA_START_SYMBOLS): New.
260 (SDATA2_START_SYMBOLS, SBSS_START_SYMBOLS, SBSS_END_SYMBOLS): New.
261 * emultempl/aix.em (ld_*_emulation): Delete do_assignments init.
262 * emultempl/armcoff.em: Likewise.
263 * emultempl/beos.em: Likewise.
264 * emultempl/generic.em: Likewise.
265 * emultempl/gld960.em: Likewise.
266 * emultempl/gld960c.em: Likewise.
267 * emultempl/linux.em: Likewise.
268 * emultempl/lnk960.em: Likewise.
269 * emultempl/m68kcoff.em: Likewise.
270 * emultempl/pe.em: Likewise.
271 * emultempl/sunos.em: Likewise.
272 * emultempl/ticoff.em: Likewise.
273 * emultempl/vanilla.em: Likewise.
274 * emultempl/elf32.em: Likewise.
275 (gld*_provide_bound_symbols): Delete.
276 (gld*_provide_init_fini_syms): Delete.
277 (gld*_before_allocation): Don't call ldemul_do_assignments.
278 * emultempl/ppc32elf.em (ppc_do_assignments): Delete.
279 (LDEMUL_DO_ASSIGNMENTS): Delete.
280 * scripttempl/elf.sc: Provide init/fini syms. Add SBSS_START_SYMBOLS,
281 SBSS_END_SYMBOLS, SDATA2_START_SYMBOLS.
282
283 2005-08-04 Alan Modra <amodra@bigpond.net.au>
284
285 * Makefile.am (eelf32m32c.c): Fix dependencies.
286 * Makefile.in: Regenerate.
287
288 2005-08-04 Alan Modra <amodra@bigpond.net.au>
289
290 * ldemul.c (ldemul_finish): Call ld_emulation->finish unconditionally.
291 (finish_default): New function.
292 * ldemul.h (finish_default): Declare.
293 * emultempl/aix.em (gld*_before_allocation): Call
294 before_allocation_default rather than strip_excluded_output_sections.
295 (ld_*_emulation): Init finish field to finish_default.
296 * emultempl/armcoff.em: Likewise.
297 * emultempl/beos.em: Likewise.
298 * emultempl/elf32.em: Likewise.
299 * emultempl/generic.em: Likewise.
300 * emultempl/gld960.em: Likewise.
301 * emultempl/gld960c.em: Likewise.
302 * emultempl/hppaelf.em: Likewise.
303 * emultempl/linux.em: Likewise.
304 * emultempl/lnk960.em: Likewise.
305 * emultempl/m68kcoff.em: Likewise.
306 * emultempl/mmo.em: Likewise.
307 * emultempl/pe.em: Likewise.
308 * emultempl/ppc64elf.em: Likewise.
309 * emultempl/sunos.em: Likewise.
310 * emultempl/ticoff.em: Likewise.
311 * emultempl/vanilla.em: Likewise.
312
313 2005-08-03 Alan Modra <amodra@bigpond.net.au>
314
315 * ldlang.c (exp_init_os): Handle etree_provide.
316 * emulparams/armelf.sh (OTHER_END_SYMBOLS): Rename from..
317 (OTHER_BSS_END_SYMBOLS): ..this.
318 * emulparams/armelf_linux.sh: Likewise.
319 * emulparams/armnto.sh: Likewise.
320 * emulparams/criself.sh: Likewise.
321 * emulparams/crislinux.sh: Likewise.
322 * emulparams/elf32frv.sh: Likewise.
323 * emulparams/elf32mcore.sh: Likewise.
324 * emulparams/elf32ppc.sh: Likewise.
325 * emulparams/elf32ppclinux.sh: Likewise.
326 * emulparams/hppa64linux.sh: Likewise.
327 * scripttempl/armbpabi.sc: Substitute $OTHER_END_SYMBOLS, not
328 $OTHER_BSS_END_SYMBOLS.
329 * scripttempl/elf32sh-symbian.sc: Likewise.
330 * scripttempl/elf_chaos.sc: Likewise.
331 * scripttempl/iq2000.sc: Likewise.
332 * scripttempl/xstormy16.sc: Likewise.
333 * scripttempl/elf.sc: Likewise. Delete __bss_start comment.
334 * scripttempl/elfxtensa.sc: Likewise.
335
336 2005-07-29 Nick Clifton <nickc@redhat.com>
337
338 * ldmain.c (main): Allow -shared and -static to be used together.
339 * ld.texinfo (-static): Mention that it is allowed with -shared.
340
341 2005-07-28 DJ Delorie <dj@redhat.com>
342
343 * ldlang.c (lang_output_section_statement_lookup_1): Don't cast a
344 unary & address operator, as that breaks GCC's strict aliasing
345 rules.
346
347 2005-07-25 Jan Hubicka <jh@suse.cz>
348 H.J. Lu <hongjiu.lu@intel.com>
349
350 * emulparams/elf_x86_64.sh (LARGE_SECTIONS): New.
351
352 * scripttempl/elf.sc: Updated for large section support.
353
354 2005-07-21 Ralf Corsepius <ralf.corsepius@rtems.org>
355
356 * configure.tgt: Remove i[3-7]86-*-rtemself*.
357 Remove sparc-*-rtemself*.
358
359 2005-07-21 Ben Elliston <bje@gnu.org>
360
361 * ldgram.y (ldgram_want_filename): Remove unused static.
362
363 2005-07-20 DJ Delorie <dj@redhat.com>
364
365 * emulparams/elf32m32c.sh (TEMPLATE_NAME): New.
366 (EXTRA_EM_FILE): New.
367
368 2005-07-19 H.J. Lu <hongjiu.lu@intel.com>
369
370 * ldmain.c (main): Reindent.
371
372 2005-07-19 Paul Brook <paul@codesourcery.com>
373
374 * configure.host (HOSTING_CRT0): Parse output of gcc --help --verbose
375 to determine dynamic linker name.
376
377 2005-07-18 Nick Clifton <nickc@redhat.com>
378
379 * configure.tgt: Restore alpha ordering to list of arches.
380
381 2005-07-16 Alan Modra <amodra@bigpond.net.au>
382
383 * emultempl/elf32.em (gld*_provide_init_fini_syms): Prototype.
384 (gld*_before_allocation): Call ldemul_do_assignments rather than
385 gld*_provide_init_fini_syms directly.
386 * emultempl/ppc32elf.em (gld*_after_allocation): Delete.
387 (ppc_do_assignments): New function.
388 (LDEMUL_AFTER_ALLOCATION): Don't define.
389 (LDEMUL_DO_ASSIGNMENTS): Define.
390
391 2005-07-16 Alan Modra <amodra@bigpond.net.au>
392
393 * Makefile.am: Run "make dep-am".
394 (emipsidt.c, emipsidtl.c): Depend on generic.em.
395 * Makefile.in: Regenerate.
396
397 2005-07-15 Alan Modra <amodra@bigpond.net.au>
398
399 * ldemul.c (ldemul_do_assignments): New function.
400 (do_assignments_default): New function.
401 * ldemul.h (ldemul_do_assignments): Declare.
402 (do_assignments_default): Declare.
403 (struct ld_emulation_xfer_struct): Add do_assignments.
404 * ldlang.c (lang_do_assignments) Call ldemul_do_assignments.
405 * emultempl/aix.em (ld_*_emulation): Init do_assignments field.
406 * emultempl/armcoff.em: Likewise.
407 * emultempl/beos.em: Likewise.
408 * emultempl/generic.em: Likewise.
409 * emultempl/gld960.em: Likewise.
410 * emultempl/gld960c.em: Likewise.
411 * emultempl/linux.em: Likewise.
412 * emultempl/lnk960.em: Likewise.
413 * emultempl/m68kcoff.em: Likewise.
414 * emultempl/pe.em: Likewise.
415 * emultempl/sunos.em: Likewise.
416 * emultempl/ticoff.em: Likewise.
417 * emultempl/vanilla.em: Likewise.
418 * emultempl/elf32.em: Likewise, to call gld*_provide_init_fini_syms.
419 (gld*_find_exp_assignment): Adjust bfd_elf_record_link_assignment call.
420
421 2005-07-14 Jim Blandy <jimb@redhat.com>
422
423 Add support for the Renesas M32C and M16C.
424 * Makefile.am (ALL_EMULATIONS): Add eelf32m32c.o.
425 (eelf32m32c.c): New target.
426 * Makefile.in: Regenerated.
427 * configure.tgt: Add case for m32c-*-elf.
428 * emulparams/elf32m32c.sh: New file.
429
430 2005-07-14 Alan Modra <amodra@bigpond.net.au>
431
432 * ldlang.c (strip_excluded_output_sections): Don't call
433 bfd_gc_sections.
434 * emultempl/elf32.em (gld*_provide_bound_symbols): Move.
435 (gld*_provide_init_fini_syms): Move.
436 (gld*_before_allocation): Call the above from here..
437 (gld*_finish): ..not here. Call _bfd_elf_fix_excluded_sec_syms.
438 * emultempl/hppaelf.em (hppaelf_finish): Likewise.
439 * emultempl/ppc64elf.em (ppc_finish): Likewise.
440
441 2005-07-10 Ralf Corsepius <ralf.corsepius@rtems.org>
442
443 * configure.tgt: Remove sparc*-*-rtemsaout*, i[3-7]86-go32-rtems*,
444 i[3-7]86-*-rtemscoff*, hppa*-*-rtems*, mips*el-*-rtems*,
445 powerpcle-*-rtems*.
446
447 2005-07-09 Christopher Faylor <cgf@timesys.com>
448
449 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Enable runtime
450 relocation by default.
451 (compute_dll_image_base): Avoid linking into cygwin dll address space.
452
453 2005-07-08 Alan Modra <amodra@bigpond.net.au>
454
455 * ldlang.c (wild_sort): Formatting.
456 (strip_excluded_output_sections): Strip zero size sections here.
457 * emultempl/elf32.em (gld*_strip_empty_sections): Delete.
458 (gld*_finish): Don't call the above.
459 * emultempl/hppaelf.em (hppaelf_finish): Likewise.
460 * emultempl/ppc64elf.em (ppc_finish): Likewise.
461
462 2005-07-05 Paul Brook <paul@codesourcery.com>
463
464 * Makefile.am (ALL_EMULATIONS): Add eelf32ppcvxworks.o.
465 (eelf32ppcvxworks.o): Add dependencies.
466 * Makefile.in: Regenerate.
467 * configure.tgt: Add entry for powerpc-vxworks.
468 * emulparams/elf32-ppc.c: Mention elf32ppcvxworks.sh in comment.
469 * emulparams/elf32ppcvxworks.sh: New file.
470 * emultempl/ppc32elf.em (bfd_elf32_powerpc_vxworks_vec): Declare.
471 (is_ppc_elf32_vec): New function.
472 (ppc_after_open, ppc_before_allocation,
473 gld${EMULATION_NAME}_after_allocation): Use it.
474
475 2005-07-05 Peter S. Mazinger" <ps.m@gmx.net>
476
477 * emulparams/elf32bmip.sh (GENERATE_PIE_SCRIPT): Define as "yes".
478 * emulparams/elf32bmipn32-defs.sh (GENERATE_PIE_SCRIPT): Define as "yes".
479
480 2005-07-04 Mike Frysinger <vapier@gentoo.org>
481
482 * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Fix typo in
483 name.
484
485 2005-07-04 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
486
487 * emulparams/m32relf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
488
489 2005-07-04 Aurelien Jarno <aurel32@debian.org>
490
491 * emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*.
492
493 2005-07-01 Alan Modra <amodra@bigpond.net.au>
494
495 * scripttempl/elf.sc (.gcc_except_table): Don't KEEP.
496
497 2005-06-30 Ben Elliston <bje@gnu.org>
498
499 * Makefile.am (check-DEJAGNU): Don't search for expect.
500 * Makefile.in: Regenerate.
501
502 2005-06-30 Ben Elliston <bje@gnu.org>
503
504 * Makefile.am (EXPECT): Set to expect.
505 (RUNTEST): Likewise, set to runtest.
506 * Makefile.in: Regenerate.
507
508 2005-06-16 Alexander Klimov <alserkli@inbox.ru>
509
510 * emultempl/armelf.em: Add quotes to avoid a null test
511 expression.
512
513 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
514
515 * ld.texinfo (Command Line Options): Add @item for --hash-size.
516
517 2005-06-10 Alan Modra <amodra@bigpond.net.au>
518
519 * scripttempt/elf.sc (.bss): Align tail in a way that allows
520 empty section pruning.
521
522 2005-06-09 Steve Ellcey <sje@cup.hp.com>
523
524 * configure.in (AM_BINUTILS_WARNINGS): Add.
525 (BFD_NEED_DECLARATION) Replace with AC_CHECK_DECLS.
526 * config.in: Regenerate.
527 * configure: Regenerate.
528 * sysdep.h (NEED_DECLARATION_*): Replace with HAVE_DECL_*
529 * ldmain.c: Ditto.
530
531 2005-06-09 Alan Modra <amodra@bigpond.net.au>
532
533 * ldexp.c (fold_unary <ALIGN_K>): Revert last change.
534
535 2005-06-09 Alan Modra <amodra@bigpond.net.au>
536
537 * ld.h (lang_phase_type): Move to..
538 * ldexp.h: ..here. Add lang_mark_phase_enum.
539 (node_type): Remove etree_undef and etree_unspec.
540 (exp_data_seg): Delete.
541 (struct ldexp_control, expld): New.
542 (invalid, exp_mark_used_section): Delete.
543 (exp_fold_tree, exp_get_vma, exp_get_value_int, exp_get_fill,
544 exp_get_abs_int): Update prototypes.
545 * ldexp.c (assigning_to_dot): Delete.
546 (expld): Define.
547 (make_abs): Operate directly on expld.result. Update all callers.
548 (new_abs): Likewise. Return void.
549 (new_rel_from_abs): Rename from new_rel_from_section.
550 (new_rel, new_rel_from_abs): Operate on expld.result and return void.
551 Update all callers.
552 (fold_unary): Operate on expld.result and return void. Remove
553 "current_section", "allocation_done", "dot", "dotp" and "mark_used"
554 params. Update all callers.
555 (fold_binary, fold_trinary, fold_name, exp_fold_tree_1): Likewise.
556 (fold_unary <ALIGN_K>): Ensure alignment is absolute.
557 (fold_unary <ABSOLUTE>): Use make_abs.
558 (fold_unary <DATA_SEGMENT_END>): Evaluate mark_phase as for
559 allocating_phase.
560 (fold_binary <DATA_SEGMENT_ALIGN, DATA_SEGMENT_RELRO_END, >): Ditto.
561 (fold_binary <'%','/'>): Don't error if marking.
562 (fold_name <SIZEOF_HEADERS>): Don't call bfd_sizeof_headers when
563 marking.
564 (fold_name <NAME>): Remove FIXME; -R is handled correctly. Don't
565 error when marking.
566 (fold_name <ADDR, LOADADDR, SIZEOF>): Don't set SEC_KEEP.
567 (exp_fold_tree_1): Don't error when marking.
568 (exp_fold_tree_1 <etree_rel>): Evaluate in all phases except first.
569 (exp_fold_tree_1 <etree_assign to dot>): Don't check for NULL
570 current section, instead check for NULL dotp.
571 (exp_fold_tree_1 <etree_provide>): Don't evaluate the assignment
572 source unless the symbol is referenced and undefined.
573 (exp_fold_tree): Remove "allocation_done" and "dot" params. Save
574 params to expld.
575 (exp_fold_tree_no_dot): Remove "current_section", "allocation_done
576 and "mark_used" params. Save params to expld. Update all callers.
577 (exp_assop): Do without temp var.
578 (exp_print_tree <etree_undef>): Delete code.
579 (exp_get_vma): Remove "allocation_done" param. Correct error return.
580 (exp_get_fill, exp_get_abs_int): Likewise.
581 (exp_get_value_int): Remove "allocation_done" param.
582 (exp_mark_used_section): Delete.
583 * ldgram.y (fill_exp): Update exp_get_fill call.
584 (origin_spec, length_spec): Update exp_get_vma call.
585 * ldlang.c (lang_init): Don't bother clearing lang_statement_iteration.
586 (lang_mark_used_section_1, lang_mark_used_section): Delete.
587 (strip_excluded_output_sections): Call one_lang_size_sections_pass in
588 marking mode. Merge old lang_mark_used_section code. Correct handling
589 of output sections with excluded input sections and data statements.
590 Don't drop non-zero sized sections. Don't zap os->bfd_section.
591 Do set SEC_EXCLUDE when appropriate.
592 (print_output_section_statement): Update for changed ldexp.c
593 interface.
594 (print_assignment, lang_size_sections_1): Likewise.
595 (lang_do_assignments_1, lang_enter_output_section_statement): Likewise.
596 (lang_new_phdr, lang_record_phdrs): Likewise.
597 (lang_size_sections): Likewise.
598 (insert_pad): Use following statement if it is a pad, rather than
599 creating a new one.
600 (lang_size_sections_1 <lang_output_section_statement_enum>): Do
601 process ignored output section to set vma and lma, but don't
602 update dot for these sections. Don't error if marking.
603 (lang_size_sections_1 <lang_assignment_statement_enum>): Don't
604 update dot for ignored sections.
605 (lang_size_sections_1 <lang_data_statement_enum>): Don't mark absolute
606 section with SEC_ALLOC.
607 (one_lang_size_sections_pass): New function.
608 (lang_size_sections): Remove first five params. Set expld.phase on
609 entry and exit. Use one_lang_size_sections_pass.
610 (lang_do_assignments): Remove all params. Update all callers.
611 (lang_reset_memory_regions): Clear os->processed for all output
612 section statements.
613 * ldlang.h (lang_do_assignments): Update prototype.
614 (lang_size_sections): Likewise.
615 (one_lang_size_sections_pass): Declare.
616 * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update
617 lang_size_sections and lang_do_assignments calls.
618 * emultempl/elf32.em (layout_sections_again): Likewise.
619 * emultempl/ppc64elf.em (ppc_before_allocation): Use
620 one_lang_size_sections_pass.
621
622 2005-06-08 Aldy Hernandez <aldyh@redhat.com>
623
624 * emulparams/elf32ms1.sh: New.
625
626 2005-06-07 Eric Christopher <echristo@redhat.com>
627
628 * Makefile.am (eelf32ms1.c): Use tab.
629 * Makefile.in: Regenerate.
630
631 2005-06-07 Aldy Hernandez <aldyh@redhat.com>
632 Michael Snyder <msnyder@redhat.com>
633 Stan Cox <scox@redhat.com>
634
635 * configure.tgt: Same.
636
637 * Makefile.am (ALL_EMULATIONS): Depend on eelf32ms1.o.
638 (eelf32ms1.c): Add eelf32ms1.c rule.
639
640 * Makefile.in: Regenerate.
641
642 2005-06-06 Alan Modra <amodra@bigpond.net.au>
643
644 * emultempl/ppc64elf.em (ppc_before_allocation): Always run
645 ppc64_elf_edit_opd.
646
647 2005-06-05 H.J. Lu <hongjiu.lu@intel.com>
648
649 * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current
650 section only if the symbol will be defined.
651
652 2005-06-04 H.J. Lu <hongjiu.lu@intel.com>
653
654 PR 992
655 * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current
656 section for etree_assign, etree_provide and etree_provided.
657 Call fold_binary on etree_binary.
658
659 * ldlang.c (lang_mark_used_section_1): Handle load base.
660
661 2005-06-03 Alan Modra <amodra@bigpond.net.au>
662
663 * ldmain.c (link_callbacks): Add einfo.
664 (add_archive_element): Use passed info, not link_info.
665 (constructor_callback): Likewise.
666 (reloc_overflow): Don't handle null bfd specially.
667 (reloc_dangerous, unattached_reloc): Likewise.
668 * ldmisc.c (vfinfo <B>): Print "ld generated" for null bfd.
669 (vfinfo <C, D, G>): Handle null bfd. Wrap comments.
670
671 2005-06-02 Alan Modra <amodra@bigpond.net.au>
672
673 * ldexp.h (etree_value_type): Use "asection *" in place of
674 "struct lang_output_section_statement_struct *" for "section".
675 (exp_fold_tree): Likewise.
676 (exp_mark_used_section): Likewise.
677 * ldexp.c (new_rel, new_rel_from_section, fold_unary, fold_binary,
678 fold_trinary, fold_name, exp_fold_tree_1, exp_fold_tree,
679 exp_mark_used_section): Likewise for "current_section" param.
680 (make_abs, new_abs, exp_binop, exp_unop, exp_get_vma, exp_get_fill,
681 exp_get_abs_int): Adjust for above changes.
682 * ldlang.c (lang_mark_used_section_1, print_assignment,
683 lang_size_sections_1, lang_do_assignments_1): Likewise.
684 * ldexp.c (fold_name): Init entire result struct.
685
686 2005-06-01 Maciej W. Rozycki <macro@linux-mips.org>
687
688 * emulparams/elf32btsmip.sh: Unset DATA_ADDR.
689
690 2005-05-31 Zack Weinberg <zack@codesourcery.com>
691
692 * ldlang.c (entry_symbol_default): New file-scope global.
693 (lang_finish): Use it, not a hardwired "start".
694 (lang_default_entry): Set it.
695 * ldlang.h: Declare lang_default_entry.
696 * emultempl/beos.em, emultempl/pe.em: Use lang_default_entry,
697 not lang_add_entry, to override default entry point symbol.
698
699 2005-05-29 Richard Henderson <rth@redhat.com>
700
701 * emulparams/elf64alpha.sh (PLT): New.
702 (TEXT_PLT): New.
703 * emultempl/alphaelf.em (disable_relaxation): New.
704 (limit_32bit): Rename from elf64alpha_32bit; update all users.
705 (elf64_alpha_use_secureplt): Declare.
706 (bfd_elf64_alpha_vec, bfd_elf64_alpha_freebsd_vec): Declare.
707 (alpha_after_open): New.
708 (alpha_before_allocation): New.
709 (OPTION_NO_RELAX, OPTION_SECUREPLT, OPTION_NO_SECUREPLT): New.
710 (PARSE_AND_LIST_LONGOPTS): Include them.
711 (PARSE_AND_LIST_OPTIONS): Likewise.
712 (PARSE_AND_LIST_ARGS_CASES): Likewise.
713 (LDEMUL_AFTER_OPEN, LDEMUL_BEFORE_ALLOCATION): New.
714 * scripttempl/elf.sc (TEXT_PLT): New.
715 (PLT): Use it.
716
717 2005-05-27 Andreas Schwab <schwab@suse.de>
718
719 * configure.host (HOSTING_LIBS): Add libunwind.a if it exists.
720
721 2005-05-24 Alan Modra <amodra@bigpond.net.au>
722
723 * emultempl/ppc32elf.em (after_allocation): Don't call
724 ppc_elf_set_sdata_syms when relocatable.
725
726 2005-05-21 H.J. Lu <hongjiu.lu@intel.com>
727
728 * Makefile.am (ld.1): Revert the last 2 changes.
729 (info-recursive): Depend on ld.1.
730 * Makefile.in: Regenerated.
731
732 2005-05-21 H.J. Lu <hongjiu.lu@intel.com>
733
734 * Makefile.am (ld.1): Depend on "info" instead of
735 "configdoc.texi ldver.texi".
736 * Makefile.in: Regenerated.
737
738 2005-05-21 H.J. Lu <hongjiu.lu@intel.com>
739
740 * Makefile.am (ld.1): Depend on "info".
741 * Makefile.in: Regenerated.
742
743 2005-05-19 Zack Weinberg <zack@codesourcery.com>
744
745 * Makefile.am: Have 'all' depend on 'info' and 'ld.1'.
746 * Makefile.in: Regenerate.
747
748 2005-05-17 Zack Weinberg <zack@codesourcery.com>
749
750 * ld-arm/mixed-app.d: Adjust expected disassembly a little.
751
752 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
753
754 * Makefile.am (ldver.texi): Don't use $<.
755 * Makefile.in: Regenerated.
756
757 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
758
759 * Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Explicitly include
760 $(srcdir) before $(BFDDIR)/doc.
761 * Makefile.in: Regenerated.
762
763 2005-05-17 H.J. Lu <hongjiu.lu@intel.com>
764
765 PR 797
766 * ldexp.c (exp_fold_tree_1): Renamed from exp_fold_tree and
767 take take a bfd_boolean, mark_used. Ignore assert failure if
768 mark_used is TRUE.
769 (exp_fold_tree) Call exp_fold_tree_1 with mark_used == FALSE.
770 (exp_fold_tree_no_dot): Updated to take a bfd_boolean,
771 mark_used and pass down.
772 (fold_unary): Likewise.
773 (fold_binary): Likewise.
774 (fold_trinary): Likewise.
775 (exp_binop): Add FALSE to call to exp_fold_tree_no_dot.
776 (exp_trinop): Likewise.
777 (exp_unop): Likewise.
778 (exp_nameop): Likewise.
779 (exp_get_vma): Likewise.
780 (exp_get_fill): Likewise.
781 (exp_get_abs_int): Likewise.
782 (fold_name): Likewise. Set SEC_KEEP in output section flags.
783 (exp_mark_used_section): New.
784
785 * ldexp.h (exp_mark_used_section): New.
786
787 * ldlang.c (lang_output_section_statement_lookup_1): Set the
788 ignored field to FALSE.
789 (lang_mark_used_section_1): New.
790 (lang_mark_used_section): Call lang_mark_used_section_1.
791 (strip_excluded_output_sections): Call lang_mark_used_section
792 and check for unused sections.
793 (lang_size_sections_1): Skip an output section if it should
794 be ignored.
795 (lang_do_assignments_1): Likewise.
796 (lang_process): Don't call lang_mark_used_section here.
797
798 * ldlang.h (lang_output_section_statement_type): Change
799 all_input_readonly to bitfield. Add ignored.
800
801 2005-05-17 Lennert Buytenhek <buytenh@wantstofly.org>
802 Peter S. Mazinger" <ps.m@gmx.net>
803
804 * emulparams/armelf_linux.sh (GENERATE_PIE_SCRIPT): Define as "yes".
805 * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Define as "yes".
806
807 2005-05-17 Julian Brown <julian@codesourcery.com>
808
809 * ldlang.c (print_assignment): Do not rely upon a valid result
810 having a section associated with it.
811
812 2005-05-17 Nick Clifton <nickc@redhat.com>
813
814 * ldlang.c (Scan_for_self_assignment): Check an assignment tree to
815 see if the same value is being used on the rhs as on the lhs.
816 (print_assignment): Call scan_for_self_assignment and if it
817 returns true, do no display the result of the computation but
818 instead just the final value of the symbol on the lhs.
819 * ld.texinfo: Document this behaviour and provide an example of
820 when it will happen.
821
822 2005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
823
824 * Makefile.am (AM_MAKEINFOFLAGS): Define.
825 (TEXI2DVI): Define.
826 (ldver.texi): Depend on distributed files instead of built files.
827 (ld.info): Include $(srcdir) in the rule target. Remove actions.
828 (ld.dvi): Remove actions.
829 (MAINTAINERCLEANFILES): Add configdoc.texi.
830 (CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in.
831 (install-data-local): Renamed from install.
832 (Makefile): Remove explicit dependency.
833 * acinclude.m4: Remove obsolete code.
834 * configure.in: Update AC_PREREQ. Remove extra $CONFIG_SHELL.
835 * Makefile.in, aclocal.m4, config.in, configure: Regenerated.
836
837 2005-05-11 Bob Wilson <bob.wilson@acm.org>
838
839 * scripttempl/elfxtensa.sc: Sync up with elf.sc.
840 * emulparams/elf32xtensa.sh (PLT, GOT): Define.
841
842 2005-05-11 Alan Modra <amodra@bigpond.net.au>
843
844 * ldgram.y: Add SPECIAL token.
845 (sect_constraint): Handle SPECIAL.
846 * ldlang.c (lang_output_section_find_1): Don't match SPECIAL.
847 (map_input_to_output_sections): Likewise.
848 * ldlex.l (SPECIAL): Define.
849 * emulparams/elf32ppc.sh (DATA_GOT, SDATA_GOT, SEPARATE_GOTPLT,
850 GOT, PLT, GOTPLT): Define.
851 * emultempl/ppc32elf.em (old_plt, old_got): New static vars.
852 (ppc_after_open): New function.
853 (PARSE_AND_LIST_PROLOGUE): Define OPTION_OLD_LPT and OPTION_OLD_GOT.
854 (PARSE_AND_LIST_LONGOPTS): Add "bss-plt" and "sdata-got".
855 (PARSE_AND_LIST_OPTIONS): Document them.
856 (PARSE_AND_LIST_ARGS_CASES): Handle them.
857 (LDEMUL_AFTER_OPEN): Define.
858 * scripttempl/elf.sc (PLT): Don't override existing define.
859 (DATA_GOT, SDATA_GOT): Define and use to enable alternate got
860 placement rather than using NO_SMALL_DATA. Emit GOTPLT for RELRO_NOW.
861
862 2005-05-10 Alan Modra <amodra@bigpond.net.au>
863
864 * scripttempl/elf.sc (DATA_SEGMENT_RELRO_GOTPLT_END): Delete.
865 (DATA_SEGMENT_RELRO_END): Use SEPARATE_GOTPLT value.
866 (GOTPLT): Remove DATA_SEGMENT_RELRO_GOTPLT_END. Place after
867 DATA_SEGMENT_RELRO_END in script.
868
869 2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
870
871 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
872 Don't use a removed section.
873
874 2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
875
876 * ldmain.c (reloc_overflow): Use output_bfd if the symbol
877 is defined in the ABS section.
878
879 2005-05-06 H.J. Lu <hongjiu.lu@intel.com>
880
881 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
882 Put back !link_info.relocatable.
883
884 2005-05-06 H.J. Lu <hongjiu.lu@intel.com>
885
886 PR 878
887 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
888 Just check link_info.executable.
889
890 2005-05-06 Nick Clifton <nickc@redhat.com>
891
892 * Update the address and phone number of the FSF organization in
893 the GPL notices in the following files:
894 aclocal.m4, deffile.h, deffilep.y, fdl.texi, ld.h, ldcref.c,
895 ldctor.c, ldctor.h, ldemul.c, ldexp.c, ldexp.h, ldfile.c,
896 ldfile.h, 20ldgram.y, ldint.texinfo, ldlang.c, ldlang.h, ldlex.h,
897 ldlex.l, ldmain.c, ldmain.h, ldmisc.c, ldmisc.h, ldver.c, ldver.h,
898 ldwrite.c, ldwrite.h, lexsup.c, mri.c, mri.h, pe-dll.c, pe-dll.h,
899 sysdep.h, emultempl/aix.em, emultempl/alphaelf.em,
900 emultempl/armcoff.em, emultempl/armelf.em, emultempl/beos.em,
901 emultempl/crxelf.em, emultempl/elf32.em, emultempl/generic.em,
902 emultempl/gld960.em, emultempl/gld960c.em, emultempl/hppaelf.em,
903 emultempl/ia64elf.em, emultempl/irix.em, emultempl/linux.em,
904 emultempl/lnk960.em, emultempl/m68hc1xelf.em,
905 emultempl/m68kcoff.em, emultempl/m68kelf.em,
906 emultempl/mipsecoff.em, emultempl/mmix-elfnmmo.em,
907 emultempl/mmixelf.em, emultempl/mmo.em, emultempl/needrelax.em,
908 emultempl/pe.em, emultempl/ppc32elf.em, emultempl/ppc64elf.em,
909 emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em,
910 emultempl/vanilla.em, emultempl/xtensaelf.em
911
912 2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
913
914 * scripttempl/elf.sc: Document the usage of __bss_start.
915
916 2005-05-05 Paul Brook <paul@codesourcery.com>
917
918 * Makefile.am: Add eelf_i386_vxworks.
919 * Makefile.in: Regenerate.
920 * configure.tgt: Make i?86-*-vxworks use targ_emul=elf_i386_vxworks.
921 * emulparams/elf_i386_vxworks.sh: New file.
922 * emulparams/vxworks.sh: New file.
923 * scripttempl/elf.sc: Add DATA_END_SYMBOLS and ETEXT_NAME.
924
925 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
926
927 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
928 Call _bfd_elf_provide_section_bound_symbols.
929
930 2005-05-04 Alan Modra <amodra@bigpond.net.au>
931
932 * ldemul.c: Include bfdlink.h.
933 (ldemul_before_allocation): Assume before_allocation is non-zero.
934 (before_allocation_default): Call strip_excluded_output_sections.
935 * ldlang.c (stripped_excluded_sections): New variable.
936 (lang_add_section): Build input section list for each output
937 section, attached via map_head and map_tail pointers.
938 (strip_excluded_output_sections): Make global. Traverse the
939 input section lists to find which output sections can go. Clear
940 link_order pointers and set stripped_excluded_sections.
941 (lang_process): Call strip_excluded_output_sections.
942 * ldlang.h (strip_excluded_output_sections): Declare.
943 * ldwrite.c: Update throuhout for link_order_head -> map_head change.
944 * emultempl/aix.em (before_allocation): Call
945 strip_excluded_output_sections.
946 * emultempl/armcoff.em (before_allocation): Likewise.
947 * emultempl/beos.em (before_allocation): Likewise.
948 * emultempl/linux.em (before_allocation): Likewise.
949 * emultempl/pe.em (before_allocation): Likewise.
950 * emultempl/sunos.em (before_allocation): Likewise.
951 * emultempl/elf32.em (before_allocation): Likewise. Call
952 bfd_elf_size_dynsym_hash_dynstr too.
953 * emultempl/lnk960.em (lnk960_before_allocation): Delete.
954 (ld_lnk960): Use before_allocation_default.
955
956 2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
957
958 * emultempl/elf32.em (gld${EMULATION_NAME}_strip_empty_section):
959 Updated for bfd_section_list_remove change.
960 * ldlang.c (lang_insert_orphan): Likewise.
961 (strip_excluded_output_sections): Likewise.
962 (sort_sections_by_lma): New.
963 (lang_check_section_addresses): Sort the sections before
964 checking addresses.
965
966 2005-04-29 Ralf Corsepius <ralf.corsepius@rtems.org>
967
968 * configure.tgt: Add h8300*-*-rtemscoff.
969 Switch h8300*-*-rtems* to elf.
970
971 2005-04-29 Ben Elliston <bje@au.ibm.com>
972
973 * ldgram.y (lang_memory_region_type): Make static.
974 (ldgram_want_filename): Likewise.
975 * ldemul.c (ld_emulation): Make static.
976 * ldfile.h (ldfile_find_command_file): Remove extern.
977 * ldfile.c (ldfile_find_command_file): Make static.
978 * ldlang.h (unique_section_list): Remove extern declaration.
979 * ldlang.c (unique_section_list): Make static.
980 * mri.h (symbol_truncate): Remove extern declaration.
981 * mri.c (symbol_truncate): Make static.
982 (order, only_load, address, alias): Likewise.
983 (alignment, subalignment): Likewise.
984
985 2005-04-27 H.J. Lu <hongjiu.lu@intel.com>
986
987 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
988 Use the first SEC_ALLOC section which isn't SEC_READONLY or the
989 last SEC_ALLOC section if such a section doesn't exist.
990
991 2005-04-24 Mark Kettenis <kettenis@gnu.org>
992
993 * configure.host: Add *-*-openbsd support.
994
995 2005-04-15 Julian Brown <julian@codesourcery.com>
996
997 * ld.texinfo: Document --use-blx.
998 * emultempl/armelf.em (use_blx): New variable.
999 (arm_elf_create_output_section_statements): Communicate value of
1000 use_blx to bfd.
1001 (PARSE_AND_LIST_PROLOGUE): Add OPTION_USE_BLX.
1002 (PARSE_AND_LIST_OPTIONS): Add --use-blx option.
1003 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_USE_BLX case.
1004
1005 2005-04-14 Alan Modra <amodra@bigpond.net.au>
1006
1007 * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
1008 * configure.in: Include ../bfd/warning.m4 contents.
1009 * Makefile.in: Regenerate.
1010 * configure: Regenerate.
1011
1012 2005-04-12 Alan Modra <amodra@bigpond.net.au>
1013
1014 * Makefile.am: Run "make dep-am".
1015 (ldgram.o, ldlex.o, deffilep.o): Add -Wno-error to command.
1016 * Makefile.in: Regenerate.
1017 * config.in: Regenerate.
1018
1019 2005-04-11 Alan Modra <amodra@bigpond.net.au>
1020
1021 * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Ignore
1022 as_needed libs that were not needed.
1023 (gld${EMULATION_NAME}_check_needed): Likewise.
1024
1025 2005-04-07 Nick Clifton <nickc@redhat.com>
1026
1027 * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h so that
1028 ldfile.h can use the lang_input_statement type.
1029
1030 2005-04-06 Jakub Jelinek <jakub@redhat.com>
1031
1032 * ldlang.c: Formatting.
1033 (walk_wild_consider_section): Remember return value from wildcardp.
1034 (is_simple_wild): Use strcspn instead of 2 strpbrk calls and strlen.
1035 (wild_spec_can_overlap): Use strcspn instead of strpbrk and strlen.
1036
1037 2005-04-06 Robert O'Callahan <rocallahan@novell.com>
1038
1039 * ld.h (lean_section_userdata_type): Remove.
1040 (fat_section_userdata_type): Remove file field.
1041 (SECTION_USERDATA_SIZE): Remove.
1042 * ldlang.c (init_os): Eliminate initialization of unused
1043 lean_section_userdata_type.
1044
1045 * ldlang.h (callback_t, walk_wild_section_handler_t): New
1046 typedefs.
1047 (struct lang_wild_statement_struct): Add walk_wild_section_handler
1048 and handler_data fields.
1049 * ldlang.c (callback_t): Removed.
1050 (walk_wild_consider_section, walk_wild_section_general,
1051 section_iterator_callback, find_section, is_simple_wild,
1052 match_simple_wild, walk_wild_section_specs1_wild0,
1053 walk_wild_section_specs1_wild1, walk_wild_section_specs2_wild1,
1054 walk_wild_section_specs3_wild2, walk_wild_section_specs4_wild2,
1055 wild_spec_can_overlap, analyze_walk_wild_section_handler): New
1056 functions.
1057 (lang_add_wild): Call analyze_walk_wild_section_handler.
1058 (walk_wild_section): Renamed to walk_wild_section_general and
1059 created a wrapper function.
1060 (section_iterator_callback_data): New typedef.
1061
1062 2005-04-04 Nick Clifton <nickc@redhat.com>
1063
1064 * configure.in: Add a check for <unistd.h> providing a prototype
1065 for getopt() which is compatible with the one in
1066 include/getopt.h. If so then define HAVE_DECL_GETOPT.
1067 * configure: Regenerate.
1068 * config.in (HAVE_DECL_GETOPT): Add.
1069 * ldemul.c: Include config.h
1070 * lexsup.c: Likewise.
1071 * emultempl/elf32.sc: Likewise.
1072
1073 2005-03-29 Alan Modra <amodra@bigpond.net.au>
1074
1075 * emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again):
1076 New function, extracted from static void gld${EMULATION_NAME}_finish.
1077 (gld${EMULATION_NAME}_strip_empty_sections): Likewise.
1078 (gld${EMULATION_NAME}_provide_init_fini_syms): Likewise.
1079 * emultempl/ppc64elf.em: Revert last change.
1080 (ppc_layout_sections_again): Use
1081 gld${EMULATION_NAME}_layout_sections_again.
1082 (ppc_finish): Don't call gld${EMULATION_NAME}_finish. Instead call
1083 gld${EMULATION_NAME}_strip_empty_sections and
1084 gld${EMULATION_NAME}_provide_init_fini_syms.
1085 * emultempl/hppaelf.em: Similarly.
1086
1087 2005-03-29 Alan Modra <amodra@bigpond.net.au>
1088
1089 * emultempl/ppc64elf.em (need_laying_out): Delete. Remove all refs.
1090 (ppc_finish): Don't call bfd_elf_discard_info.
1091 * emultempl/hppaelf.em: Similarly.
1092
1093 2005-03-24 Nick Clifton <nickc@redhat.com>
1094
1095 * po/fr.po: Updated French translation.
1096
1097 2005-03-23 Mike Frysinger <vapier@gentoo.org>
1098 Nick Clifton <nickc@redhat.com>
1099
1100 * configure.host: Accept any C library to accompany a GNU Linux
1101 implementation, not just the GNU C library.
1102 * configure.tgt: Likewise.
1103 * emultempl/elf32.em: Likewise.
1104
1105 2005-03-22 H.J. Lu <hongjiu.lu@intel.com>
1106
1107 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New
1108 (gld${EMULATION_NAME}_finish): Call
1109 gld${EMULATION_NAME}_provide_bound_symbols to provide
1110 __preinit_array_start, __preinit_array_end, __init_array_start,
1111 __init_array_end, __fini_array_start and __fini_array_end.
1112
1113 * scripttempl/elf.sc: Don't provide __preinit_array_start,
1114 __preinit_array_end, __init_array_start, __init_array_end,
1115 __fini_array_start nor __fini_array_end.
1116
1117 2005-03-23 Alan Modra <amodra@bigpond.net.au>
1118
1119 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set
1120 SEC_EXCLUDE on .gnu.warning sections.
1121
1122 2005-03-22 Alan Modra <amodra@bigpond.net.au>
1123
1124 * scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms.
1125
1126 2005-03-21 Alan Modra <amodra@bigpond.net.au>
1127
1128 * emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New
1129 function.
1130 (LDEMUL_AFTER_ALLOCATION): Define.
1131
1132 2005-03-21 Alan Modra <amodra@bigpond.net.au>
1133
1134 * emultempl/ppc64elf.em (ppc_finish): Rename from
1135 gld${EMULATION_NAME}_finish. Call gld${EMULATION_NAME}_finish.
1136 (LDEMUL_FINISH): Update.
1137 * emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise.
1138 * emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise.
1139
1140 2005-03-18 Julian Brown <julian@codesourcery.com>
1141
1142 * scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array,
1143 .rel.fini_array.
1144 (.rela.dyn): Add .rela.init_array, .rela.fini_array.
1145 (SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs.
1146
1147 2005-03-18 H.J. Lu <hongjiu.lu@intel.com>
1148
1149 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set
1150 bfd_section when removing unused empty output sections for
1151 non-relocatable link.
1152
1153 2005-03-19 Alan Modra <amodra@bigpond.net.au>
1154
1155 * ldlang.c (lang_insert_orphan): Use old section_tail rather than
1156 traversing the bfd section list to find pointer to new section.
1157
1158 2005-03-18 Alan Modra <amodra@bigpond.net.au>
1159
1160 * scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2
1161 input sections into .sdata and .sbss output respectively.
1162
1163 2005-03-16 David Heine <dlheine@tensilica.com>
1164 Bob Wilson <bob.wilson@acm.org>
1165
1166 * ldlang.c (IGNORE_SECTION): Remove check for zero size.
1167 (lang_check_section_addresses): Ignore zero size sections here.
1168
1169 2005-03-16 H.J. Lu <hongjiu.lu@intel.com>
1170
1171 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove
1172 unused empty output sections for non-relocatable link.
1173
1174 * ld.h (args_type): Remove gc_sections.
1175
1176 * ldlang.c (lang_mark_used_section): New.
1177 (lang_gc_sections): Use link_info.gc_sections instead of
1178 command_line.gc_sections.
1179 * ldmain.c (main): Likewise.
1180 * lexsup.c (parse_args): Likewise.
1181 * ldlang.c (lang_process): Call lang_mark_used_section.
1182
1183 * ldmain.c (main): Initialize link_info.gc_sections to FALSE.
1184
1185 2005-03-16 Nick Clifton <nickc@redhat.com>
1186 Ben Elliston <bje@au.ibm.com>
1187
1188 * configure.in (werror): New switch: Add -Werror to the
1189 compiler command line. Enabled by default. Disable via
1190 --disable-werror.
1191 * configure: Regenerate.
1192
1193 2005-03-16 Alan Modra <amodra@bigpond.net.au>
1194
1195 * emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete.
1196 (OTHER_RELRO_SECTIONS): Set this instead.
1197
1198 2005-03-15 Nick Clifton <nickc@redhat.com>
1199
1200 * NEWS: Add cutoff for changes in 2.16 release.
1201
1202 2005-03-15 Mikkel Krautz <krautz@gmail.com>
1203
1204 * configure.tgt (x86_64-elf): Add target.
1205
1206 2005-03-15 Alan Modra <amodra@bigpond.net.au>
1207
1208 * po/es.po: Commit new Spanish translation.
1209
1210 2005-03-14 Alan Modra <amodra@bigpond.net.au>
1211
1212 * ldexp.c (exp_fold_tree): Ensure return value is initialized.
1213 Tidy etree_assert case.
1214
1215 2005-03-14 Alan Modra <amodra@bigpond.net.au>
1216
1217 * po/tr.po: Commit new Turkish translation.
1218
1219 2005-03-11 Daniel Jacobowitz <dan@codesourcery.com>
1220
1221 * Makefile.am: Remove references to em68klynx.o and esparclynx.o.
1222 * Makefile.in: Regenerated.
1223 * emulparams/m68klynx.sh, emulparams/sparclynx.sh: Remove.
1224
1225 2005-03-07 Nick Clifton <nickc@redhat.com>
1226
1227 * po/fr.po: Updated translation.
1228
1229 2005-03-05 Alan Modra <amodra@bigpond.net.au>
1230
1231 * po/ld.pot: Regenerate.
1232
1233 2005-03-02 Jan Beulich <jbeulich@novell.com>
1234
1235 * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink.
1236 * pe-dll.c (pe_dll_generate_implib): Likewise.
1237
1238 2005-02-24 Ben Elliston <bje@au.ibm.com>
1239
1240 * ldfile.c: Remove GNU960 conditional code.
1241 * emultempl/gld960.em: Likewise.
1242 * emultempl/gld960c.em: Likewise.
1243 * emultempl/lnk960.em: Likewise.
1244
1245 2005-02-24 Nick Clifton <nickc@redhat.com>
1246
1247 * emultempl/lnk960.em (lnk960_before_parse): Remove redundant
1248 empty string from calls to concat.
1249
1250 2005-02-23 Nick Clifton <nickc@redhat.com>
1251
1252 * emultempl/lnk960.em (lnk960_before_parse): Terminate list of
1253 arguments passed to concat() with a NULL.
1254
1255 * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h because they
1256 define types needed by ldfile.h
1257
1258 2005-02-23 Alan Modra <amodra@bigpond.net.au>
1259
1260 * pe-dll.c: Warning fixes.
1261 * emultempl/sunos.em: Likewise.
1262
1263 2005-02-22 Daniel Jacobowitz <dan@codesourcery.com>
1264
1265 * ldlang.c (section_already_linked): Don't call
1266 bfd_section_already_linked for dynamic objects.
1267
1268 2005-02-22 Alan Modra <amodra@bigpond.net.au>
1269
1270 * ldexp.c: Warning fixes.
1271 * ldwrite.c: Likewise.
1272 * emultempl/elf32.em: Likewise.
1273
1274 2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
1275
1276 * ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI
1277 tic54x input only.
1278 (lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF
1279 and ECOFF output only.
1280
1281 2005-02-21 Alan Modra <amodra@bigpond.net.au>
1282
1283 * config.in: Regenerate.
1284 * configure: Regenerate.
1285
1286 2005-02-17 Zack Weinberg <zack@codesourcery.com>
1287
1288 * ldexp.c (assigning_to_dot): New global flag.
1289 (fold_name): If assigning_to_dot is true, object immediately to
1290 an undefined symbol.
1291 (exp_fold_tree): Set and clear assigning_to_dot around the
1292 recursive call to exp_fold_tree to process the right-hand side
1293 of an assignment to the location counter.
1294
1295 2005-02-17 Paul Brook <paul@codesourcery.com>
1296
1297 * scripttempl/armbpabi.sc: Add dummy name to version block.
1298
1299 2005-02-17 Alan Modra <amodra@bigpond.net.au>
1300
1301 * ldexp.c (new_abs): Init new.str.
1302
1303 2005-02-15 Mark Mitchell <mark@codesourcery.com>
1304
1305 * configure.in (AC_CHECK_FUNCS): Add glob.
1306 * configure: Regenerated.
1307 * emultempl/elf32.em (<glob.h>): Do not include if HAVE_GLOB is
1308 not defined.
1309 (gld${EMULATION_NAME}_parse_ld_so_conf_include): Do not use glob
1310 if HAVE_GLOB is not defined.
1311
1312 2005-02-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1313
1314 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define
1315 lib_path if NATIVE is yes.
1316
1317 2005-02-16 Alan Modra <amodra@bigpond.net.au>
1318
1319 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Make
1320 an error creating fake bfd fatal.
1321 (ppc_before_allocation): Continue on after errors.
1322 (gld${EMULATION_NAME}_finish): Likewise.
1323
1324 2005-02-15 Nick Clifton <nickc@redhat.com>
1325
1326 * ldlex.l (YY_NO_UNPUT): Define so that the yy_unput function is
1327 not declared. It is not used and its presence causes a compile
1328 time warning.
1329
1330 2005-02-11 Zack Weinberg <zack@codesourcery.com>
1331
1332 * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed):
1333 If st.st_ino is zero, do not treat the library as a duplicate.
1334
1335 2005-02-10 Jakub Jelinek <jakub@redhat.com>
1336
1337 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1338 Set BFD_LINKER_CREATED on the stubs bfd.
1339 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
1340 Likewise.
1341
1342 2005-02-08 Mark Mitchell <mark@codesourcery.com>
1343
1344 * scripttempl/armbpabi.sc (VERSION): Make special section symbols
1345 local.
1346 (Image$$ER_RO$$Base): Define whenever RELOCATING.
1347 (Image$$ER_RO$$Limit): Likewise.
1348 (SHT$$INIT_ARRAY$$Base): Likewise.
1349 (SHT$$INIT_ARRAY$$Limit): Likeise.
1350
1351 2005-02-10 Ben Elliston <bje@au.ibm.com>
1352
1353 * emultempl/beos.em: Remove #if 0 and #if 1 blocks.
1354
1355 2005-02-08 Richard Sandiford <rsandifo@redhat.com>
1356
1357 * configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath
1358 to include o32 and n64 emulations.
1359 (mips64*-*-linux-gnu*): Likewise.
1360
1361 2005-02-08 Hans-Peter Nilsson <hp@axis.com>
1362
1363 * ldmain.c (warning_callback, warning_find_reloc): Prepend
1364 "warning: " to warning messages.
1365
1366 2005-02-04 Alan Modra <amodra@bigpond.net.au>
1367
1368 * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't
1369 look up symbol for etree_provide here.
1370
1371 2005-02-02 Daniel Jacobowitz <dan@codesourcery.com>
1372
1373 * emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set.
1374
1375 2005-02-01 Edward Welbourne <eddy@opera.com>
1376 Nick Clifton <nickc@redhat.com>
1377
1378 * ld.texinfo (Source Code Reference): New node describing how to
1379 access linker script defined variables from source code.
1380
1381 2005-02-01 Alan Modra <amodra@bigpond.net.au>
1382
1383 * ld.texinfo: Clarify --as-needed operation.
1384
1385 2005-01-31 Andrew Cagney <cagney@gnu.org>
1386
1387 * configure: Regenerate to track ../gettext.m4.
1388
1389 2005-01-31 Nick Clifton <nickc@redhat.com>
1390
1391 * ldver.c (ldversion): Bump reported copyright date to 2005.
1392
1393 2005-01-31 Nick Clifton <nickc@redhat.com>
1394
1395 * configure.tgt: Remove obsolete targets m68k-lynxos and
1396 sparc-lynxos.
1397
1398 2005-01-28 Julian Brown <julian@codesourcery.com>
1399
1400 * emultempl/armelf.em (fix_v4bx): New variable.
1401 (arm_elf_create_output_section_statements): Communicate fix_v4bx flag
1402 value to bfd.
1403 (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX.
1404 (PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx.
1405 (PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx.
1406 (PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX.
1407 * NEWS: Mention --fix-v4bx.
1408 * ld.texinfo: Document --fix-v4bx.
1409
1410 2005-01-25 Mark Mitchell <mark@codesourcery.com>
1411
1412 * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so
1413 as to include .ARM.exidx$${Base,Limit}.
1414 * ld/scripttempl/armbpabi.sc: Move .plt to end of text segment.
1415 Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}.
1416 Put .init_array, .fini_array, etc. into the read-only data
1417 segment.
1418
1419 2005-01-25 Alan Modra <amodra@bigpond.net.au>
1420
1421 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting.
1422 (gld${EMULATION_NAME}_after_open): Ignore needed libs if they were
1423 only needed by an as-needed lib that didn't get linked.
1424
1425 2005-01-23 Alan Modra <amodra@bigpond.net.au>
1426
1427 * ld.texinfo (Output Section Keywords <CONSTRUCTORS>): Correct
1428 __DTOR_LIST__ description.
1429
1430 2005-01-23 Alan Modra <amodra@bigpond.net.au>
1431
1432 * ld.texinfo (Location Counter <dot outside sections>): Document
1433 effects of orphan section placement, and ". = ." workaround.
1434 * Makefile.in: Regenerate.
1435
1436 2005-01-22 Richard Sandiford <rsandifo@redhat.com>
1437
1438 * emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;".
1439 * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise.
1440
1441 2005-01-21 Jakub Jelinek <jakub@redhat.com>
1442
1443 * ldgram.y (AS_NEEDED): New token.
1444 (input_list): Handle AS_NEEDED ( input_list ).
1445 * ldlex.l (AS_NEEDED): Add.
1446 * ld.texinfo: Document AS_NEEDED ().
1447 * NEWS: Mention AS_NEEDED ().
1448
1449 2005-01-21 Ben Elliston <bje@au.ibm.com>
1450
1451 * ldlang.c (lang_reasonable_defaults): Remove.
1452 (lang_process): Don't call lang_reasonable_defaults.
1453
1454 * ldexp.c (exp_assop): Remove #if 0'd code.
1455 (exp_print_tree): Likewise.
1456 * ldlang.c (lang_memory_region_lookup): Likewise.
1457 (open_output): Likewise.
1458 (lang_do_assignments_1): Likewise.
1459 (lang_place_orphans): Likewise.
1460 (lang_enter_output_section_statement): Likewise.
1461 (lang_reasonable_defaults): Likewise.
1462 * ldlang.h (struct lang_input_statement_struct): Likewise.
1463 * mri.c (mri_draw_tree): Likewise.
1464 (mri_load): Likewise.
1465 * pe-dll.c (generate_reloc): Likewise.
1466 (make_import_fixup_entry): Likewise.
1467 (pe_as16): Likewise.
1468 * emultempl/beos.em (set_pe_subsystem): Likewise.
1469 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
1470 * emultempl/pe.em: Likewise.
1471 * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise.
1472
1473 2005-01-20 Daniel Jacobowitz <dan@codesourcery.com>
1474
1475 * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o.
1476 (earmelfb_linux_eabi.c): New target.
1477 * Makefile.in: Regenerated.
1478 * configure.tgt (arm*b-*-linux-gnueabi): New target.
1479 * emulparams/armelfb_linux_eabi.sh: New file.
1480
1481 2005-01-20 Nick Hudson <skrll@netbsd.org>
1482
1483 PR ld/676
1484 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1485 Handle bfd_elf32_hppa_nbsd_vec.
1486
1487 2005-01-19 Richard Sandiford <rsandifo@redhat.com>
1488
1489 * ldmain.h (ld_sysroot): Change type to a constant string.
1490 * ldmain.c (ld_sysroot): Likewise.
1491 (get_relative_sysroot, get_sysroot): New functions, adding command-line
1492 support for changing the sysroot.
1493 (main): Call the new functions.
1494 * lexsup.c (OPTION_SYSROOT): New.
1495 (ld_options): Add --sysroot.
1496 (parse_args): Add a dummy handler for it.
1497 * ld.texinfo (--sysroot): Document.
1498 * NEWS: Mention the new --sysroot option.
1499
1500 2005-01-18 Alan Modra <amodra@bigpond.net.au>
1501
1502 * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call.
1503 (lang_place_orphans): Don't abort on just_syms_flag, instead call
1504 bfd_link_just_syms.
1505
1506 2005-01-16 Danny Smith <dannysmith@users.sourceforge.net>
1507
1508 * defilep.y (def_name, def_library): Combine into...
1509 (def_image_name): New function. Strip name to basename,
1510 with warning.
1511
1512 2005-01-12 Mark Kettenis <kettenis@gnu.org>
1513
1514 * configure.in: Be sure to invoke config.sub using the shell.
1515 * configure: Regenerate.
1516
1517 2005-01-11 Alan Modra <amodra@bigpond.net.au>
1518
1519 * configure.host: Correct sed patterns for last change.
1520
1521 2005-01-10 Nick Clifton <nickc@redhat.com>
1522
1523 PR binutils/609
1524 * ldmisc.c (vfinfo): Add an extra argument: is_warning. Use this
1525 to determine whether config.make_executable should be set to FALSE in
1526 conjunction with config.fatal_warnings.
1527 (info_msg, minfo, lfinof): Pass FALSE as the extra argument.
1528 (einfo): Pass TRUE as the extra argument.
1529
1530 2005-01-10 Greg Schaffer <gschafer@zip.com.au>
1531
1532 * configure.host (linux targets): Use "${CC} -dumpspecs" instead
1533 of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0.
1534 (ia64-*-aix): Delete - this target is obsolete, and would be
1535 broken by this patch.
1536
1537 2005-01-06 Eric Botcazou <ebotcazou@libertysurf.fr>
1538
1539 * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
1540 (sparc64-sun-solaris2*): New host.
1541
1542 2005-01-06 Paul Brook <paul@codesourcery.com>
1543
1544 * Makefie.am: Add earmelf_vxworks.
1545 * Makefile.in: Regenerate.
1546 * configure.tgt: Make arm-*-vxworks a separate case.
1547 * emulparams/armelf_vxworks.sh: New function.
1548
1549 2005-01-06 Alan Modra <amodra@bigpond.net.au>
1550
1551 * emultempl/ppc64elf.em (no_multi_toc): New var.
1552 (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists.
1553 (OPTION_NO_MULTI_TOC): Define.
1554 (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support.
1555 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
1556
1557 2005-01-05 Nick Clifton <nickc@redhat.com>
1558
1559 PR binutils/614
1560 * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding
1561 Standard's specification for parsable error messages.
1562
1563 2005-01-04 Paul Brook <paul@codesourcery.com>
1564
1565 * Makefile.am: Correct dependency for earmsymbian.c.
1566 * Makefile.in: Regenerate.
1567
1568 2004-12-28 Danny Smith <dannysmith@users.sourceforge.net>
1569
1570 * emultempl/pe.em (set_pe_subsystem): Change second arg to
1571 lang_add_entry to FALSE.
1572
1573 2004-12-23 Nick Clifton <nickc@redhat.com>
1574
1575 PR 600
1576 * emulparams/shelf.sh (.stack): Increase stack start address to
1577 0x300000.
1578
1579 2004-12-20 Nick Clifton <nickc@redhat.com>
1580
1581 * ldmain.c (main): Issue an error message if -static and -shared
1582 are used together.
1583
1584 2004-12-17 Jakub Jelinek <jakub@redhat.com>
1585
1586 * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
1587 * ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them.
1588 * ldlang.c (lang_size_sections): Use them to avoid wasting virtual
1589 address space at DATA_SEGMENT_ALIGN. Fix computation of expected
1590 PT_GNU_RELRO segment end.
1591
1592 2004-12-14 P.J. Darcy <darcypj@us.ibm.com>
1593
1594 * configure.tgt: Add s390x-ibm-tpf support.
1595
1596 2004-12-16 Martin Kögler <mkoegler@auto.tuwien.ac.at>
1597
1598 * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL
1599 BFD.
1600
1601 2004-12-07 Ben Elliston <bje@gnu.org>
1602
1603 * ldemul.h: Forward declare struct option.
1604
1605 2004-12-01 Danny Smith <dannysmith@users.sourceforge.net>
1606
1607 * scripttempl/pe.sc (.data): Add .jcr subsection.
1608
1609 2004-11-30 Paul Brook <paul@codesourcery.com>
1610
1611 * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.
1612
1613 2004-11-30 Tero Niemela <tero_niemela@yahoo.com>
1614
1615 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
1616 * Makefile.in: Regenerate.
1617
1618 2004-11-26 Melissa Mears <asterisk@graces.dricas.com>
1619
1620 * emultempl/pe.em: Add --subsystem:xbox as well as
1621 --subsystem:%d.
1622 * ld.texinfo: (ld_options): Document acceptance of subsystem xbox
1623 and numeric subsystems.
1624
1625 2004-11-24 Alan Modra <amodra@bigpond.net.au>
1626
1627 * ldexp.c (fold_name): Correct PR 338 fix.
1628
1629 2004-11-19 Mark Mitchell <mark@codesourcery.com>
1630
1631 * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
1632 (earmelf_linux_eabi.c): New target.
1633 * configure.tgt (arm*-*-linux-gnueabi): Handle it.
1634 * emulparams/armelf_linux_eabi.sh: New file.
1635 * Makefile.in: Regenerated.
1636
1637 2004-11-19 Nick Clifton <nickc@redhat.com>
1638
1639 PR 518
1640 * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and
1641 LENGTH fields in the MEMORY command, to explicitly state that
1642 symbols cannot be used in their expressions.
1643
1644 2004-11-19 Jon Beniston <jon@beniston.com>
1645
1646 * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION.
1647 * ld/ldgram.y: Add ORIGIN and LENGTH expressions.
1648 * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions
1649 which return the length and origin of a memory.
1650 * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions.
1651 * NEWS: Mention support for ORIGIN and LENGTH operators.
1652
1653 2004-11-17 Daniel Jacobowitz <dan@codesourcery.com>
1654
1655 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use
1656 a dynamic object for stubs.
1657
1658 2004-11-04 Paul Brook <paul@codesourcery.com>
1659
1660 * ld.texinfo: Document --default-imported-symver.
1661 * ldmain.c (main): Set link_info.default_imported_symver.
1662 * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER.
1663 (ld_options): Add --default-imported-symver.
1664 (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.
1665
1666 2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
1667 Vineet Sharma <vineets@noida.hcltech.com>
1668
1669 * Makefile.am: Add entries for new maxq-coff target.
1670 * Makefile.in: Regenerate.
1671 * configure.tgt: Add support for maxq.
1672 * emulparams/maxqcoff.sh: New File.
1673 * scripttempl/maxqcoff.sc: New linker script for target maxq.
1674 * NEWS: Mention the new target.
1675
1676 2004-11-04 Daniel Jacobowitz <dan@debian.org>
1677
1678 * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o.
1679 (earmelf_oabi.c): Remove rule.
1680 * configure.tgt: Remove arm-*-oabi and thumb-*-oabi.
1681 * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files.
1682 * Makefile.in: Regenerated.
1683
1684 2004-11-04 Hans-Peter Nilsson <hp@axis.com>
1685
1686 * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout.
1687 * emulparams/criself.sh (INIT_START): Remove emitted "push srp".
1688 (FINI_START): Ditto.
1689 (INIT_END): Remove emitted "jump [sp+]".
1690 (FINI_END): Ditto.
1691
1692 2004-11-04 Alan Modra <amodra@bigpond.net.au>
1693
1694 * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt.
1695 (no_opd_opt, no_toc_opt): New static vars.
1696 (ppc_before_allocation): Don't edit opt if no_opd_opt. Call
1697 ppc64_elf_edit_toc.
1698 (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define.
1699 (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize.
1700 (PARSE_AND_LIST_OPTIONS): Describe new options.
1701 (PARSE_AND_LIST_ARGS_CASES): Handle them.
1702
1703 2004-10-27 Nick Clifton <nickc@redhat.com>
1704
1705 * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL,
1706 parameter to invocation of lang_section_start.
1707 * emultempl/aix.em (_handle_option): Likewise.
1708
1709 * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c,
1710 eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em.
1711 * Makefile.in: Regenerate.
1712
1713 2004-10-26 Mark Mitchell <mark@codesourcery.com>
1714
1715 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
1716 __exidx_{start,end} when not relocating.
1717
1718 2004-10-25 Mark Mitchell <mark@codesourcery.com>
1719
1720 * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
1721 * ldexp.h (segment_type): New type.
1722 (segments): New variable.
1723 * ldexp.c (segments): New variable.
1724 (exp_print_token): Handle SEGMENT_START.
1725 (fold_binary): Likewise.
1726 * ldgram.y (SEGMENT_START): Declare it as a token.
1727 (exp): Handle SEGMENT_START.
1728 * ldlang.h (lang_address_statement_type): Add segment field.
1729 (lang_section_start): Change prototype.
1730 * ldlang.c (map_input_to_output_sections): Do not process section
1731 assignments if a corresponding SEGMENT_START has already been
1732 seen.
1733 (lang_section_start): Add segment parameter.
1734 * ldlex.l (SEGMENT_START): Add it.
1735 * lexsup.c (seg_segment_start): New function.
1736 (parse_args): Use it for -Tbss, -Tdata, and -Ttext.
1737 * ld.texinfo (SEGMENT_START): Document it.
1738 * emulparams/armsymbian.sh (EMBEDDED): Set it.
1739 * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment
1740 base addresses. Do not map relocations.
1741 * NEWS: Mention SEGMENT_START.
1742
1743 2004-10-26 Paul Brook <paul@codesourcery.com>
1744
1745 * ld.texinfo: Document --default-symver.
1746 * ldmain.c (main): Set link_info.create_default_symver.
1747 * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER.
1748 (ld_options): Add default-symver.
1749 (parse_args): Handle OPTION_DEFAULT_SYMVER.
1750
1751 2004-10-24 Danny Smith <dannysmith@users.sourceforge.net>
1752
1753 * pe-dll.c (process_def_file): Don't export all symbols by default if
1754 building a position-independent executable.
1755
1756 2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
1757
1758 PR 463
1759 * ldmain.c (reloc_overflow): Accept a pointer to struct
1760 bfd_link_hash_entry. Report symbol location for relocation
1761 overflow.
1762
1763 2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
1764
1765 * genscripts.sh (libpath.exp): Really generate for first
1766 emulation only.
1767
1768 2004-10-19 Danny Smith <dannysmith@users.sourceforge.net>
1769
1770 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify
1771 comparison and replacement of filenames.
1772
1773 2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
1774
1775 PR 459
1776 * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic
1777 option on linker script as the one for linker script.
1778
1779 2004-10-16 Daniel Jacobowitz <dan@debian.org>
1780
1781 * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
1782 (check_excluded_libs): New.
1783 (load_symbols): Call check_excluded_libs.
1784 * ldlang.h (add_excluded_libs): New prototype.
1785 * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
1786 (gld${EMULATION_NAME}_add_options): Add --exclude-libs.
1787 (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
1788 * ld.texinfo (Command Line Variables): Document --exclude-libs.
1789 (Options Specific to i386 PE Targets): Remove --exclude-libs.
1790
1791 2004-10-15 Alan Modra <amodra@bigpond.net.au>
1792
1793 * ldexp.c (exp_fold_tree): Don't immediately exit ld on a
1794 failing link script assert.
1795
1796 * ldctor.c (ldctor_add_set_entry): Fix comment typo.
1797
1798 2004-10-14 H.J. Lu <hongjiu.lu@intel.com>
1799
1800 PR 445
1801 * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set.
1802 (SMALL_DATA_DTOR): Set.
1803 * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset.
1804 (SMALL_DATA_DTOR): Unset.
1805 * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors
1806 after .data. If SMALL_DATA_DTOR is set, move .dtors after
1807 .data.
1808
1809 2004-10-14 Alan Modra <amodra@bigpond.net.au>
1810
1811 PR 63
1812 * ldlang.h (lang_output_section_statement_type): Make "next" a
1813 struct lang_output_section_statement_struct *.
1814 (struct orphan_save): Move from elf32.em. Add "name" and "flags".
1815 (lang_output_section_find_by_flags, lang_insert_orphan): Declare.
1816 * ldlang.c (lang_output_section_find_1): Adjust for changed
1817 output_section_statement "next".
1818 (strip_excluded_output_sections): Likewise.
1819 (lang_record_phdrs): Likewise.
1820 (lang_output_section_find_by_flags): New function.
1821 (output_prev_sec_find): Move from pe.em. Adjust iterator.
1822 (lang_insert_orphan): New function. Tail end of elf32.em's
1823 place_orphan merged with that from pe.em. Allow bfd_section to
1824 be placed first. New heuristic for placing new output section
1825 statement in existing script, and accompanying split of __start
1826 symbol alignment into a separate assignment to dot.
1827 (lang_add_section): Consistently use output->bfd_section rather than
1828 an alias, section->output_section.
1829 (map_input_to_output_sections): Rename overly long arg. Move
1830 initialization of data_statement output section to here..
1831 (lang_check_section_addresses): ..from here.
1832 (print_assignment): Correct printing of etree_assert.
1833 (print_all_symbols): Don't bomb if userdata is NULL.
1834 (IGNORE_SECTION): Rearrange.
1835 * emultempl/elf32.em (output_rel_find): Adjust interator.
1836 (output_prev_sec_find): Delete.
1837 (struct orphan_save): Delete.
1838 (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section
1839 flags without creating a duplicate output section statement.
1840 Revise code holding history of various orphan section placements.
1841 Allow orphan sections to place before script specified output
1842 sections. Call lang_output_section_find_by_flags when placement
1843 by name fails. Use lang_insert_orphan.
1844 * emultempl/mmo.em (output_prev_sec_find): Delete.
1845 (struct orphan_save): Delete.
1846 (mmo_place_orphan): Revise code holding history of orphan placement.
1847 Allow orphans to place before existing output sections. Use
1848 lang_insert_orphan.
1849 * emultempl/pe.em (output_prev_sec_find): Delete.
1850 (struct orphan_save): Delete.
1851 (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of
1852 lang_insert_orphan.
1853
1854 2004-10-13 Mark Mitchell <mark@codesourcery.com>
1855
1856 * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a
1857 loadable segment.
1858
1859 2004-10-13 Alan Modra <amodra@bigpond.net.au>
1860
1861 PR 44
1862 * ldcref.c (check_section_sym_xref): Delete.
1863 (check_local_sym_xref): New function.
1864 (check_nocrossrefs): Adjust call.
1865 * emultempl/pe.em (struct orphan_save): Add os_tail.
1866 (place_orphan): Backport assorted fixes from elf32.em.
1867
1868 2004-10-12 Bob Wilson <bob.wilson@acm.org>
1869
1870 * emultempl/xtensaelf.em: Use ISO C90 formatting.
1871
1872 2004-10-11 Jakub Jelinek <jakub@redhat.com>
1873
1874 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid
1875 getline for portability.
1876
1877 * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure.
1878 (gld${EMULATION_NAME}_parse_ld_so_conf,
1879 gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions.
1880 (gld${EMULATION_NAME}_check_ld_so_conf): Use them.
1881
1882 2004-10-11 Alan Modra <amodra@bigpond.net.au>
1883
1884 PR 423
1885 * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are
1886 rejected when linking statically.
1887
1888 2004-10-08 Daniel Jacobowitz <dan@debian.org>
1889
1890 * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*.
1891
1892 2004-10-07 Bob Wilson <bob.wilson@acm.org>
1893
1894 * ld.texinfo (Xtensa): Describe new linker relaxation to optimize
1895 assembler-generated longcall sequences. Describe new --size-opt
1896 option.
1897 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section.
1898 * emultempl/xtensaelf.em (remove_section,
1899 replace_insn_sec_with_prop_sec, replace_instruction_table_sections,
1900 elf_xtensa_after_open): New.
1901 (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT,
1902 OPTION_NO_LITERAL_MOVEMENT): Define.
1903 (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals.
1904 (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement.
1905 (PARSE_AND_LIST_OPTIONS): Add --size-opt.
1906 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT,
1907 OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT.
1908 (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open.
1909 * scripttempl/elfxtensa.sc: Update with changes from elf.sc.
1910 * Makefile.am (eelf32xtensa.c): Update dependencies.
1911 * Makefile.in: Regenerate.
1912
1913 2004-10-07 Jeff Baker <jbaker@qnx.com>
1914
1915 * lexsup.c: Handle --warn-shared-textrel option.
1916 (ld_options): Restore alpha sorting of options.
1917 * ldmain.c (main): Initialise warn_shared_info field to FALSE.
1918 * ld.texinfo: Add documentation for --warn-shared-textrel.
1919 * NEWS: Added mention of --warn-shared-textrel option.
1920
1921 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
1922
1923 * emultempl/crxelf.em (disable_relaxation): Add.
1924 (crxelf_before_allocation): Enable --relax option by default.
1925 (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX.
1926 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax.
1927 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX.
1928
1929 2004-10-04 H.J. Lu <hongjiu.lu@intel.com>
1930
1931 * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and
1932 --sort-section name|alignment.
1933
1934 * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and
1935 --sort-section name|alignment.
1936
1937 * ld.h (sort_type): New enum.
1938 (wildcard_spec): Change the type of `sorted' to sort_type.
1939
1940 * ldgram.y (SORT): Removed.
1941 (SORT_BY_NAME): Added.
1942 (SORT_BY_ALIGNMENT): Added.
1943 (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and
1944 SORT_BY_ALIGNMENT.
1945 (input_section_spec_no_keep): Updated `sorted'.
1946 (statement): Replace SORT with SORT_BY_NAME.
1947
1948 * ldlang.c (compare_section): New function to compare 2
1949 sections with different sorting schemes.
1950 (wild_sort): Updated. Use compare_section.
1951 (update_wild_statements): New function.
1952 (lang_process): Call update_wild_statements before
1953 map_input_to_output_sections.
1954
1955 * ldlex.l (SORT_BY_NAME): New.
1956 (SORT_BY_ALIGNMENT): New.
1957 (SORT): Return SORT_BY_NAME.
1958
1959 * ldmain.c (sort_section): New. Defined.
1960 (main): Initialize it to none.
1961
1962 * lexsup.c (option_values): Add OPTION_SORT_SECTION.
1963 (ld_options): Add an entry for OPTION_SORT_SECTION.
1964 (parse_args): Handle OPTION_SORT_SECTION.
1965
1966 * mri.c (mri_draw_tree): Updated `sorted'.
1967
1968 2004-10-04 Jakub Jelinek <jakub@redhat.com>
1969
1970 * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument.
1971 * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first
1972 argument.
1973 (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first
1974 and . as second argument.
1975 (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section.
1976 * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here.
1977 (fold_binary): Add it here. Insert padding to make relro_end
1978 COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in
1979 exp_dataseg_relro_adjust phase just use previously computed
1980 exp_data_seg.base.
1981 * ldlang.c (lang_size_sections): Set exp_data_seg.base for
1982 relro_adjust here. Call lang_size_sections_1 once more if there
1983 was too big padding at DATA_SEGMENT_RELRO_END.
1984 * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation.
1985
1986 2004-10-01 Paul Brook <paul@codesourcery.com>
1987
1988 * emulparams/armelf.sh: Add unwinding table sections.
1989
1990 2004-09-30 Filip Navara <navaraf@reactos.com>
1991
1992 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate
1993 correct base address for position independant executables.
1994 * pe-dll.c (pe_dll_fill_sections): Don't mark position independant
1995 executables as DLLs.
1996
1997 2004-09-30 Paul Brook <paul@codesourcery.com>
1998
1999 * ld.texinfo: Document --target2=abs.
2000 * emulparms/armsymbian.sh (TARGET2_TYPE): Set.
2001
2002 2004-09-29 Nick Clifton <nickc@redhat.com>
2003
2004 * scripttempl/xstormy16.sc: Only perform the assignments to the
2005 ROM region when not performing a relocatable link. The ROM region
2006 does not start at address 0, but the sections will.
2007 * Makefile.am: Fix linker script dependency for the generation of
2008 eelf32xstormy16.c.
2009 * Makefile.in: Regenerate.
2010
2011 2004-09-18 Filip Navara <navaraf@reactos.com>
2012
2013 * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh,
2014 emulparams/i386pe_posix.sh, emulparams/mcorepe.sh,
2015 emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define
2016 TARGET_PAGE_SIZE.
2017 * scripttempl/pe.sc: Make the virtual address and file offset synced if
2018 the alignment is lower than the target page size.
2019
2020 2004-09-27 Filip Navara <navaraf@reactos.com>
2021
2022 * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow
2023 def_file_parse to handle pe_def_file if NULL and prevent crash with
2024 invalid .def files.
2025
2026 2004-09-27 Alan Modra <amodra@bigpond.net.au>
2027
2028 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
2029 --emit-stub-syms automatically when --emit-relocs.
2030
2031 2004-09-24 Paul Brook <paul@codeosurcery.com>
2032
2033 * scripttempl/elf.sc: Keep .preinit_array, .init_array and
2034 .fini_array sections.
2035
2036 2004-09-19 Andreas Schwab <schwab@suse.de>
2037
2038 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment
2039 base so that relro end is suitably aligned.
2040
2041 2004-09-17 Paul Brook <paul@codesourcery.com>
2042
2043 * ld.texinfo: Rename arm-specific section. Document --target*
2044 * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
2045 * emulparams/armelf_linux.sh: Ditto.
2046 * emulparams/armelf_nbsd.sh: Ditto.
2047 * emultempl/armelf.em: Set default for TARGET2_TYPE.
2048 (target2_type): New variable.
2049 (arm_elf_before_allocation): Don't pass target1_type.
2050 (arm_elf_create_output_section_statements): New function.
2051 (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
2052 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
2053 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
2054 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
2055 * emultempl/armelf_oabi.em (_before_allocation): Remove extra
2056 argument to bfd_elf32_arm_process_before_allocation.
2057
2058 2004-09-17 Alan Modra <amodra@bigpond.net.au>
2059
2060 * ldexp.c (fold_name): Update u.undef.next refs.
2061 * emultempl/pe.em: Likewise.
2062 * emultempl/sunos.em: Likewise.
2063
2064 2004-09-17 Alan Modra <amodra@bigpond.net.au>
2065
2066 * Makefile.am: Run "make dep-am".
2067 * Makefile.in: Regenerate.
2068 * config.in: Regenerate.
2069 * configure: Regenerate.
2070 * aclocal.m4: Regenerate.
2071 * po/ld.pot: Regenerate.
2072
2073 2004-09-16 Tomer Levi <Tomer.Levi@nsc.com>
2074
2075 * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*.
2076 (.fini): Likewise.
2077 (.jcr): Likewise.
2078
2079 2004-09-16 Alan Modra <amodra@bigpond.net.au>
2080
2081 * emultempl/armelf_oabi.em (before_allocation): Add extra zero param
2082 to bfd_elf32_arm_process_before_allocation call.
2083
2084 2004-09-13 Paul Brook <paul@codesourcery.com>
2085
2086 * emulparams/armsymbian.sh: Set TARGET1_IS_REL.
2087 * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}.
2088
2089 2004-09-07 H.J. Lu <hongjiu.lu@intel.com>
2090
2091 * configure: Regenerated with autconfig 2.13.
2092
2093 2004-09-07 Andreas Schwab <schwab@suse.de>
2094
2095 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
2096 alignment before adjusting DATA_SEGMENT_RELRO_END.
2097
2098 2004-09-06 Mark Mitchell <mark@codesourcery.com>
2099
2100 * emulparams/armsymbian.sh: Use armbpabi script.
2101 * scripttempl/armbpabi.sc: New script.
2102
2103 2004-09-02 Mark Mitchell <mark@codesourcery.com>
2104
2105 * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
2106 (earmsymbian.c): New target.
2107 * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
2108 * Makefile.in: Regenerated.
2109 * aclocal.m4: Likewise.
2110 * configure: Likewise.
2111 * emulparams/armsymbian.sh: New file.
2112
2113 2004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
2114
2115 * scripttempl/elf32crx.sc: Edit file with comments.
2116 (.init): Add new section.
2117 (.fini): Likewise.
2118 (.ctor): Control the linkage order.
2119 (.dtor): Likewise.
2120
2121 2004-08-27 Nick Clifton <nickc@redhat.com>
2122
2123 * emultempl/pe.em (after_open): Do not assume that either bfd is
2124 an archive.
2125
2126 2004-08-26 Alan Modra <amodra@bigpond.net.au>
2127
2128 * ldlang.c (lang_init): Don't compare with TRUE.
2129
2130 2004-08-25 Dmitry Diky <diwil@spec.ru>
2131
2132 * emulparams/msp430all.sh: Fix RAM sizes for all targets.
2133 * scripttempl/elf32msp430.sc: Add .profiler section definition.
2134
2135 2004-08-24 H.J. Lu <hongjiu.lu@intel.com>
2136
2137 * ldlang.c (wildcardp): Defined as a macro with strpbrk.
2138
2139 2004-08-19 Mark Mitchell <mark@codesourcery.com>
2140
2141 * configure.tgt (arm*-*-symbianelf*): New target.
2142 (arm*-*-eabi*): Likewise.
2143
2144 2004-08-19 Jakub Jelinek <jakub@redhat.com>
2145
2146 * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
2147 (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
2148 (OPTION_NON_OVERLAPPING_OPD): Define.
2149 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
2150 --non-overlapping-opd option.
2151
2152 2004-08-18 Alan Modra <amodra@bigpond.net.au>
2153
2154 PR 338
2155 * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
2156 was already on the undefs list.
2157
2158 2004-08-17 Alan Modra <amodra@bigpond.net.au>
2159
2160 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
2161 prefix the symbol field too.
2162
2163 2004-08-13 Alan Modra <amodra@bigpond.net.au>
2164
2165 * ldmain.c (link_callbacks): Remove "error_handler".
2166 * ldmisc.c: Include elf-bfd.h.
2167 (vfinfo): Sort comment. Handle %A. Use %A instead of
2168 bfd_get_section_indent.
2169 (error_handler): Delete.
2170 * ldmisc.h (error_handler): Delete declaration.
2171
2172 2004-08-10 Alan Modra <amodra@bigpond.net.au>
2173
2174 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
2175 ppc64_elf_restore_symbols.
2176
2177 2004-08-09 Alan Modra <amodra@bigpond.net.au>
2178
2179 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
2180 .toc is too large on relocatable linking.
2181
2182 2004-08-09 Alan Modra <amodra@bigpond.net.au>
2183
2184 * emultempl/ppc64elf.em (ppc_after_open): Delete.
2185 (LDEMUL_AFTER_OPEN): Don't define.
2186
2187 2004-08-02 Stephane Carrez <stcarrez@nerim.fr>
2188
2189 * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
2190
2191 2004-08-01 Stephane Carrez <stcarrez@nerim.fr>
2192
2193 * scripttempl/elfm68hc12.sc: Align text, rodata and data section
2194 on power of 2.
2195
2196 2004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
2197
2198 * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
2199
2200 2004-07-26 Dmitry Diky <diwil@spec.ru>
2201
2202 * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
2203 msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
2204 msp430xG439.
2205 * configure.tgt: Likewise.
2206 * emulparams/msp430all.sh: Likewise.
2207 * Makefile.in: Regenerate.
2208
2209 2004-07-23 Nick Clifton <nickc@redhat.com>
2210
2211 * emultempl/elf32.em (_place_orphan): Use an already existing
2212 section name if that section does not have any flags set.
2213
2214 2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
2215
2216 * ldlang.c (already_linked_hash_entry): Removed.
2217 (already_linked): Likewise.
2218 (already_linked_table): Likewise.
2219 (section_already_linked): Call bfd_section_already_linked.
2220 (lang_process): Replace already_linked_table_init with
2221 bfd_section_already_linked_table_init and check return. Replace
2222 already_linked_table_free with bfd_section_already_linked_table_free.
2223
2224 2004-07-21 Nick Clifton <nickc@redhat.com>
2225
2226 * ldlang.c (init_os): Make sure that the newly allocated userdata
2227 structure is zeroed out.
2228
2229 2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
2230
2231 * NEWS: Mention the new --add-needed/--no-add-needed and
2232 --as-needed/--no-as-needed options.
2233
2234 2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
2235
2236 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
2237 check the add_needed field.
2238 (dt_needed): New struct.
2239 (gld${EMULATION_NAME}_try_needed): Change the first argument
2240 to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
2241 bit in the file where the DT_NEEDED entry comes from.
2242 (gld${EMULATION_NAME}_search_needed): Change the second
2243 argument to a pointer to struct dt_needed.
2244 (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
2245 (gld${EMULATION_NAME}_after_open): Likewise.
2246
2247 * ld.texinfo: Add --add-needed document.
2248 * ldlang.c (new_afile): Set p->add_needed.
2249 * ldlang.h (lang_input_statement_type): Add add_needed field.
2250 * ldmain.h (add_needed): Declare.
2251 * ldmain.c (add_needed): New global var.
2252 * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
2253 OPTION_NO_ADD_NEEDED.
2254 (ld_options): Likewise.
2255 (parse_args): Handle them.
2256
2257 2004-07-13 Christof Petig <christof@petig-baender.de>
2258
2259 * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
2260 for endian-ness of extracted addend.
2261
2262 2004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net>
2263
2264 * pe-dll.c (auto_export): Filter on just the import prefix,
2265 "_imp_", not "_imp__".
2266
2267 2004-07-09 Nick Clifton <nickc@redhat.com>
2268
2269 * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
2270
2271 2004-07-06 Tomer Levi <Tomer.Levi@nsc.com>
2272
2273 * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
2274 (eelf32crx.c): New target.
2275 * Makefile.in: Regenerate.
2276 * configure.tgt: Handle crx-*-elf*.
2277 * emulparams/elf32crx.sh: New file.
2278 * emultempl/crxelf.em: New file.
2279 * scripttempl/elf32crx.sc: New file.
2280 * NEWS: Mention new target.
2281
2282 2004-07-06 Nick Clifton <nickc@redhat.com>
2283
2284 * Makefile.am: Add eshlsymbian.c.
2285 * Makefile.in: Regenerate.
2286 * configure.tgt: Add sh*-symbian-elf target.
2287 * emulparams/shlsymbian.sh: New file. Configure the
2288 sh-symbian-elf linker scripts.
2289 * scripttemp/elf32sh-symbian.sc: New file. Linker script
2290 template for the sh-symbian-elf target.
2291
2292 2004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2293
2294 * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
2295 * emulparams/hppalinux.sh: Likewise.
2296 * scripttempl/elf.sc: Place .plt just before .got when .plt is in
2297 data segment and PLT_BEFORE_GOT is defined.
2298
2299 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
2300
2301 * ld.texinfo (WIN32): Document PE weak symbols.
2302
2303 2004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2304
2305 * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
2306
2307 2004-07-01 H.J. Lu <hongjiu.lu@intel.com>
2308
2309 * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
2310 the section.
2311
2312 2004-06-29 Alan Modra <amodra@bigpond.net.au>
2313
2314 * ldlang.c (lang_reset_memory_regions): Save last relax pass section
2315 size in rawsize.
2316
2317 2004-06-24 Alan Modra <amodra@bigpond.net.au>
2318
2319 * ldlang.c (print_output_section_statement): Don't print size before
2320 relaxation.
2321 (IGNORE_SECTION): Remove bfd arg. Update all callers.
2322
2323 * ldexp.c (fold_name): .. See below.
2324 * ldlang.c (section_already_linked, print_output_section_statement,
2325 print_input_section, insert_pad, size_input_section,
2326 lang_check_section_addresses, lang_size_sections_1,
2327 lang_size_sections, lang_do_assignments_1, lang_set_startof,
2328 lang_one_common, lang_reset_memory_regions, lang_process,
2329 lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
2330 * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
2331 * pe-dll.c (process_def_file, generate_reloc): ..
2332 * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
2333 gld${EMULATION_NAME}_before_allocation): ..
2334 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
2335 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
2336 sh64_elf_${EMULATION_NAME}_after_allocation): ..
2337 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
2338 * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
2339 ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
2340 "size" instead of "_raw_size" and "_cooked_size". Expand
2341 bfd_section_size macro invocations.
2342
2343 2004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
2344
2345 * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
2346 ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
2347 ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
2348 ___crt_xt_end__.
2349 (.tls): Define ___tls_start__ and ___tls_end__.
2350
2351 2004-06-21 Alexandre Oliva <aoliva@redhat.com>
2352
2353 * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
2354
2355 2004-06-18 Adam Nemet <anemet@lnxw.com>
2356
2357 * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
2358 * configure: Regenerate.
2359
2360 2004-06-15 Jakub Jelinek <jakub@redhat.com>
2361
2362 * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
2363 .gcc_except_table output sections lost accidentally with
2364 -z relro patch.
2365
2366 2004-06-15 Alan Modra <amodra@bigpond.net.au>
2367
2368 * ldwrite.c (build_link_order): Use bfd_get_section_size
2369 instead of bfd_get_section_size_before_reloc or _raw_size.
2370 * pe-dll.c (process_def_file): Likewise.
2371
2372 2004-06-14 Alan Modra <amodra@bigpond.net.au>
2373
2374 From Richard Wirth <r.wirth@wirthware.de>
2375 * ldlang.c (lang_finish): Don't free lang_definedness_table.
2376
2377 2004-05-29 Alan Modra <amodra@bigpond.net.au>
2378
2379 * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
2380 (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
2381
2382 2004-05-28 Alan Modra <amodra@bigpond.net.au>
2383
2384 * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
2385 throughout file.
2386 * lexsup.c: Formatting. Wrap long lines.
2387 * ldwrite.c: Update copyright date.
2388
2389 * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
2390 (output_section_callback): Nor SEC_KEEP here.
2391 (gc_section_callback): Twiddle SEC_EXCLUDE here.
2392 (lang_gc_wild): Delete. Fold into..
2393 (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage
2394 collecting.
2395 (lang_process): Always call lang_gc_sections.
2396 (lang_place_orphans): Handle SEC_EXCLUDE sections.
2397 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
2398 SEC_EXCLUDE code.
2399
2400 2004-05-26 H.J. Lu <hongjiu.lu@intel.com>
2401
2402 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
2403 SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
2404 * ldlang.c (lang_add_section): Likewise.
2405
2406 2004-05-26 Alan Modra <amodra@bigpond.net.au>
2407
2408 * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
2409 sections when doing a final link. Clear SEC_EXCLUDE when doing
2410 a relocable link, except for SEC_DEBUGGING sections.
2411 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
2412 same condition here to drop SEC_EXCLUDE orphan sections.
2413
2414 2004-05-25 Alan Modra <amodra@bigpond.net.au>
2415
2416 * ldlang.c (lang_process): Call bfd_merge_sections later, and
2417 only when not a relocatable link.
2418 (print_input_section): Handle SEC_EXCLUDE sections.
2419 (size_input_section): Don't update dot on SEC_EXCLUDE sections.
2420 (lang_do_assignments_1): Likewise.
2421 * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
2422 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
2423 * emultempl/hppaelf.em (build_section_lists): Likewise.
2424 * emultempl/ppc64elf.em (build_toc_list): Likewise.
2425 (build_section_lists): Likewise.
2426
2427 2004-05-23 Andreas Schwab <schwab@suse.de>
2428
2429 * ld.texinfo (Options): Fix typo in last change.
2430
2431 2004-05-21 Andy Chittenden <achittenden@bluearc.com>
2432
2433 * ld.h (ld_config_type): Add new field: hash_table_size.
2434 * ldmain.c: Initialise the new field to zero. If it is non-zero
2435 after parsing the linker's command line call
2436 bfd_hash_set_default_size.
2437 * lexsup.c (option_values): Add OPTION_HASH_SIZE.
2438 (ld_options): Add hash-size.
2439 (parse_args): Parse --hash-size option. Allow
2440 --reduce-memory-overheads to set the default hash table size as
2441 well.
2442 * ld.texinfo: Document the new switch. Also mention that
2443 --reduce-memory-overheads can affect the hash table size.
2444 * NEWS: Mention the new feature.
2445
2446 2004-05-19 J"orn Rennecke <joern.rennecke@superh.com>
2447
2448 * NEWS: Mention new linker map file generation and the
2449 --reduce-memory-overheads option.
2450 * ld.texinfo: Document --reduce-memory-overheads option.
2451 * ld.h (map_symbol_def): New struct.
2452 (struct user_section_struct, section_userdata_type): Rename to:
2453 (struct lean_user_section_struct, lean_section_userdata_type).
2454 (struct fat_user_section_struct, fat_section_userdata_type): New.
2455 (SECTION_USERDATA_SIZE): Define.
2456 (args_type): New member reduce_memory_overheads.
2457 * ldlang.c (map_obstack): New static variable.
2458 (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
2459 (lang_map): Unless command_line.reduce_memory_overheads is set,
2460 initialize lists of defined symbols for each section.
2461 (print_input_section): Unless command_line.reduce_memory_overheads
2462 is set, use print_all_symbols.
2463 (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
2464 * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
2465 * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
2466 (ld_options): Add entry for --reduce-memory-overheads.
2467 (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
2468
2469 2004-05-19 Jakub Jelinek <jakub@redhat.com>
2470
2471 * ldgram.y (sect_constraint): New.
2472 (ONLY_IF_RO, ONLY_IF_RW): New tokens.
2473 (section): Add sect_constraint. Pass additional argument
2474 to lang_enter_output_section_statement.
2475 * mri.c (mri_draw_tree): Pass additional argument to
2476 lang_enter_output_section_statement.
2477 * emultempl/pe.em (place_orphan): Likewise.
2478 (output_prev_sec_find): Disregard output section statements with
2479 constraint == -1.
2480 * emultempl/mmo.em (output_prev_sec_find): Likewise.
2481 (mmo_place_orphan): Pass additional argument to
2482 lang_enter_output_section_statement.
2483 * emultempl/elf32.em (output_prev_sec_find): Disregard output section
2484 statements with constraint == -1.
2485 (place_orphan): Pass additional argument to
2486 lang_enter_output_section_statement.
2487 * ldlang.c (lang_enter_overlay_section): Likewise.
2488 (lang_output_section_find_1): New.
2489 (lang_output_section_find): Use it.
2490 (lang_output_section_statement_lookup_1): New.
2491 (lang_output_section_statement_lookup): Use it.
2492 (check_section_callback, check_input_sections): New.
2493 (map_input_to_output_sections): Check if all input sections
2494 are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
2495 (strip_excluded_output_sections): Disregard output section statements
2496 with constraint == -1.
2497 (lang_record_phdrs): Likewise.
2498 (lang_enter_output_section_statement): Add constraint argument.
2499 Use lang_output_section_statement_lookup_1.
2500 * ldlang.h (lang_output_section_statement_type): Add constraint
2501 and all_input_readonly fields.
2502 (lang_enter_output_section_statement): Adjust prototype.
2503 * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
2504 * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
2505 segment if all input sections are readonly.
2506
2507 2004-05-19 Adam Nemet <anemet@lnxw.com>
2508
2509 * scripttempl/i386lynx.sc: Remove file.
2510
2511 2004-05-17 Bob Wilson <bob.wilson@acm.org>
2512
2513 * ld.texinfo (Output Section Address): Correct subsection name.
2514
2515 2004-05-17 Adam Nemet <anemet@lnxw.com>
2516
2517 * configure.tgt (powerpc-*-lynxos* case): New case.
2518 * configure.host (i[3-7]86-*-lynxos* case): Remove case.
2519 * emulparams/ppclynx.sh: New file.
2520 * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
2521 * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
2522 (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
2523 (eppclynx.c): New rule.
2524 * Makefile.in: Regenerate.
2525
2526 2004-05-13 Joel Sherrill <joel@oarcorp.com>
2527
2528 * configure.tgt (or32-*-rtems*): Switch to elf and
2529 support versioned targets.
2530
2531 2004-05-13 Nick Clifton <nickc@redhat.com>
2532
2533 * po/fr.po: Updated French translation.
2534
2535 2004-05-11 Jakub Jelinek <jakub@redhat.com>
2536
2537 * genscripts.sh: Generate -z combreloc -z now -z relro scripts
2538 for binaries, -shared and -pie.
2539 * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
2540 * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
2541 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
2542 (OTHER_RELRO_SECTIONS): ... this.
2543 * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
2544 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
2545 -z relro and -z norelro.
2546 (gld${EMULATION_NAME}_list_options): Add it to usage.
2547 (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
2548 -z relro scripts when appropriate.
2549 * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
2550 Create separate .got.plt section if SEPARATE_GOTPLT.
2551 Move sections which are only written during relocation handling
2552 to the beginning of RW segment. If NO_SMALL_DATA, move .got
2553 before .data. Add DATA_SEGMENT_RELRO_END directive.
2554 Include OTHER_RELRO_SECTIONS.
2555 * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
2556 * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
2557 (fold_unary): Likewise.
2558 (fold_binary): Handle -z relro.
2559 * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
2560 exp_dataseg_relro_adjust phases. Add relro_end field.
2561 * ldmain.c (main): Initialize link_info.relro to FALSE.
2562 * ldlang.c (lang_size_sections): Handle -z relro.
2563
2564 2004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
2565
2566 * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
2567
2568 2004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
2569
2570 * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
2571 before printing it with %W.
2572
2573 2004-05-07 Brian Ford <ford@vss.fsi.com>
2574 DJ Delorie <dj@redhat.com>
2575
2576 * emultempl/pe.em (real_flags): New static.
2577 (OPTION_LARGE_ADDRESS_AWARE): New define.
2578 (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
2579 (gld_${EMULATION_NAME}_list_options): Likewise.
2580 (gld${EMULATION_NAME}_handle_option): Likewise.
2581 (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
2582 * ld.texinfo: Document it.
2583 * NEWS: Mention it.
2584
2585 2004-05-07 Brian Ford <ford@vss.fsi.com>
2586
2587 * NEWS: Mention DWARF 2 support for i386pe.
2588
2589 2004-05-05 Alexandre Oliva <aoliva@redhat.com>
2590
2591 * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
2592 elf32-frvfdpic.
2593
2594 2004-04-30 Alan Modra <amodra@bigpond.net.au>
2595
2596 * ldlang.c (unique_section_p): Pass section parm, return true on
2597 group sections.
2598 (output_section_callback): Adjust.
2599 * ldlang.h (unique_section_p): Update prototype.
2600 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
2601
2602 2004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
2603
2604 * ld.texinfo (--gc-sections): Remove restriction for
2605 dynamic linking.
2606
2607 2004-04-29 Brian Ford <ford@vss.fsi.com>
2608
2609 * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
2610 for DWARF 2/3. Update stab section's syntax.
2611
2612 2004-04-29 Alan Modra <amodra@bigpond.net.au>
2613
2614 * pe-dll.c: Revert changes accidentally committed 2004-03-08.
2615 (fill_edata): Correct pointer arithmetic.
2616
2617 2004-04-21 Chris Demetriou <cgd@broadcom.com>
2618
2619 * ld.texinfo: Remove MIPS --embedded-relocs documentation.
2620 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
2621 * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
2622 (EXTRA_EM_FILE): Use mipsecoff.em
2623 * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
2624 (EXTRA_EM_FILE): Use mipsecoff.em
2625 * emultempl/mipsecoff.em: Restructure to be included as an
2626 extra emulation file.
2627 (check_sections, gld${EMULATION_NAME}_after_open)
2628 (gld${EMULATION_NAME}_after_allocation)
2629 (gld${EMULATION_NAME}_get_script)
2630 (ld_${EMULATION_NAME}_emulation): Remove
2631 (gld${EMULATION_NAME}_before_parse): Rename to...
2632 (mipsecoff_before_parse): This.
2633 (LDEMUL_BEFORE_PARSE): Define.
2634 * emultempl/mipself.em: Remove file.
2635 * scripttempl/mips.sc (.rel.sdata): Do not include in output.
2636 (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
2637 these symbols.
2638 * Makefile.am: Remove dependencies on emultempl/mipself.em.
2639 * Makefile.in: Regenerate.
2640
2641 2004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
2642
2643 * ld.texinfo (synthesizing on H8/300): Information about linker
2644 relaxation support for bit manipulation instructions and system
2645 control instructions is added.
2646
2647 2004-04-21 Hans-Peter Nilsson <hp@axis.com>
2648
2649 * NEWS: Mention change in DEFINED semantics.
2650
2651 2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
2652
2653 * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
2654 (.data): Add KEEP for .gnu.linkonce.d.*personality*.
2655 (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
2656
2657 2004-04-21 Ben Elliston <bje@au.ibm.com>
2658
2659 * ld.texinfo (Simple Example): Add missing punctuation.
2660
2661 2004-04-20 Chris Demetriou <cgd@broadcom.com>
2662
2663 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
2664
2665 2004-04-19 Jakub Jelinek <jakub@redhat.com>
2666
2667 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
2668 specially.
2669
2670 2004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
2671
2672 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
2673 with default priority. Likewise for dtors.
2674
2675 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2676
2677 * configure.host: Remove mips*-dec-bsd* target.
2678 * configure.tgt: Likewise.
2679
2680 2004-04-08 Richard Sandiford <rsandifo@redhat.com>
2681
2682 * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
2683 * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
2684 * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
2685 * emultempl/irix.em: New file.
2686 * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
2687 dependencies.
2688 * Makefile.in: Regenerate.
2689
2690 2004-04-01 Paul Brook <paul@codesourcery.com>
2691
2692 * emultempl/armelf.em (byteswap_code): Add.
2693 (arm_elf_before_allocation): Pass extra parameter.
2694 (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
2695 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
2696 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
2697 * emultempl/armelf_oabi.em: Pass extra parameter.
2698 * ld.texinfo: Document --be8.
2699
2700 2004-03-30 Stan Shebs <shebs@apple.com>
2701
2702 Remove long-obsolete MPW support.
2703 * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
2704 * Makefile.am (mpw): Remove file-presynthesizing actions.
2705 * Makefile.in: Likewise.
2706 * ldfile.c (slash): Remove MPW case.
2707 * ldlex.l [MPW]: Remove unused definition.
2708
2709 2004-03-30 Galit Heller <Galit.Heller@nsc.com>
2710
2711 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
2712 (eelf32cr16c.c): New target.
2713 * Makefile.in: Regenerate.
2714 * configure.tgt: Handle cr16c-*-elf*.
2715 * emulparams/elf32cr16c.sh: New file.
2716 * scripttempl/elfcr16c.sc: Likewise
2717 * NEWS: Mention support for new target.
2718
2719 2004-03-30 Nick Clifton <nickc@redhat.com>
2720
2721 * po/sv.po: Updated Swedish translation.
2722
2723 2004-03-27 Alan Modra <amodra@bigpond.net.au>
2724
2725 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
2726 * emultempl/hppaelf.em: Likewise.
2727 * emultempl/ppc64elf.em: Likewise.
2728 * emultempl/sh64elf.em: Likewise.
2729
2730 2004-03-25 Alan Modra <amodra@bigpond.net.au>
2731
2732 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
2733 size_dynamic_sections call.
2734
2735 2004-03-23 Alan Modra <amodra@bigpond.net.au>
2736
2737 PR 51.
2738 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
2739 link_info.wrap_char.
2740
2741 2004-03-20 H.J. Lu <hongjiu.lu@intel.com>
2742
2743 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
2744 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
2745
2746 2004-03-20 Alexandre Oliva <aoliva@redhat.com>
2747
2748 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
2749
2750 2004-03-19 Alan Modra <amodra@bigpond.net.au>
2751
2752 * config.in: Regenerate.
2753 * po/ld.pot: Regenerate.
2754
2755 2004-03-18 Alan Modra <amodra@bigpond.net.au>
2756
2757 * ld.texinfo: Add --as-needed doco.
2758 * ldmain.c (as_needed): New global var.
2759 * ldmain.h (as_needed): Declare.
2760 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
2761 OPTION_NO_AS_NEEDED.
2762 (ld_options): Likewise.
2763 (parse_args): Handle them.
2764 * ldlang.h (lang_input_statement_type): Add as_needed field.
2765 * ldlang.c (new_afile): Set p->as_needed.
2766 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
2767 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
2768 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
2769
2770 * ldlang.c (open_input_bfds): Remove useless cast.
2771 (lang_do_assignments_1): Likewise.
2772 (lang_for_each_input_section): Delete.
2773
2774 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2775
2776 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
2777
2778 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
2779
2780 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
2781 private when building implib.
2782
2783 2004-03-05 Nathan Sidwell <nathan@codesourcery.com>
2784
2785 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
2786 SEC_THREAD_LOCAL.
2787 (IGNORE_SECTION): Ignore .tbss sections too.
2788 (lang_size_sections_1): .tbss sections do not advance dot.
2789
2790 2004-03-01 Andreas Schwab <schwab@suse.de>
2791
2792 * ld.texinfo (Options): Fix example for --wrap.
2793
2794 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
2795
2796 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
2797 not NULL.
2798
2799 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
2800
2801 * ldlang.c (lang_check): Use %P, not %E, in error message.
2802
2803 2004-02-23 Nathan Sidwell <nathan@codesourcery.com>
2804
2805 * ldlang.h (struct lang_output_section_state): Change processed
2806 field's type.
2807 * ldexp.c (check, invalid): Remove.
2808 (fold_name): Move valid_p assignments. Create undefined symbol
2809 when needed. Directly exampine section's processd flag.
2810 * ldlang.c (lang_output_section_statement_lookup): Adjust
2811 processed field init.
2812 (lang_size_sections_1): Allow LOADADDR when determining section's
2813 VMA. Adjust error message. Fold data statement's expr.
2814 (lang_size_sections): Correctly increment lang_statement_iteration.
2815
2816 2004-02-23 Alan Modra <amodra@bigpond.net.au>
2817
2818 * ldexp.c (fold_tree): Follow indirect symbols.
2819
2820 2004-02-20 Nathan Sidwell <nathan@codesourcery.com>
2821
2822 * ldgram.y (exp): Add two operand ALIGN.
2823 * ldexp.c (fold_binary): Add ALIGN_K case.
2824 * ld.texinfo (ALIGN): Document two operand version.
2825
2826 2004-02-19 Nathan Sidwell <nathan@codesourcery.com>
2827
2828 * ldlang.c (map_input_to_output_sections): Initialize sections
2829 mentioned in a data statement expression.
2830 (lang_do_assignments_1): Add data statement's expression's
2831 section's vma.
2832
2833 2004-02-18 Nathan Sidwell <nathan@codesourcery.com>
2834
2835 * ldgram.y (statement_anywhere): Add assert rule.
2836 * ldlang.c (exp_init_os): Add assert case.
2837
2838 2004-02-14 Andrew Cagney <cagney@redhat.com>
2839
2840 * ldmain.c (remove_output): Call bfd_cache_close.
2841
2842 2004-02-14 Richard Sandiford <rsandifo@redhat.com>
2843
2844 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
2845 .MIPS.content* and .MIPS.events* sections.
2846
2847 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
2848
2849 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
2850 .note.gnu.arm.ident to after allocated sections. Mark its
2851 address as 0.
2852
2853 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
2854
2855 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
2856 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
2857 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
2858 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
2859 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
2860
2861 2004-02-05 Nick Clifton <nickc@redhat.com>
2862
2863 * emultempl/pe.em (_after_open): Fix typo in previous delta.
2864
2865 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
2866
2867 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
2868
2869 2004-01-28 Alan Modra <amodra@bigpond.net.au>
2870
2871 * genscripts.sh: Fix typo.
2872
2873 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
2874
2875 2004-01-24 Jakub Jelinek <jakub@redhat.com>
2876
2877 * emulparams/elf64_ia64.sh: Put .rela.opd into
2878 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
2879
2880 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
2881
2882 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
2883 * ld.texinfo (--omagic): Note that writable text section
2884 does not conform to published PE-COFF specs.
2885 (--enable-auto-import): Likewise.
2886
2887 2004-01-15 Alan Modra <amodra@bigpond.net.au>
2888
2889 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
2890
2891 2004-01-13 Nick Clifton <nickc@redhat.com>
2892
2893 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
2894 which if true will prevent the LMA region being used as a
2895 replacement for a default VMA region.
2896 (lang_leave_output_section_statement): Pass extra parameter.
2897 (lang_leave_overlay): Likewise.
2898 * ld.texinfo (Output Section LMA): Document that the LMA
2899 region can be set to the VMA region if no VMA has been set.
2900 * ldlang.h (struct lang_output_section_phdr_list): Create a
2901 typedef for this type. Minor formatting fixes.
2902
2903 2004-01-13 Nick Clifton <nickc@redhat.com>
2904
2905 * ldlang.c (lang_size_sections_1): If dot is advanced, then
2906 assume that the section should be allocated.
2907
2908 2004-01-13 Alan Modra <amodra@bigpond.net.au>
2909
2910 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
2911 sections. Do ignore SEC_NEVER_LOAD sections.
2912 (lang_size_sections_1): Remove test made redundant with the above.
2913
2914 2004-01-09 Alan Modra <amodra@bigpond.net.au>
2915
2916 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
2917 program_header_size.
2918
2919 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
2920
2921 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
2922 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
2923 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
2924 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
2925 (MAXPAGESIZE): Set to 64Kb.
2926 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
2927 __ROFIXUP_END__. Don't map .rofixup.got any more.
2928 * emulparams/elf32frv.sh (NOP): Set.
2929 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
2930 * configure.tgt: Add frv-*-*linux*.
2931 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
2932 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
2933 (eelf32frvfd.c): New.
2934 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
2935 * emulparams/elf32frv.sh: Reverted previous two patches.
2936 * emulparams/elf32frvfd.sh: New.
2937 * Makefile.in: Rebuilt.
2938 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
2939 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
2940 .rofixup.got to .rofixup.
2941 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
2942 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
2943 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
2944
2945 2004-01-05 Jakub Jelinek <jakub@redhat.com>
2946
2947 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
2948 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
2949
2950 2004-01-03 Alan Modra <amodra@bigpond.net.au>
2951
2952 * ldexp.c (align_n): Make static.
2953 * ldexp.h (align_n): Delete declaration.
2954 * ldlang.h (lang_enter_output_section_statement): Remove
2955 block_value param.
2956 * ldlang.c (lang_enter_output_section_statement): Likewise.
2957 (TO_ADDR, TO_SIZE): Define.
2958 (opb_shift): New var.
2959 (init_opb): New function.
2960 (print_input_section): Call init_opb and use TO_ADDR.
2961 (print_data_statement, print_reloc_statement): Likewise.
2962 (print_padding_statement): Likewise.
2963 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
2964 (lang_check_section_addresses): Likewise.
2965 (lang_size_sections_1): Likewise.
2966 (lang_do_assignments_1): Likewise.
2967 (lang_set_startof): Likewise.
2968 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
2969 (lang_process): Call init_opb.
2970 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
2971 (lang_enter_overlay_section): Adjust
2972 lang_enter_output_section_statement call.
2973 * ldgram.y: Likewise.
2974 * mri.c (mri_draw_tree): Likewise.
2975 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
2976 * emultempl/mmo.em (mmo_place_orphan): Likewise.
2977 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
2978
2979 * ldfile.c (ldfile_set_output_arch): Add defarch param.
2980 * ldfile.h (ldfile_set_output_arch): Ditto.
2981 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
2982 ldfile_set_output_arch.
2983 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
2984 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
2985 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
2986 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
2987 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
2988 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
2989 * ldgram.y: Adjust ldfile_set_output_arch call.
2990 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
2991 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
2992 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
2993 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
2994 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
2995 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
2996 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
2997
2998 2004-01-02 Bernardo Innocenti <bernie@develer.com>
2999
3000 * configure.tgt: Add m68k-uClinux target.
3001
3002 For older changes see ChangeLog-0203
3003 \f
3004 Local Variables:
3005 mode: change-log
3006 left-margin: 8
3007 fill-column: 74
3008 version-control: never
3009 End:
This page took 0.097396 seconds and 4 git commands to generate.