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