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