Index: ChangeLog
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
42851540
NC
12004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
2
3 * scripttempl/elf32crx.sc: Edit file with comments.
4 (.init): Add new section.
5 (.fini): Likewise.
6 (.ctor): Control the linkage order.
7 (.dtor): Likewise.
8
c034e3e0
NC
92004-08-27 Nick Clifton <nickc@redhat.com>
10
11 * emultempl/pe.em (after_open): Do not assume that either bfd is
12 an archive.
13
688c58f3
AM
142004-08-26 Alan Modra <amodra@bigpond.net.au>
15
16 * ldlang.c (lang_init): Don't compare with TRUE.
17
b18c562e
NC
182004-08-25 Dmitry Diky <diwil@spec.ru>
19
20 * emulparams/msp430all.sh: Fix RAM sizes for all targets.
21 * scripttempl/elf32msp430.sc: Add .profiler section definition.
22
61f5d054
L
232004-08-24 H.J. Lu <hongjiu.lu@intel.com>
24
25 * ldlang.c (wildcardp): Defined as a macro with strpbrk.
26
e77d3d77
MM
272004-08-19 Mark Mitchell <mark@codesourcery.com>
28
29 * configure.tgt (arm*-*-symbianelf*): New target.
30 (arm*-*-eabi*): Likewise.
31
3f764659
JJ
322004-08-19 Jakub Jelinek <jakub@redhat.com>
33
34 * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
35 (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
36 (OPTION_NON_OVERLAPPING_OPD): Define.
37 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
38 --non-overlapping-opd option.
39
a010d60f
AM
402004-08-18 Alan Modra <amodra@bigpond.net.au>
41
42 PR 338
43 * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
44 was already on the undefs list.
45
c4e33880
AM
462004-08-17 Alan Modra <amodra@bigpond.net.au>
47
48 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
49 prefix the symbol field too.
50
d003868e
AM
512004-08-13 Alan Modra <amodra@bigpond.net.au>
52
53 * ldmain.c (link_callbacks): Remove "error_handler".
54 * ldmisc.c: Include elf-bfd.h.
55 (vfinfo): Sort comment. Handle %A. Use %A instead of
56 bfd_get_section_indent.
57 (error_handler): Delete.
58 * ldmisc.h (error_handler): Delete declaration.
59
99877b66
AM
602004-08-10 Alan Modra <amodra@bigpond.net.au>
61
62 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
63 ppc64_elf_restore_symbols.
64
40e45c8b
AM
652004-08-09 Alan Modra <amodra@bigpond.net.au>
66
67 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
68 .toc is too large on relocatable linking.
69
ccfa59ea
AM
702004-08-09 Alan Modra <amodra@bigpond.net.au>
71
72 * emultempl/ppc64elf.em (ppc_after_open): Delete.
73 (LDEMUL_AFTER_OPEN): Don't define.
74
93fd0973
SC
752004-08-02 Stephane Carrez <stcarrez@nerim.fr>
76
77 * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
78
f1b123db
SC
792004-08-01 Stephane Carrez <stcarrez@nerim.fr>
80
81 * scripttempl/elfm68hc12.sc: Align text, rodata and data section
82 on power of 2.
83
e7fbc2bf
JT
842004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
85
86 * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
87
c05e9f04
NC
882004-07-26 Dmitry Diky <diwil@spec.ru>
89
90 * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
91 msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
92 msp430xG439.
93 * configure.tgt: Likewise.
94 * emulparams/msp430all.sh: Likewise.
95 * Makefile.in: Regenerate.
96
9f61903d
NC
972004-07-23 Nick Clifton <nickc@redhat.com>
98
99 * emultempl/elf32.em (_place_orphan): Use an already existing
100 section name if that section does not have any flags set.
101
082b7297
L
1022004-07-21 H.J. Lu <hongjiu.lu@intel.com>
103
104 * ldlang.c (already_linked_hash_entry): Removed.
105 (already_linked): Likewise.
106 (already_linked_table): Likewise.
107 (section_already_linked): Call bfd_section_already_linked.
108 (lang_process): Replace already_linked_table_init with
109 bfd_section_already_linked_table_init and check return. Replace
110 already_linked_table_free with bfd_section_already_linked_table_free.
111
76d7af2d
NC
1122004-07-21 Nick Clifton <nickc@redhat.com>
113
114 * ldlang.c (init_os): Make sure that the newly allocated userdata
115 structure is zeroed out.
116
14b3c463
L
1172004-07-19 H.J. Lu <hongjiu.lu@intel.com>
118
119 * NEWS: Mention the new --add-needed/--no-add-needed and
120 --as-needed/--no-as-needed options.
121
e56f61be
L
1222004-07-19 H.J. Lu <hongjiu.lu@intel.com>
123
124 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
125 check the add_needed field.
126 (dt_needed): New struct.
127 (gld${EMULATION_NAME}_try_needed): Change the first argument
128 to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
129 bit in the file where the DT_NEEDED entry comes from.
130 (gld${EMULATION_NAME}_search_needed): Change the second
131 argument to a pointer to struct dt_needed.
132 (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
133 (gld${EMULATION_NAME}_after_open): Likewise.
134
135 * ld.texinfo: Add --add-needed document.
136 * ldlang.c (new_afile): Set p->add_needed.
137 * ldlang.h (lang_input_statement_type): Add add_needed field.
138 * ldmain.h (add_needed): Declare.
139 * ldmain.c (add_needed): New global var.
140 * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
141 OPTION_NO_ADD_NEEDED.
142 (ld_options): Likewise.
143 (parse_args): Handle them.
144
c99b8138
NC
1452004-07-13 Christof Petig <christof@petig-baender.de>
146
147 * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
148 for endian-ness of extracted addend.
149
13ed4151
NC
1502004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net>
151
152 * pe-dll.c (auto_export): Filter on just the import prefix,
153 "_imp_", not "_imp__".
154
1a320fbb
NC
1552004-07-09 Nick Clifton <nickc@redhat.com>
156
157 * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
158
1fe1f39c
NC
1592004-07-06 Tomer Levi <Tomer.Levi@nsc.com>
160
161 * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
162 (eelf32crx.c): New target.
163 * Makefile.in: Regenerate.
164 * configure.tgt: Handle crx-*-elf*.
165 * emulparams/elf32crx.sh: New file.
166 * emultempl/crxelf.em: New file.
167 * scripttempl/elf32crx.sc: New file.
168 * NEWS: Mention new target.
169
85fbca6a
NC
1702004-07-06 Nick Clifton <nickc@redhat.com>
171
172 * Makefile.am: Add eshlsymbian.c.
173 * Makefile.in: Regenerate.
174 * configure.tgt: Add sh*-symbian-elf target.
175 * emulparams/shlsymbian.sh: New file. Configure the
176 sh-symbian-elf linker scripts.
177 * scripttemp/elf32sh-symbian.sc: New file. Linker script
178 template for the sh-symbian-elf target.
179
b71a5181
DA
1802004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
181
182 * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
183 * emulparams/hppalinux.sh: Likewise.
184 * scripttempl/elf.sc: Place .plt just before .got when .plt is in
185 data segment and PLT_BEFORE_GOT is defined.
186
c87db184
CF
1872004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
188
189 * ld.texinfo (WIN32): Document PE weak symbols.
190
f6a8ae81
KK
1912004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
192
193 * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
194
b602c853
L
1952004-07-01 H.J. Lu <hongjiu.lu@intel.com>
196
197 * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
198 the section.
199
1a23a9e6
AM
2002004-06-29 Alan Modra <amodra@bigpond.net.au>
201
202 * ldlang.c (lang_reset_memory_regions): Save last relax pass section
203 size in rawsize.
204
eea6121a
AM
2052004-06-24 Alan Modra <amodra@bigpond.net.au>
206
207 * ldlang.c (print_output_section_statement): Don't print size before
208 relaxation.
209 (IGNORE_SECTION): Remove bfd arg. Update all callers.
210
211 * ldexp.c (fold_name): .. See below.
212 * ldlang.c (section_already_linked, print_output_section_statement,
213 print_input_section, insert_pad, size_input_section,
214 lang_check_section_addresses, lang_size_sections_1,
215 lang_size_sections, lang_do_assignments_1, lang_set_startof,
216 lang_one_common, lang_reset_memory_regions, lang_process,
217 lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
218 * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
219 * pe-dll.c (process_def_file, generate_reloc): ..
220 * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
221 gld${EMULATION_NAME}_before_allocation): ..
222 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
223 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
224 sh64_elf_${EMULATION_NAME}_after_allocation): ..
225 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
226 * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
227 ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
228 "size" instead of "_raw_size" and "_cooked_size". Expand
229 bfd_section_size macro invocations.
230
552f8272
CF
2312004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
232
233 * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
234 ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
235 ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
236 ___crt_xt_end__.
237 (.tls): Define ___tls_start__ and ___tls_end__.
238
aee6f5b4
AO
2392004-06-21 Alexandre Oliva <aoliva@redhat.com>
240
241 * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
242
eea6121a 2432004-06-18 Adam Nemet <anemet@lnxw.com>
f234d5fe 244
eea6121a
AM
245 * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
246 * configure: Regenerate.
f234d5fe 247
dfff4fbe
JJ
2482004-06-15 Jakub Jelinek <jakub@redhat.com>
249
250 * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
251 .gcc_except_table output sections lost accidentally with
252 -z relro patch.
253
a9e0c0c6
AM
2542004-06-15 Alan Modra <amodra@bigpond.net.au>
255
256 * ldwrite.c (build_link_order): Use bfd_get_section_size
257 instead of bfd_get_section_size_before_reloc or _raw_size.
258 * pe-dll.c (process_def_file): Likewise.
259
7115639b
AM
2602004-06-14 Alan Modra <amodra@bigpond.net.au>
261
262 From Richard Wirth <r.wirth@wirthware.de>
263 * ldlang.c (lang_finish): Don't free lang_definedness_table.
264
9ca57817
AM
2652004-05-29 Alan Modra <amodra@bigpond.net.au>
266
267 * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
268 (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
269
f6f9408f
JR
2702004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
271
272 * testsuite/ld-sh/arch/arch.exp: New test script.
273 * testsuite/ld-sh/arch/arch_expected.txt: New file.
274 * testsuite/ld-sh/arch/sh.s: New file.
275 * testsuite/ld-sh/arch/sh2.s: New file.
276 * testsuite/ld-sh/arch/sh-dsp.s: New file.
277 * testsuite/ld-sh/arch/sh2e.s: New file.
278 * testsuite/ld-sh/arch/sh3-nommu.s: New file.
279 * testsuite/ld-sh/arch/sh3.s: New file.
280 * testsuite/ld-sh/arch/sh3-dsp.s: New file.
281 * testsuite/ld-sh/arch/sh3e.s: New file.
282 * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
283 * testsuite/ld-sh/arch/sh4-nofpu.s: New file.
284 * testsuite/ld-sh/arch/sh4.s: New file.
285 * testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
286 * testsuite/ld-sh/arch/sh4al-dsp.s: New file.
287 * testsuite/ld-sh/arch/sh4a.s: New file.
288
164e712d
AM
2892004-05-28 Alan Modra <amodra@bigpond.net.au>
290
6feb9908
AM
291 * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
292 throughout file.
293 * lexsup.c: Formatting. Wrap long lines.
294 * ldwrite.c: Update copyright date.
295
164e712d
AM
296 * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
297 (output_section_callback): Nor SEC_KEEP here.
298 (gc_section_callback): Twiddle SEC_EXCLUDE here.
299 (lang_gc_wild): Delete. Fold into..
300 (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage
301 collecting.
302 (lang_process): Always call lang_gc_sections.
303 (lang_place_orphans): Handle SEC_EXCLUDE sections.
304 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
305 SEC_EXCLUDE code.
306
b3096250
L
3072004-05-26 H.J. Lu <hongjiu.lu@intel.com>
308
309 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
310 SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
311 * ldlang.c (lang_add_section): Likewise.
312
e49f5022
AM
3132004-05-26 Alan Modra <amodra@bigpond.net.au>
314
315 * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
316 sections when doing a final link. Clear SEC_EXCLUDE when doing
317 a relocable link, except for SEC_DEBUGGING sections.
318 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
319 same condition here to drop SEC_EXCLUDE orphan sections.
320
57ceae94
AM
3212004-05-25 Alan Modra <amodra@bigpond.net.au>
322
323 * ldlang.c (lang_process): Call bfd_merge_sections later, and
324 only when not a relocatable link.
325 (print_input_section): Handle SEC_EXCLUDE sections.
326 (size_input_section): Don't update dot on SEC_EXCLUDE sections.
327 (lang_do_assignments_1): Likewise.
328 * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
329 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
330 * emultempl/hppaelf.em (build_section_lists): Likewise.
331 * emultempl/ppc64elf.em (build_toc_list): Likewise.
332 (build_section_lists): Likewise.
333
a85785bc
AS
3342004-05-23 Andreas Schwab <schwab@suse.de>
335
336 * ld.texinfo (Options): Fix typo in last change.
337
2d643429
NC
3382004-05-21 Andy Chittenden <achittenden@bluearc.com>
339
340 * ld.h (ld_config_type): Add new field: hash_table_size.
341 * ldmain.c: Initialise the new field to zero. If it is non-zero
342 after parsing the linker's command line call
343 bfd_hash_set_default_size.
344 * lexsup.c (option_values): Add OPTION_HASH_SIZE.
345 (ld_options): Add hash-size.
346 (parse_args): Parse --hash-size option. Allow
347 --reduce-memory-overheads to set the default hash table size as
348 well.
349 * ld.texinfo: Document the new switch. Also mention that
350 --reduce-memory-overheads can affect the hash table size.
351 * NEWS: Mention the new feature.
352
35835446
JR
3532004-05-19 J"orn Rennecke <joern.rennecke@superh.com>
354
355 * NEWS: Mention new linker map file generation and the
356 --reduce-memory-overheads option.
357 * ld.texinfo: Document --reduce-memory-overheads option.
358 * ld.h (map_symbol_def): New struct.
359 (struct user_section_struct, section_userdata_type): Rename to:
360 (struct lean_user_section_struct, lean_section_userdata_type).
361 (struct fat_user_section_struct, fat_section_userdata_type): New.
362 (SECTION_USERDATA_SIZE): Define.
363 (args_type): New member reduce_memory_overheads.
364 * ldlang.c (map_obstack): New static variable.
365 (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
366 (lang_map): Unless command_line.reduce_memory_overheads is set,
367 initialize lists of defined symbols for each section.
368 (print_input_section): Unless command_line.reduce_memory_overheads
369 is set, use print_all_symbols.
370 (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
371 * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
372 * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
373 (ld_options): Add entry for --reduce-memory-overheads.
374 (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
375
0841712e
JJ
3762004-05-19 Jakub Jelinek <jakub@redhat.com>
377
378 * ldgram.y (sect_constraint): New.
379 (ONLY_IF_RO, ONLY_IF_RW): New tokens.
380 (section): Add sect_constraint. Pass additional argument
381 to lang_enter_output_section_statement.
382 * mri.c (mri_draw_tree): Pass additional argument to
383 lang_enter_output_section_statement.
384 * emultempl/pe.em (place_orphan): Likewise.
385 (output_prev_sec_find): Disregard output section statements with
386 constraint == -1.
387 * emultempl/mmo.em (output_prev_sec_find): Likewise.
388 (mmo_place_orphan): Pass additional argument to
389 lang_enter_output_section_statement.
390 * emultempl/elf32.em (output_prev_sec_find): Disregard output section
391 statements with constraint == -1.
392 (place_orphan): Pass additional argument to
393 lang_enter_output_section_statement.
394 * ldlang.c (lang_enter_overlay_section): Likewise.
395 (lang_output_section_find_1): New.
396 (lang_output_section_find): Use it.
397 (lang_output_section_statement_lookup_1): New.
398 (lang_output_section_statement_lookup): Use it.
399 (check_section_callback, check_input_sections): New.
400 (map_input_to_output_sections): Check if all input sections
401 are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
402 (strip_excluded_output_sections): Disregard output section statements
403 with constraint == -1.
404 (lang_record_phdrs): Likewise.
405 (lang_enter_output_section_statement): Add constraint argument.
406 Use lang_output_section_statement_lookup_1.
407 * ldlang.h (lang_output_section_statement_type): Add constraint
408 and all_input_readonly fields.
409 (lang_enter_output_section_statement): Adjust prototype.
410 * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
411 * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
412 segment if all input sections are readonly.
413
eea6121a 4142004-05-19 Adam Nemet <anemet@lnxw.com>
f2c50328
NC
415
416 * scripttempl/i386lynx.sc: Remove file.
417
2a16d82a
BW
4182004-05-17 Bob Wilson <bob.wilson@acm.org>
419
420 * ld.texinfo (Output Section Address): Correct subsection name.
421
eea6121a 4222004-05-17 Adam Nemet <anemet@lnxw.com>
b2d65c0b
NC
423
424 * configure.tgt (powerpc-*-lynxos* case): New case.
425 * configure.host (i[3-7]86-*-lynxos* case): Remove case.
426 * emulparams/ppclynx.sh: New file.
427 * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
428 * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
429 (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
430 (eppclynx.c): New rule.
431 * Makefile.in: Regenerate.
432
4b363073
NC
4332004-05-13 Joel Sherrill <joel@oarcorp.com>
434
435 * configure.tgt (or32-*-rtems*): Switch to elf and
436 support versioned targets.
437
9598fbe5
NC
4382004-05-13 Nick Clifton <nickc@redhat.com>
439
440 * po/fr.po: Updated French translation.
441
8c37241b
JJ
4422004-05-11 Jakub Jelinek <jakub@redhat.com>
443
444 * genscripts.sh: Generate -z combreloc -z now -z relro scripts
445 for binaries, -shared and -pie.
446 * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
447 * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
448 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
449 (OTHER_RELRO_SECTIONS): ... this.
450 * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
451 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
452 -z relro and -z norelro.
453 (gld${EMULATION_NAME}_list_options): Add it to usage.
454 (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
455 -z relro scripts when appropriate.
456 * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
457 Create separate .got.plt section if SEPARATE_GOTPLT.
458 Move sections which are only written during relocation handling
459 to the beginning of RW segment. If NO_SMALL_DATA, move .got
460 before .data. Add DATA_SEGMENT_RELRO_END directive.
461 Include OTHER_RELRO_SECTIONS.
462 * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
463 * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
464 (fold_unary): Likewise.
465 (fold_binary): Handle -z relro.
466 * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
467 exp_dataseg_relro_adjust phases. Add relro_end field.
468 * ldmain.c (main): Initialize link_info.relro to FALSE.
469 * ldlang.c (lang_size_sections): Handle -z relro.
470
e21059f2
MM
4712004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
472
473 * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
474
5f9b8920
JR
4752004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
476
477 * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
478 before printing it with %W.
479
26d2d8a2 4802004-05-07 Brian Ford <ford@vss.fsi.com>
eea6121a 481 DJ Delorie <dj@redhat.com>
26d2d8a2
BF
482
483 * emultempl/pe.em (real_flags): New static.
484 (OPTION_LARGE_ADDRESS_AWARE): New define.
485 (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
486 (gld_${EMULATION_NAME}_list_options): Likewise.
487 (gld${EMULATION_NAME}_handle_option): Likewise.
488 (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
489 * ld.texinfo: Document it.
490 * NEWS: Mention it.
491
1b169501
BF
4922004-05-07 Brian Ford <ford@vss.fsi.com>
493
494 * NEWS: Mention DWARF 2 support for i386pe.
495
41cf0c62
AO
4962004-05-05 Alexandre Oliva <aoliva@redhat.com>
497
498 * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
499 elf32-frvfdpic.
500
d0d6a25b
AM
5012004-04-30 Alan Modra <amodra@bigpond.net.au>
502
503 * ldlang.c (unique_section_p): Pass section parm, return true on
504 group sections.
505 (output_section_callback): Adjust.
506 * ldlang.h (unique_section_p): Update prototype.
507 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
508
755306be
EB
5092004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
510
eea6121a 511 * ld.texinfo (--gc-sections): Remove restriction for
755306be
EB
512 dynamic linking.
513
8a7140c3
NC
5142004-04-29 Brian Ford <ford@vss.fsi.com>
515
516 * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
517 for DWARF 2/3. Update stab section's syntax.
518
2f9636ba
AM
5192004-04-29 Alan Modra <amodra@bigpond.net.au>
520
521 * pe-dll.c: Revert changes accidentally committed 2004-03-08.
522 (fill_edata): Correct pointer arithmetic.
523
23867d67
CD
5242004-04-21 Chris Demetriou <cgd@broadcom.com>
525
526 * ld.texinfo: Remove MIPS --embedded-relocs documentation.
527 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
528 * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
529 (EXTRA_EM_FILE): Use mipsecoff.em
530 * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
531 (EXTRA_EM_FILE): Use mipsecoff.em
532 * emultempl/mipsecoff.em: Restructure to be included as an
533 extra emulation file.
534 (check_sections, gld${EMULATION_NAME}_after_open)
535 (gld${EMULATION_NAME}_after_allocation)
536 (gld${EMULATION_NAME}_get_script)
537 (ld_${EMULATION_NAME}_emulation): Remove
538 (gld${EMULATION_NAME}_before_parse): Rename to...
539 (mipsecoff_before_parse): This.
540 (LDEMUL_BEFORE_PARSE): Define.
541 * emultempl/mipself.em: Remove file.
542 * scripttempl/mips.sc (.rel.sdata): Do not include in output.
543 (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
544 these symbols.
545 * Makefile.am: Remove dependencies on emultempl/mipself.em.
546 * Makefile.in: Regenerate.
547
1502569c
NC
5482004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
549
550 * ld.texinfo (synthesizing on H8/300): Information about linker
551 relaxation support for bit manipulation instructions and system
552 control instructions is added.
553
c894ddfb
HPN
5542004-04-21 Hans-Peter Nilsson <hp@axis.com>
555
556 * NEWS: Mention change in DEFINED semantics.
557
a85bf78e
EB
5582004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
559
560 * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
561 (.data): Add KEEP for .gnu.linkonce.d.*personality*.
562 (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
563
58434bc1
BE
5642004-04-21 Ben Elliston <bje@au.ibm.com>
565
566 * ld.texinfo (Simple Example): Add missing punctuation.
567
7a7f4e42
CD
5682004-04-20 Chris Demetriou <cgd@broadcom.com>
569
570 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
571
3737f867
JJ
5722004-04-19 Jakub Jelinek <jakub@redhat.com>
573
574 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
575 specially.
576
3c17e4f7
DS
5772004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
578
579 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
580 with default priority. Likewise for dtors.
581
279500de
TS
5822004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
583
584 * configure.host: Remove mips*-dec-bsd* target.
585 * configure.tgt: Likewise.
586
52f89c0a
RS
5872004-04-08 Richard Sandiford <rsandifo@redhat.com>
588
589 * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
590 * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
591 * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
592 * emultempl/irix.em: New file.
593 * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
594 dependencies.
595 * Makefile.in: Regenerate.
596
e489d0ae
PB
5972004-04-01 Paul Brook <paul@codesourcery.com>
598
599 * emultempl/armelf.em (byteswap_code): Add.
600 (arm_elf_before_allocation): Pass extra parameter.
601 (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
602 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
603 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
604 * emultempl/armelf_oabi.em: Pass extra parameter.
605 * ld.texinfo: Document --be8.
606
7cc8057a
SS
6072004-03-30 Stan Shebs <shebs@apple.com>
608
609 Remove long-obsolete MPW support.
610 * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
611 * Makefile.am (mpw): Remove file-presynthesizing actions.
612 * Makefile.in: Likewise.
613 * ldfile.c (slash): Remove MPW case.
614 * ldlex.l [MPW]: Remove unused definition.
615
0949843d
NC
6162004-03-30 Galit Heller <Galit.Heller@nsc.com>
617
618 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
619 (eelf32cr16c.c): New target.
620 * Makefile.in: Regenerate.
621 * configure.tgt: Handle cr16c-*-elf*.
622 * emulparams/elf32cr16c.sh: New file.
623 * scripttempl/elfcr16c.sc: Likewise
624 * NEWS: Mention support for new target.
625
0a159ef8
NC
6262004-03-30 Nick Clifton <nickc@redhat.com>
627
628 * po/sv.po: Updated Swedish translation.
629
7a945db6
AM
6302004-03-27 Alan Modra <amodra@bigpond.net.au>
631
632 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
633 * emultempl/hppaelf.em: Likewise.
634 * emultempl/ppc64elf.em: Likewise.
635 * emultempl/sh64elf.em: Likewise.
636
5a580b3a
AM
6372004-03-25 Alan Modra <amodra@bigpond.net.au>
638
639 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
640 size_dynamic_sections call.
641
b9cf773d
AM
6422004-03-23 Alan Modra <amodra@bigpond.net.au>
643
644 PR 51.
645 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
646 link_info.wrap_char.
647
59c2e50f
L
6482004-03-20 H.J. Lu <hongjiu.lu@intel.com>
649
650 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
651 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
652
44349745
AO
6532004-03-20 Alexandre Oliva <aoliva@redhat.com>
654
655 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
656
81359a70
AM
6572004-03-19 Alan Modra <amodra@bigpond.net.au>
658
659 * config.in: Regenerate.
660 * po/ld.pot: Regenerate.
661
4a43e768
AM
6622004-03-18 Alan Modra <amodra@bigpond.net.au>
663
664 * ld.texinfo: Add --as-needed doco.
665 * ldmain.c (as_needed): New global var.
666 * ldmain.h (as_needed): Declare.
667 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
668 OPTION_NO_AS_NEEDED.
669 (ld_options): Likewise.
670 (parse_args): Handle them.
671 * ldlang.h (lang_input_statement_type): Add as_needed field.
672 * ldlang.c (new_afile): Set p->as_needed.
673 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
674 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
675 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
676
677 * ldlang.c (open_input_bfds): Remove useless cast.
678 (lang_do_assignments_1): Likewise.
679 (lang_for_each_input_section): Delete.
680
9183ed4b
AM
6812004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
682
683 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
684
ee31fbd0
NC
6852004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
686
687 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
688 private when building implib.
689
e5caec89
NS
6902004-03-05 Nathan Sidwell <nathan@codesourcery.com>
691
692 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
693 SEC_THREAD_LOCAL.
694 (IGNORE_SECTION): Ignore .tbss sections too.
695 (lang_size_sections_1): .tbss sections do not advance dot.
696
cc2f008e
AS
6972004-03-01 Andreas Schwab <schwab@suse.de>
698
699 * ld.texinfo (Options): Fix example for --wrap.
700
f5a95868
DS
7012004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
702
703 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
704 not NULL.
705
177b729b
ILT
7062004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
707
708 * ldlang.c (lang_check): Use %P, not %E, in error message.
709
1b493742
NS
7102004-02-23 Nathan Sidwell <nathan@codesourcery.com>
711
712 * ldlang.h (struct lang_output_section_state): Change processed
713 field's type.
714 * ldexp.c (check, invalid): Remove.
715 (fold_name): Move valid_p assignments. Create undefined symbol
716 when needed. Directly exampine section's processd flag.
717 * ldlang.c (lang_output_section_statement_lookup): Adjust
718 processed field init.
719 (lang_size_sections_1): Allow LOADADDR when determining section's
720 VMA. Adjust error message. Fold data statement's expr.
721 (lang_size_sections): Correctly increment lang_statement_iteration.
722
7232004-02-23 Alan Modra <amodra@bigpond.net.au>
724
725 * ldexp.c (fold_tree): Follow indirect symbols.
b9cf773d 726
876f4090
NS
7272004-02-20 Nathan Sidwell <nathan@codesourcery.com>
728
729 * ldgram.y (exp): Add two operand ALIGN.
730 * ldexp.c (fold_binary): Add ALIGN_K case.
731 * ld.texinfo (ALIGN): Document two operand version.
732
384d938f
NS
7332004-02-19 Nathan Sidwell <nathan@codesourcery.com>
734
735 * ldlang.c (map_input_to_output_sections): Initialize sections
736 mentioned in a data statement expression.
737 (lang_do_assignments_1): Add data statement's expression's
738 section's vma.
739
b6ca8815
NS
7402004-02-18 Nathan Sidwell <nathan@codesourcery.com>
741
742 * ldgram.y (statement_anywhere): Add assert rule.
743 * ldlang.c (exp_init_os): Add assert case.
744
c92c35e7
AC
7452004-02-14 Andrew Cagney <cagney@redhat.com>
746
747 * ldmain.c (remove_output): Call bfd_cache_close.
748
9bf78c99
RS
7492004-02-14 Richard Sandiford <rsandifo@redhat.com>
750
751 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
752 .MIPS.content* and .MIPS.events* sections.
753
f3806916
DJ
7542004-02-09 Daniel Jacobowitz <drow@mvista.com>
755
756 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
757 .note.gnu.arm.ident to after allocated sections. Mark its
758 address as 0.
759
4c8e70d7
DJ
7602004-02-09 Daniel Jacobowitz <drow@mvista.com>
761
762 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
763 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
764 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
765 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
766 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
767
ff71f4f7
NC
7682004-02-05 Nick Clifton <nickc@redhat.com>
769
770 * emultempl/pe.em (_after_open): Fix typo in previous delta.
771
07a68a80
NC
7722004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
773
774 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
775
1dd3bf68
AM
7762004-01-28 Alan Modra <amodra@bigpond.net.au>
777
586196d5
AM
778 * genscripts.sh: Fix typo.
779
1dd3bf68
AM
780 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
781
13d9421f
JJ
7822004-01-24 Jakub Jelinek <jakub@redhat.com>
783
784 * emulparams/elf64_ia64.sh: Put .rela.opd into
785 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
786
4d8907ac
DS
7872004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
788
789 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
790 * ld.texinfo (--omagic): Note that writable text section
791 does not conform to published PE-COFF specs.
792 (--enable-auto-import): Likewise.
793
e5c60db5
AM
7942004-01-15 Alan Modra <amodra@bigpond.net.au>
795
796 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
797
6bdafbeb
NC
7982004-01-13 Nick Clifton <nickc@redhat.com>
799
800 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
801 which if true will prevent the LMA region being used as a
802 replacement for a default VMA region.
586196d5
AM
803 (lang_leave_output_section_statement): Pass extra parameter.
804 (lang_leave_overlay): Likewise.
805 * ld.texinfo (Output Section LMA): Document that the LMA
6bdafbeb
NC
806 region can be set to the VMA region if no VMA has been set.
807 * ldlang.h (struct lang_output_section_phdr_list): Create a
808 typedef for this type. Minor formatting fixes.
586196d5 809
9dfc8ab2
NC
8102004-01-13 Nick Clifton <nickc@redhat.com>
811
812 * ldlang.c (lang_size_sections_1): If dot is advanced, then
813 assume that the section should be allocated.
814
8325c4dd
AM
8152004-01-13 Alan Modra <amodra@bigpond.net.au>
816
817 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
818 sections. Do ignore SEC_NEVER_LOAD sections.
819 (lang_size_sections_1): Remove test made redundant with the above.
820
83490352
AM
8212004-01-09 Alan Modra <amodra@bigpond.net.au>
822
823 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
824 program_header_size.
825
005e1118
AO
8262004-01-06 Alexandre Oliva <aoliva@redhat.com>
827
828 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
829 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
830 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
831 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
832 (MAXPAGESIZE): Set to 64Kb.
833 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
834 __ROFIXUP_END__. Don't map .rofixup.got any more.
835 * emulparams/elf32frv.sh (NOP): Set.
836 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
837 * configure.tgt: Add frv-*-*linux*.
838 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
839 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
840 (eelf32frvfd.c): New.
841 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
842 * emulparams/elf32frv.sh: Reverted previous two patches.
843 * emulparams/elf32frvfd.sh: New.
844 * Makefile.in: Rebuilt.
845 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
846 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
847 .rofixup.got to .rofixup.
848 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
849 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
850 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
851
060feee5
JJ
8522004-01-05 Jakub Jelinek <jakub@redhat.com>
853
854 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
855 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
856
5e2f1575
AM
8572004-01-03 Alan Modra <amodra@bigpond.net.au>
858
e5caa5e0
AM
859 * ldexp.c (align_n): Make static.
860 * ldexp.h (align_n): Delete declaration.
861 * ldlang.h (lang_enter_output_section_statement): Remove
862 block_value param.
863 * ldlang.c (lang_enter_output_section_statement): Likewise.
864 (TO_ADDR, TO_SIZE): Define.
c2df3ea5 865 (opb_shift): New var.
e5caa5e0
AM
866 (init_opb): New function.
867 (print_input_section): Call init_opb and use TO_ADDR.
868 (print_data_statement, print_reloc_statement): Likewise.
869 (print_padding_statement): Likewise.
c2df3ea5 870 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
e5caa5e0
AM
871 (lang_check_section_addresses): Likewise.
872 (lang_size_sections_1): Likewise.
873 (lang_do_assignments_1): Likewise.
874 (lang_set_startof): Likewise.
c2df3ea5 875 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
e5caa5e0 876 (lang_process): Call init_opb.
c2df3ea5 877 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
e5caa5e0
AM
878 (lang_enter_overlay_section): Adjust
879 lang_enter_output_section_statement call.
880 * ldgram.y: Likewise.
881 * mri.c (mri_draw_tree): Likewise.
882 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
883 * emultempl/mmo.em (mmo_place_orphan): Likewise.
884 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
885
5e2f1575
AM
886 * ldfile.c (ldfile_set_output_arch): Add defarch param.
887 * ldfile.h (ldfile_set_output_arch): Ditto.
888 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
889 ldfile_set_output_arch.
890 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
891 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
892 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
893 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
894 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
895 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
896 * ldgram.y: Adjust ldfile_set_output_arch call.
897 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
898 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
899 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
900 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
901 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
902 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
903 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
904
b50c15dc
NC
9052004-01-02 Bernardo Innocenti <bernie@develer.com>
906
907 * configure.tgt: Add m68k-uClinux target.
6edf0760 908
c9e214e5 909For older changes see ChangeLog-0203
252b5132
RH
910\f
911Local Variables:
912mode: change-log
913left-margin: 8
914fill-column: 74
915version-control: never
916End:
This page took 0.370696 seconds and 4 git commands to generate.