1 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
3 * emultempl/crxelf.em (disable_relaxation): Add.
4 (crxelf_before_allocation): Enable --relax option by default.
5 (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX.
6 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax.
7 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX.
9 2004-10-04 H.J. Lu <hongjiu.lu@intel.com>
11 * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and
12 --sort-section name|alignment.
14 * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and
15 --sort-section name|alignment.
17 * ld.h (sort_type): New enum.
18 (wildcard_spec): Change the type of `sorted' to sort_type.
20 * ldgram.y (SORT): Removed.
21 (SORT_BY_NAME): Added.
22 (SORT_BY_ALIGNMENT): Added.
23 (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and
25 (input_section_spec_no_keep): Updated `sorted'.
26 (statement): Replace SORT with SORT_BY_NAME.
28 * ldlang.c (compare_section): New function to compare 2
29 sections with different sorting schemes.
30 (wild_sort): Updated. Use compare_section.
31 (update_wild_statements): New function.
32 (lang_process): Call update_wild_statements before
33 map_input_to_output_sections.
35 * ldlex.l (SORT_BY_NAME): New.
36 (SORT_BY_ALIGNMENT): New.
37 (SORT): Return SORT_BY_NAME.
39 * ldmain.c (sort_section): New. Defined.
40 (main): Initialize it to none.
42 * lexsup.c (option_values): Add OPTION_SORT_SECTION.
43 (ld_options): Add an entry for OPTION_SORT_SECTION.
44 (parse_args): Handle OPTION_SORT_SECTION.
46 * mri.c (mri_draw_tree): Updated `sorted'.
48 2004-10-04 Jakub Jelinek <jakub@redhat.com>
50 * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument.
51 * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first
53 (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first
54 and . as second argument.
55 (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section.
56 * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here.
57 (fold_binary): Add it here. Insert padding to make relro_end
58 COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in
59 exp_dataseg_relro_adjust phase just use previously computed
61 * ldlang.c (lang_size_sections): Set exp_data_seg.base for
62 relro_adjust here. Call lang_size_sections_1 once more if there
63 was too big padding at DATA_SEGMENT_RELRO_END.
64 * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation.
66 2004-10-01 Paul Brook <paul@codesourcery.com>
68 * emulparams/armelf.sh: Add unwinding table sections.
70 2004-09-30 Filip Navara <navaraf@reactos.com>
72 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate
73 correct base address for position independant executables.
74 * pe-dll.c (pe_dll_fill_sections): Don't mark position independant
77 2004-09-30 Paul Brook <paul@codesourcery.com>
79 * ld.texinfo: Document --target2=abs.
80 * emulparms/armsymbian.sh (TARGET2_TYPE): Set.
82 2004-09-29 Nick Clifton <nickc@redhat.com>
84 * scripttempl/xstormy16.sc: Only perform the assignments to the
85 ROM region when not performing a relocatable link. The ROM region
86 does not start at address 0, but the sections will.
87 * Makefile.am: Fix linker script dependency for the generation of
89 * Makefile.in: Regenerate.
91 2004-09-18 Filip Navara <navaraf@reactos.com>
93 * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh,
94 emulparams/i386pe_posix.sh, emulparams/mcorepe.sh,
95 emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define
97 * scripttempl/pe.sc: Make the virtual address and file offset synced if
98 the alignment is lower than the target page size.
100 2004-09-27 Filip Navara <navaraf@reactos.com>
102 * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow
103 def_file_parse to handle pe_def_file if NULL and prevent crash with
106 2004-09-27 Alan Modra <amodra@bigpond.net.au>
108 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
109 --emit-stub-syms automatically when --emit-relocs.
111 2004-09-24 Paul Brook <paul@codeosurcery.com>
113 * scripttempl/elf.sc: Keep .preinit_array, .init_array and
114 .fini_array sections.
116 2004-09-19 Andreas Schwab <schwab@suse.de>
118 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment
119 base so that relro end is suitably aligned.
121 2004-09-17 Paul Brook <paul@codesourcery.com>
123 * ld.texinfo: Rename arm-specific section. Document --target*
124 * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
125 * emulparams/armelf_linux.sh: Ditto.
126 * emulparams/armelf_nbsd.sh: Ditto.
127 * emultempl/armelf.em: Set default for TARGET2_TYPE.
128 (target2_type): New variable.
129 (arm_elf_before_allocation): Don't pass target1_type.
130 (arm_elf_create_output_section_statements): New function.
131 (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
132 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
133 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
134 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
135 * emultempl/armelf_oabi.em (_before_allocation): Remove extra
136 argument to bfd_elf32_arm_process_before_allocation.
138 2004-09-17 Alan Modra <amodra@bigpond.net.au>
140 * ldexp.c (fold_name): Update u.undef.next refs.
141 * emultempl/pe.em: Likewise.
142 * emultempl/sunos.em: Likewise.
144 2004-09-17 Alan Modra <amodra@bigpond.net.au>
146 * Makefile.am: Run "make dep-am".
147 * Makefile.in: Regenerate.
148 * config.in: Regenerate.
149 * configure: Regenerate.
150 * aclocal.m4: Regenerate.
151 * po/ld.pot: Regenerate.
153 2004-09-16 Tomer Levi <Tomer.Levi@nsc.com>
155 * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*.
159 2004-09-16 Alan Modra <amodra@bigpond.net.au>
161 * emultempl/armelf_oabi.em (before_allocation): Add extra zero param
162 to bfd_elf32_arm_process_before_allocation call.
164 2004-09-13 Paul Brook <paul@codesourcery.com>
166 * emulparams/armsymbian.sh: Set TARGET1_IS_REL.
167 * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}.
169 2004-09-07 H.J. Lu <hongjiu.lu@intel.com>
171 * configure: Regenerated with autconfig 2.13.
173 2004-09-07 Andreas Schwab <schwab@suse.de>
175 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
176 alignment before adjusting DATA_SEGMENT_RELRO_END.
178 2004-09-06 Mark Mitchell <mark@codesourcery.com>
180 * emulparams/armsymbian.sh: Use armbpabi script.
181 * scripttempl/armbpabi.sc: New script.
183 2004-09-02 Mark Mitchell <mark@codesourcery.com>
185 * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
186 (earmsymbian.c): New target.
187 * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
188 * Makefile.in: Regenerated.
189 * aclocal.m4: Likewise.
190 * configure: Likewise.
191 * emulparams/armsymbian.sh: New file.
193 2004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
195 * scripttempl/elf32crx.sc: Edit file with comments.
196 (.init): Add new section.
198 (.ctor): Control the linkage order.
201 2004-08-27 Nick Clifton <nickc@redhat.com>
203 * emultempl/pe.em (after_open): Do not assume that either bfd is
206 2004-08-26 Alan Modra <amodra@bigpond.net.au>
208 * ldlang.c (lang_init): Don't compare with TRUE.
210 2004-08-25 Dmitry Diky <diwil@spec.ru>
212 * emulparams/msp430all.sh: Fix RAM sizes for all targets.
213 * scripttempl/elf32msp430.sc: Add .profiler section definition.
215 2004-08-24 H.J. Lu <hongjiu.lu@intel.com>
217 * ldlang.c (wildcardp): Defined as a macro with strpbrk.
219 2004-08-19 Mark Mitchell <mark@codesourcery.com>
221 * configure.tgt (arm*-*-symbianelf*): New target.
222 (arm*-*-eabi*): Likewise.
224 2004-08-19 Jakub Jelinek <jakub@redhat.com>
226 * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
227 (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
228 (OPTION_NON_OVERLAPPING_OPD): Define.
229 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
230 --non-overlapping-opd option.
232 2004-08-18 Alan Modra <amodra@bigpond.net.au>
235 * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
236 was already on the undefs list.
238 2004-08-17 Alan Modra <amodra@bigpond.net.au>
240 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
241 prefix the symbol field too.
243 2004-08-13 Alan Modra <amodra@bigpond.net.au>
245 * ldmain.c (link_callbacks): Remove "error_handler".
246 * ldmisc.c: Include elf-bfd.h.
247 (vfinfo): Sort comment. Handle %A. Use %A instead of
248 bfd_get_section_indent.
249 (error_handler): Delete.
250 * ldmisc.h (error_handler): Delete declaration.
252 2004-08-10 Alan Modra <amodra@bigpond.net.au>
254 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
255 ppc64_elf_restore_symbols.
257 2004-08-09 Alan Modra <amodra@bigpond.net.au>
259 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
260 .toc is too large on relocatable linking.
262 2004-08-09 Alan Modra <amodra@bigpond.net.au>
264 * emultempl/ppc64elf.em (ppc_after_open): Delete.
265 (LDEMUL_AFTER_OPEN): Don't define.
267 2004-08-02 Stephane Carrez <stcarrez@nerim.fr>
269 * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
271 2004-08-01 Stephane Carrez <stcarrez@nerim.fr>
273 * scripttempl/elfm68hc12.sc: Align text, rodata and data section
276 2004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
278 * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
280 2004-07-26 Dmitry Diky <diwil@spec.ru>
282 * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
283 msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
285 * configure.tgt: Likewise.
286 * emulparams/msp430all.sh: Likewise.
287 * Makefile.in: Regenerate.
289 2004-07-23 Nick Clifton <nickc@redhat.com>
291 * emultempl/elf32.em (_place_orphan): Use an already existing
292 section name if that section does not have any flags set.
294 2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
296 * ldlang.c (already_linked_hash_entry): Removed.
297 (already_linked): Likewise.
298 (already_linked_table): Likewise.
299 (section_already_linked): Call bfd_section_already_linked.
300 (lang_process): Replace already_linked_table_init with
301 bfd_section_already_linked_table_init and check return. Replace
302 already_linked_table_free with bfd_section_already_linked_table_free.
304 2004-07-21 Nick Clifton <nickc@redhat.com>
306 * ldlang.c (init_os): Make sure that the newly allocated userdata
307 structure is zeroed out.
309 2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
311 * NEWS: Mention the new --add-needed/--no-add-needed and
312 --as-needed/--no-as-needed options.
314 2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
316 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
317 check the add_needed field.
318 (dt_needed): New struct.
319 (gld${EMULATION_NAME}_try_needed): Change the first argument
320 to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
321 bit in the file where the DT_NEEDED entry comes from.
322 (gld${EMULATION_NAME}_search_needed): Change the second
323 argument to a pointer to struct dt_needed.
324 (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
325 (gld${EMULATION_NAME}_after_open): Likewise.
327 * ld.texinfo: Add --add-needed document.
328 * ldlang.c (new_afile): Set p->add_needed.
329 * ldlang.h (lang_input_statement_type): Add add_needed field.
330 * ldmain.h (add_needed): Declare.
331 * ldmain.c (add_needed): New global var.
332 * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
333 OPTION_NO_ADD_NEEDED.
334 (ld_options): Likewise.
335 (parse_args): Handle them.
337 2004-07-13 Christof Petig <christof@petig-baender.de>
339 * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
340 for endian-ness of extracted addend.
342 2004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net>
344 * pe-dll.c (auto_export): Filter on just the import prefix,
345 "_imp_", not "_imp__".
347 2004-07-09 Nick Clifton <nickc@redhat.com>
349 * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
351 2004-07-06 Tomer Levi <Tomer.Levi@nsc.com>
353 * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
354 (eelf32crx.c): New target.
355 * Makefile.in: Regenerate.
356 * configure.tgt: Handle crx-*-elf*.
357 * emulparams/elf32crx.sh: New file.
358 * emultempl/crxelf.em: New file.
359 * scripttempl/elf32crx.sc: New file.
360 * NEWS: Mention new target.
362 2004-07-06 Nick Clifton <nickc@redhat.com>
364 * Makefile.am: Add eshlsymbian.c.
365 * Makefile.in: Regenerate.
366 * configure.tgt: Add sh*-symbian-elf target.
367 * emulparams/shlsymbian.sh: New file. Configure the
368 sh-symbian-elf linker scripts.
369 * scripttemp/elf32sh-symbian.sc: New file. Linker script
370 template for the sh-symbian-elf target.
372 2004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
374 * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
375 * emulparams/hppalinux.sh: Likewise.
376 * scripttempl/elf.sc: Place .plt just before .got when .plt is in
377 data segment and PLT_BEFORE_GOT is defined.
379 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
381 * ld.texinfo (WIN32): Document PE weak symbols.
383 2004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
385 * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
387 2004-07-01 H.J. Lu <hongjiu.lu@intel.com>
389 * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
392 2004-06-29 Alan Modra <amodra@bigpond.net.au>
394 * ldlang.c (lang_reset_memory_regions): Save last relax pass section
397 2004-06-24 Alan Modra <amodra@bigpond.net.au>
399 * ldlang.c (print_output_section_statement): Don't print size before
401 (IGNORE_SECTION): Remove bfd arg. Update all callers.
403 * ldexp.c (fold_name): .. See below.
404 * ldlang.c (section_already_linked, print_output_section_statement,
405 print_input_section, insert_pad, size_input_section,
406 lang_check_section_addresses, lang_size_sections_1,
407 lang_size_sections, lang_do_assignments_1, lang_set_startof,
408 lang_one_common, lang_reset_memory_regions, lang_process,
409 lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
410 * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
411 * pe-dll.c (process_def_file, generate_reloc): ..
412 * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
413 gld${EMULATION_NAME}_before_allocation): ..
414 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
415 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
416 sh64_elf_${EMULATION_NAME}_after_allocation): ..
417 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
418 * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
419 ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
420 "size" instead of "_raw_size" and "_cooked_size". Expand
421 bfd_section_size macro invocations.
423 2004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
425 * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
426 ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
427 ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
429 (.tls): Define ___tls_start__ and ___tls_end__.
431 2004-06-21 Alexandre Oliva <aoliva@redhat.com>
433 * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
435 2004-06-18 Adam Nemet <anemet@lnxw.com>
437 * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
438 * configure: Regenerate.
440 2004-06-15 Jakub Jelinek <jakub@redhat.com>
442 * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
443 .gcc_except_table output sections lost accidentally with
446 2004-06-15 Alan Modra <amodra@bigpond.net.au>
448 * ldwrite.c (build_link_order): Use bfd_get_section_size
449 instead of bfd_get_section_size_before_reloc or _raw_size.
450 * pe-dll.c (process_def_file): Likewise.
452 2004-06-14 Alan Modra <amodra@bigpond.net.au>
454 From Richard Wirth <r.wirth@wirthware.de>
455 * ldlang.c (lang_finish): Don't free lang_definedness_table.
457 2004-05-29 Alan Modra <amodra@bigpond.net.au>
459 * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
460 (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
462 2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
464 * testsuite/ld-sh/arch/arch.exp: New test script.
465 * testsuite/ld-sh/arch/arch_expected.txt: New file.
466 * testsuite/ld-sh/arch/sh.s: New file.
467 * testsuite/ld-sh/arch/sh2.s: New file.
468 * testsuite/ld-sh/arch/sh-dsp.s: New file.
469 * testsuite/ld-sh/arch/sh2e.s: New file.
470 * testsuite/ld-sh/arch/sh3-nommu.s: New file.
471 * testsuite/ld-sh/arch/sh3.s: New file.
472 * testsuite/ld-sh/arch/sh3-dsp.s: New file.
473 * testsuite/ld-sh/arch/sh3e.s: New file.
474 * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
475 * testsuite/ld-sh/arch/sh4-nofpu.s: New file.
476 * testsuite/ld-sh/arch/sh4.s: New file.
477 * testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
478 * testsuite/ld-sh/arch/sh4al-dsp.s: New file.
479 * testsuite/ld-sh/arch/sh4a.s: New file.
481 2004-05-28 Alan Modra <amodra@bigpond.net.au>
483 * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
485 * lexsup.c: Formatting. Wrap long lines.
486 * ldwrite.c: Update copyright date.
488 * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
489 (output_section_callback): Nor SEC_KEEP here.
490 (gc_section_callback): Twiddle SEC_EXCLUDE here.
491 (lang_gc_wild): Delete. Fold into..
492 (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage
494 (lang_process): Always call lang_gc_sections.
495 (lang_place_orphans): Handle SEC_EXCLUDE sections.
496 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
499 2004-05-26 H.J. Lu <hongjiu.lu@intel.com>
501 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
502 SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
503 * ldlang.c (lang_add_section): Likewise.
505 2004-05-26 Alan Modra <amodra@bigpond.net.au>
507 * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
508 sections when doing a final link. Clear SEC_EXCLUDE when doing
509 a relocable link, except for SEC_DEBUGGING sections.
510 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
511 same condition here to drop SEC_EXCLUDE orphan sections.
513 2004-05-25 Alan Modra <amodra@bigpond.net.au>
515 * ldlang.c (lang_process): Call bfd_merge_sections later, and
516 only when not a relocatable link.
517 (print_input_section): Handle SEC_EXCLUDE sections.
518 (size_input_section): Don't update dot on SEC_EXCLUDE sections.
519 (lang_do_assignments_1): Likewise.
520 * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
521 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
522 * emultempl/hppaelf.em (build_section_lists): Likewise.
523 * emultempl/ppc64elf.em (build_toc_list): Likewise.
524 (build_section_lists): Likewise.
526 2004-05-23 Andreas Schwab <schwab@suse.de>
528 * ld.texinfo (Options): Fix typo in last change.
530 2004-05-21 Andy Chittenden <achittenden@bluearc.com>
532 * ld.h (ld_config_type): Add new field: hash_table_size.
533 * ldmain.c: Initialise the new field to zero. If it is non-zero
534 after parsing the linker's command line call
535 bfd_hash_set_default_size.
536 * lexsup.c (option_values): Add OPTION_HASH_SIZE.
537 (ld_options): Add hash-size.
538 (parse_args): Parse --hash-size option. Allow
539 --reduce-memory-overheads to set the default hash table size as
541 * ld.texinfo: Document the new switch. Also mention that
542 --reduce-memory-overheads can affect the hash table size.
543 * NEWS: Mention the new feature.
545 2004-05-19 J"orn Rennecke <joern.rennecke@superh.com>
547 * NEWS: Mention new linker map file generation and the
548 --reduce-memory-overheads option.
549 * ld.texinfo: Document --reduce-memory-overheads option.
550 * ld.h (map_symbol_def): New struct.
551 (struct user_section_struct, section_userdata_type): Rename to:
552 (struct lean_user_section_struct, lean_section_userdata_type).
553 (struct fat_user_section_struct, fat_section_userdata_type): New.
554 (SECTION_USERDATA_SIZE): Define.
555 (args_type): New member reduce_memory_overheads.
556 * ldlang.c (map_obstack): New static variable.
557 (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
558 (lang_map): Unless command_line.reduce_memory_overheads is set,
559 initialize lists of defined symbols for each section.
560 (print_input_section): Unless command_line.reduce_memory_overheads
561 is set, use print_all_symbols.
562 (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
563 * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
564 * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
565 (ld_options): Add entry for --reduce-memory-overheads.
566 (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
568 2004-05-19 Jakub Jelinek <jakub@redhat.com>
570 * ldgram.y (sect_constraint): New.
571 (ONLY_IF_RO, ONLY_IF_RW): New tokens.
572 (section): Add sect_constraint. Pass additional argument
573 to lang_enter_output_section_statement.
574 * mri.c (mri_draw_tree): Pass additional argument to
575 lang_enter_output_section_statement.
576 * emultempl/pe.em (place_orphan): Likewise.
577 (output_prev_sec_find): Disregard output section statements with
579 * emultempl/mmo.em (output_prev_sec_find): Likewise.
580 (mmo_place_orphan): Pass additional argument to
581 lang_enter_output_section_statement.
582 * emultempl/elf32.em (output_prev_sec_find): Disregard output section
583 statements with constraint == -1.
584 (place_orphan): Pass additional argument to
585 lang_enter_output_section_statement.
586 * ldlang.c (lang_enter_overlay_section): Likewise.
587 (lang_output_section_find_1): New.
588 (lang_output_section_find): Use it.
589 (lang_output_section_statement_lookup_1): New.
590 (lang_output_section_statement_lookup): Use it.
591 (check_section_callback, check_input_sections): New.
592 (map_input_to_output_sections): Check if all input sections
593 are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
594 (strip_excluded_output_sections): Disregard output section statements
595 with constraint == -1.
596 (lang_record_phdrs): Likewise.
597 (lang_enter_output_section_statement): Add constraint argument.
598 Use lang_output_section_statement_lookup_1.
599 * ldlang.h (lang_output_section_statement_type): Add constraint
600 and all_input_readonly fields.
601 (lang_enter_output_section_statement): Adjust prototype.
602 * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
603 * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
604 segment if all input sections are readonly.
606 2004-05-19 Adam Nemet <anemet@lnxw.com>
608 * scripttempl/i386lynx.sc: Remove file.
610 2004-05-17 Bob Wilson <bob.wilson@acm.org>
612 * ld.texinfo (Output Section Address): Correct subsection name.
614 2004-05-17 Adam Nemet <anemet@lnxw.com>
616 * configure.tgt (powerpc-*-lynxos* case): New case.
617 * configure.host (i[3-7]86-*-lynxos* case): Remove case.
618 * emulparams/ppclynx.sh: New file.
619 * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
620 * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
621 (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
622 (eppclynx.c): New rule.
623 * Makefile.in: Regenerate.
625 2004-05-13 Joel Sherrill <joel@oarcorp.com>
627 * configure.tgt (or32-*-rtems*): Switch to elf and
628 support versioned targets.
630 2004-05-13 Nick Clifton <nickc@redhat.com>
632 * po/fr.po: Updated French translation.
634 2004-05-11 Jakub Jelinek <jakub@redhat.com>
636 * genscripts.sh: Generate -z combreloc -z now -z relro scripts
637 for binaries, -shared and -pie.
638 * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
639 * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
640 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
641 (OTHER_RELRO_SECTIONS): ... this.
642 * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
643 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
644 -z relro and -z norelro.
645 (gld${EMULATION_NAME}_list_options): Add it to usage.
646 (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
647 -z relro scripts when appropriate.
648 * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
649 Create separate .got.plt section if SEPARATE_GOTPLT.
650 Move sections which are only written during relocation handling
651 to the beginning of RW segment. If NO_SMALL_DATA, move .got
652 before .data. Add DATA_SEGMENT_RELRO_END directive.
653 Include OTHER_RELRO_SECTIONS.
654 * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
655 * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
656 (fold_unary): Likewise.
657 (fold_binary): Handle -z relro.
658 * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
659 exp_dataseg_relro_adjust phases. Add relro_end field.
660 * ldmain.c (main): Initialize link_info.relro to FALSE.
661 * ldlang.c (lang_size_sections): Handle -z relro.
663 2004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
665 * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
667 2004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
669 * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
670 before printing it with %W.
672 2004-05-07 Brian Ford <ford@vss.fsi.com>
673 DJ Delorie <dj@redhat.com>
675 * emultempl/pe.em (real_flags): New static.
676 (OPTION_LARGE_ADDRESS_AWARE): New define.
677 (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
678 (gld_${EMULATION_NAME}_list_options): Likewise.
679 (gld${EMULATION_NAME}_handle_option): Likewise.
680 (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
681 * ld.texinfo: Document it.
684 2004-05-07 Brian Ford <ford@vss.fsi.com>
686 * NEWS: Mention DWARF 2 support for i386pe.
688 2004-05-05 Alexandre Oliva <aoliva@redhat.com>
690 * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
693 2004-04-30 Alan Modra <amodra@bigpond.net.au>
695 * ldlang.c (unique_section_p): Pass section parm, return true on
697 (output_section_callback): Adjust.
698 * ldlang.h (unique_section_p): Update prototype.
699 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
701 2004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
703 * ld.texinfo (--gc-sections): Remove restriction for
706 2004-04-29 Brian Ford <ford@vss.fsi.com>
708 * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
709 for DWARF 2/3. Update stab section's syntax.
711 2004-04-29 Alan Modra <amodra@bigpond.net.au>
713 * pe-dll.c: Revert changes accidentally committed 2004-03-08.
714 (fill_edata): Correct pointer arithmetic.
716 2004-04-21 Chris Demetriou <cgd@broadcom.com>
718 * ld.texinfo: Remove MIPS --embedded-relocs documentation.
719 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
720 * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
721 (EXTRA_EM_FILE): Use mipsecoff.em
722 * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
723 (EXTRA_EM_FILE): Use mipsecoff.em
724 * emultempl/mipsecoff.em: Restructure to be included as an
725 extra emulation file.
726 (check_sections, gld${EMULATION_NAME}_after_open)
727 (gld${EMULATION_NAME}_after_allocation)
728 (gld${EMULATION_NAME}_get_script)
729 (ld_${EMULATION_NAME}_emulation): Remove
730 (gld${EMULATION_NAME}_before_parse): Rename to...
731 (mipsecoff_before_parse): This.
732 (LDEMUL_BEFORE_PARSE): Define.
733 * emultempl/mipself.em: Remove file.
734 * scripttempl/mips.sc (.rel.sdata): Do not include in output.
735 (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
737 * Makefile.am: Remove dependencies on emultempl/mipself.em.
738 * Makefile.in: Regenerate.
740 2004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
742 * ld.texinfo (synthesizing on H8/300): Information about linker
743 relaxation support for bit manipulation instructions and system
744 control instructions is added.
746 2004-04-21 Hans-Peter Nilsson <hp@axis.com>
748 * NEWS: Mention change in DEFINED semantics.
750 2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
752 * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
753 (.data): Add KEEP for .gnu.linkonce.d.*personality*.
754 (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
756 2004-04-21 Ben Elliston <bje@au.ibm.com>
758 * ld.texinfo (Simple Example): Add missing punctuation.
760 2004-04-20 Chris Demetriou <cgd@broadcom.com>
762 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
764 2004-04-19 Jakub Jelinek <jakub@redhat.com>
766 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
769 2004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
771 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
772 with default priority. Likewise for dtors.
774 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
776 * configure.host: Remove mips*-dec-bsd* target.
777 * configure.tgt: Likewise.
779 2004-04-08 Richard Sandiford <rsandifo@redhat.com>
781 * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
782 * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
783 * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
784 * emultempl/irix.em: New file.
785 * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
787 * Makefile.in: Regenerate.
789 2004-04-01 Paul Brook <paul@codesourcery.com>
791 * emultempl/armelf.em (byteswap_code): Add.
792 (arm_elf_before_allocation): Pass extra parameter.
793 (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
794 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
795 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
796 * emultempl/armelf_oabi.em: Pass extra parameter.
797 * ld.texinfo: Document --be8.
799 2004-03-30 Stan Shebs <shebs@apple.com>
801 Remove long-obsolete MPW support.
802 * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
803 * Makefile.am (mpw): Remove file-presynthesizing actions.
804 * Makefile.in: Likewise.
805 * ldfile.c (slash): Remove MPW case.
806 * ldlex.l [MPW]: Remove unused definition.
808 2004-03-30 Galit Heller <Galit.Heller@nsc.com>
810 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
811 (eelf32cr16c.c): New target.
812 * Makefile.in: Regenerate.
813 * configure.tgt: Handle cr16c-*-elf*.
814 * emulparams/elf32cr16c.sh: New file.
815 * scripttempl/elfcr16c.sc: Likewise
816 * NEWS: Mention support for new target.
818 2004-03-30 Nick Clifton <nickc@redhat.com>
820 * po/sv.po: Updated Swedish translation.
822 2004-03-27 Alan Modra <amodra@bigpond.net.au>
824 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
825 * emultempl/hppaelf.em: Likewise.
826 * emultempl/ppc64elf.em: Likewise.
827 * emultempl/sh64elf.em: Likewise.
829 2004-03-25 Alan Modra <amodra@bigpond.net.au>
831 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
832 size_dynamic_sections call.
834 2004-03-23 Alan Modra <amodra@bigpond.net.au>
837 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
840 2004-03-20 H.J. Lu <hongjiu.lu@intel.com>
842 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
843 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
845 2004-03-20 Alexandre Oliva <aoliva@redhat.com>
847 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
849 2004-03-19 Alan Modra <amodra@bigpond.net.au>
851 * config.in: Regenerate.
852 * po/ld.pot: Regenerate.
854 2004-03-18 Alan Modra <amodra@bigpond.net.au>
856 * ld.texinfo: Add --as-needed doco.
857 * ldmain.c (as_needed): New global var.
858 * ldmain.h (as_needed): Declare.
859 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
861 (ld_options): Likewise.
862 (parse_args): Handle them.
863 * ldlang.h (lang_input_statement_type): Add as_needed field.
864 * ldlang.c (new_afile): Set p->as_needed.
865 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
866 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
867 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
869 * ldlang.c (open_input_bfds): Remove useless cast.
870 (lang_do_assignments_1): Likewise.
871 (lang_for_each_input_section): Delete.
873 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
875 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
877 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
879 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
880 private when building implib.
882 2004-03-05 Nathan Sidwell <nathan@codesourcery.com>
884 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
886 (IGNORE_SECTION): Ignore .tbss sections too.
887 (lang_size_sections_1): .tbss sections do not advance dot.
889 2004-03-01 Andreas Schwab <schwab@suse.de>
891 * ld.texinfo (Options): Fix example for --wrap.
893 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
895 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
898 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
900 * ldlang.c (lang_check): Use %P, not %E, in error message.
902 2004-02-23 Nathan Sidwell <nathan@codesourcery.com>
904 * ldlang.h (struct lang_output_section_state): Change processed
906 * ldexp.c (check, invalid): Remove.
907 (fold_name): Move valid_p assignments. Create undefined symbol
908 when needed. Directly exampine section's processd flag.
909 * ldlang.c (lang_output_section_statement_lookup): Adjust
910 processed field init.
911 (lang_size_sections_1): Allow LOADADDR when determining section's
912 VMA. Adjust error message. Fold data statement's expr.
913 (lang_size_sections): Correctly increment lang_statement_iteration.
915 2004-02-23 Alan Modra <amodra@bigpond.net.au>
917 * ldexp.c (fold_tree): Follow indirect symbols.
919 2004-02-20 Nathan Sidwell <nathan@codesourcery.com>
921 * ldgram.y (exp): Add two operand ALIGN.
922 * ldexp.c (fold_binary): Add ALIGN_K case.
923 * ld.texinfo (ALIGN): Document two operand version.
925 2004-02-19 Nathan Sidwell <nathan@codesourcery.com>
927 * ldlang.c (map_input_to_output_sections): Initialize sections
928 mentioned in a data statement expression.
929 (lang_do_assignments_1): Add data statement's expression's
932 2004-02-18 Nathan Sidwell <nathan@codesourcery.com>
934 * ldgram.y (statement_anywhere): Add assert rule.
935 * ldlang.c (exp_init_os): Add assert case.
937 2004-02-14 Andrew Cagney <cagney@redhat.com>
939 * ldmain.c (remove_output): Call bfd_cache_close.
941 2004-02-14 Richard Sandiford <rsandifo@redhat.com>
943 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
944 .MIPS.content* and .MIPS.events* sections.
946 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
948 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
949 .note.gnu.arm.ident to after allocated sections. Mark its
952 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
954 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
955 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
956 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
957 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
958 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
960 2004-02-05 Nick Clifton <nickc@redhat.com>
962 * emultempl/pe.em (_after_open): Fix typo in previous delta.
964 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
966 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
968 2004-01-28 Alan Modra <amodra@bigpond.net.au>
970 * genscripts.sh: Fix typo.
972 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
974 2004-01-24 Jakub Jelinek <jakub@redhat.com>
976 * emulparams/elf64_ia64.sh: Put .rela.opd into
977 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
979 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
981 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
982 * ld.texinfo (--omagic): Note that writable text section
983 does not conform to published PE-COFF specs.
984 (--enable-auto-import): Likewise.
986 2004-01-15 Alan Modra <amodra@bigpond.net.au>
988 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
990 2004-01-13 Nick Clifton <nickc@redhat.com>
992 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
993 which if true will prevent the LMA region being used as a
994 replacement for a default VMA region.
995 (lang_leave_output_section_statement): Pass extra parameter.
996 (lang_leave_overlay): Likewise.
997 * ld.texinfo (Output Section LMA): Document that the LMA
998 region can be set to the VMA region if no VMA has been set.
999 * ldlang.h (struct lang_output_section_phdr_list): Create a
1000 typedef for this type. Minor formatting fixes.
1002 2004-01-13 Nick Clifton <nickc@redhat.com>
1004 * ldlang.c (lang_size_sections_1): If dot is advanced, then
1005 assume that the section should be allocated.
1007 2004-01-13 Alan Modra <amodra@bigpond.net.au>
1009 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
1010 sections. Do ignore SEC_NEVER_LOAD sections.
1011 (lang_size_sections_1): Remove test made redundant with the above.
1013 2004-01-09 Alan Modra <amodra@bigpond.net.au>
1015 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
1016 program_header_size.
1018 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
1020 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
1021 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
1022 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
1023 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
1024 (MAXPAGESIZE): Set to 64Kb.
1025 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
1026 __ROFIXUP_END__. Don't map .rofixup.got any more.
1027 * emulparams/elf32frv.sh (NOP): Set.
1028 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
1029 * configure.tgt: Add frv-*-*linux*.
1030 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
1031 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
1032 (eelf32frvfd.c): New.
1033 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
1034 * emulparams/elf32frv.sh: Reverted previous two patches.
1035 * emulparams/elf32frvfd.sh: New.
1036 * Makefile.in: Rebuilt.
1037 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
1038 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
1039 .rofixup.got to .rofixup.
1040 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
1041 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
1042 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
1044 2004-01-05 Jakub Jelinek <jakub@redhat.com>
1046 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
1047 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
1049 2004-01-03 Alan Modra <amodra@bigpond.net.au>
1051 * ldexp.c (align_n): Make static.
1052 * ldexp.h (align_n): Delete declaration.
1053 * ldlang.h (lang_enter_output_section_statement): Remove
1055 * ldlang.c (lang_enter_output_section_statement): Likewise.
1056 (TO_ADDR, TO_SIZE): Define.
1057 (opb_shift): New var.
1058 (init_opb): New function.
1059 (print_input_section): Call init_opb and use TO_ADDR.
1060 (print_data_statement, print_reloc_statement): Likewise.
1061 (print_padding_statement): Likewise.
1062 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
1063 (lang_check_section_addresses): Likewise.
1064 (lang_size_sections_1): Likewise.
1065 (lang_do_assignments_1): Likewise.
1066 (lang_set_startof): Likewise.
1067 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
1068 (lang_process): Call init_opb.
1069 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
1070 (lang_enter_overlay_section): Adjust
1071 lang_enter_output_section_statement call.
1072 * ldgram.y: Likewise.
1073 * mri.c (mri_draw_tree): Likewise.
1074 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
1075 * emultempl/mmo.em (mmo_place_orphan): Likewise.
1076 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
1078 * ldfile.c (ldfile_set_output_arch): Add defarch param.
1079 * ldfile.h (ldfile_set_output_arch): Ditto.
1080 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
1081 ldfile_set_output_arch.
1082 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
1083 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
1084 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
1085 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1086 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
1087 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
1088 * ldgram.y: Adjust ldfile_set_output_arch call.
1089 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1090 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
1091 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
1092 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
1093 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
1094 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1095 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1097 2004-01-02 Bernardo Innocenti <bernie@develer.com>
1099 * configure.tgt: Add m68k-uClinux target.
1101 For older changes see ChangeLog-0203
1107 version-control: never