* ldmisc.c (vfinfo): Handle the case where %B is passed a NULL BFD.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
f2763b01
NC
12004-12-16 Martin Kögler <mkoegler@auto.tuwien.ac.at>
2
3 * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL
4 BFD.
5
cb9faf63
BE
62004-12-07 Ben Elliston <bje@gnu.org>
7
8 * ldemul.h: Forward declare struct option.
9
02f80eef
DS
102004-12-01 Danny Smith <dannysmith@users.sourceforge.net>
11
12 * scripttempl/pe.sc (.data): Add .jcr subsection.
13
dea514f5
PB
142004-11-30 Paul Brook <paul@codesourcery.com>
15
16 * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.
17
32118081
NC
182004-11-30 Tero Niemela <tero_niemela@yahoo.com>
19
20 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
21 * Makefile.in: Regenerate.
22
33f362e1
NC
232004-11-26 Melissa Mears <asterisk@graces.dricas.com>
24
25 * emultempl/pe.em: Add --subsystem:xbox as well as
26 --subsystem:%d.
27 * ld.texinfo: (ld_options): Document acceptance of subsystem xbox
28 and numeric subsystems.
29
3eda52aa
AM
302004-11-24 Alan Modra <amodra@bigpond.net.au>
31
32 * ldexp.c (fold_name): Correct PR 338 fix.
33
6b3221b4
MM
342004-11-19 Mark Mitchell <mark@codesourcery.com>
35
36 * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
37 (earmelf_linux_eabi.c): New target.
38 * configure.tgt (arm*-*-linux-gnueabi): Handle it.
39 * emulparams/armelf_linux_eabi.sh: New file.
40 * Makefile.in: Regenerated.
41
9cd6d51a
NC
422004-11-19 Nick Clifton <nickc@redhat.com>
43
44 PR 518
45 * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and
46 LENGTH fields in the MEMORY command, to explicitly state that
47 symbols cannot be used in their expressions.
48
3ec57632
NC
492004-11-19 Jon Beniston <jon@beniston.com>
50
51 * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION.
52 * ld/ldgram.y: Add ORIGIN and LENGTH expressions.
53 * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions
54 which return the length and origin of a memory.
55 * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions.
56 * NEWS: Mention support for ORIGIN and LENGTH operators.
57
b7693d02
DJ
582004-11-17 Daniel Jacobowitz <dan@codesourcery.com>
59
60 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use
61 a dynamic object for stubs.
62
fc0e6df6
PB
632004-11-04 Paul Brook <paul@codesourcery.com>
64
65 * ld.texinfo: Document --default-imported-symver.
66 * ldmain.c (main): Set link_info.default_imported_symver.
67 * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER.
68 (ld_options): Add --default-imported-symver.
69 (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.
70
7499d566
NC
712004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
72 Vineet Sharma <vineets@noida.hcltech.com>
73
74 * Makefile.am: Add entries for new maxq-coff target.
75 * Makefile.in: Regenerate.
76 * configure.tgt: Add support for maxq.
77 * emulparams/maxqcoff.sh: New File.
78 * scripttempl/maxqcoff.sc: New linker script for target maxq.
79 * NEWS: Mention the new target.
80
977cdf5a
NC
812004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
82
83 * testsuite/ld-scripts/weak.exp: Enable test on PE,
84 XFAIL non-i386 PE.
85 * testsuite/ld-undefined/weak-undef.exp: Enable test on PE,
86 XFAIL non-i386 PE.
87 * testsuite/lib/ld-lib.exp (is_pecoff_format): New.
88
7f266840
DJ
892004-11-04 Daniel Jacobowitz <dan@debian.org>
90
91 * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o.
92 (earmelf_oabi.c): Remove rule.
93 * configure.tgt: Remove arm-*-oabi and thumb-*-oabi.
94 * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files.
95 * Makefile.in: Regenerated.
96
a0055007
HPN
972004-11-04 Hans-Peter Nilsson <hp@axis.com>
98
99 * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout.
100 * emulparams/criself.sh (INIT_START): Remove emitted "push srp".
101 (FINI_START): Ditto.
102 (INIT_END): Remove emitted "jump [sp+]".
103 (FINI_END): Ditto.
104
c5614fa4
AM
1052004-11-04 Alan Modra <amodra@bigpond.net.au>
106
107 * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt.
108 (no_opd_opt, no_toc_opt): New static vars.
109 (ppc_before_allocation): Don't edit opt if no_opd_opt. Call
110 ppc64_elf_edit_toc.
111 (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define.
112 (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize.
113 (PARSE_AND_LIST_OPTIONS): Describe new options.
114 (PARSE_AND_LIST_ARGS_CASES): Handle them.
115
7a5df8d0
NC
1162004-10-27 Nick Clifton <nickc@redhat.com>
117
118 * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL,
119 parameter to invocation of lang_section_start.
120 * emultempl/aix.em (_handle_option): Likewise.
c5614fa4 121
7a5df8d0
NC
122 * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c,
123 eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em.
124 * Makefile.in: Regenerate.
125
6f372e19
MM
1262004-10-26 Mark Mitchell <mark@codesourcery.com>
127
128 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
129 __exidx_{start,end} when not relocating.
130
ba916c8a
MM
1312004-10-25 Mark Mitchell <mark@codesourcery.com>
132
133 * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
134 * ldexp.h (segment_type): New type.
135 (segments): New variable.
136 * ldexp.c (segments): New variable.
137 (exp_print_token): Handle SEGMENT_START.
138 (fold_binary): Likewise.
139 * ldgram.y (SEGMENT_START): Declare it as a token.
140 (exp): Handle SEGMENT_START.
141 * ldlang.h (lang_address_statement_type): Add segment field.
142 (lang_section_start): Change prototype.
143 * ldlang.c (map_input_to_output_sections): Do not process section
144 assignments if a corresponding SEGMENT_START has already been
145 seen.
146 (lang_section_start): Add segment parameter.
147 * ldlex.l (SEGMENT_START): Add it.
148 * lexsup.c (seg_segment_start): New function.
149 (parse_args): Use it for -Tbss, -Tdata, and -Ttext.
150 * ld.texinfo (SEGMENT_START): Document it.
151 * emulparams/armsymbian.sh (EMBEDDED): Set it.
152 * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment
153 base addresses. Do not map relocations.
154 * NEWS: Mention SEGMENT_START.
155
3e3b46e5
PB
1562004-10-26 Paul Brook <paul@codesourcery.com>
157
158 * ld.texinfo: Document --default-symver.
159 * ldmain.c (main): Set link_info.create_default_symver.
160 * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER.
161 (ld_options): Add default-symver.
162 (parse_args): Handle OPTION_DEFAULT_SYMVER.
163
7b0eaa22
DS
1642004-10-24 Danny Smith <dannysmith@users.sourceforge.net>
165
166 * pe-dll.c (process_def_file): Don't export all symbols by default if
167 building a position-independent executable.
168
dfeffb9f
L
1692004-10-21 H.J. Lu <hongjiu.lu@intel.com>
170
171 PR 463
172 * ldmain.c (reloc_overflow): Accept a pointer to struct
173 bfd_link_hash_entry. Report symbol location for relocation
174 overflow.
175
dc4f76f8
L
1762004-10-21 H.J. Lu <hongjiu.lu@intel.com>
177
178 * genscripts.sh (libpath.exp): Really generate for first
179 emulation only.
180
2a08daf3
DS
1812004-10-19 Danny Smith <dannysmith@users.sourceforge.net>
182
183 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify
184 comparison and replacement of filenames.
185
532345f2
L
1862004-10-19 H.J. Lu <hongjiu.lu@intel.com>
187
188 PR 459
189 * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic
190 option on linker script as the one for linker script.
191
b58f81ae
DJ
1922004-10-16 Daniel Jacobowitz <dan@debian.org>
193
194 * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
195 (check_excluded_libs): New.
196 (load_symbols): Call check_excluded_libs.
197 * ldlang.h (add_excluded_libs): New prototype.
198 * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
199 (gld${EMULATION_NAME}_add_options): Add --exclude-libs.
200 (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
201 * ld.texinfo (Command Line Variables): Document --exclude-libs.
202 (Options Specific to i386 PE Targets): Remove --exclude-libs.
203
95c148b4
AM
2042004-10-15 Alan Modra <amodra@bigpond.net.au>
205
c468c8bc
AM
206 * ldexp.c (exp_fold_tree): Don't immediately exit ld on a
207 failing link script assert.
208
95c148b4
AM
209 * ldctor.c (ldctor_add_set_entry): Fix comment typo.
210
951e9133
L
2112004-10-14 H.J. Lu <hongjiu.lu@intel.com>
212
213 PR 445
214 * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set.
215 (SMALL_DATA_DTOR): Set.
216 * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset.
217 (SMALL_DATA_DTOR): Unset.
218 * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors
219 after .data. If SMALL_DATA_DTOR is set, move .dtors after
220 .data.
221
afd7a018
AM
2222004-10-14 Alan Modra <amodra@bigpond.net.au>
223
224 PR 63
225 * ldlang.h (lang_output_section_statement_type): Make "next" a
226 struct lang_output_section_statement_struct *.
227 (struct orphan_save): Move from elf32.em. Add "name" and "flags".
228 (lang_output_section_find_by_flags, lang_insert_orphan): Declare.
229 * ldlang.c (lang_output_section_find_1): Adjust for changed
230 output_section_statement "next".
231 (strip_excluded_output_sections): Likewise.
232 (lang_record_phdrs): Likewise.
233 (lang_output_section_find_by_flags): New function.
234 (output_prev_sec_find): Move from pe.em. Adjust iterator.
235 (lang_insert_orphan): New function. Tail end of elf32.em's
236 place_orphan merged with that from pe.em. Allow bfd_section to
237 be placed first. New heuristic for placing new output section
238 statement in existing script, and accompanying split of __start
239 symbol alignment into a separate assignment to dot.
240 (lang_add_section): Consistently use output->bfd_section rather than
241 an alias, section->output_section.
242 (map_input_to_output_sections): Rename overly long arg. Move
243 initialization of data_statement output section to here..
244 (lang_check_section_addresses): ..from here.
245 (print_assignment): Correct printing of etree_assert.
246 (print_all_symbols): Don't bomb if userdata is NULL.
247 (IGNORE_SECTION): Rearrange.
248 * emultempl/elf32.em (output_rel_find): Adjust interator.
249 (output_prev_sec_find): Delete.
250 (struct orphan_save): Delete.
251 (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section
252 flags without creating a duplicate output section statement.
253 Revise code holding history of various orphan section placements.
254 Allow orphan sections to place before script specified output
255 sections. Call lang_output_section_find_by_flags when placement
256 by name fails. Use lang_insert_orphan.
257 * emultempl/mmo.em (output_prev_sec_find): Delete.
258 (struct orphan_save): Delete.
259 (mmo_place_orphan): Revise code holding history of orphan placement.
260 Allow orphans to place before existing output sections. Use
261 lang_insert_orphan.
262 * emultempl/pe.em (output_prev_sec_find): Delete.
263 (struct orphan_save): Delete.
264 (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of
265 lang_insert_orphan.
266
c0042f5d
MM
2672004-10-13 Mark Mitchell <mark@codesourcery.com>
268
269 * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a
270 loadable segment.
271
1af699f4
AM
2722004-10-13 Alan Modra <amodra@bigpond.net.au>
273
274 PR 44
09c112da
AM
275 * ldcref.c (check_section_sym_xref): Delete.
276 (check_local_sym_xref): New function.
277 (check_nocrossrefs): Adjust call.
1af699f4
AM
278 * emultempl/pe.em (struct orphan_save): Add os_tail.
279 (place_orphan): Backport assorted fixes from elf32.em.
280
7fa3d080
BW
2812004-10-12 Bob Wilson <bob.wilson@acm.org>
282
283 * emultempl/xtensaelf.em: Use ISO C90 formatting.
284
d3989512
JJ
2852004-10-11 Jakub Jelinek <jakub@redhat.com>
286
563f4125
JJ
287 * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid
288 getline for portability.
289
d3989512
JJ
290 * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure.
291 (gld${EMULATION_NAME}_parse_ld_so_conf,
292 gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions.
293 (gld${EMULATION_NAME}_check_ld_so_conf): Use them.
294
6c0c5b1e
AM
2952004-10-11 Alan Modra <amodra@bigpond.net.au>
296
297 PR 423
298 * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are
299 rejected when linking statically.
300
d2b2c203
DJ
3012004-10-08 Daniel Jacobowitz <dan@debian.org>
302
303 * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*.
304
43cd72b9
BW
3052004-10-07 Bob Wilson <bob.wilson@acm.org>
306
307 * ld.texinfo (Xtensa): Describe new linker relaxation to optimize
308 assembler-generated longcall sequences. Describe new --size-opt
309 option.
310 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section.
311 * emultempl/xtensaelf.em (remove_section,
312 replace_insn_sec_with_prop_sec, replace_instruction_table_sections,
313 elf_xtensa_after_open): New.
314 (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT,
315 OPTION_NO_LITERAL_MOVEMENT): Define.
316 (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals.
317 (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement.
318 (PARSE_AND_LIST_OPTIONS): Add --size-opt.
319 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT,
320 OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT.
321 (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open.
322 * scripttempl/elfxtensa.sc: Update with changes from elf.sc.
323 * Makefile.am (eelf32xtensa.c): Update dependencies.
324 * Makefile.in: Regenerate.
325
8fdd7217 3262004-10-07 Jeff Baker <jbaker@qnx.com>
6c0c5b1e 327
8fdd7217
NC
328 * lexsup.c: Handle --warn-shared-textrel option.
329 (ld_options): Restore alpha sorting of options.
330 * ldmain.c (main): Initialise warn_shared_info field to FALSE.
331 * ld.texinfo: Add documentation for --warn-shared-textrel.
332 * NEWS: Added mention of --warn-shared-textrel option.
333
339207f8 3342004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
6c0c5b1e 335
339207f8 336 * emultempl/crxelf.em (disable_relaxation): Add.
6c0c5b1e 337 (crxelf_before_allocation): Enable --relax option by default.
339207f8
TL
338 (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX.
339 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax.
340 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX.
341
bcaa7b3e
L
3422004-10-04 H.J. Lu <hongjiu.lu@intel.com>
343
344 * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and
345 --sort-section name|alignment.
346
347 * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and
348 --sort-section name|alignment.
349
350 * ld.h (sort_type): New enum.
351 (wildcard_spec): Change the type of `sorted' to sort_type.
352
353 * ldgram.y (SORT): Removed.
354 (SORT_BY_NAME): Added.
355 (SORT_BY_ALIGNMENT): Added.
356 (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and
357 SORT_BY_ALIGNMENT.
358 (input_section_spec_no_keep): Updated `sorted'.
359 (statement): Replace SORT with SORT_BY_NAME.
360
361 * ldlang.c (compare_section): New function to compare 2
362 sections with different sorting schemes.
363 (wild_sort): Updated. Use compare_section.
364 (update_wild_statements): New function.
365 (lang_process): Call update_wild_statements before
366 map_input_to_output_sections.
367
368 * ldlex.l (SORT_BY_NAME): New.
369 (SORT_BY_ALIGNMENT): New.
370 (SORT): Return SORT_BY_NAME.
371
372 * ldmain.c (sort_section): New. Defined.
373 (main): Initialize it to none.
374
375 * lexsup.c (option_values): Add OPTION_SORT_SECTION.
376 (ld_options): Add an entry for OPTION_SORT_SECTION.
377 (parse_args): Handle OPTION_SORT_SECTION.
378
379 * mri.c (mri_draw_tree): Updated `sorted'.
380
a4f5ad88
JJ
3812004-10-04 Jakub Jelinek <jakub@redhat.com>
382
383 * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument.
384 * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first
385 argument.
386 (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first
387 and . as second argument.
388 (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section.
389 * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here.
390 (fold_binary): Add it here. Insert padding to make relro_end
391 COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in
392 exp_dataseg_relro_adjust phase just use previously computed
393 exp_data_seg.base.
394 * ldlang.c (lang_size_sections): Set exp_data_seg.base for
395 relro_adjust here. Call lang_size_sections_1 once more if there
396 was too big padding at DATA_SEGMENT_RELRO_END.
397 * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation.
398
40a18ebd
NC
3992004-10-01 Paul Brook <paul@codesourcery.com>
400
401 * emulparams/armelf.sh: Add unwinding table sections.
402
db8acf26
NC
4032004-09-30 Filip Navara <navaraf@reactos.com>
404
405 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate
406 correct base address for position independant executables.
407 * pe-dll.c (pe_dll_fill_sections): Don't mark position independant
408 executables as DLLs.
409
eeac373a
PB
4102004-09-30 Paul Brook <paul@codesourcery.com>
411
412 * ld.texinfo: Document --target2=abs.
413 * emulparms/armsymbian.sh (TARGET2_TYPE): Set.
414
1ee7cf4c
NC
4152004-09-29 Nick Clifton <nickc@redhat.com>
416
417 * scripttempl/xstormy16.sc: Only perform the assignments to the
418 ROM region when not performing a relocatable link. The ROM region
419 does not start at address 0, but the sections will.
420 * Makefile.am: Fix linker script dependency for the generation of
421 eelf32xstormy16.c.
422 * Makefile.in: Regenerate.
423
03098a9a
CF
4242004-09-18 Filip Navara <navaraf@reactos.com>
425
426 * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh,
427 emulparams/i386pe_posix.sh, emulparams/mcorepe.sh,
428 emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define
429 TARGET_PAGE_SIZE.
430 * scripttempl/pe.sc: Make the virtual address and file offset synced if
431 the alignment is lower than the target page size.
432
f2d3750d
CF
4332004-09-27 Filip Navara <navaraf@reactos.com>
434
435 * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow
436 def_file_parse to handle pe_def_file if NULL and prevent crash with
437 invalid .def files.
438
a23d8409
AM
4392004-09-27 Alan Modra <amodra@bigpond.net.au>
440
441 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
442 --emit-stub-syms automatically when --emit-relocs.
443
7b89fa29
PB
4442004-09-24 Paul Brook <paul@codeosurcery.com>
445
446 * scripttempl/elf.sc: Keep .preinit_array, .init_array and
447 .fini_array sections.
448
e2a68bcc
AS
4492004-09-19 Andreas Schwab <schwab@suse.de>
450
451 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment
452 base so that relro end is suitably aligned.
453
3674e28a
PB
4542004-09-17 Paul Brook <paul@codesourcery.com>
455
456 * ld.texinfo: Rename arm-specific section. Document --target*
457 * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
458 * emulparams/armelf_linux.sh: Ditto.
459 * emulparams/armelf_nbsd.sh: Ditto.
460 * emultempl/armelf.em: Set default for TARGET2_TYPE.
461 (target2_type): New variable.
462 (arm_elf_before_allocation): Don't pass target1_type.
463 (arm_elf_create_output_section_statements): New function.
464 (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
465 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
466 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
467 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
468 * emultempl/armelf_oabi.em (_before_allocation): Remove extra
469 argument to bfd_elf32_arm_process_before_allocation.
470
f6e332e6
AM
4712004-09-17 Alan Modra <amodra@bigpond.net.au>
472
473 * ldexp.c (fold_name): Update u.undef.next refs.
474 * emultempl/pe.em: Likewise.
475 * emultempl/sunos.em: Likewise.
476
9c933e04
AM
4772004-09-17 Alan Modra <amodra@bigpond.net.au>
478
479 * Makefile.am: Run "make dep-am".
480 * Makefile.in: Regenerate.
481 * config.in: Regenerate.
482 * configure: Regenerate.
483 * aclocal.m4: Regenerate.
484 * po/ld.pot: Regenerate.
485
1fa32646
TL
4862004-09-16 Tomer Levi <Tomer.Levi@nsc.com>
487
9c933e04
AM
488 * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*.
489 (.fini): Likewise.
490 (.jcr): Likewise.
1fa32646 491
b6ee372a
AM
4922004-09-16 Alan Modra <amodra@bigpond.net.au>
493
494 * emultempl/armelf_oabi.em (before_allocation): Add extra zero param
495 to bfd_elf32_arm_process_before_allocation call.
496
9c504268
PB
4972004-09-13 Paul Brook <paul@codesourcery.com>
498
499 * emulparams/armsymbian.sh: Set TARGET1_IS_REL.
500 * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}.
501
d15b04bd
L
5022004-09-07 H.J. Lu <hongjiu.lu@intel.com>
503
504 * configure: Regenerated with autconfig 2.13.
505
875c4330
AS
5062004-09-07 Andreas Schwab <schwab@suse.de>
507
508 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
509 alignment before adjusting DATA_SEGMENT_RELRO_END.
510
229fcec5
MM
5112004-09-06 Mark Mitchell <mark@codesourcery.com>
512
513 * emulparams/armsymbian.sh: Use armbpabi script.
514 * scripttempl/armbpabi.sc: New script.
515
e5a52504
MM
5162004-09-02 Mark Mitchell <mark@codesourcery.com>
517
518 * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
519 (earmsymbian.c): New target.
520 * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
521 * Makefile.in: Regenerated.
522 * aclocal.m4: Likewise.
523 * configure: Likewise.
524 * emulparams/armsymbian.sh: New file.
525
42851540
NC
5262004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
527
528 * scripttempl/elf32crx.sc: Edit file with comments.
529 (.init): Add new section.
530 (.fini): Likewise.
531 (.ctor): Control the linkage order.
532 (.dtor): Likewise.
533
c034e3e0
NC
5342004-08-27 Nick Clifton <nickc@redhat.com>
535
536 * emultempl/pe.em (after_open): Do not assume that either bfd is
9c933e04 537 an archive.
c034e3e0 538
688c58f3
AM
5392004-08-26 Alan Modra <amodra@bigpond.net.au>
540
541 * ldlang.c (lang_init): Don't compare with TRUE.
542
b18c562e
NC
5432004-08-25 Dmitry Diky <diwil@spec.ru>
544
545 * emulparams/msp430all.sh: Fix RAM sizes for all targets.
546 * scripttempl/elf32msp430.sc: Add .profiler section definition.
547
61f5d054
L
5482004-08-24 H.J. Lu <hongjiu.lu@intel.com>
549
550 * ldlang.c (wildcardp): Defined as a macro with strpbrk.
551
e77d3d77
MM
5522004-08-19 Mark Mitchell <mark@codesourcery.com>
553
554 * configure.tgt (arm*-*-symbianelf*): New target.
555 (arm*-*-eabi*): Likewise.
556
3f764659
JJ
5572004-08-19 Jakub Jelinek <jakub@redhat.com>
558
559 * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
560 (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
561 (OPTION_NON_OVERLAPPING_OPD): Define.
562 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
563 --non-overlapping-opd option.
564
a010d60f
AM
5652004-08-18 Alan Modra <amodra@bigpond.net.au>
566
567 PR 338
568 * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
569 was already on the undefs list.
570
c4e33880
AM
5712004-08-17 Alan Modra <amodra@bigpond.net.au>
572
573 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
574 prefix the symbol field too.
575
d003868e
AM
5762004-08-13 Alan Modra <amodra@bigpond.net.au>
577
578 * ldmain.c (link_callbacks): Remove "error_handler".
579 * ldmisc.c: Include elf-bfd.h.
580 (vfinfo): Sort comment. Handle %A. Use %A instead of
581 bfd_get_section_indent.
582 (error_handler): Delete.
583 * ldmisc.h (error_handler): Delete declaration.
584
99877b66
AM
5852004-08-10 Alan Modra <amodra@bigpond.net.au>
586
587 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
588 ppc64_elf_restore_symbols.
589
40e45c8b
AM
5902004-08-09 Alan Modra <amodra@bigpond.net.au>
591
592 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
593 .toc is too large on relocatable linking.
594
ccfa59ea
AM
5952004-08-09 Alan Modra <amodra@bigpond.net.au>
596
597 * emultempl/ppc64elf.em (ppc_after_open): Delete.
598 (LDEMUL_AFTER_OPEN): Don't define.
599
93fd0973
SC
6002004-08-02 Stephane Carrez <stcarrez@nerim.fr>
601
602 * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
603
f1b123db
SC
6042004-08-01 Stephane Carrez <stcarrez@nerim.fr>
605
606 * scripttempl/elfm68hc12.sc: Align text, rodata and data section
607 on power of 2.
608
e7fbc2bf
JT
6092004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
610
611 * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
612
c05e9f04
NC
6132004-07-26 Dmitry Diky <diwil@spec.ru>
614
615 * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
616 msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
617 msp430xG439.
618 * configure.tgt: Likewise.
619 * emulparams/msp430all.sh: Likewise.
620 * Makefile.in: Regenerate.
621
9f61903d
NC
6222004-07-23 Nick Clifton <nickc@redhat.com>
623
624 * emultempl/elf32.em (_place_orphan): Use an already existing
625 section name if that section does not have any flags set.
626
082b7297
L
6272004-07-21 H.J. Lu <hongjiu.lu@intel.com>
628
629 * ldlang.c (already_linked_hash_entry): Removed.
630 (already_linked): Likewise.
631 (already_linked_table): Likewise.
632 (section_already_linked): Call bfd_section_already_linked.
633 (lang_process): Replace already_linked_table_init with
634 bfd_section_already_linked_table_init and check return. Replace
635 already_linked_table_free with bfd_section_already_linked_table_free.
636
76d7af2d
NC
6372004-07-21 Nick Clifton <nickc@redhat.com>
638
639 * ldlang.c (init_os): Make sure that the newly allocated userdata
640 structure is zeroed out.
641
14b3c463
L
6422004-07-19 H.J. Lu <hongjiu.lu@intel.com>
643
644 * NEWS: Mention the new --add-needed/--no-add-needed and
645 --as-needed/--no-as-needed options.
646
e56f61be
L
6472004-07-19 H.J. Lu <hongjiu.lu@intel.com>
648
649 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
650 check the add_needed field.
651 (dt_needed): New struct.
652 (gld${EMULATION_NAME}_try_needed): Change the first argument
653 to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
654 bit in the file where the DT_NEEDED entry comes from.
655 (gld${EMULATION_NAME}_search_needed): Change the second
656 argument to a pointer to struct dt_needed.
657 (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
658 (gld${EMULATION_NAME}_after_open): Likewise.
659
660 * ld.texinfo: Add --add-needed document.
661 * ldlang.c (new_afile): Set p->add_needed.
662 * ldlang.h (lang_input_statement_type): Add add_needed field.
663 * ldmain.h (add_needed): Declare.
664 * ldmain.c (add_needed): New global var.
665 * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
666 OPTION_NO_ADD_NEEDED.
667 (ld_options): Likewise.
668 (parse_args): Handle them.
669
c99b8138
NC
6702004-07-13 Christof Petig <christof@petig-baender.de>
671
672 * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
673 for endian-ness of extracted addend.
674
13ed4151
NC
6752004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net>
676
677 * pe-dll.c (auto_export): Filter on just the import prefix,
678 "_imp_", not "_imp__".
679
1a320fbb
NC
6802004-07-09 Nick Clifton <nickc@redhat.com>
681
682 * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
683
1fe1f39c
NC
6842004-07-06 Tomer Levi <Tomer.Levi@nsc.com>
685
686 * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
687 (eelf32crx.c): New target.
688 * Makefile.in: Regenerate.
689 * configure.tgt: Handle crx-*-elf*.
690 * emulparams/elf32crx.sh: New file.
691 * emultempl/crxelf.em: New file.
692 * scripttempl/elf32crx.sc: New file.
693 * NEWS: Mention new target.
694
85fbca6a
NC
6952004-07-06 Nick Clifton <nickc@redhat.com>
696
697 * Makefile.am: Add eshlsymbian.c.
698 * Makefile.in: Regenerate.
699 * configure.tgt: Add sh*-symbian-elf target.
700 * emulparams/shlsymbian.sh: New file. Configure the
701 sh-symbian-elf linker scripts.
702 * scripttemp/elf32sh-symbian.sc: New file. Linker script
703 template for the sh-symbian-elf target.
704
b71a5181
DA
7052004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
706
707 * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
708 * emulparams/hppalinux.sh: Likewise.
709 * scripttempl/elf.sc: Place .plt just before .got when .plt is in
710 data segment and PLT_BEFORE_GOT is defined.
711
c87db184
CF
7122004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
713
714 * ld.texinfo (WIN32): Document PE weak symbols.
715
f6a8ae81
KK
7162004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
717
718 * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
719
b602c853
L
7202004-07-01 H.J. Lu <hongjiu.lu@intel.com>
721
722 * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
723 the section.
724
1a23a9e6
AM
7252004-06-29 Alan Modra <amodra@bigpond.net.au>
726
727 * ldlang.c (lang_reset_memory_regions): Save last relax pass section
728 size in rawsize.
729
eea6121a
AM
7302004-06-24 Alan Modra <amodra@bigpond.net.au>
731
732 * ldlang.c (print_output_section_statement): Don't print size before
733 relaxation.
734 (IGNORE_SECTION): Remove bfd arg. Update all callers.
735
736 * ldexp.c (fold_name): .. See below.
737 * ldlang.c (section_already_linked, print_output_section_statement,
738 print_input_section, insert_pad, size_input_section,
739 lang_check_section_addresses, lang_size_sections_1,
740 lang_size_sections, lang_do_assignments_1, lang_set_startof,
741 lang_one_common, lang_reset_memory_regions, lang_process,
742 lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
743 * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
744 * pe-dll.c (process_def_file, generate_reloc): ..
745 * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
746 gld${EMULATION_NAME}_before_allocation): ..
747 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
748 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
749 sh64_elf_${EMULATION_NAME}_after_allocation): ..
750 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
751 * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
752 ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
753 "size" instead of "_raw_size" and "_cooked_size". Expand
754 bfd_section_size macro invocations.
755
552f8272
CF
7562004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
757
758 * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
759 ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
760 ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
761 ___crt_xt_end__.
762 (.tls): Define ___tls_start__ and ___tls_end__.
763
aee6f5b4
AO
7642004-06-21 Alexandre Oliva <aoliva@redhat.com>
765
766 * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
767
eea6121a 7682004-06-18 Adam Nemet <anemet@lnxw.com>
f234d5fe 769
eea6121a
AM
770 * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
771 * configure: Regenerate.
f234d5fe 772
dfff4fbe
JJ
7732004-06-15 Jakub Jelinek <jakub@redhat.com>
774
775 * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
776 .gcc_except_table output sections lost accidentally with
777 -z relro patch.
778
a9e0c0c6
AM
7792004-06-15 Alan Modra <amodra@bigpond.net.au>
780
781 * ldwrite.c (build_link_order): Use bfd_get_section_size
782 instead of bfd_get_section_size_before_reloc or _raw_size.
783 * pe-dll.c (process_def_file): Likewise.
784
7115639b
AM
7852004-06-14 Alan Modra <amodra@bigpond.net.au>
786
787 From Richard Wirth <r.wirth@wirthware.de>
788 * ldlang.c (lang_finish): Don't free lang_definedness_table.
789
9ca57817
AM
7902004-05-29 Alan Modra <amodra@bigpond.net.au>
791
792 * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
793 (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
794
f6f9408f
JR
7952004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
796
797 * testsuite/ld-sh/arch/arch.exp: New test script.
798 * testsuite/ld-sh/arch/arch_expected.txt: New file.
799 * testsuite/ld-sh/arch/sh.s: New file.
800 * testsuite/ld-sh/arch/sh2.s: New file.
801 * testsuite/ld-sh/arch/sh-dsp.s: New file.
802 * testsuite/ld-sh/arch/sh2e.s: New file.
803 * testsuite/ld-sh/arch/sh3-nommu.s: New file.
804 * testsuite/ld-sh/arch/sh3.s: New file.
805 * testsuite/ld-sh/arch/sh3-dsp.s: New file.
806 * testsuite/ld-sh/arch/sh3e.s: New file.
807 * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
808 * testsuite/ld-sh/arch/sh4-nofpu.s: New file.
809 * testsuite/ld-sh/arch/sh4.s: New file.
810 * testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
811 * testsuite/ld-sh/arch/sh4al-dsp.s: New file.
812 * testsuite/ld-sh/arch/sh4a.s: New file.
813
164e712d
AM
8142004-05-28 Alan Modra <amodra@bigpond.net.au>
815
6feb9908
AM
816 * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
817 throughout file.
818 * lexsup.c: Formatting. Wrap long lines.
819 * ldwrite.c: Update copyright date.
820
164e712d
AM
821 * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
822 (output_section_callback): Nor SEC_KEEP here.
823 (gc_section_callback): Twiddle SEC_EXCLUDE here.
824 (lang_gc_wild): Delete. Fold into..
825 (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage
826 collecting.
827 (lang_process): Always call lang_gc_sections.
828 (lang_place_orphans): Handle SEC_EXCLUDE sections.
829 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
830 SEC_EXCLUDE code.
831
b3096250
L
8322004-05-26 H.J. Lu <hongjiu.lu@intel.com>
833
834 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
835 SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
836 * ldlang.c (lang_add_section): Likewise.
837
e49f5022
AM
8382004-05-26 Alan Modra <amodra@bigpond.net.au>
839
840 * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
841 sections when doing a final link. Clear SEC_EXCLUDE when doing
842 a relocable link, except for SEC_DEBUGGING sections.
843 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
844 same condition here to drop SEC_EXCLUDE orphan sections.
845
57ceae94
AM
8462004-05-25 Alan Modra <amodra@bigpond.net.au>
847
848 * ldlang.c (lang_process): Call bfd_merge_sections later, and
849 only when not a relocatable link.
850 (print_input_section): Handle SEC_EXCLUDE sections.
851 (size_input_section): Don't update dot on SEC_EXCLUDE sections.
852 (lang_do_assignments_1): Likewise.
853 * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
854 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
855 * emultempl/hppaelf.em (build_section_lists): Likewise.
856 * emultempl/ppc64elf.em (build_toc_list): Likewise.
857 (build_section_lists): Likewise.
858
a85785bc
AS
8592004-05-23 Andreas Schwab <schwab@suse.de>
860
861 * ld.texinfo (Options): Fix typo in last change.
862
2d643429
NC
8632004-05-21 Andy Chittenden <achittenden@bluearc.com>
864
865 * ld.h (ld_config_type): Add new field: hash_table_size.
866 * ldmain.c: Initialise the new field to zero. If it is non-zero
867 after parsing the linker's command line call
868 bfd_hash_set_default_size.
869 * lexsup.c (option_values): Add OPTION_HASH_SIZE.
870 (ld_options): Add hash-size.
871 (parse_args): Parse --hash-size option. Allow
872 --reduce-memory-overheads to set the default hash table size as
873 well.
874 * ld.texinfo: Document the new switch. Also mention that
875 --reduce-memory-overheads can affect the hash table size.
876 * NEWS: Mention the new feature.
877
35835446
JR
8782004-05-19 J"orn Rennecke <joern.rennecke@superh.com>
879
880 * NEWS: Mention new linker map file generation and the
881 --reduce-memory-overheads option.
882 * ld.texinfo: Document --reduce-memory-overheads option.
883 * ld.h (map_symbol_def): New struct.
884 (struct user_section_struct, section_userdata_type): Rename to:
885 (struct lean_user_section_struct, lean_section_userdata_type).
886 (struct fat_user_section_struct, fat_section_userdata_type): New.
887 (SECTION_USERDATA_SIZE): Define.
888 (args_type): New member reduce_memory_overheads.
889 * ldlang.c (map_obstack): New static variable.
890 (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
891 (lang_map): Unless command_line.reduce_memory_overheads is set,
892 initialize lists of defined symbols for each section.
893 (print_input_section): Unless command_line.reduce_memory_overheads
894 is set, use print_all_symbols.
895 (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
896 * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
897 * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
898 (ld_options): Add entry for --reduce-memory-overheads.
899 (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
900
0841712e
JJ
9012004-05-19 Jakub Jelinek <jakub@redhat.com>
902
903 * ldgram.y (sect_constraint): New.
904 (ONLY_IF_RO, ONLY_IF_RW): New tokens.
905 (section): Add sect_constraint. Pass additional argument
906 to lang_enter_output_section_statement.
907 * mri.c (mri_draw_tree): Pass additional argument to
908 lang_enter_output_section_statement.
909 * emultempl/pe.em (place_orphan): Likewise.
910 (output_prev_sec_find): Disregard output section statements with
911 constraint == -1.
912 * emultempl/mmo.em (output_prev_sec_find): Likewise.
913 (mmo_place_orphan): Pass additional argument to
914 lang_enter_output_section_statement.
915 * emultempl/elf32.em (output_prev_sec_find): Disregard output section
916 statements with constraint == -1.
917 (place_orphan): Pass additional argument to
918 lang_enter_output_section_statement.
919 * ldlang.c (lang_enter_overlay_section): Likewise.
920 (lang_output_section_find_1): New.
921 (lang_output_section_find): Use it.
922 (lang_output_section_statement_lookup_1): New.
923 (lang_output_section_statement_lookup): Use it.
924 (check_section_callback, check_input_sections): New.
925 (map_input_to_output_sections): Check if all input sections
926 are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
927 (strip_excluded_output_sections): Disregard output section statements
928 with constraint == -1.
929 (lang_record_phdrs): Likewise.
930 (lang_enter_output_section_statement): Add constraint argument.
931 Use lang_output_section_statement_lookup_1.
932 * ldlang.h (lang_output_section_statement_type): Add constraint
933 and all_input_readonly fields.
934 (lang_enter_output_section_statement): Adjust prototype.
935 * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
936 * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
937 segment if all input sections are readonly.
938
eea6121a 9392004-05-19 Adam Nemet <anemet@lnxw.com>
f2c50328
NC
940
941 * scripttempl/i386lynx.sc: Remove file.
942
2a16d82a
BW
9432004-05-17 Bob Wilson <bob.wilson@acm.org>
944
945 * ld.texinfo (Output Section Address): Correct subsection name.
946
eea6121a 9472004-05-17 Adam Nemet <anemet@lnxw.com>
b2d65c0b
NC
948
949 * configure.tgt (powerpc-*-lynxos* case): New case.
950 * configure.host (i[3-7]86-*-lynxos* case): Remove case.
951 * emulparams/ppclynx.sh: New file.
952 * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
953 * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
954 (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
955 (eppclynx.c): New rule.
956 * Makefile.in: Regenerate.
957
4b363073
NC
9582004-05-13 Joel Sherrill <joel@oarcorp.com>
959
960 * configure.tgt (or32-*-rtems*): Switch to elf and
961 support versioned targets.
962
9598fbe5
NC
9632004-05-13 Nick Clifton <nickc@redhat.com>
964
965 * po/fr.po: Updated French translation.
966
8c37241b
JJ
9672004-05-11 Jakub Jelinek <jakub@redhat.com>
968
969 * genscripts.sh: Generate -z combreloc -z now -z relro scripts
970 for binaries, -shared and -pie.
971 * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
972 * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
973 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
974 (OTHER_RELRO_SECTIONS): ... this.
975 * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
976 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
977 -z relro and -z norelro.
978 (gld${EMULATION_NAME}_list_options): Add it to usage.
979 (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
980 -z relro scripts when appropriate.
981 * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
982 Create separate .got.plt section if SEPARATE_GOTPLT.
983 Move sections which are only written during relocation handling
984 to the beginning of RW segment. If NO_SMALL_DATA, move .got
985 before .data. Add DATA_SEGMENT_RELRO_END directive.
986 Include OTHER_RELRO_SECTIONS.
987 * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
988 * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
989 (fold_unary): Likewise.
990 (fold_binary): Handle -z relro.
991 * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
992 exp_dataseg_relro_adjust phases. Add relro_end field.
993 * ldmain.c (main): Initialize link_info.relro to FALSE.
994 * ldlang.c (lang_size_sections): Handle -z relro.
995
e21059f2
MM
9962004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
997
998 * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
999
5f9b8920
JR
10002004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
1001
1002 * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
1003 before printing it with %W.
1004
26d2d8a2 10052004-05-07 Brian Ford <ford@vss.fsi.com>
eea6121a 1006 DJ Delorie <dj@redhat.com>
26d2d8a2
BF
1007
1008 * emultempl/pe.em (real_flags): New static.
1009 (OPTION_LARGE_ADDRESS_AWARE): New define.
1010 (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
1011 (gld_${EMULATION_NAME}_list_options): Likewise.
1012 (gld${EMULATION_NAME}_handle_option): Likewise.
1013 (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
1014 * ld.texinfo: Document it.
1015 * NEWS: Mention it.
1016
1b169501
BF
10172004-05-07 Brian Ford <ford@vss.fsi.com>
1018
1019 * NEWS: Mention DWARF 2 support for i386pe.
1020
41cf0c62
AO
10212004-05-05 Alexandre Oliva <aoliva@redhat.com>
1022
1023 * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
1024 elf32-frvfdpic.
1025
d0d6a25b
AM
10262004-04-30 Alan Modra <amodra@bigpond.net.au>
1027
1028 * ldlang.c (unique_section_p): Pass section parm, return true on
1029 group sections.
1030 (output_section_callback): Adjust.
1031 * ldlang.h (unique_section_p): Update prototype.
1032 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
1033
755306be
EB
10342004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
1035
eea6121a 1036 * ld.texinfo (--gc-sections): Remove restriction for
755306be
EB
1037 dynamic linking.
1038
8a7140c3
NC
10392004-04-29 Brian Ford <ford@vss.fsi.com>
1040
1041 * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
1042 for DWARF 2/3. Update stab section's syntax.
1043
2f9636ba
AM
10442004-04-29 Alan Modra <amodra@bigpond.net.au>
1045
1046 * pe-dll.c: Revert changes accidentally committed 2004-03-08.
1047 (fill_edata): Correct pointer arithmetic.
1048
23867d67
CD
10492004-04-21 Chris Demetriou <cgd@broadcom.com>
1050
1051 * ld.texinfo: Remove MIPS --embedded-relocs documentation.
1052 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
1053 * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
1054 (EXTRA_EM_FILE): Use mipsecoff.em
1055 * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
1056 (EXTRA_EM_FILE): Use mipsecoff.em
1057 * emultempl/mipsecoff.em: Restructure to be included as an
1058 extra emulation file.
1059 (check_sections, gld${EMULATION_NAME}_after_open)
1060 (gld${EMULATION_NAME}_after_allocation)
1061 (gld${EMULATION_NAME}_get_script)
1062 (ld_${EMULATION_NAME}_emulation): Remove
1063 (gld${EMULATION_NAME}_before_parse): Rename to...
1064 (mipsecoff_before_parse): This.
1065 (LDEMUL_BEFORE_PARSE): Define.
1066 * emultempl/mipself.em: Remove file.
1067 * scripttempl/mips.sc (.rel.sdata): Do not include in output.
1068 (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
1069 these symbols.
1070 * Makefile.am: Remove dependencies on emultempl/mipself.em.
1071 * Makefile.in: Regenerate.
1072
1502569c
NC
10732004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
1074
1075 * ld.texinfo (synthesizing on H8/300): Information about linker
1076 relaxation support for bit manipulation instructions and system
1077 control instructions is added.
1078
c894ddfb
HPN
10792004-04-21 Hans-Peter Nilsson <hp@axis.com>
1080
1081 * NEWS: Mention change in DEFINED semantics.
1082
a85bf78e
EB
10832004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
1084
1085 * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
1086 (.data): Add KEEP for .gnu.linkonce.d.*personality*.
1087 (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
1088
58434bc1
BE
10892004-04-21 Ben Elliston <bje@au.ibm.com>
1090
1091 * ld.texinfo (Simple Example): Add missing punctuation.
1092
7a7f4e42
CD
10932004-04-20 Chris Demetriou <cgd@broadcom.com>
1094
1095 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
1096
3737f867
JJ
10972004-04-19 Jakub Jelinek <jakub@redhat.com>
1098
1099 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
1100 specially.
1101
3c17e4f7
DS
11022004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
1103
1104 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
1105 with default priority. Likewise for dtors.
1106
279500de
TS
11072004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1108
1109 * configure.host: Remove mips*-dec-bsd* target.
1110 * configure.tgt: Likewise.
1111
52f89c0a
RS
11122004-04-08 Richard Sandiford <rsandifo@redhat.com>
1113
1114 * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
1115 * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
1116 * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
1117 * emultempl/irix.em: New file.
1118 * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
1119 dependencies.
1120 * Makefile.in: Regenerate.
1121
e489d0ae
PB
11222004-04-01 Paul Brook <paul@codesourcery.com>
1123
1124 * emultempl/armelf.em (byteswap_code): Add.
1125 (arm_elf_before_allocation): Pass extra parameter.
1126 (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
1127 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
1128 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
1129 * emultempl/armelf_oabi.em: Pass extra parameter.
1130 * ld.texinfo: Document --be8.
1131
7cc8057a
SS
11322004-03-30 Stan Shebs <shebs@apple.com>
1133
1134 Remove long-obsolete MPW support.
1135 * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
1136 * Makefile.am (mpw): Remove file-presynthesizing actions.
1137 * Makefile.in: Likewise.
1138 * ldfile.c (slash): Remove MPW case.
1139 * ldlex.l [MPW]: Remove unused definition.
1140
0949843d
NC
11412004-03-30 Galit Heller <Galit.Heller@nsc.com>
1142
1143 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
1144 (eelf32cr16c.c): New target.
1145 * Makefile.in: Regenerate.
1146 * configure.tgt: Handle cr16c-*-elf*.
1147 * emulparams/elf32cr16c.sh: New file.
1148 * scripttempl/elfcr16c.sc: Likewise
1149 * NEWS: Mention support for new target.
1150
0a159ef8
NC
11512004-03-30 Nick Clifton <nickc@redhat.com>
1152
1153 * po/sv.po: Updated Swedish translation.
1154
7a945db6
AM
11552004-03-27 Alan Modra <amodra@bigpond.net.au>
1156
1157 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
1158 * emultempl/hppaelf.em: Likewise.
1159 * emultempl/ppc64elf.em: Likewise.
1160 * emultempl/sh64elf.em: Likewise.
1161
5a580b3a
AM
11622004-03-25 Alan Modra <amodra@bigpond.net.au>
1163
1164 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
1165 size_dynamic_sections call.
1166
b9cf773d
AM
11672004-03-23 Alan Modra <amodra@bigpond.net.au>
1168
1169 PR 51.
1170 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
1171 link_info.wrap_char.
1172
59c2e50f
L
11732004-03-20 H.J. Lu <hongjiu.lu@intel.com>
1174
1175 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
1176 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
1177
44349745
AO
11782004-03-20 Alexandre Oliva <aoliva@redhat.com>
1179
1180 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
1181
81359a70
AM
11822004-03-19 Alan Modra <amodra@bigpond.net.au>
1183
1184 * config.in: Regenerate.
1185 * po/ld.pot: Regenerate.
1186
4a43e768
AM
11872004-03-18 Alan Modra <amodra@bigpond.net.au>
1188
1189 * ld.texinfo: Add --as-needed doco.
1190 * ldmain.c (as_needed): New global var.
1191 * ldmain.h (as_needed): Declare.
1192 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
1193 OPTION_NO_AS_NEEDED.
1194 (ld_options): Likewise.
1195 (parse_args): Handle them.
1196 * ldlang.h (lang_input_statement_type): Add as_needed field.
1197 * ldlang.c (new_afile): Set p->as_needed.
1198 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
1199 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
1200 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
1201
1202 * ldlang.c (open_input_bfds): Remove useless cast.
1203 (lang_do_assignments_1): Likewise.
1204 (lang_for_each_input_section): Delete.
1205
9183ed4b
AM
12062004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1207
1208 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
1209
ee31fbd0
NC
12102004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
1211
1212 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
1213 private when building implib.
1214
e5caec89
NS
12152004-03-05 Nathan Sidwell <nathan@codesourcery.com>
1216
1217 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
1218 SEC_THREAD_LOCAL.
1219 (IGNORE_SECTION): Ignore .tbss sections too.
1220 (lang_size_sections_1): .tbss sections do not advance dot.
1221
cc2f008e
AS
12222004-03-01 Andreas Schwab <schwab@suse.de>
1223
1224 * ld.texinfo (Options): Fix example for --wrap.
1225
f5a95868
DS
12262004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
1227
1228 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
1229 not NULL.
1230
177b729b
ILT
12312004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
1232
1233 * ldlang.c (lang_check): Use %P, not %E, in error message.
1234
1b493742
NS
12352004-02-23 Nathan Sidwell <nathan@codesourcery.com>
1236
1237 * ldlang.h (struct lang_output_section_state): Change processed
1238 field's type.
1239 * ldexp.c (check, invalid): Remove.
1240 (fold_name): Move valid_p assignments. Create undefined symbol
1241 when needed. Directly exampine section's processd flag.
1242 * ldlang.c (lang_output_section_statement_lookup): Adjust
1243 processed field init.
1244 (lang_size_sections_1): Allow LOADADDR when determining section's
1245 VMA. Adjust error message. Fold data statement's expr.
1246 (lang_size_sections): Correctly increment lang_statement_iteration.
1247
12482004-02-23 Alan Modra <amodra@bigpond.net.au>
1249
1250 * ldexp.c (fold_tree): Follow indirect symbols.
b9cf773d 1251
876f4090
NS
12522004-02-20 Nathan Sidwell <nathan@codesourcery.com>
1253
1254 * ldgram.y (exp): Add two operand ALIGN.
1255 * ldexp.c (fold_binary): Add ALIGN_K case.
1256 * ld.texinfo (ALIGN): Document two operand version.
1257
384d938f
NS
12582004-02-19 Nathan Sidwell <nathan@codesourcery.com>
1259
1260 * ldlang.c (map_input_to_output_sections): Initialize sections
1261 mentioned in a data statement expression.
1262 (lang_do_assignments_1): Add data statement's expression's
1263 section's vma.
1264
b6ca8815
NS
12652004-02-18 Nathan Sidwell <nathan@codesourcery.com>
1266
1267 * ldgram.y (statement_anywhere): Add assert rule.
1268 * ldlang.c (exp_init_os): Add assert case.
1269
c92c35e7
AC
12702004-02-14 Andrew Cagney <cagney@redhat.com>
1271
1272 * ldmain.c (remove_output): Call bfd_cache_close.
1273
9bf78c99
RS
12742004-02-14 Richard Sandiford <rsandifo@redhat.com>
1275
1276 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
1277 .MIPS.content* and .MIPS.events* sections.
1278
f3806916
DJ
12792004-02-09 Daniel Jacobowitz <drow@mvista.com>
1280
1281 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
1282 .note.gnu.arm.ident to after allocated sections. Mark its
1283 address as 0.
1284
4c8e70d7
DJ
12852004-02-09 Daniel Jacobowitz <drow@mvista.com>
1286
1287 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
1288 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
1289 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
1290 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
1291 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
1292
ff71f4f7
NC
12932004-02-05 Nick Clifton <nickc@redhat.com>
1294
1295 * emultempl/pe.em (_after_open): Fix typo in previous delta.
1296
07a68a80
NC
12972004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
1298
1299 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
1300
1dd3bf68
AM
13012004-01-28 Alan Modra <amodra@bigpond.net.au>
1302
586196d5
AM
1303 * genscripts.sh: Fix typo.
1304
1dd3bf68
AM
1305 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
1306
13d9421f
JJ
13072004-01-24 Jakub Jelinek <jakub@redhat.com>
1308
1309 * emulparams/elf64_ia64.sh: Put .rela.opd into
1310 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
1311
4d8907ac
DS
13122004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
1313
1314 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
1315 * ld.texinfo (--omagic): Note that writable text section
1316 does not conform to published PE-COFF specs.
1317 (--enable-auto-import): Likewise.
1318
e5c60db5
AM
13192004-01-15 Alan Modra <amodra@bigpond.net.au>
1320
1321 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
1322
6bdafbeb
NC
13232004-01-13 Nick Clifton <nickc@redhat.com>
1324
1325 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
1326 which if true will prevent the LMA region being used as a
1327 replacement for a default VMA region.
586196d5
AM
1328 (lang_leave_output_section_statement): Pass extra parameter.
1329 (lang_leave_overlay): Likewise.
1330 * ld.texinfo (Output Section LMA): Document that the LMA
6bdafbeb
NC
1331 region can be set to the VMA region if no VMA has been set.
1332 * ldlang.h (struct lang_output_section_phdr_list): Create a
1333 typedef for this type. Minor formatting fixes.
586196d5 1334
9dfc8ab2
NC
13352004-01-13 Nick Clifton <nickc@redhat.com>
1336
1337 * ldlang.c (lang_size_sections_1): If dot is advanced, then
1338 assume that the section should be allocated.
1339
8325c4dd
AM
13402004-01-13 Alan Modra <amodra@bigpond.net.au>
1341
1342 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
1343 sections. Do ignore SEC_NEVER_LOAD sections.
1344 (lang_size_sections_1): Remove test made redundant with the above.
1345
83490352
AM
13462004-01-09 Alan Modra <amodra@bigpond.net.au>
1347
1348 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
1349 program_header_size.
1350
005e1118
AO
13512004-01-06 Alexandre Oliva <aoliva@redhat.com>
1352
1353 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
1354 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
1355 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
1356 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
1357 (MAXPAGESIZE): Set to 64Kb.
1358 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
1359 __ROFIXUP_END__. Don't map .rofixup.got any more.
1360 * emulparams/elf32frv.sh (NOP): Set.
1361 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
1362 * configure.tgt: Add frv-*-*linux*.
1363 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
1364 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
1365 (eelf32frvfd.c): New.
1366 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
1367 * emulparams/elf32frv.sh: Reverted previous two patches.
1368 * emulparams/elf32frvfd.sh: New.
1369 * Makefile.in: Rebuilt.
1370 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
1371 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
1372 .rofixup.got to .rofixup.
1373 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
1374 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
1375 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
1376
060feee5
JJ
13772004-01-05 Jakub Jelinek <jakub@redhat.com>
1378
1379 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
1380 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
1381
5e2f1575
AM
13822004-01-03 Alan Modra <amodra@bigpond.net.au>
1383
e5caa5e0
AM
1384 * ldexp.c (align_n): Make static.
1385 * ldexp.h (align_n): Delete declaration.
1386 * ldlang.h (lang_enter_output_section_statement): Remove
1387 block_value param.
1388 * ldlang.c (lang_enter_output_section_statement): Likewise.
1389 (TO_ADDR, TO_SIZE): Define.
c2df3ea5 1390 (opb_shift): New var.
e5caa5e0
AM
1391 (init_opb): New function.
1392 (print_input_section): Call init_opb and use TO_ADDR.
1393 (print_data_statement, print_reloc_statement): Likewise.
1394 (print_padding_statement): Likewise.
c2df3ea5 1395 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
e5caa5e0
AM
1396 (lang_check_section_addresses): Likewise.
1397 (lang_size_sections_1): Likewise.
1398 (lang_do_assignments_1): Likewise.
1399 (lang_set_startof): Likewise.
c2df3ea5 1400 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
e5caa5e0 1401 (lang_process): Call init_opb.
c2df3ea5 1402 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
e5caa5e0
AM
1403 (lang_enter_overlay_section): Adjust
1404 lang_enter_output_section_statement call.
1405 * ldgram.y: Likewise.
1406 * mri.c (mri_draw_tree): Likewise.
1407 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
1408 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1409 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
1410
5e2f1575
AM
1411 * ldfile.c (ldfile_set_output_arch): Add defarch param.
1412 * ldfile.h (ldfile_set_output_arch): Ditto.
1413 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
1414 ldfile_set_output_arch.
1415 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
1416 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
1417 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
1418 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1419 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
1420 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
1421 * ldgram.y: Adjust ldfile_set_output_arch call.
1422 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1423 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
1424 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
1425 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
1426 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
1427 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1428 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1429
b50c15dc
NC
14302004-01-02 Bernardo Innocenti <bernie@develer.com>
1431
1432 * configure.tgt: Add m68k-uClinux target.
6edf0760 1433
c9e214e5 1434For older changes see ChangeLog-0203
252b5132
RH
1435\f
1436Local Variables:
1437mode: change-log
1438left-margin: 8
1439fill-column: 74
1440version-control: never
1441End:
This page took 0.448065 seconds and 4 git commands to generate.