2004-09-28 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
f2d3750d
CF
12004-09-27 Filip Navara <navaraf@reactos.com>
2
3 * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow
4 def_file_parse to handle pe_def_file if NULL and prevent crash with
5 invalid .def files.
6
a23d8409
AM
72004-09-27 Alan Modra <amodra@bigpond.net.au>
8
9 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
10 --emit-stub-syms automatically when --emit-relocs.
11
7b89fa29
PB
122004-09-24 Paul Brook <paul@codeosurcery.com>
13
14 * scripttempl/elf.sc: Keep .preinit_array, .init_array and
15 .fini_array sections.
16
e2a68bcc
AS
172004-09-19 Andreas Schwab <schwab@suse.de>
18
19 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment
20 base so that relro end is suitably aligned.
21
3674e28a
PB
222004-09-17 Paul Brook <paul@codesourcery.com>
23
24 * ld.texinfo: Rename arm-specific section. Document --target*
25 * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
26 * emulparams/armelf_linux.sh: Ditto.
27 * emulparams/armelf_nbsd.sh: Ditto.
28 * emultempl/armelf.em: Set default for TARGET2_TYPE.
29 (target2_type): New variable.
30 (arm_elf_before_allocation): Don't pass target1_type.
31 (arm_elf_create_output_section_statements): New function.
32 (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
33 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
34 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
35 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
36 * emultempl/armelf_oabi.em (_before_allocation): Remove extra
37 argument to bfd_elf32_arm_process_before_allocation.
38
f6e332e6
AM
392004-09-17 Alan Modra <amodra@bigpond.net.au>
40
41 * ldexp.c (fold_name): Update u.undef.next refs.
42 * emultempl/pe.em: Likewise.
43 * emultempl/sunos.em: Likewise.
44
9c933e04
AM
452004-09-17 Alan Modra <amodra@bigpond.net.au>
46
47 * Makefile.am: Run "make dep-am".
48 * Makefile.in: Regenerate.
49 * config.in: Regenerate.
50 * configure: Regenerate.
51 * aclocal.m4: Regenerate.
52 * po/ld.pot: Regenerate.
53
1fa32646
TL
542004-09-16 Tomer Levi <Tomer.Levi@nsc.com>
55
9c933e04
AM
56 * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*.
57 (.fini): Likewise.
58 (.jcr): Likewise.
1fa32646 59
b6ee372a
AM
602004-09-16 Alan Modra <amodra@bigpond.net.au>
61
62 * emultempl/armelf_oabi.em (before_allocation): Add extra zero param
63 to bfd_elf32_arm_process_before_allocation call.
64
9c504268
PB
652004-09-13 Paul Brook <paul@codesourcery.com>
66
67 * emulparams/armsymbian.sh: Set TARGET1_IS_REL.
68 * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}.
69
d15b04bd
L
702004-09-07 H.J. Lu <hongjiu.lu@intel.com>
71
72 * configure: Regenerated with autconfig 2.13.
73
875c4330
AS
742004-09-07 Andreas Schwab <schwab@suse.de>
75
76 * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
77 alignment before adjusting DATA_SEGMENT_RELRO_END.
78
229fcec5
MM
792004-09-06 Mark Mitchell <mark@codesourcery.com>
80
81 * emulparams/armsymbian.sh: Use armbpabi script.
82 * scripttempl/armbpabi.sc: New script.
83
e5a52504
MM
842004-09-02 Mark Mitchell <mark@codesourcery.com>
85
86 * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
87 (earmsymbian.c): New target.
88 * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
89 * Makefile.in: Regenerated.
90 * aclocal.m4: Likewise.
91 * configure: Likewise.
92 * emulparams/armsymbian.sh: New file.
93
42851540
NC
942004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
95
96 * scripttempl/elf32crx.sc: Edit file with comments.
97 (.init): Add new section.
98 (.fini): Likewise.
99 (.ctor): Control the linkage order.
100 (.dtor): Likewise.
101
c034e3e0
NC
1022004-08-27 Nick Clifton <nickc@redhat.com>
103
104 * emultempl/pe.em (after_open): Do not assume that either bfd is
9c933e04 105 an archive.
c034e3e0 106
688c58f3
AM
1072004-08-26 Alan Modra <amodra@bigpond.net.au>
108
109 * ldlang.c (lang_init): Don't compare with TRUE.
110
b18c562e
NC
1112004-08-25 Dmitry Diky <diwil@spec.ru>
112
113 * emulparams/msp430all.sh: Fix RAM sizes for all targets.
114 * scripttempl/elf32msp430.sc: Add .profiler section definition.
115
61f5d054
L
1162004-08-24 H.J. Lu <hongjiu.lu@intel.com>
117
118 * ldlang.c (wildcardp): Defined as a macro with strpbrk.
119
e77d3d77
MM
1202004-08-19 Mark Mitchell <mark@codesourcery.com>
121
122 * configure.tgt (arm*-*-symbianelf*): New target.
123 (arm*-*-eabi*): Likewise.
124
3f764659
JJ
1252004-08-19 Jakub Jelinek <jakub@redhat.com>
126
127 * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
128 (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
129 (OPTION_NON_OVERLAPPING_OPD): Define.
130 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
131 --non-overlapping-opd option.
132
a010d60f
AM
1332004-08-18 Alan Modra <amodra@bigpond.net.au>
134
135 PR 338
136 * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
137 was already on the undefs list.
138
c4e33880
AM
1392004-08-17 Alan Modra <amodra@bigpond.net.au>
140
141 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
142 prefix the symbol field too.
143
d003868e
AM
1442004-08-13 Alan Modra <amodra@bigpond.net.au>
145
146 * ldmain.c (link_callbacks): Remove "error_handler".
147 * ldmisc.c: Include elf-bfd.h.
148 (vfinfo): Sort comment. Handle %A. Use %A instead of
149 bfd_get_section_indent.
150 (error_handler): Delete.
151 * ldmisc.h (error_handler): Delete declaration.
152
99877b66
AM
1532004-08-10 Alan Modra <amodra@bigpond.net.au>
154
155 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
156 ppc64_elf_restore_symbols.
157
40e45c8b
AM
1582004-08-09 Alan Modra <amodra@bigpond.net.au>
159
160 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
161 .toc is too large on relocatable linking.
162
ccfa59ea
AM
1632004-08-09 Alan Modra <amodra@bigpond.net.au>
164
165 * emultempl/ppc64elf.em (ppc_after_open): Delete.
166 (LDEMUL_AFTER_OPEN): Don't define.
167
93fd0973
SC
1682004-08-02 Stephane Carrez <stcarrez@nerim.fr>
169
170 * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
171
f1b123db
SC
1722004-08-01 Stephane Carrez <stcarrez@nerim.fr>
173
174 * scripttempl/elfm68hc12.sc: Align text, rodata and data section
175 on power of 2.
176
e7fbc2bf
JT
1772004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
178
179 * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
180
c05e9f04
NC
1812004-07-26 Dmitry Diky <diwil@spec.ru>
182
183 * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
184 msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
185 msp430xG439.
186 * configure.tgt: Likewise.
187 * emulparams/msp430all.sh: Likewise.
188 * Makefile.in: Regenerate.
189
9f61903d
NC
1902004-07-23 Nick Clifton <nickc@redhat.com>
191
192 * emultempl/elf32.em (_place_orphan): Use an already existing
193 section name if that section does not have any flags set.
194
082b7297
L
1952004-07-21 H.J. Lu <hongjiu.lu@intel.com>
196
197 * ldlang.c (already_linked_hash_entry): Removed.
198 (already_linked): Likewise.
199 (already_linked_table): Likewise.
200 (section_already_linked): Call bfd_section_already_linked.
201 (lang_process): Replace already_linked_table_init with
202 bfd_section_already_linked_table_init and check return. Replace
203 already_linked_table_free with bfd_section_already_linked_table_free.
204
76d7af2d
NC
2052004-07-21 Nick Clifton <nickc@redhat.com>
206
207 * ldlang.c (init_os): Make sure that the newly allocated userdata
208 structure is zeroed out.
209
14b3c463
L
2102004-07-19 H.J. Lu <hongjiu.lu@intel.com>
211
212 * NEWS: Mention the new --add-needed/--no-add-needed and
213 --as-needed/--no-as-needed options.
214
e56f61be
L
2152004-07-19 H.J. Lu <hongjiu.lu@intel.com>
216
217 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
218 check the add_needed field.
219 (dt_needed): New struct.
220 (gld${EMULATION_NAME}_try_needed): Change the first argument
221 to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
222 bit in the file where the DT_NEEDED entry comes from.
223 (gld${EMULATION_NAME}_search_needed): Change the second
224 argument to a pointer to struct dt_needed.
225 (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
226 (gld${EMULATION_NAME}_after_open): Likewise.
227
228 * ld.texinfo: Add --add-needed document.
229 * ldlang.c (new_afile): Set p->add_needed.
230 * ldlang.h (lang_input_statement_type): Add add_needed field.
231 * ldmain.h (add_needed): Declare.
232 * ldmain.c (add_needed): New global var.
233 * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
234 OPTION_NO_ADD_NEEDED.
235 (ld_options): Likewise.
236 (parse_args): Handle them.
237
c99b8138
NC
2382004-07-13 Christof Petig <christof@petig-baender.de>
239
240 * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
241 for endian-ness of extracted addend.
242
13ed4151
NC
2432004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net>
244
245 * pe-dll.c (auto_export): Filter on just the import prefix,
246 "_imp_", not "_imp__".
247
1a320fbb
NC
2482004-07-09 Nick Clifton <nickc@redhat.com>
249
250 * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
251
1fe1f39c
NC
2522004-07-06 Tomer Levi <Tomer.Levi@nsc.com>
253
254 * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
255 (eelf32crx.c): New target.
256 * Makefile.in: Regenerate.
257 * configure.tgt: Handle crx-*-elf*.
258 * emulparams/elf32crx.sh: New file.
259 * emultempl/crxelf.em: New file.
260 * scripttempl/elf32crx.sc: New file.
261 * NEWS: Mention new target.
262
85fbca6a
NC
2632004-07-06 Nick Clifton <nickc@redhat.com>
264
265 * Makefile.am: Add eshlsymbian.c.
266 * Makefile.in: Regenerate.
267 * configure.tgt: Add sh*-symbian-elf target.
268 * emulparams/shlsymbian.sh: New file. Configure the
269 sh-symbian-elf linker scripts.
270 * scripttemp/elf32sh-symbian.sc: New file. Linker script
271 template for the sh-symbian-elf target.
272
b71a5181
DA
2732004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
274
275 * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
276 * emulparams/hppalinux.sh: Likewise.
277 * scripttempl/elf.sc: Place .plt just before .got when .plt is in
278 data segment and PLT_BEFORE_GOT is defined.
279
c87db184
CF
2802004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
281
282 * ld.texinfo (WIN32): Document PE weak symbols.
283
f6a8ae81
KK
2842004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
285
286 * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
287
b602c853
L
2882004-07-01 H.J. Lu <hongjiu.lu@intel.com>
289
290 * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
291 the section.
292
1a23a9e6
AM
2932004-06-29 Alan Modra <amodra@bigpond.net.au>
294
295 * ldlang.c (lang_reset_memory_regions): Save last relax pass section
296 size in rawsize.
297
eea6121a
AM
2982004-06-24 Alan Modra <amodra@bigpond.net.au>
299
300 * ldlang.c (print_output_section_statement): Don't print size before
301 relaxation.
302 (IGNORE_SECTION): Remove bfd arg. Update all callers.
303
304 * ldexp.c (fold_name): .. See below.
305 * ldlang.c (section_already_linked, print_output_section_statement,
306 print_input_section, insert_pad, size_input_section,
307 lang_check_section_addresses, lang_size_sections_1,
308 lang_size_sections, lang_do_assignments_1, lang_set_startof,
309 lang_one_common, lang_reset_memory_regions, lang_process,
310 lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
311 * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
312 * pe-dll.c (process_def_file, generate_reloc): ..
313 * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
314 gld${EMULATION_NAME}_before_allocation): ..
315 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
316 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
317 sh64_elf_${EMULATION_NAME}_after_allocation): ..
318 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
319 * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
320 ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
321 "size" instead of "_raw_size" and "_cooked_size". Expand
322 bfd_section_size macro invocations.
323
552f8272
CF
3242004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
325
326 * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
327 ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
328 ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
329 ___crt_xt_end__.
330 (.tls): Define ___tls_start__ and ___tls_end__.
331
aee6f5b4
AO
3322004-06-21 Alexandre Oliva <aoliva@redhat.com>
333
334 * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
335
eea6121a 3362004-06-18 Adam Nemet <anemet@lnxw.com>
f234d5fe 337
eea6121a
AM
338 * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
339 * configure: Regenerate.
f234d5fe 340
dfff4fbe
JJ
3412004-06-15 Jakub Jelinek <jakub@redhat.com>
342
343 * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
344 .gcc_except_table output sections lost accidentally with
345 -z relro patch.
346
a9e0c0c6
AM
3472004-06-15 Alan Modra <amodra@bigpond.net.au>
348
349 * ldwrite.c (build_link_order): Use bfd_get_section_size
350 instead of bfd_get_section_size_before_reloc or _raw_size.
351 * pe-dll.c (process_def_file): Likewise.
352
7115639b
AM
3532004-06-14 Alan Modra <amodra@bigpond.net.au>
354
355 From Richard Wirth <r.wirth@wirthware.de>
356 * ldlang.c (lang_finish): Don't free lang_definedness_table.
357
9ca57817
AM
3582004-05-29 Alan Modra <amodra@bigpond.net.au>
359
360 * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
361 (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
362
f6f9408f
JR
3632004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
364
365 * testsuite/ld-sh/arch/arch.exp: New test script.
366 * testsuite/ld-sh/arch/arch_expected.txt: New file.
367 * testsuite/ld-sh/arch/sh.s: New file.
368 * testsuite/ld-sh/arch/sh2.s: New file.
369 * testsuite/ld-sh/arch/sh-dsp.s: New file.
370 * testsuite/ld-sh/arch/sh2e.s: New file.
371 * testsuite/ld-sh/arch/sh3-nommu.s: New file.
372 * testsuite/ld-sh/arch/sh3.s: New file.
373 * testsuite/ld-sh/arch/sh3-dsp.s: New file.
374 * testsuite/ld-sh/arch/sh3e.s: New file.
375 * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
376 * testsuite/ld-sh/arch/sh4-nofpu.s: New file.
377 * testsuite/ld-sh/arch/sh4.s: New file.
378 * testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
379 * testsuite/ld-sh/arch/sh4al-dsp.s: New file.
380 * testsuite/ld-sh/arch/sh4a.s: New file.
381
164e712d
AM
3822004-05-28 Alan Modra <amodra@bigpond.net.au>
383
6feb9908
AM
384 * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
385 throughout file.
386 * lexsup.c: Formatting. Wrap long lines.
387 * ldwrite.c: Update copyright date.
388
164e712d
AM
389 * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
390 (output_section_callback): Nor SEC_KEEP here.
391 (gc_section_callback): Twiddle SEC_EXCLUDE here.
392 (lang_gc_wild): Delete. Fold into..
393 (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage
394 collecting.
395 (lang_process): Always call lang_gc_sections.
396 (lang_place_orphans): Handle SEC_EXCLUDE sections.
397 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
398 SEC_EXCLUDE code.
399
b3096250
L
4002004-05-26 H.J. Lu <hongjiu.lu@intel.com>
401
402 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
403 SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
404 * ldlang.c (lang_add_section): Likewise.
405
e49f5022
AM
4062004-05-26 Alan Modra <amodra@bigpond.net.au>
407
408 * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
409 sections when doing a final link. Clear SEC_EXCLUDE when doing
410 a relocable link, except for SEC_DEBUGGING sections.
411 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
412 same condition here to drop SEC_EXCLUDE orphan sections.
413
57ceae94
AM
4142004-05-25 Alan Modra <amodra@bigpond.net.au>
415
416 * ldlang.c (lang_process): Call bfd_merge_sections later, and
417 only when not a relocatable link.
418 (print_input_section): Handle SEC_EXCLUDE sections.
419 (size_input_section): Don't update dot on SEC_EXCLUDE sections.
420 (lang_do_assignments_1): Likewise.
421 * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
422 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
423 * emultempl/hppaelf.em (build_section_lists): Likewise.
424 * emultempl/ppc64elf.em (build_toc_list): Likewise.
425 (build_section_lists): Likewise.
426
a85785bc
AS
4272004-05-23 Andreas Schwab <schwab@suse.de>
428
429 * ld.texinfo (Options): Fix typo in last change.
430
2d643429
NC
4312004-05-21 Andy Chittenden <achittenden@bluearc.com>
432
433 * ld.h (ld_config_type): Add new field: hash_table_size.
434 * ldmain.c: Initialise the new field to zero. If it is non-zero
435 after parsing the linker's command line call
436 bfd_hash_set_default_size.
437 * lexsup.c (option_values): Add OPTION_HASH_SIZE.
438 (ld_options): Add hash-size.
439 (parse_args): Parse --hash-size option. Allow
440 --reduce-memory-overheads to set the default hash table size as
441 well.
442 * ld.texinfo: Document the new switch. Also mention that
443 --reduce-memory-overheads can affect the hash table size.
444 * NEWS: Mention the new feature.
445
35835446
JR
4462004-05-19 J"orn Rennecke <joern.rennecke@superh.com>
447
448 * NEWS: Mention new linker map file generation and the
449 --reduce-memory-overheads option.
450 * ld.texinfo: Document --reduce-memory-overheads option.
451 * ld.h (map_symbol_def): New struct.
452 (struct user_section_struct, section_userdata_type): Rename to:
453 (struct lean_user_section_struct, lean_section_userdata_type).
454 (struct fat_user_section_struct, fat_section_userdata_type): New.
455 (SECTION_USERDATA_SIZE): Define.
456 (args_type): New member reduce_memory_overheads.
457 * ldlang.c (map_obstack): New static variable.
458 (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
459 (lang_map): Unless command_line.reduce_memory_overheads is set,
460 initialize lists of defined symbols for each section.
461 (print_input_section): Unless command_line.reduce_memory_overheads
462 is set, use print_all_symbols.
463 (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
464 * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
465 * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
466 (ld_options): Add entry for --reduce-memory-overheads.
467 (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
468
0841712e
JJ
4692004-05-19 Jakub Jelinek <jakub@redhat.com>
470
471 * ldgram.y (sect_constraint): New.
472 (ONLY_IF_RO, ONLY_IF_RW): New tokens.
473 (section): Add sect_constraint. Pass additional argument
474 to lang_enter_output_section_statement.
475 * mri.c (mri_draw_tree): Pass additional argument to
476 lang_enter_output_section_statement.
477 * emultempl/pe.em (place_orphan): Likewise.
478 (output_prev_sec_find): Disregard output section statements with
479 constraint == -1.
480 * emultempl/mmo.em (output_prev_sec_find): Likewise.
481 (mmo_place_orphan): Pass additional argument to
482 lang_enter_output_section_statement.
483 * emultempl/elf32.em (output_prev_sec_find): Disregard output section
484 statements with constraint == -1.
485 (place_orphan): Pass additional argument to
486 lang_enter_output_section_statement.
487 * ldlang.c (lang_enter_overlay_section): Likewise.
488 (lang_output_section_find_1): New.
489 (lang_output_section_find): Use it.
490 (lang_output_section_statement_lookup_1): New.
491 (lang_output_section_statement_lookup): Use it.
492 (check_section_callback, check_input_sections): New.
493 (map_input_to_output_sections): Check if all input sections
494 are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
495 (strip_excluded_output_sections): Disregard output section statements
496 with constraint == -1.
497 (lang_record_phdrs): Likewise.
498 (lang_enter_output_section_statement): Add constraint argument.
499 Use lang_output_section_statement_lookup_1.
500 * ldlang.h (lang_output_section_statement_type): Add constraint
501 and all_input_readonly fields.
502 (lang_enter_output_section_statement): Adjust prototype.
503 * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
504 * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
505 segment if all input sections are readonly.
506
eea6121a 5072004-05-19 Adam Nemet <anemet@lnxw.com>
f2c50328
NC
508
509 * scripttempl/i386lynx.sc: Remove file.
510
2a16d82a
BW
5112004-05-17 Bob Wilson <bob.wilson@acm.org>
512
513 * ld.texinfo (Output Section Address): Correct subsection name.
514
eea6121a 5152004-05-17 Adam Nemet <anemet@lnxw.com>
b2d65c0b
NC
516
517 * configure.tgt (powerpc-*-lynxos* case): New case.
518 * configure.host (i[3-7]86-*-lynxos* case): Remove case.
519 * emulparams/ppclynx.sh: New file.
520 * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
521 * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
522 (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
523 (eppclynx.c): New rule.
524 * Makefile.in: Regenerate.
525
4b363073
NC
5262004-05-13 Joel Sherrill <joel@oarcorp.com>
527
528 * configure.tgt (or32-*-rtems*): Switch to elf and
529 support versioned targets.
530
9598fbe5
NC
5312004-05-13 Nick Clifton <nickc@redhat.com>
532
533 * po/fr.po: Updated French translation.
534
8c37241b
JJ
5352004-05-11 Jakub Jelinek <jakub@redhat.com>
536
537 * genscripts.sh: Generate -z combreloc -z now -z relro scripts
538 for binaries, -shared and -pie.
539 * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
540 * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
541 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
542 (OTHER_RELRO_SECTIONS): ... this.
543 * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
544 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
545 -z relro and -z norelro.
546 (gld${EMULATION_NAME}_list_options): Add it to usage.
547 (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
548 -z relro scripts when appropriate.
549 * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
550 Create separate .got.plt section if SEPARATE_GOTPLT.
551 Move sections which are only written during relocation handling
552 to the beginning of RW segment. If NO_SMALL_DATA, move .got
553 before .data. Add DATA_SEGMENT_RELRO_END directive.
554 Include OTHER_RELRO_SECTIONS.
555 * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
556 * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
557 (fold_unary): Likewise.
558 (fold_binary): Handle -z relro.
559 * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
560 exp_dataseg_relro_adjust phases. Add relro_end field.
561 * ldmain.c (main): Initialize link_info.relro to FALSE.
562 * ldlang.c (lang_size_sections): Handle -z relro.
563
e21059f2
MM
5642004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
565
566 * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
567
5f9b8920
JR
5682004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
569
570 * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
571 before printing it with %W.
572
26d2d8a2 5732004-05-07 Brian Ford <ford@vss.fsi.com>
eea6121a 574 DJ Delorie <dj@redhat.com>
26d2d8a2
BF
575
576 * emultempl/pe.em (real_flags): New static.
577 (OPTION_LARGE_ADDRESS_AWARE): New define.
578 (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
579 (gld_${EMULATION_NAME}_list_options): Likewise.
580 (gld${EMULATION_NAME}_handle_option): Likewise.
581 (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
582 * ld.texinfo: Document it.
583 * NEWS: Mention it.
584
1b169501
BF
5852004-05-07 Brian Ford <ford@vss.fsi.com>
586
587 * NEWS: Mention DWARF 2 support for i386pe.
588
41cf0c62
AO
5892004-05-05 Alexandre Oliva <aoliva@redhat.com>
590
591 * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
592 elf32-frvfdpic.
593
d0d6a25b
AM
5942004-04-30 Alan Modra <amodra@bigpond.net.au>
595
596 * ldlang.c (unique_section_p): Pass section parm, return true on
597 group sections.
598 (output_section_callback): Adjust.
599 * ldlang.h (unique_section_p): Update prototype.
600 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
601
755306be
EB
6022004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
603
eea6121a 604 * ld.texinfo (--gc-sections): Remove restriction for
755306be
EB
605 dynamic linking.
606
8a7140c3
NC
6072004-04-29 Brian Ford <ford@vss.fsi.com>
608
609 * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
610 for DWARF 2/3. Update stab section's syntax.
611
2f9636ba
AM
6122004-04-29 Alan Modra <amodra@bigpond.net.au>
613
614 * pe-dll.c: Revert changes accidentally committed 2004-03-08.
615 (fill_edata): Correct pointer arithmetic.
616
23867d67
CD
6172004-04-21 Chris Demetriou <cgd@broadcom.com>
618
619 * ld.texinfo: Remove MIPS --embedded-relocs documentation.
620 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
621 * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
622 (EXTRA_EM_FILE): Use mipsecoff.em
623 * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
624 (EXTRA_EM_FILE): Use mipsecoff.em
625 * emultempl/mipsecoff.em: Restructure to be included as an
626 extra emulation file.
627 (check_sections, gld${EMULATION_NAME}_after_open)
628 (gld${EMULATION_NAME}_after_allocation)
629 (gld${EMULATION_NAME}_get_script)
630 (ld_${EMULATION_NAME}_emulation): Remove
631 (gld${EMULATION_NAME}_before_parse): Rename to...
632 (mipsecoff_before_parse): This.
633 (LDEMUL_BEFORE_PARSE): Define.
634 * emultempl/mipself.em: Remove file.
635 * scripttempl/mips.sc (.rel.sdata): Do not include in output.
636 (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
637 these symbols.
638 * Makefile.am: Remove dependencies on emultempl/mipself.em.
639 * Makefile.in: Regenerate.
640
1502569c
NC
6412004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
642
643 * ld.texinfo (synthesizing on H8/300): Information about linker
644 relaxation support for bit manipulation instructions and system
645 control instructions is added.
646
c894ddfb
HPN
6472004-04-21 Hans-Peter Nilsson <hp@axis.com>
648
649 * NEWS: Mention change in DEFINED semantics.
650
a85bf78e
EB
6512004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
652
653 * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
654 (.data): Add KEEP for .gnu.linkonce.d.*personality*.
655 (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
656
58434bc1
BE
6572004-04-21 Ben Elliston <bje@au.ibm.com>
658
659 * ld.texinfo (Simple Example): Add missing punctuation.
660
7a7f4e42
CD
6612004-04-20 Chris Demetriou <cgd@broadcom.com>
662
663 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
664
3737f867
JJ
6652004-04-19 Jakub Jelinek <jakub@redhat.com>
666
667 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
668 specially.
669
3c17e4f7
DS
6702004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
671
672 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
673 with default priority. Likewise for dtors.
674
279500de
TS
6752004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
676
677 * configure.host: Remove mips*-dec-bsd* target.
678 * configure.tgt: Likewise.
679
52f89c0a
RS
6802004-04-08 Richard Sandiford <rsandifo@redhat.com>
681
682 * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
683 * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
684 * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
685 * emultempl/irix.em: New file.
686 * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
687 dependencies.
688 * Makefile.in: Regenerate.
689
e489d0ae
PB
6902004-04-01 Paul Brook <paul@codesourcery.com>
691
692 * emultempl/armelf.em (byteswap_code): Add.
693 (arm_elf_before_allocation): Pass extra parameter.
694 (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
695 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
696 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
697 * emultempl/armelf_oabi.em: Pass extra parameter.
698 * ld.texinfo: Document --be8.
699
7cc8057a
SS
7002004-03-30 Stan Shebs <shebs@apple.com>
701
702 Remove long-obsolete MPW support.
703 * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
704 * Makefile.am (mpw): Remove file-presynthesizing actions.
705 * Makefile.in: Likewise.
706 * ldfile.c (slash): Remove MPW case.
707 * ldlex.l [MPW]: Remove unused definition.
708
0949843d
NC
7092004-03-30 Galit Heller <Galit.Heller@nsc.com>
710
711 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
712 (eelf32cr16c.c): New target.
713 * Makefile.in: Regenerate.
714 * configure.tgt: Handle cr16c-*-elf*.
715 * emulparams/elf32cr16c.sh: New file.
716 * scripttempl/elfcr16c.sc: Likewise
717 * NEWS: Mention support for new target.
718
0a159ef8
NC
7192004-03-30 Nick Clifton <nickc@redhat.com>
720
721 * po/sv.po: Updated Swedish translation.
722
7a945db6
AM
7232004-03-27 Alan Modra <amodra@bigpond.net.au>
724
725 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
726 * emultempl/hppaelf.em: Likewise.
727 * emultempl/ppc64elf.em: Likewise.
728 * emultempl/sh64elf.em: Likewise.
729
5a580b3a
AM
7302004-03-25 Alan Modra <amodra@bigpond.net.au>
731
732 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
733 size_dynamic_sections call.
734
b9cf773d
AM
7352004-03-23 Alan Modra <amodra@bigpond.net.au>
736
737 PR 51.
738 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
739 link_info.wrap_char.
740
59c2e50f
L
7412004-03-20 H.J. Lu <hongjiu.lu@intel.com>
742
743 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
744 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
745
44349745
AO
7462004-03-20 Alexandre Oliva <aoliva@redhat.com>
747
748 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
749
81359a70
AM
7502004-03-19 Alan Modra <amodra@bigpond.net.au>
751
752 * config.in: Regenerate.
753 * po/ld.pot: Regenerate.
754
4a43e768
AM
7552004-03-18 Alan Modra <amodra@bigpond.net.au>
756
757 * ld.texinfo: Add --as-needed doco.
758 * ldmain.c (as_needed): New global var.
759 * ldmain.h (as_needed): Declare.
760 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
761 OPTION_NO_AS_NEEDED.
762 (ld_options): Likewise.
763 (parse_args): Handle them.
764 * ldlang.h (lang_input_statement_type): Add as_needed field.
765 * ldlang.c (new_afile): Set p->as_needed.
766 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
767 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
768 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
769
770 * ldlang.c (open_input_bfds): Remove useless cast.
771 (lang_do_assignments_1): Likewise.
772 (lang_for_each_input_section): Delete.
773
9183ed4b
AM
7742004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
775
776 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
777
ee31fbd0
NC
7782004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
779
780 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
781 private when building implib.
782
e5caec89
NS
7832004-03-05 Nathan Sidwell <nathan@codesourcery.com>
784
785 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
786 SEC_THREAD_LOCAL.
787 (IGNORE_SECTION): Ignore .tbss sections too.
788 (lang_size_sections_1): .tbss sections do not advance dot.
789
cc2f008e
AS
7902004-03-01 Andreas Schwab <schwab@suse.de>
791
792 * ld.texinfo (Options): Fix example for --wrap.
793
f5a95868
DS
7942004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
795
796 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
797 not NULL.
798
177b729b
ILT
7992004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
800
801 * ldlang.c (lang_check): Use %P, not %E, in error message.
802
1b493742
NS
8032004-02-23 Nathan Sidwell <nathan@codesourcery.com>
804
805 * ldlang.h (struct lang_output_section_state): Change processed
806 field's type.
807 * ldexp.c (check, invalid): Remove.
808 (fold_name): Move valid_p assignments. Create undefined symbol
809 when needed. Directly exampine section's processd flag.
810 * ldlang.c (lang_output_section_statement_lookup): Adjust
811 processed field init.
812 (lang_size_sections_1): Allow LOADADDR when determining section's
813 VMA. Adjust error message. Fold data statement's expr.
814 (lang_size_sections): Correctly increment lang_statement_iteration.
815
8162004-02-23 Alan Modra <amodra@bigpond.net.au>
817
818 * ldexp.c (fold_tree): Follow indirect symbols.
b9cf773d 819
876f4090
NS
8202004-02-20 Nathan Sidwell <nathan@codesourcery.com>
821
822 * ldgram.y (exp): Add two operand ALIGN.
823 * ldexp.c (fold_binary): Add ALIGN_K case.
824 * ld.texinfo (ALIGN): Document two operand version.
825
384d938f
NS
8262004-02-19 Nathan Sidwell <nathan@codesourcery.com>
827
828 * ldlang.c (map_input_to_output_sections): Initialize sections
829 mentioned in a data statement expression.
830 (lang_do_assignments_1): Add data statement's expression's
831 section's vma.
832
b6ca8815
NS
8332004-02-18 Nathan Sidwell <nathan@codesourcery.com>
834
835 * ldgram.y (statement_anywhere): Add assert rule.
836 * ldlang.c (exp_init_os): Add assert case.
837
c92c35e7
AC
8382004-02-14 Andrew Cagney <cagney@redhat.com>
839
840 * ldmain.c (remove_output): Call bfd_cache_close.
841
9bf78c99
RS
8422004-02-14 Richard Sandiford <rsandifo@redhat.com>
843
844 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
845 .MIPS.content* and .MIPS.events* sections.
846
f3806916
DJ
8472004-02-09 Daniel Jacobowitz <drow@mvista.com>
848
849 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
850 .note.gnu.arm.ident to after allocated sections. Mark its
851 address as 0.
852
4c8e70d7
DJ
8532004-02-09 Daniel Jacobowitz <drow@mvista.com>
854
855 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
856 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
857 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
858 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
859 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
860
ff71f4f7
NC
8612004-02-05 Nick Clifton <nickc@redhat.com>
862
863 * emultempl/pe.em (_after_open): Fix typo in previous delta.
864
07a68a80
NC
8652004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
866
867 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
868
1dd3bf68
AM
8692004-01-28 Alan Modra <amodra@bigpond.net.au>
870
586196d5
AM
871 * genscripts.sh: Fix typo.
872
1dd3bf68
AM
873 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
874
13d9421f
JJ
8752004-01-24 Jakub Jelinek <jakub@redhat.com>
876
877 * emulparams/elf64_ia64.sh: Put .rela.opd into
878 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
879
4d8907ac
DS
8802004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
881
882 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
883 * ld.texinfo (--omagic): Note that writable text section
884 does not conform to published PE-COFF specs.
885 (--enable-auto-import): Likewise.
886
e5c60db5
AM
8872004-01-15 Alan Modra <amodra@bigpond.net.au>
888
889 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
890
6bdafbeb
NC
8912004-01-13 Nick Clifton <nickc@redhat.com>
892
893 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
894 which if true will prevent the LMA region being used as a
895 replacement for a default VMA region.
586196d5
AM
896 (lang_leave_output_section_statement): Pass extra parameter.
897 (lang_leave_overlay): Likewise.
898 * ld.texinfo (Output Section LMA): Document that the LMA
6bdafbeb
NC
899 region can be set to the VMA region if no VMA has been set.
900 * ldlang.h (struct lang_output_section_phdr_list): Create a
901 typedef for this type. Minor formatting fixes.
586196d5 902
9dfc8ab2
NC
9032004-01-13 Nick Clifton <nickc@redhat.com>
904
905 * ldlang.c (lang_size_sections_1): If dot is advanced, then
906 assume that the section should be allocated.
907
8325c4dd
AM
9082004-01-13 Alan Modra <amodra@bigpond.net.au>
909
910 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
911 sections. Do ignore SEC_NEVER_LOAD sections.
912 (lang_size_sections_1): Remove test made redundant with the above.
913
83490352
AM
9142004-01-09 Alan Modra <amodra@bigpond.net.au>
915
916 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
917 program_header_size.
918
005e1118
AO
9192004-01-06 Alexandre Oliva <aoliva@redhat.com>
920
921 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
922 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
923 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
924 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
925 (MAXPAGESIZE): Set to 64Kb.
926 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
927 __ROFIXUP_END__. Don't map .rofixup.got any more.
928 * emulparams/elf32frv.sh (NOP): Set.
929 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
930 * configure.tgt: Add frv-*-*linux*.
931 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
932 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
933 (eelf32frvfd.c): New.
934 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
935 * emulparams/elf32frv.sh: Reverted previous two patches.
936 * emulparams/elf32frvfd.sh: New.
937 * Makefile.in: Rebuilt.
938 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
939 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
940 .rofixup.got to .rofixup.
941 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
942 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
943 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
944
060feee5
JJ
9452004-01-05 Jakub Jelinek <jakub@redhat.com>
946
947 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
948 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
949
5e2f1575
AM
9502004-01-03 Alan Modra <amodra@bigpond.net.au>
951
e5caa5e0
AM
952 * ldexp.c (align_n): Make static.
953 * ldexp.h (align_n): Delete declaration.
954 * ldlang.h (lang_enter_output_section_statement): Remove
955 block_value param.
956 * ldlang.c (lang_enter_output_section_statement): Likewise.
957 (TO_ADDR, TO_SIZE): Define.
c2df3ea5 958 (opb_shift): New var.
e5caa5e0
AM
959 (init_opb): New function.
960 (print_input_section): Call init_opb and use TO_ADDR.
961 (print_data_statement, print_reloc_statement): Likewise.
962 (print_padding_statement): Likewise.
c2df3ea5 963 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
e5caa5e0
AM
964 (lang_check_section_addresses): Likewise.
965 (lang_size_sections_1): Likewise.
966 (lang_do_assignments_1): Likewise.
967 (lang_set_startof): Likewise.
c2df3ea5 968 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
e5caa5e0 969 (lang_process): Call init_opb.
c2df3ea5 970 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
e5caa5e0
AM
971 (lang_enter_overlay_section): Adjust
972 lang_enter_output_section_statement call.
973 * ldgram.y: Likewise.
974 * mri.c (mri_draw_tree): Likewise.
975 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
976 * emultempl/mmo.em (mmo_place_orphan): Likewise.
977 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
978
5e2f1575
AM
979 * ldfile.c (ldfile_set_output_arch): Add defarch param.
980 * ldfile.h (ldfile_set_output_arch): Ditto.
981 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
982 ldfile_set_output_arch.
983 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
984 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
985 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
986 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
987 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
988 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
989 * ldgram.y: Adjust ldfile_set_output_arch call.
990 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
991 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
992 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
993 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
994 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
995 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
996 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
997
b50c15dc
NC
9982004-01-02 Bernardo Innocenti <bernie@develer.com>
999
1000 * configure.tgt: Add m68k-uClinux target.
6edf0760 1001
c9e214e5 1002For older changes see ChangeLog-0203
252b5132
RH
1003\f
1004Local Variables:
1005mode: change-log
1006left-margin: 8
1007fill-column: 74
1008version-control: never
1009End:
This page took 0.337436 seconds and 4 git commands to generate.