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