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