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