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