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