bfd/
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2005-01-18 Alan Modra <amodra@bigpond.net.au>
2
3 * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call.
4 (lang_place_orphans): Don't abort on just_syms_flag, instead call
5 bfd_link_just_syms.
6
7 2005-01-16 Danny Smith <dannysmith@users.sourceforge.net>
8
9 * defilep.y (def_name, def_library): Combine into...
10 (def_image_name): New function. Strip name to basename,
11 with warning.
12
13 2005-01-12 Mark Kettenis <kettenis@gnu.org>
14
15 * configure.in: Be sure to invoke config.sub using the shell.
16 * configure: Regenerate.
17
18 2005-01-11 Alan Modra <amodra@bigpond.net.au>
19
20 * configure.host: Correct sed patterns for last change.
21
22 2005-01-10 Nick Clifton <nickc@redhat.com>
23
24 PR binutils/609
25 * ldmisc.c (vfinfo): Add an extra argument: is_warning. Use this
26 to determine whether config.make_executable should be set to FALSE in
27 conjunction with config.fatal_warnings.
28 (info_msg, minfo, lfinof): Pass FALSE as the extra argument.
29 (einfo): Pass TRUE as the extra argument.
30
31 2005-01-10 Greg Schaffer <gschafer@zip.com.au>
32
33 * configure.host (linux targets): Use "${CC} -dumpspecs" instead
34 of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0.
35 (ia64-*-aix): Delete - this target is obsolete, and would be
36 broken by this patch.
37
38 2005-01-06 Eric Botcazou <ebotcazou@libertysurf.fr>
39
40 * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
41 (sparc64-sun-solaris2*): New host.
42
43 2005-01-06 Paul Brook <paul@codesourcery.com>
44
45 * Makefie.am: Add earmelf_vxworks.
46 * Makefile.in: Regenerate.
47 * configure.tgt: Make arm-*-vxworks a separate case.
48 * emulparams/armelf_vxworks.sh: New function.
49
50 2005-01-06 Alan Modra <amodra@bigpond.net.au>
51
52 * emultempl/ppc64elf.em (no_multi_toc): New var.
53 (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists.
54 (OPTION_NO_MULTI_TOC): Define.
55 (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support.
56 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
57
58 2005-01-05 Nick Clifton <nickc@redhat.com>
59
60 PR binutils/614
61 * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding
62 Standard's specification for parsable error messages.
63
64 2005-01-04 Paul Brook <paul@codesourcery.com>
65
66 * Makefile.am: Correct dependency for earmsymbian.c.
67 * Makefile.in: Regenerate.
68
69 2004-12-28 Danny Smith <dannysmith@users.sourceforge.net>
70
71 * emultempl/pe.em (set_pe_subsystem): Change second arg to
72 lang_add_entry to FALSE.
73
74 2004-12-23 Nick Clifton <nickc@redhat.com>
75
76 PR 600
77 * emulparams/shelf.sh (.stack): Increase stack start address to
78 0x300000.
79
80 2004-12-20 Nick Clifton <nickc@redhat.com>
81
82 * ldmain.c (main): Issue an error message if -static and -shared
83 are used together.
84
85 2004-12-17 Jakub Jelinek <jakub@redhat.com>
86
87 * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
88 * ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them.
89 * ldlang.c (lang_size_sections): Use them to avoid wasting virtual
90 address space at DATA_SEGMENT_ALIGN. Fix computation of expected
91 PT_GNU_RELRO segment end.
92
93 2004-12-14 P.J. Darcy <darcypj@us.ibm.com>
94
95 * configure.tgt: Add s390x-ibm-tpf support.
96
97 2004-12-16 Martin Kögler <mkoegler@auto.tuwien.ac.at>
98
99 * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL
100 BFD.
101
102 2004-12-07 Ben Elliston <bje@gnu.org>
103
104 * ldemul.h: Forward declare struct option.
105
106 2004-12-01 Danny Smith <dannysmith@users.sourceforge.net>
107
108 * scripttempl/pe.sc (.data): Add .jcr subsection.
109
110 2004-11-30 Paul Brook <paul@codesourcery.com>
111
112 * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.
113
114 2004-11-30 Tero Niemela <tero_niemela@yahoo.com>
115
116 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
117 * Makefile.in: Regenerate.
118
119 2004-11-26 Melissa Mears <asterisk@graces.dricas.com>
120
121 * emultempl/pe.em: Add --subsystem:xbox as well as
122 --subsystem:%d.
123 * ld.texinfo: (ld_options): Document acceptance of subsystem xbox
124 and numeric subsystems.
125
126 2004-11-24 Alan Modra <amodra@bigpond.net.au>
127
128 * ldexp.c (fold_name): Correct PR 338 fix.
129
130 2004-11-19 Mark Mitchell <mark@codesourcery.com>
131
132 * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
133 (earmelf_linux_eabi.c): New target.
134 * configure.tgt (arm*-*-linux-gnueabi): Handle it.
135 * emulparams/armelf_linux_eabi.sh: New file.
136 * Makefile.in: Regenerated.
137
138 2004-11-19 Nick Clifton <nickc@redhat.com>
139
140 PR 518
141 * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and
142 LENGTH fields in the MEMORY command, to explicitly state that
143 symbols cannot be used in their expressions.
144
145 2004-11-19 Jon Beniston <jon@beniston.com>
146
147 * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION.
148 * ld/ldgram.y: Add ORIGIN and LENGTH expressions.
149 * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions
150 which return the length and origin of a memory.
151 * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions.
152 * NEWS: Mention support for ORIGIN and LENGTH operators.
153
154 2004-11-17 Daniel Jacobowitz <dan@codesourcery.com>
155
156 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use
157 a dynamic object for stubs.
158
159 2004-11-04 Paul Brook <paul@codesourcery.com>
160
161 * ld.texinfo: Document --default-imported-symver.
162 * ldmain.c (main): Set link_info.default_imported_symver.
163 * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER.
164 (ld_options): Add --default-imported-symver.
165 (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.
166
167 2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
168 Vineet Sharma <vineets@noida.hcltech.com>
169
170 * Makefile.am: Add entries for new maxq-coff target.
171 * Makefile.in: Regenerate.
172 * configure.tgt: Add support for maxq.
173 * emulparams/maxqcoff.sh: New File.
174 * scripttempl/maxqcoff.sc: New linker script for target maxq.
175 * NEWS: Mention the new target.
176
177 2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
178
179 * testsuite/ld-scripts/weak.exp: Enable test on PE,
180 XFAIL non-i386 PE.
181 * testsuite/ld-undefined/weak-undef.exp: Enable test on PE,
182 XFAIL non-i386 PE.
183 * testsuite/lib/ld-lib.exp (is_pecoff_format): New.
184
185 2004-11-04 Daniel Jacobowitz <dan@debian.org>
186
187 * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o.
188 (earmelf_oabi.c): Remove rule.
189 * configure.tgt: Remove arm-*-oabi and thumb-*-oabi.
190 * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files.
191 * Makefile.in: Regenerated.
192
193 2004-11-04 Hans-Peter Nilsson <hp@axis.com>
194
195 * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout.
196 * emulparams/criself.sh (INIT_START): Remove emitted "push srp".
197 (FINI_START): Ditto.
198 (INIT_END): Remove emitted "jump [sp+]".
199 (FINI_END): Ditto.
200
201 2004-11-04 Alan Modra <amodra@bigpond.net.au>
202
203 * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt.
204 (no_opd_opt, no_toc_opt): New static vars.
205 (ppc_before_allocation): Don't edit opt if no_opd_opt. Call
206 ppc64_elf_edit_toc.
207 (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define.
208 (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize.
209 (PARSE_AND_LIST_OPTIONS): Describe new options.
210 (PARSE_AND_LIST_ARGS_CASES): Handle them.
211
212 2004-10-27 Nick Clifton <nickc@redhat.com>
213
214 * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL,
215 parameter to invocation of lang_section_start.
216 * emultempl/aix.em (_handle_option): Likewise.
217
218 * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c,
219 eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em.
220 * Makefile.in: Regenerate.
221
222 2004-10-26 Mark Mitchell <mark@codesourcery.com>
223
224 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
225 __exidx_{start,end} when not relocating.
226
227 2004-10-25 Mark Mitchell <mark@codesourcery.com>
228
229 * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
230 * ldexp.h (segment_type): New type.
231 (segments): New variable.
232 * ldexp.c (segments): New variable.
233 (exp_print_token): Handle SEGMENT_START.
234 (fold_binary): Likewise.
235 * ldgram.y (SEGMENT_START): Declare it as a token.
236 (exp): Handle SEGMENT_START.
237 * ldlang.h (lang_address_statement_type): Add segment field.
238 (lang_section_start): Change prototype.
239 * ldlang.c (map_input_to_output_sections): Do not process section
240 assignments if a corresponding SEGMENT_START has already been
241 seen.
242 (lang_section_start): Add segment parameter.
243 * ldlex.l (SEGMENT_START): Add it.
244 * lexsup.c (seg_segment_start): New function.
245 (parse_args): Use it for -Tbss, -Tdata, and -Ttext.
246 * ld.texinfo (SEGMENT_START): Document it.
247 * emulparams/armsymbian.sh (EMBEDDED): Set it.
248 * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment
249 base addresses. Do not map relocations.
250 * NEWS: Mention SEGMENT_START.
251
252 2004-10-26 Paul Brook <paul@codesourcery.com>
253
254 * ld.texinfo: Document --default-symver.
255 * ldmain.c (main): Set link_info.create_default_symver.
256 * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER.
257 (ld_options): Add default-symver.
258 (parse_args): Handle OPTION_DEFAULT_SYMVER.
259
260 2004-10-24 Danny Smith <dannysmith@users.sourceforge.net>
261
262 * pe-dll.c (process_def_file): Don't export all symbols by default if
263 building a position-independent executable.
264
265 2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
266
267 PR 463
268 * ldmain.c (reloc_overflow): Accept a pointer to struct
269 bfd_link_hash_entry. Report symbol location for relocation
270 overflow.
271
272 2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
273
274 * genscripts.sh (libpath.exp): Really generate for first
275 emulation only.
276
277 2004-10-19 Danny Smith <dannysmith@users.sourceforge.net>
278
279 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify
280 comparison and replacement of filenames.
281
282 2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
283
284 PR 459
285 * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic
286 option on linker script as the one for linker script.
287
288 2004-10-16 Daniel Jacobowitz <dan@debian.org>
289
290 * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
291 (check_excluded_libs): New.
292 (load_symbols): Call check_excluded_libs.
293 * ldlang.h (add_excluded_libs): New prototype.
294 * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
295 (gld${EMULATION_NAME}_add_options): Add --exclude-libs.
296 (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
297 * ld.texinfo (Command Line Variables): Document --exclude-libs.
298 (Options Specific to i386 PE Targets): Remove --exclude-libs.
299
300 2004-10-15 Alan Modra <amodra@bigpond.net.au>
301
302 * ldexp.c (exp_fold_tree): Don't immediately exit ld on a
303 failing link script assert.
304
305 * ldctor.c (ldctor_add_set_entry): Fix comment typo.
306
307 2004-10-14 H.J. Lu <hongjiu.lu@intel.com>
308
309 PR 445
310 * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set.
311 (SMALL_DATA_DTOR): Set.
312 * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset.
313 (SMALL_DATA_DTOR): Unset.
314 * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors
315 after .data. If SMALL_DATA_DTOR is set, move .dtors after
316 .data.
317
318 2004-10-14 Alan Modra <amodra@bigpond.net.au>
319
320 PR 63
321 * ldlang.h (lang_output_section_statement_type): Make "next" a
322 struct lang_output_section_statement_struct *.
323 (struct orphan_save): Move from elf32.em. Add "name" and "flags".
324 (lang_output_section_find_by_flags, lang_insert_orphan): Declare.
325 * ldlang.c (lang_output_section_find_1): Adjust for changed
326 output_section_statement "next".
327 (strip_excluded_output_sections): Likewise.
328 (lang_record_phdrs): Likewise.
329 (lang_output_section_find_by_flags): New function.
330 (output_prev_sec_find): Move from pe.em. Adjust iterator.
331 (lang_insert_orphan): New function. Tail end of elf32.em's
332 place_orphan merged with that from pe.em. Allow bfd_section to
333 be placed first. New heuristic for placing new output section
334 statement in existing script, and accompanying split of __start
335 symbol alignment into a separate assignment to dot.
336 (lang_add_section): Consistently use output->bfd_section rather than
337 an alias, section->output_section.
338 (map_input_to_output_sections): Rename overly long arg. Move
339 initialization of data_statement output section to here..
340 (lang_check_section_addresses): ..from here.
341 (print_assignment): Correct printing of etree_assert.
342 (print_all_symbols): Don't bomb if userdata is NULL.
343 (IGNORE_SECTION): Rearrange.
344 * emultempl/elf32.em (output_rel_find): Adjust interator.
345 (output_prev_sec_find): Delete.
346 (struct orphan_save): Delete.
347 (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section
348 flags without creating a duplicate output section statement.
349 Revise code holding history of various orphan section placements.
350 Allow orphan sections to place before script specified output
351 sections. Call lang_output_section_find_by_flags when placement
352 by name fails. Use lang_insert_orphan.
353 * emultempl/mmo.em (output_prev_sec_find): Delete.
354 (struct orphan_save): Delete.
355 (mmo_place_orphan): Revise code holding history of orphan placement.
356 Allow orphans to place before existing output sections. Use
357 lang_insert_orphan.
358 * emultempl/pe.em (output_prev_sec_find): Delete.
359 (struct orphan_save): Delete.
360 (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of
361 lang_insert_orphan.
362
363 2004-10-13 Mark Mitchell <mark@codesourcery.com>
364
365 * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a
366 loadable segment.
367
368 2004-10-13 Alan Modra <amodra@bigpond.net.au>
369
370 PR 44
371 * ldcref.c (check_section_sym_xref): Delete.
372 (check_local_sym_xref): New function.
373 (check_nocrossrefs): Adjust call.
374 * emultempl/pe.em (struct orphan_save): Add os_tail.
375 (place_orphan): Backport assorted fixes from elf32.em.
376
377 2004-10-12 Bob Wilson <bob.wilson@acm.org>
378
379 * emultempl/xtensaelf.em: Use ISO C90 formatting.
380
381 2004-10-11 Jakub Jelinek <jakub@redhat.com>
382
383 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid
384 getline for portability.
385
386 * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure.
387 (gld${EMULATION_NAME}_parse_ld_so_conf,
388 gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions.
389 (gld${EMULATION_NAME}_check_ld_so_conf): Use them.
390
391 2004-10-11 Alan Modra <amodra@bigpond.net.au>
392
393 PR 423
394 * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are
395 rejected when linking statically.
396
397 2004-10-08 Daniel Jacobowitz <dan@debian.org>
398
399 * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*.
400
401 2004-10-07 Bob Wilson <bob.wilson@acm.org>
402
403 * ld.texinfo (Xtensa): Describe new linker relaxation to optimize
404 assembler-generated longcall sequences. Describe new --size-opt
405 option.
406 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section.
407 * emultempl/xtensaelf.em (remove_section,
408 replace_insn_sec_with_prop_sec, replace_instruction_table_sections,
409 elf_xtensa_after_open): New.
410 (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT,
411 OPTION_NO_LITERAL_MOVEMENT): Define.
412 (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals.
413 (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement.
414 (PARSE_AND_LIST_OPTIONS): Add --size-opt.
415 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT,
416 OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT.
417 (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open.
418 * scripttempl/elfxtensa.sc: Update with changes from elf.sc.
419 * Makefile.am (eelf32xtensa.c): Update dependencies.
420 * Makefile.in: Regenerate.
421
422 2004-10-07 Jeff Baker <jbaker@qnx.com>
423
424 * lexsup.c: Handle --warn-shared-textrel option.
425 (ld_options): Restore alpha sorting of options.
426 * ldmain.c (main): Initialise warn_shared_info field to FALSE.
427 * ld.texinfo: Add documentation for --warn-shared-textrel.
428 * NEWS: Added mention of --warn-shared-textrel option.
429
430 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
431
432 * emultempl/crxelf.em (disable_relaxation): Add.
433 (crxelf_before_allocation): Enable --relax option by default.
434 (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX.
435 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax.
436 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX.
437
438 2004-10-04 H.J. Lu <hongjiu.lu@intel.com>
439
440 * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and
441 --sort-section name|alignment.
442
443 * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and
444 --sort-section name|alignment.
445
446 * ld.h (sort_type): New enum.
447 (wildcard_spec): Change the type of `sorted' to sort_type.
448
449 * ldgram.y (SORT): Removed.
450 (SORT_BY_NAME): Added.
451 (SORT_BY_ALIGNMENT): Added.
452 (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and
453 SORT_BY_ALIGNMENT.
454 (input_section_spec_no_keep): Updated `sorted'.
455 (statement): Replace SORT with SORT_BY_NAME.
456
457 * ldlang.c (compare_section): New function to compare 2
458 sections with different sorting schemes.
459 (wild_sort): Updated. Use compare_section.
460 (update_wild_statements): New function.
461 (lang_process): Call update_wild_statements before
462 map_input_to_output_sections.
463
464 * ldlex.l (SORT_BY_NAME): New.
465 (SORT_BY_ALIGNMENT): New.
466 (SORT): Return SORT_BY_NAME.
467
468 * ldmain.c (sort_section): New. Defined.
469 (main): Initialize it to none.
470
471 * lexsup.c (option_values): Add OPTION_SORT_SECTION.
472 (ld_options): Add an entry for OPTION_SORT_SECTION.
473 (parse_args): Handle OPTION_SORT_SECTION.
474
475 * mri.c (mri_draw_tree): Updated `sorted'.
476
477 2004-10-04 Jakub Jelinek <jakub@redhat.com>
478
479 * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument.
480 * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first
481 argument.
482 (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first
483 and . as second argument.
484 (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section.
485 * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here.
486 (fold_binary): Add it here. Insert padding to make relro_end
487 COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in
488 exp_dataseg_relro_adjust phase just use previously computed
489 exp_data_seg.base.
490 * ldlang.c (lang_size_sections): Set exp_data_seg.base for
491 relro_adjust here. Call lang_size_sections_1 once more if there
492 was too big padding at DATA_SEGMENT_RELRO_END.
493 * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation.
494
495 2004-10-01 Paul Brook <paul@codesourcery.com>
496
497 * emulparams/armelf.sh: Add unwinding table sections.
498
499 2004-09-30 Filip Navara <navaraf@reactos.com>
500
501 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate
502 correct base address for position independant executables.
503 * pe-dll.c (pe_dll_fill_sections): Don't mark position independant
504 executables as DLLs.
505
506 2004-09-30 Paul Brook <paul@codesourcery.com>
507
508 * ld.texinfo: Document --target2=abs.
509 * emulparms/armsymbian.sh (TARGET2_TYPE): Set.
510
511 2004-09-29 Nick Clifton <nickc@redhat.com>
512
513 * scripttempl/xstormy16.sc: Only perform the assignments to the
514 ROM region when not performing a relocatable link. The ROM region
515 does not start at address 0, but the sections will.
516 * Makefile.am: Fix linker script dependency for the generation of
517 eelf32xstormy16.c.
518 * Makefile.in: Regenerate.
519
520 2004-09-18 Filip Navara <navaraf@reactos.com>
521
522 * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh,
523 emulparams/i386pe_posix.sh, emulparams/mcorepe.sh,
524 emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define
525 TARGET_PAGE_SIZE.
526 * scripttempl/pe.sc: Make the virtual address and file offset synced if
527 the alignment is lower than the target page size.
528
529 2004-09-27 Filip Navara <navaraf@reactos.com>
530
531 * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow
532 def_file_parse to handle pe_def_file if NULL and prevent crash with
533 invalid .def files.
534
535 2004-09-27 Alan Modra <amodra@bigpond.net.au>
536
537 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
538 --emit-stub-syms automatically when --emit-relocs.
539
540 2004-09-24 Paul Brook <paul@codeosurcery.com>
541
542 * scripttempl/elf.sc: Keep .preinit_array, .init_array and
543 .fini_array sections.
544
545 2004-09-19 Andreas Schwab <schwab@suse.de>
546
547 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment
548 base so that relro end is suitably aligned.
549
550 2004-09-17 Paul Brook <paul@codesourcery.com>
551
552 * ld.texinfo: Rename arm-specific section. Document --target*
553 * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
554 * emulparams/armelf_linux.sh: Ditto.
555 * emulparams/armelf_nbsd.sh: Ditto.
556 * emultempl/armelf.em: Set default for TARGET2_TYPE.
557 (target2_type): New variable.
558 (arm_elf_before_allocation): Don't pass target1_type.
559 (arm_elf_create_output_section_statements): New function.
560 (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
561 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
562 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
563 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
564 * emultempl/armelf_oabi.em (_before_allocation): Remove extra
565 argument to bfd_elf32_arm_process_before_allocation.
566
567 2004-09-17 Alan Modra <amodra@bigpond.net.au>
568
569 * ldexp.c (fold_name): Update u.undef.next refs.
570 * emultempl/pe.em: Likewise.
571 * emultempl/sunos.em: Likewise.
572
573 2004-09-17 Alan Modra <amodra@bigpond.net.au>
574
575 * Makefile.am: Run "make dep-am".
576 * Makefile.in: Regenerate.
577 * config.in: Regenerate.
578 * configure: Regenerate.
579 * aclocal.m4: Regenerate.
580 * po/ld.pot: Regenerate.
581
582 2004-09-16 Tomer Levi <Tomer.Levi@nsc.com>
583
584 * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*.
585 (.fini): Likewise.
586 (.jcr): Likewise.
587
588 2004-09-16 Alan Modra <amodra@bigpond.net.au>
589
590 * emultempl/armelf_oabi.em (before_allocation): Add extra zero param
591 to bfd_elf32_arm_process_before_allocation call.
592
593 2004-09-13 Paul Brook <paul@codesourcery.com>
594
595 * emulparams/armsymbian.sh: Set TARGET1_IS_REL.
596 * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}.
597
598 2004-09-07 H.J. Lu <hongjiu.lu@intel.com>
599
600 * configure: Regenerated with autconfig 2.13.
601
602 2004-09-07 Andreas Schwab <schwab@suse.de>
603
604 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
605 alignment before adjusting DATA_SEGMENT_RELRO_END.
606
607 2004-09-06 Mark Mitchell <mark@codesourcery.com>
608
609 * emulparams/armsymbian.sh: Use armbpabi script.
610 * scripttempl/armbpabi.sc: New script.
611
612 2004-09-02 Mark Mitchell <mark@codesourcery.com>
613
614 * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
615 (earmsymbian.c): New target.
616 * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
617 * Makefile.in: Regenerated.
618 * aclocal.m4: Likewise.
619 * configure: Likewise.
620 * emulparams/armsymbian.sh: New file.
621
622 2004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
623
624 * scripttempl/elf32crx.sc: Edit file with comments.
625 (.init): Add new section.
626 (.fini): Likewise.
627 (.ctor): Control the linkage order.
628 (.dtor): Likewise.
629
630 2004-08-27 Nick Clifton <nickc@redhat.com>
631
632 * emultempl/pe.em (after_open): Do not assume that either bfd is
633 an archive.
634
635 2004-08-26 Alan Modra <amodra@bigpond.net.au>
636
637 * ldlang.c (lang_init): Don't compare with TRUE.
638
639 2004-08-25 Dmitry Diky <diwil@spec.ru>
640
641 * emulparams/msp430all.sh: Fix RAM sizes for all targets.
642 * scripttempl/elf32msp430.sc: Add .profiler section definition.
643
644 2004-08-24 H.J. Lu <hongjiu.lu@intel.com>
645
646 * ldlang.c (wildcardp): Defined as a macro with strpbrk.
647
648 2004-08-19 Mark Mitchell <mark@codesourcery.com>
649
650 * configure.tgt (arm*-*-symbianelf*): New target.
651 (arm*-*-eabi*): Likewise.
652
653 2004-08-19 Jakub Jelinek <jakub@redhat.com>
654
655 * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
656 (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
657 (OPTION_NON_OVERLAPPING_OPD): Define.
658 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
659 --non-overlapping-opd option.
660
661 2004-08-18 Alan Modra <amodra@bigpond.net.au>
662
663 PR 338
664 * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
665 was already on the undefs list.
666
667 2004-08-17 Alan Modra <amodra@bigpond.net.au>
668
669 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
670 prefix the symbol field too.
671
672 2004-08-13 Alan Modra <amodra@bigpond.net.au>
673
674 * ldmain.c (link_callbacks): Remove "error_handler".
675 * ldmisc.c: Include elf-bfd.h.
676 (vfinfo): Sort comment. Handle %A. Use %A instead of
677 bfd_get_section_indent.
678 (error_handler): Delete.
679 * ldmisc.h (error_handler): Delete declaration.
680
681 2004-08-10 Alan Modra <amodra@bigpond.net.au>
682
683 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
684 ppc64_elf_restore_symbols.
685
686 2004-08-09 Alan Modra <amodra@bigpond.net.au>
687
688 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
689 .toc is too large on relocatable linking.
690
691 2004-08-09 Alan Modra <amodra@bigpond.net.au>
692
693 * emultempl/ppc64elf.em (ppc_after_open): Delete.
694 (LDEMUL_AFTER_OPEN): Don't define.
695
696 2004-08-02 Stephane Carrez <stcarrez@nerim.fr>
697
698 * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
699
700 2004-08-01 Stephane Carrez <stcarrez@nerim.fr>
701
702 * scripttempl/elfm68hc12.sc: Align text, rodata and data section
703 on power of 2.
704
705 2004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
706
707 * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
708
709 2004-07-26 Dmitry Diky <diwil@spec.ru>
710
711 * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
712 msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
713 msp430xG439.
714 * configure.tgt: Likewise.
715 * emulparams/msp430all.sh: Likewise.
716 * Makefile.in: Regenerate.
717
718 2004-07-23 Nick Clifton <nickc@redhat.com>
719
720 * emultempl/elf32.em (_place_orphan): Use an already existing
721 section name if that section does not have any flags set.
722
723 2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
724
725 * ldlang.c (already_linked_hash_entry): Removed.
726 (already_linked): Likewise.
727 (already_linked_table): Likewise.
728 (section_already_linked): Call bfd_section_already_linked.
729 (lang_process): Replace already_linked_table_init with
730 bfd_section_already_linked_table_init and check return. Replace
731 already_linked_table_free with bfd_section_already_linked_table_free.
732
733 2004-07-21 Nick Clifton <nickc@redhat.com>
734
735 * ldlang.c (init_os): Make sure that the newly allocated userdata
736 structure is zeroed out.
737
738 2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
739
740 * NEWS: Mention the new --add-needed/--no-add-needed and
741 --as-needed/--no-as-needed options.
742
743 2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
744
745 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
746 check the add_needed field.
747 (dt_needed): New struct.
748 (gld${EMULATION_NAME}_try_needed): Change the first argument
749 to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
750 bit in the file where the DT_NEEDED entry comes from.
751 (gld${EMULATION_NAME}_search_needed): Change the second
752 argument to a pointer to struct dt_needed.
753 (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
754 (gld${EMULATION_NAME}_after_open): Likewise.
755
756 * ld.texinfo: Add --add-needed document.
757 * ldlang.c (new_afile): Set p->add_needed.
758 * ldlang.h (lang_input_statement_type): Add add_needed field.
759 * ldmain.h (add_needed): Declare.
760 * ldmain.c (add_needed): New global var.
761 * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
762 OPTION_NO_ADD_NEEDED.
763 (ld_options): Likewise.
764 (parse_args): Handle them.
765
766 2004-07-13 Christof Petig <christof@petig-baender.de>
767
768 * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
769 for endian-ness of extracted addend.
770
771 2004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net>
772
773 * pe-dll.c (auto_export): Filter on just the import prefix,
774 "_imp_", not "_imp__".
775
776 2004-07-09 Nick Clifton <nickc@redhat.com>
777
778 * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
779
780 2004-07-06 Tomer Levi <Tomer.Levi@nsc.com>
781
782 * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
783 (eelf32crx.c): New target.
784 * Makefile.in: Regenerate.
785 * configure.tgt: Handle crx-*-elf*.
786 * emulparams/elf32crx.sh: New file.
787 * emultempl/crxelf.em: New file.
788 * scripttempl/elf32crx.sc: New file.
789 * NEWS: Mention new target.
790
791 2004-07-06 Nick Clifton <nickc@redhat.com>
792
793 * Makefile.am: Add eshlsymbian.c.
794 * Makefile.in: Regenerate.
795 * configure.tgt: Add sh*-symbian-elf target.
796 * emulparams/shlsymbian.sh: New file. Configure the
797 sh-symbian-elf linker scripts.
798 * scripttemp/elf32sh-symbian.sc: New file. Linker script
799 template for the sh-symbian-elf target.
800
801 2004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
802
803 * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
804 * emulparams/hppalinux.sh: Likewise.
805 * scripttempl/elf.sc: Place .plt just before .got when .plt is in
806 data segment and PLT_BEFORE_GOT is defined.
807
808 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
809
810 * ld.texinfo (WIN32): Document PE weak symbols.
811
812 2004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
813
814 * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
815
816 2004-07-01 H.J. Lu <hongjiu.lu@intel.com>
817
818 * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
819 the section.
820
821 2004-06-29 Alan Modra <amodra@bigpond.net.au>
822
823 * ldlang.c (lang_reset_memory_regions): Save last relax pass section
824 size in rawsize.
825
826 2004-06-24 Alan Modra <amodra@bigpond.net.au>
827
828 * ldlang.c (print_output_section_statement): Don't print size before
829 relaxation.
830 (IGNORE_SECTION): Remove bfd arg. Update all callers.
831
832 * ldexp.c (fold_name): .. See below.
833 * ldlang.c (section_already_linked, print_output_section_statement,
834 print_input_section, insert_pad, size_input_section,
835 lang_check_section_addresses, lang_size_sections_1,
836 lang_size_sections, lang_do_assignments_1, lang_set_startof,
837 lang_one_common, lang_reset_memory_regions, lang_process,
838 lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
839 * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
840 * pe-dll.c (process_def_file, generate_reloc): ..
841 * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
842 gld${EMULATION_NAME}_before_allocation): ..
843 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
844 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
845 sh64_elf_${EMULATION_NAME}_after_allocation): ..
846 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
847 * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
848 ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
849 "size" instead of "_raw_size" and "_cooked_size". Expand
850 bfd_section_size macro invocations.
851
852 2004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
853
854 * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
855 ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
856 ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
857 ___crt_xt_end__.
858 (.tls): Define ___tls_start__ and ___tls_end__.
859
860 2004-06-21 Alexandre Oliva <aoliva@redhat.com>
861
862 * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
863
864 2004-06-18 Adam Nemet <anemet@lnxw.com>
865
866 * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
867 * configure: Regenerate.
868
869 2004-06-15 Jakub Jelinek <jakub@redhat.com>
870
871 * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
872 .gcc_except_table output sections lost accidentally with
873 -z relro patch.
874
875 2004-06-15 Alan Modra <amodra@bigpond.net.au>
876
877 * ldwrite.c (build_link_order): Use bfd_get_section_size
878 instead of bfd_get_section_size_before_reloc or _raw_size.
879 * pe-dll.c (process_def_file): Likewise.
880
881 2004-06-14 Alan Modra <amodra@bigpond.net.au>
882
883 From Richard Wirth <r.wirth@wirthware.de>
884 * ldlang.c (lang_finish): Don't free lang_definedness_table.
885
886 2004-05-29 Alan Modra <amodra@bigpond.net.au>
887
888 * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
889 (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
890
891 2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
892
893 * testsuite/ld-sh/arch/arch.exp: New test script.
894 * testsuite/ld-sh/arch/arch_expected.txt: New file.
895 * testsuite/ld-sh/arch/sh.s: New file.
896 * testsuite/ld-sh/arch/sh2.s: New file.
897 * testsuite/ld-sh/arch/sh-dsp.s: New file.
898 * testsuite/ld-sh/arch/sh2e.s: New file.
899 * testsuite/ld-sh/arch/sh3-nommu.s: New file.
900 * testsuite/ld-sh/arch/sh3.s: New file.
901 * testsuite/ld-sh/arch/sh3-dsp.s: New file.
902 * testsuite/ld-sh/arch/sh3e.s: New file.
903 * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
904 * testsuite/ld-sh/arch/sh4-nofpu.s: New file.
905 * testsuite/ld-sh/arch/sh4.s: New file.
906 * testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
907 * testsuite/ld-sh/arch/sh4al-dsp.s: New file.
908 * testsuite/ld-sh/arch/sh4a.s: New file.
909
910 2004-05-28 Alan Modra <amodra@bigpond.net.au>
911
912 * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
913 throughout file.
914 * lexsup.c: Formatting. Wrap long lines.
915 * ldwrite.c: Update copyright date.
916
917 * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
918 (output_section_callback): Nor SEC_KEEP here.
919 (gc_section_callback): Twiddle SEC_EXCLUDE here.
920 (lang_gc_wild): Delete. Fold into..
921 (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage
922 collecting.
923 (lang_process): Always call lang_gc_sections.
924 (lang_place_orphans): Handle SEC_EXCLUDE sections.
925 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
926 SEC_EXCLUDE code.
927
928 2004-05-26 H.J. Lu <hongjiu.lu@intel.com>
929
930 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
931 SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
932 * ldlang.c (lang_add_section): Likewise.
933
934 2004-05-26 Alan Modra <amodra@bigpond.net.au>
935
936 * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
937 sections when doing a final link. Clear SEC_EXCLUDE when doing
938 a relocable link, except for SEC_DEBUGGING sections.
939 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
940 same condition here to drop SEC_EXCLUDE orphan sections.
941
942 2004-05-25 Alan Modra <amodra@bigpond.net.au>
943
944 * ldlang.c (lang_process): Call bfd_merge_sections later, and
945 only when not a relocatable link.
946 (print_input_section): Handle SEC_EXCLUDE sections.
947 (size_input_section): Don't update dot on SEC_EXCLUDE sections.
948 (lang_do_assignments_1): Likewise.
949 * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
950 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
951 * emultempl/hppaelf.em (build_section_lists): Likewise.
952 * emultempl/ppc64elf.em (build_toc_list): Likewise.
953 (build_section_lists): Likewise.
954
955 2004-05-23 Andreas Schwab <schwab@suse.de>
956
957 * ld.texinfo (Options): Fix typo in last change.
958
959 2004-05-21 Andy Chittenden <achittenden@bluearc.com>
960
961 * ld.h (ld_config_type): Add new field: hash_table_size.
962 * ldmain.c: Initialise the new field to zero. If it is non-zero
963 after parsing the linker's command line call
964 bfd_hash_set_default_size.
965 * lexsup.c (option_values): Add OPTION_HASH_SIZE.
966 (ld_options): Add hash-size.
967 (parse_args): Parse --hash-size option. Allow
968 --reduce-memory-overheads to set the default hash table size as
969 well.
970 * ld.texinfo: Document the new switch. Also mention that
971 --reduce-memory-overheads can affect the hash table size.
972 * NEWS: Mention the new feature.
973
974 2004-05-19 J"orn Rennecke <joern.rennecke@superh.com>
975
976 * NEWS: Mention new linker map file generation and the
977 --reduce-memory-overheads option.
978 * ld.texinfo: Document --reduce-memory-overheads option.
979 * ld.h (map_symbol_def): New struct.
980 (struct user_section_struct, section_userdata_type): Rename to:
981 (struct lean_user_section_struct, lean_section_userdata_type).
982 (struct fat_user_section_struct, fat_section_userdata_type): New.
983 (SECTION_USERDATA_SIZE): Define.
984 (args_type): New member reduce_memory_overheads.
985 * ldlang.c (map_obstack): New static variable.
986 (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
987 (lang_map): Unless command_line.reduce_memory_overheads is set,
988 initialize lists of defined symbols for each section.
989 (print_input_section): Unless command_line.reduce_memory_overheads
990 is set, use print_all_symbols.
991 (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
992 * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
993 * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
994 (ld_options): Add entry for --reduce-memory-overheads.
995 (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
996
997 2004-05-19 Jakub Jelinek <jakub@redhat.com>
998
999 * ldgram.y (sect_constraint): New.
1000 (ONLY_IF_RO, ONLY_IF_RW): New tokens.
1001 (section): Add sect_constraint. Pass additional argument
1002 to lang_enter_output_section_statement.
1003 * mri.c (mri_draw_tree): Pass additional argument to
1004 lang_enter_output_section_statement.
1005 * emultempl/pe.em (place_orphan): Likewise.
1006 (output_prev_sec_find): Disregard output section statements with
1007 constraint == -1.
1008 * emultempl/mmo.em (output_prev_sec_find): Likewise.
1009 (mmo_place_orphan): Pass additional argument to
1010 lang_enter_output_section_statement.
1011 * emultempl/elf32.em (output_prev_sec_find): Disregard output section
1012 statements with constraint == -1.
1013 (place_orphan): Pass additional argument to
1014 lang_enter_output_section_statement.
1015 * ldlang.c (lang_enter_overlay_section): Likewise.
1016 (lang_output_section_find_1): New.
1017 (lang_output_section_find): Use it.
1018 (lang_output_section_statement_lookup_1): New.
1019 (lang_output_section_statement_lookup): Use it.
1020 (check_section_callback, check_input_sections): New.
1021 (map_input_to_output_sections): Check if all input sections
1022 are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
1023 (strip_excluded_output_sections): Disregard output section statements
1024 with constraint == -1.
1025 (lang_record_phdrs): Likewise.
1026 (lang_enter_output_section_statement): Add constraint argument.
1027 Use lang_output_section_statement_lookup_1.
1028 * ldlang.h (lang_output_section_statement_type): Add constraint
1029 and all_input_readonly fields.
1030 (lang_enter_output_section_statement): Adjust prototype.
1031 * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
1032 * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
1033 segment if all input sections are readonly.
1034
1035 2004-05-19 Adam Nemet <anemet@lnxw.com>
1036
1037 * scripttempl/i386lynx.sc: Remove file.
1038
1039 2004-05-17 Bob Wilson <bob.wilson@acm.org>
1040
1041 * ld.texinfo (Output Section Address): Correct subsection name.
1042
1043 2004-05-17 Adam Nemet <anemet@lnxw.com>
1044
1045 * configure.tgt (powerpc-*-lynxos* case): New case.
1046 * configure.host (i[3-7]86-*-lynxos* case): Remove case.
1047 * emulparams/ppclynx.sh: New file.
1048 * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
1049 * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
1050 (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
1051 (eppclynx.c): New rule.
1052 * Makefile.in: Regenerate.
1053
1054 2004-05-13 Joel Sherrill <joel@oarcorp.com>
1055
1056 * configure.tgt (or32-*-rtems*): Switch to elf and
1057 support versioned targets.
1058
1059 2004-05-13 Nick Clifton <nickc@redhat.com>
1060
1061 * po/fr.po: Updated French translation.
1062
1063 2004-05-11 Jakub Jelinek <jakub@redhat.com>
1064
1065 * genscripts.sh: Generate -z combreloc -z now -z relro scripts
1066 for binaries, -shared and -pie.
1067 * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
1068 * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
1069 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
1070 (OTHER_RELRO_SECTIONS): ... this.
1071 * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
1072 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
1073 -z relro and -z norelro.
1074 (gld${EMULATION_NAME}_list_options): Add it to usage.
1075 (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
1076 -z relro scripts when appropriate.
1077 * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
1078 Create separate .got.plt section if SEPARATE_GOTPLT.
1079 Move sections which are only written during relocation handling
1080 to the beginning of RW segment. If NO_SMALL_DATA, move .got
1081 before .data. Add DATA_SEGMENT_RELRO_END directive.
1082 Include OTHER_RELRO_SECTIONS.
1083 * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
1084 * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
1085 (fold_unary): Likewise.
1086 (fold_binary): Handle -z relro.
1087 * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
1088 exp_dataseg_relro_adjust phases. Add relro_end field.
1089 * ldmain.c (main): Initialize link_info.relro to FALSE.
1090 * ldlang.c (lang_size_sections): Handle -z relro.
1091
1092 2004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
1093
1094 * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
1095
1096 2004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
1097
1098 * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
1099 before printing it with %W.
1100
1101 2004-05-07 Brian Ford <ford@vss.fsi.com>
1102 DJ Delorie <dj@redhat.com>
1103
1104 * emultempl/pe.em (real_flags): New static.
1105 (OPTION_LARGE_ADDRESS_AWARE): New define.
1106 (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
1107 (gld_${EMULATION_NAME}_list_options): Likewise.
1108 (gld${EMULATION_NAME}_handle_option): Likewise.
1109 (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
1110 * ld.texinfo: Document it.
1111 * NEWS: Mention it.
1112
1113 2004-05-07 Brian Ford <ford@vss.fsi.com>
1114
1115 * NEWS: Mention DWARF 2 support for i386pe.
1116
1117 2004-05-05 Alexandre Oliva <aoliva@redhat.com>
1118
1119 * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
1120 elf32-frvfdpic.
1121
1122 2004-04-30 Alan Modra <amodra@bigpond.net.au>
1123
1124 * ldlang.c (unique_section_p): Pass section parm, return true on
1125 group sections.
1126 (output_section_callback): Adjust.
1127 * ldlang.h (unique_section_p): Update prototype.
1128 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
1129
1130 2004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
1131
1132 * ld.texinfo (--gc-sections): Remove restriction for
1133 dynamic linking.
1134
1135 2004-04-29 Brian Ford <ford@vss.fsi.com>
1136
1137 * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
1138 for DWARF 2/3. Update stab section's syntax.
1139
1140 2004-04-29 Alan Modra <amodra@bigpond.net.au>
1141
1142 * pe-dll.c: Revert changes accidentally committed 2004-03-08.
1143 (fill_edata): Correct pointer arithmetic.
1144
1145 2004-04-21 Chris Demetriou <cgd@broadcom.com>
1146
1147 * ld.texinfo: Remove MIPS --embedded-relocs documentation.
1148 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
1149 * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
1150 (EXTRA_EM_FILE): Use mipsecoff.em
1151 * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
1152 (EXTRA_EM_FILE): Use mipsecoff.em
1153 * emultempl/mipsecoff.em: Restructure to be included as an
1154 extra emulation file.
1155 (check_sections, gld${EMULATION_NAME}_after_open)
1156 (gld${EMULATION_NAME}_after_allocation)
1157 (gld${EMULATION_NAME}_get_script)
1158 (ld_${EMULATION_NAME}_emulation): Remove
1159 (gld${EMULATION_NAME}_before_parse): Rename to...
1160 (mipsecoff_before_parse): This.
1161 (LDEMUL_BEFORE_PARSE): Define.
1162 * emultempl/mipself.em: Remove file.
1163 * scripttempl/mips.sc (.rel.sdata): Do not include in output.
1164 (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
1165 these symbols.
1166 * Makefile.am: Remove dependencies on emultempl/mipself.em.
1167 * Makefile.in: Regenerate.
1168
1169 2004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
1170
1171 * ld.texinfo (synthesizing on H8/300): Information about linker
1172 relaxation support for bit manipulation instructions and system
1173 control instructions is added.
1174
1175 2004-04-21 Hans-Peter Nilsson <hp@axis.com>
1176
1177 * NEWS: Mention change in DEFINED semantics.
1178
1179 2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
1180
1181 * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
1182 (.data): Add KEEP for .gnu.linkonce.d.*personality*.
1183 (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
1184
1185 2004-04-21 Ben Elliston <bje@au.ibm.com>
1186
1187 * ld.texinfo (Simple Example): Add missing punctuation.
1188
1189 2004-04-20 Chris Demetriou <cgd@broadcom.com>
1190
1191 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
1192
1193 2004-04-19 Jakub Jelinek <jakub@redhat.com>
1194
1195 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
1196 specially.
1197
1198 2004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
1199
1200 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
1201 with default priority. Likewise for dtors.
1202
1203 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1204
1205 * configure.host: Remove mips*-dec-bsd* target.
1206 * configure.tgt: Likewise.
1207
1208 2004-04-08 Richard Sandiford <rsandifo@redhat.com>
1209
1210 * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
1211 * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
1212 * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
1213 * emultempl/irix.em: New file.
1214 * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
1215 dependencies.
1216 * Makefile.in: Regenerate.
1217
1218 2004-04-01 Paul Brook <paul@codesourcery.com>
1219
1220 * emultempl/armelf.em (byteswap_code): Add.
1221 (arm_elf_before_allocation): Pass extra parameter.
1222 (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
1223 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
1224 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
1225 * emultempl/armelf_oabi.em: Pass extra parameter.
1226 * ld.texinfo: Document --be8.
1227
1228 2004-03-30 Stan Shebs <shebs@apple.com>
1229
1230 Remove long-obsolete MPW support.
1231 * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
1232 * Makefile.am (mpw): Remove file-presynthesizing actions.
1233 * Makefile.in: Likewise.
1234 * ldfile.c (slash): Remove MPW case.
1235 * ldlex.l [MPW]: Remove unused definition.
1236
1237 2004-03-30 Galit Heller <Galit.Heller@nsc.com>
1238
1239 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
1240 (eelf32cr16c.c): New target.
1241 * Makefile.in: Regenerate.
1242 * configure.tgt: Handle cr16c-*-elf*.
1243 * emulparams/elf32cr16c.sh: New file.
1244 * scripttempl/elfcr16c.sc: Likewise
1245 * NEWS: Mention support for new target.
1246
1247 2004-03-30 Nick Clifton <nickc@redhat.com>
1248
1249 * po/sv.po: Updated Swedish translation.
1250
1251 2004-03-27 Alan Modra <amodra@bigpond.net.au>
1252
1253 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
1254 * emultempl/hppaelf.em: Likewise.
1255 * emultempl/ppc64elf.em: Likewise.
1256 * emultempl/sh64elf.em: Likewise.
1257
1258 2004-03-25 Alan Modra <amodra@bigpond.net.au>
1259
1260 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
1261 size_dynamic_sections call.
1262
1263 2004-03-23 Alan Modra <amodra@bigpond.net.au>
1264
1265 PR 51.
1266 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
1267 link_info.wrap_char.
1268
1269 2004-03-20 H.J. Lu <hongjiu.lu@intel.com>
1270
1271 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
1272 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
1273
1274 2004-03-20 Alexandre Oliva <aoliva@redhat.com>
1275
1276 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
1277
1278 2004-03-19 Alan Modra <amodra@bigpond.net.au>
1279
1280 * config.in: Regenerate.
1281 * po/ld.pot: Regenerate.
1282
1283 2004-03-18 Alan Modra <amodra@bigpond.net.au>
1284
1285 * ld.texinfo: Add --as-needed doco.
1286 * ldmain.c (as_needed): New global var.
1287 * ldmain.h (as_needed): Declare.
1288 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
1289 OPTION_NO_AS_NEEDED.
1290 (ld_options): Likewise.
1291 (parse_args): Handle them.
1292 * ldlang.h (lang_input_statement_type): Add as_needed field.
1293 * ldlang.c (new_afile): Set p->as_needed.
1294 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
1295 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
1296 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
1297
1298 * ldlang.c (open_input_bfds): Remove useless cast.
1299 (lang_do_assignments_1): Likewise.
1300 (lang_for_each_input_section): Delete.
1301
1302 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1303
1304 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
1305
1306 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
1307
1308 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
1309 private when building implib.
1310
1311 2004-03-05 Nathan Sidwell <nathan@codesourcery.com>
1312
1313 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
1314 SEC_THREAD_LOCAL.
1315 (IGNORE_SECTION): Ignore .tbss sections too.
1316 (lang_size_sections_1): .tbss sections do not advance dot.
1317
1318 2004-03-01 Andreas Schwab <schwab@suse.de>
1319
1320 * ld.texinfo (Options): Fix example for --wrap.
1321
1322 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
1323
1324 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
1325 not NULL.
1326
1327 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
1328
1329 * ldlang.c (lang_check): Use %P, not %E, in error message.
1330
1331 2004-02-23 Nathan Sidwell <nathan@codesourcery.com>
1332
1333 * ldlang.h (struct lang_output_section_state): Change processed
1334 field's type.
1335 * ldexp.c (check, invalid): Remove.
1336 (fold_name): Move valid_p assignments. Create undefined symbol
1337 when needed. Directly exampine section's processd flag.
1338 * ldlang.c (lang_output_section_statement_lookup): Adjust
1339 processed field init.
1340 (lang_size_sections_1): Allow LOADADDR when determining section's
1341 VMA. Adjust error message. Fold data statement's expr.
1342 (lang_size_sections): Correctly increment lang_statement_iteration.
1343
1344 2004-02-23 Alan Modra <amodra@bigpond.net.au>
1345
1346 * ldexp.c (fold_tree): Follow indirect symbols.
1347
1348 2004-02-20 Nathan Sidwell <nathan@codesourcery.com>
1349
1350 * ldgram.y (exp): Add two operand ALIGN.
1351 * ldexp.c (fold_binary): Add ALIGN_K case.
1352 * ld.texinfo (ALIGN): Document two operand version.
1353
1354 2004-02-19 Nathan Sidwell <nathan@codesourcery.com>
1355
1356 * ldlang.c (map_input_to_output_sections): Initialize sections
1357 mentioned in a data statement expression.
1358 (lang_do_assignments_1): Add data statement's expression's
1359 section's vma.
1360
1361 2004-02-18 Nathan Sidwell <nathan@codesourcery.com>
1362
1363 * ldgram.y (statement_anywhere): Add assert rule.
1364 * ldlang.c (exp_init_os): Add assert case.
1365
1366 2004-02-14 Andrew Cagney <cagney@redhat.com>
1367
1368 * ldmain.c (remove_output): Call bfd_cache_close.
1369
1370 2004-02-14 Richard Sandiford <rsandifo@redhat.com>
1371
1372 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
1373 .MIPS.content* and .MIPS.events* sections.
1374
1375 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
1376
1377 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
1378 .note.gnu.arm.ident to after allocated sections. Mark its
1379 address as 0.
1380
1381 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
1382
1383 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
1384 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
1385 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
1386 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
1387 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
1388
1389 2004-02-05 Nick Clifton <nickc@redhat.com>
1390
1391 * emultempl/pe.em (_after_open): Fix typo in previous delta.
1392
1393 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
1394
1395 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
1396
1397 2004-01-28 Alan Modra <amodra@bigpond.net.au>
1398
1399 * genscripts.sh: Fix typo.
1400
1401 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
1402
1403 2004-01-24 Jakub Jelinek <jakub@redhat.com>
1404
1405 * emulparams/elf64_ia64.sh: Put .rela.opd into
1406 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
1407
1408 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
1409
1410 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
1411 * ld.texinfo (--omagic): Note that writable text section
1412 does not conform to published PE-COFF specs.
1413 (--enable-auto-import): Likewise.
1414
1415 2004-01-15 Alan Modra <amodra@bigpond.net.au>
1416
1417 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
1418
1419 2004-01-13 Nick Clifton <nickc@redhat.com>
1420
1421 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
1422 which if true will prevent the LMA region being used as a
1423 replacement for a default VMA region.
1424 (lang_leave_output_section_statement): Pass extra parameter.
1425 (lang_leave_overlay): Likewise.
1426 * ld.texinfo (Output Section LMA): Document that the LMA
1427 region can be set to the VMA region if no VMA has been set.
1428 * ldlang.h (struct lang_output_section_phdr_list): Create a
1429 typedef for this type. Minor formatting fixes.
1430
1431 2004-01-13 Nick Clifton <nickc@redhat.com>
1432
1433 * ldlang.c (lang_size_sections_1): If dot is advanced, then
1434 assume that the section should be allocated.
1435
1436 2004-01-13 Alan Modra <amodra@bigpond.net.au>
1437
1438 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
1439 sections. Do ignore SEC_NEVER_LOAD sections.
1440 (lang_size_sections_1): Remove test made redundant with the above.
1441
1442 2004-01-09 Alan Modra <amodra@bigpond.net.au>
1443
1444 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
1445 program_header_size.
1446
1447 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
1448
1449 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
1450 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
1451 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
1452 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
1453 (MAXPAGESIZE): Set to 64Kb.
1454 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
1455 __ROFIXUP_END__. Don't map .rofixup.got any more.
1456 * emulparams/elf32frv.sh (NOP): Set.
1457 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
1458 * configure.tgt: Add frv-*-*linux*.
1459 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
1460 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
1461 (eelf32frvfd.c): New.
1462 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
1463 * emulparams/elf32frv.sh: Reverted previous two patches.
1464 * emulparams/elf32frvfd.sh: New.
1465 * Makefile.in: Rebuilt.
1466 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
1467 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
1468 .rofixup.got to .rofixup.
1469 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
1470 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
1471 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
1472
1473 2004-01-05 Jakub Jelinek <jakub@redhat.com>
1474
1475 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
1476 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
1477
1478 2004-01-03 Alan Modra <amodra@bigpond.net.au>
1479
1480 * ldexp.c (align_n): Make static.
1481 * ldexp.h (align_n): Delete declaration.
1482 * ldlang.h (lang_enter_output_section_statement): Remove
1483 block_value param.
1484 * ldlang.c (lang_enter_output_section_statement): Likewise.
1485 (TO_ADDR, TO_SIZE): Define.
1486 (opb_shift): New var.
1487 (init_opb): New function.
1488 (print_input_section): Call init_opb and use TO_ADDR.
1489 (print_data_statement, print_reloc_statement): Likewise.
1490 (print_padding_statement): Likewise.
1491 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
1492 (lang_check_section_addresses): Likewise.
1493 (lang_size_sections_1): Likewise.
1494 (lang_do_assignments_1): Likewise.
1495 (lang_set_startof): Likewise.
1496 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
1497 (lang_process): Call init_opb.
1498 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
1499 (lang_enter_overlay_section): Adjust
1500 lang_enter_output_section_statement call.
1501 * ldgram.y: Likewise.
1502 * mri.c (mri_draw_tree): Likewise.
1503 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
1504 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1505 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
1506
1507 * ldfile.c (ldfile_set_output_arch): Add defarch param.
1508 * ldfile.h (ldfile_set_output_arch): Ditto.
1509 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
1510 ldfile_set_output_arch.
1511 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
1512 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
1513 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
1514 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1515 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
1516 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
1517 * ldgram.y: Adjust ldfile_set_output_arch call.
1518 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1519 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
1520 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
1521 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
1522 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
1523 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1524 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1525
1526 2004-01-02 Bernardo Innocenti <bernie@develer.com>
1527
1528 * configure.tgt: Add m68k-uClinux target.
1529
1530 For older changes see ChangeLog-0203
1531 \f
1532 Local Variables:
1533 mode: change-log
1534 left-margin: 8
1535 fill-column: 74
1536 version-control: never
1537 End:
This page took 0.061911 seconds and 4 git commands to generate.