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