Rename sh-symbian-elf toolchain to sh-*-symbianelf
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2004-07-09 Nick Clifton <nickc@redhat.com>
2
3 * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
4
5 2004-07-06 Tomer Levi <Tomer.Levi@nsc.com>
6
7 * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
8 (eelf32crx.c): New target.
9 * Makefile.in: Regenerate.
10 * configure.tgt: Handle crx-*-elf*.
11 * emulparams/elf32crx.sh: New file.
12 * emultempl/crxelf.em: New file.
13 * scripttempl/elf32crx.sc: New file.
14 * NEWS: Mention new target.
15
16 2004-07-06 Nick Clifton <nickc@redhat.com>
17
18 * Makefile.am: Add eshlsymbian.c.
19 * Makefile.in: Regenerate.
20 * configure.tgt: Add sh*-symbian-elf target.
21 * emulparams/shlsymbian.sh: New file. Configure the
22 sh-symbian-elf linker scripts.
23 * scripttemp/elf32sh-symbian.sc: New file. Linker script
24 template for the sh-symbian-elf target.
25
26 2004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
27
28 * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
29 * emulparams/hppalinux.sh: Likewise.
30 * scripttempl/elf.sc: Place .plt just before .got when .plt is in
31 data segment and PLT_BEFORE_GOT is defined.
32
33 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
34
35 * ld.texinfo (WIN32): Document PE weak symbols.
36
37 2004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38
39 * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
40
41 2004-07-01 H.J. Lu <hongjiu.lu@intel.com>
42
43 * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
44 the section.
45
46 2004-06-29 Alan Modra <amodra@bigpond.net.au>
47
48 * ldlang.c (lang_reset_memory_regions): Save last relax pass section
49 size in rawsize.
50
51 2004-06-24 Alan Modra <amodra@bigpond.net.au>
52
53 * ldlang.c (print_output_section_statement): Don't print size before
54 relaxation.
55 (IGNORE_SECTION): Remove bfd arg. Update all callers.
56
57 * ldexp.c (fold_name): .. See below.
58 * ldlang.c (section_already_linked, print_output_section_statement,
59 print_input_section, insert_pad, size_input_section,
60 lang_check_section_addresses, lang_size_sections_1,
61 lang_size_sections, lang_do_assignments_1, lang_set_startof,
62 lang_one_common, lang_reset_memory_regions, lang_process,
63 lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
64 * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
65 * pe-dll.c (process_def_file, generate_reloc): ..
66 * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
67 gld${EMULATION_NAME}_before_allocation): ..
68 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
69 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
70 sh64_elf_${EMULATION_NAME}_after_allocation): ..
71 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
72 * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
73 ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
74 "size" instead of "_raw_size" and "_cooked_size". Expand
75 bfd_section_size macro invocations.
76
77 2004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
78
79 * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
80 ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
81 ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
82 ___crt_xt_end__.
83 (.tls): Define ___tls_start__ and ___tls_end__.
84
85 2004-06-21 Alexandre Oliva <aoliva@redhat.com>
86
87 * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
88
89 2004-06-18 Adam Nemet <anemet@lnxw.com>
90
91 * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
92 * configure: Regenerate.
93
94 2004-06-15 Jakub Jelinek <jakub@redhat.com>
95
96 * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
97 .gcc_except_table output sections lost accidentally with
98 -z relro patch.
99
100 2004-06-15 Alan Modra <amodra@bigpond.net.au>
101
102 * ldwrite.c (build_link_order): Use bfd_get_section_size
103 instead of bfd_get_section_size_before_reloc or _raw_size.
104 * pe-dll.c (process_def_file): Likewise.
105
106 2004-06-14 Alan Modra <amodra@bigpond.net.au>
107
108 From Richard Wirth <r.wirth@wirthware.de>
109 * ldlang.c (lang_finish): Don't free lang_definedness_table.
110
111 2004-05-29 Alan Modra <amodra@bigpond.net.au>
112
113 * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
114 (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
115
116 2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
117
118 * testsuite/ld-sh/arch/arch.exp: New test script.
119 * testsuite/ld-sh/arch/arch_expected.txt: New file.
120 * testsuite/ld-sh/arch/sh.s: New file.
121 * testsuite/ld-sh/arch/sh2.s: New file.
122 * testsuite/ld-sh/arch/sh-dsp.s: New file.
123 * testsuite/ld-sh/arch/sh2e.s: New file.
124 * testsuite/ld-sh/arch/sh3-nommu.s: New file.
125 * testsuite/ld-sh/arch/sh3.s: New file.
126 * testsuite/ld-sh/arch/sh3-dsp.s: New file.
127 * testsuite/ld-sh/arch/sh3e.s: New file.
128 * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
129 * testsuite/ld-sh/arch/sh4-nofpu.s: New file.
130 * testsuite/ld-sh/arch/sh4.s: New file.
131 * testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
132 * testsuite/ld-sh/arch/sh4al-dsp.s: New file.
133 * testsuite/ld-sh/arch/sh4a.s: New file.
134
135 2004-05-28 Alan Modra <amodra@bigpond.net.au>
136
137 * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
138 throughout file.
139 * lexsup.c: Formatting. Wrap long lines.
140 * ldwrite.c: Update copyright date.
141
142 * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
143 (output_section_callback): Nor SEC_KEEP here.
144 (gc_section_callback): Twiddle SEC_EXCLUDE here.
145 (lang_gc_wild): Delete. Fold into..
146 (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage
147 collecting.
148 (lang_process): Always call lang_gc_sections.
149 (lang_place_orphans): Handle SEC_EXCLUDE sections.
150 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
151 SEC_EXCLUDE code.
152
153 2004-05-26 H.J. Lu <hongjiu.lu@intel.com>
154
155 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
156 SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
157 * ldlang.c (lang_add_section): Likewise.
158
159 2004-05-26 Alan Modra <amodra@bigpond.net.au>
160
161 * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
162 sections when doing a final link. Clear SEC_EXCLUDE when doing
163 a relocable link, except for SEC_DEBUGGING sections.
164 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
165 same condition here to drop SEC_EXCLUDE orphan sections.
166
167 2004-05-25 Alan Modra <amodra@bigpond.net.au>
168
169 * ldlang.c (lang_process): Call bfd_merge_sections later, and
170 only when not a relocatable link.
171 (print_input_section): Handle SEC_EXCLUDE sections.
172 (size_input_section): Don't update dot on SEC_EXCLUDE sections.
173 (lang_do_assignments_1): Likewise.
174 * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
175 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
176 * emultempl/hppaelf.em (build_section_lists): Likewise.
177 * emultempl/ppc64elf.em (build_toc_list): Likewise.
178 (build_section_lists): Likewise.
179
180 2004-05-23 Andreas Schwab <schwab@suse.de>
181
182 * ld.texinfo (Options): Fix typo in last change.
183
184 2004-05-21 Andy Chittenden <achittenden@bluearc.com>
185
186 * ld.h (ld_config_type): Add new field: hash_table_size.
187 * ldmain.c: Initialise the new field to zero. If it is non-zero
188 after parsing the linker's command line call
189 bfd_hash_set_default_size.
190 * lexsup.c (option_values): Add OPTION_HASH_SIZE.
191 (ld_options): Add hash-size.
192 (parse_args): Parse --hash-size option. Allow
193 --reduce-memory-overheads to set the default hash table size as
194 well.
195 * ld.texinfo: Document the new switch. Also mention that
196 --reduce-memory-overheads can affect the hash table size.
197 * NEWS: Mention the new feature.
198
199 2004-05-19 J"orn Rennecke <joern.rennecke@superh.com>
200
201 * NEWS: Mention new linker map file generation and the
202 --reduce-memory-overheads option.
203 * ld.texinfo: Document --reduce-memory-overheads option.
204 * ld.h (map_symbol_def): New struct.
205 (struct user_section_struct, section_userdata_type): Rename to:
206 (struct lean_user_section_struct, lean_section_userdata_type).
207 (struct fat_user_section_struct, fat_section_userdata_type): New.
208 (SECTION_USERDATA_SIZE): Define.
209 (args_type): New member reduce_memory_overheads.
210 * ldlang.c (map_obstack): New static variable.
211 (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
212 (lang_map): Unless command_line.reduce_memory_overheads is set,
213 initialize lists of defined symbols for each section.
214 (print_input_section): Unless command_line.reduce_memory_overheads
215 is set, use print_all_symbols.
216 (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
217 * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
218 * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
219 (ld_options): Add entry for --reduce-memory-overheads.
220 (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
221
222 2004-05-19 Jakub Jelinek <jakub@redhat.com>
223
224 * ldgram.y (sect_constraint): New.
225 (ONLY_IF_RO, ONLY_IF_RW): New tokens.
226 (section): Add sect_constraint. Pass additional argument
227 to lang_enter_output_section_statement.
228 * mri.c (mri_draw_tree): Pass additional argument to
229 lang_enter_output_section_statement.
230 * emultempl/pe.em (place_orphan): Likewise.
231 (output_prev_sec_find): Disregard output section statements with
232 constraint == -1.
233 * emultempl/mmo.em (output_prev_sec_find): Likewise.
234 (mmo_place_orphan): Pass additional argument to
235 lang_enter_output_section_statement.
236 * emultempl/elf32.em (output_prev_sec_find): Disregard output section
237 statements with constraint == -1.
238 (place_orphan): Pass additional argument to
239 lang_enter_output_section_statement.
240 * ldlang.c (lang_enter_overlay_section): Likewise.
241 (lang_output_section_find_1): New.
242 (lang_output_section_find): Use it.
243 (lang_output_section_statement_lookup_1): New.
244 (lang_output_section_statement_lookup): Use it.
245 (check_section_callback, check_input_sections): New.
246 (map_input_to_output_sections): Check if all input sections
247 are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
248 (strip_excluded_output_sections): Disregard output section statements
249 with constraint == -1.
250 (lang_record_phdrs): Likewise.
251 (lang_enter_output_section_statement): Add constraint argument.
252 Use lang_output_section_statement_lookup_1.
253 * ldlang.h (lang_output_section_statement_type): Add constraint
254 and all_input_readonly fields.
255 (lang_enter_output_section_statement): Adjust prototype.
256 * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
257 * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
258 segment if all input sections are readonly.
259
260 2004-05-19 Adam Nemet <anemet@lnxw.com>
261
262 * scripttempl/i386lynx.sc: Remove file.
263
264 2004-05-17 Bob Wilson <bob.wilson@acm.org>
265
266 * ld.texinfo (Output Section Address): Correct subsection name.
267
268 2004-05-17 Adam Nemet <anemet@lnxw.com>
269
270 * configure.tgt (powerpc-*-lynxos* case): New case.
271 * configure.host (i[3-7]86-*-lynxos* case): Remove case.
272 * emulparams/ppclynx.sh: New file.
273 * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
274 * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
275 (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
276 (eppclynx.c): New rule.
277 * Makefile.in: Regenerate.
278
279 2004-05-13 Joel Sherrill <joel@oarcorp.com>
280
281 * configure.tgt (or32-*-rtems*): Switch to elf and
282 support versioned targets.
283
284 2004-05-13 Nick Clifton <nickc@redhat.com>
285
286 * po/fr.po: Updated French translation.
287
288 2004-05-11 Jakub Jelinek <jakub@redhat.com>
289
290 * genscripts.sh: Generate -z combreloc -z now -z relro scripts
291 for binaries, -shared and -pie.
292 * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
293 * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
294 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
295 (OTHER_RELRO_SECTIONS): ... this.
296 * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
297 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
298 -z relro and -z norelro.
299 (gld${EMULATION_NAME}_list_options): Add it to usage.
300 (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
301 -z relro scripts when appropriate.
302 * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
303 Create separate .got.plt section if SEPARATE_GOTPLT.
304 Move sections which are only written during relocation handling
305 to the beginning of RW segment. If NO_SMALL_DATA, move .got
306 before .data. Add DATA_SEGMENT_RELRO_END directive.
307 Include OTHER_RELRO_SECTIONS.
308 * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
309 * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
310 (fold_unary): Likewise.
311 (fold_binary): Handle -z relro.
312 * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
313 exp_dataseg_relro_adjust phases. Add relro_end field.
314 * ldmain.c (main): Initialize link_info.relro to FALSE.
315 * ldlang.c (lang_size_sections): Handle -z relro.
316
317 2004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
318
319 * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
320
321 2004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
322
323 * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
324 before printing it with %W.
325
326 2004-05-07 Brian Ford <ford@vss.fsi.com>
327 DJ Delorie <dj@redhat.com>
328
329 * emultempl/pe.em (real_flags): New static.
330 (OPTION_LARGE_ADDRESS_AWARE): New define.
331 (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
332 (gld_${EMULATION_NAME}_list_options): Likewise.
333 (gld${EMULATION_NAME}_handle_option): Likewise.
334 (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
335 * ld.texinfo: Document it.
336 * NEWS: Mention it.
337
338 2004-05-07 Brian Ford <ford@vss.fsi.com>
339
340 * NEWS: Mention DWARF 2 support for i386pe.
341
342 2004-05-05 Alexandre Oliva <aoliva@redhat.com>
343
344 * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
345 elf32-frvfdpic.
346
347 2004-04-30 Alan Modra <amodra@bigpond.net.au>
348
349 * ldlang.c (unique_section_p): Pass section parm, return true on
350 group sections.
351 (output_section_callback): Adjust.
352 * ldlang.h (unique_section_p): Update prototype.
353 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
354
355 2004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
356
357 * ld.texinfo (--gc-sections): Remove restriction for
358 dynamic linking.
359
360 2004-04-29 Brian Ford <ford@vss.fsi.com>
361
362 * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
363 for DWARF 2/3. Update stab section's syntax.
364
365 2004-04-29 Alan Modra <amodra@bigpond.net.au>
366
367 * pe-dll.c: Revert changes accidentally committed 2004-03-08.
368 (fill_edata): Correct pointer arithmetic.
369
370 2004-04-21 Chris Demetriou <cgd@broadcom.com>
371
372 * ld.texinfo: Remove MIPS --embedded-relocs documentation.
373 * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
374 * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
375 (EXTRA_EM_FILE): Use mipsecoff.em
376 * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
377 (EXTRA_EM_FILE): Use mipsecoff.em
378 * emultempl/mipsecoff.em: Restructure to be included as an
379 extra emulation file.
380 (check_sections, gld${EMULATION_NAME}_after_open)
381 (gld${EMULATION_NAME}_after_allocation)
382 (gld${EMULATION_NAME}_get_script)
383 (ld_${EMULATION_NAME}_emulation): Remove
384 (gld${EMULATION_NAME}_before_parse): Rename to...
385 (mipsecoff_before_parse): This.
386 (LDEMUL_BEFORE_PARSE): Define.
387 * emultempl/mipself.em: Remove file.
388 * scripttempl/mips.sc (.rel.sdata): Do not include in output.
389 (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
390 these symbols.
391 * Makefile.am: Remove dependencies on emultempl/mipself.em.
392 * Makefile.in: Regenerate.
393
394 2004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
395
396 * ld.texinfo (synthesizing on H8/300): Information about linker
397 relaxation support for bit manipulation instructions and system
398 control instructions is added.
399
400 2004-04-21 Hans-Peter Nilsson <hp@axis.com>
401
402 * NEWS: Mention change in DEFINED semantics.
403
404 2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
405
406 * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
407 (.data): Add KEEP for .gnu.linkonce.d.*personality*.
408 (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
409
410 2004-04-21 Ben Elliston <bje@au.ibm.com>
411
412 * ld.texinfo (Simple Example): Add missing punctuation.
413
414 2004-04-20 Chris Demetriou <cgd@broadcom.com>
415
416 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
417
418 2004-04-19 Jakub Jelinek <jakub@redhat.com>
419
420 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
421 specially.
422
423 2004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
424
425 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
426 with default priority. Likewise for dtors.
427
428 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
429
430 * configure.host: Remove mips*-dec-bsd* target.
431 * configure.tgt: Likewise.
432
433 2004-04-08 Richard Sandiford <rsandifo@redhat.com>
434
435 * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
436 * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
437 * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
438 * emultempl/irix.em: New file.
439 * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
440 dependencies.
441 * Makefile.in: Regenerate.
442
443 2004-04-01 Paul Brook <paul@codesourcery.com>
444
445 * emultempl/armelf.em (byteswap_code): Add.
446 (arm_elf_before_allocation): Pass extra parameter.
447 (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
448 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
449 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
450 * emultempl/armelf_oabi.em: Pass extra parameter.
451 * ld.texinfo: Document --be8.
452
453 2004-03-30 Stan Shebs <shebs@apple.com>
454
455 Remove long-obsolete MPW support.
456 * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
457 * Makefile.am (mpw): Remove file-presynthesizing actions.
458 * Makefile.in: Likewise.
459 * ldfile.c (slash): Remove MPW case.
460 * ldlex.l [MPW]: Remove unused definition.
461
462 2004-03-30 Galit Heller <Galit.Heller@nsc.com>
463
464 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
465 (eelf32cr16c.c): New target.
466 * Makefile.in: Regenerate.
467 * configure.tgt: Handle cr16c-*-elf*.
468 * emulparams/elf32cr16c.sh: New file.
469 * scripttempl/elfcr16c.sc: Likewise
470 * NEWS: Mention support for new target.
471
472 2004-03-30 Nick Clifton <nickc@redhat.com>
473
474 * po/sv.po: Updated Swedish translation.
475
476 2004-03-27 Alan Modra <amodra@bigpond.net.au>
477
478 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
479 * emultempl/hppaelf.em: Likewise.
480 * emultempl/ppc64elf.em: Likewise.
481 * emultempl/sh64elf.em: Likewise.
482
483 2004-03-25 Alan Modra <amodra@bigpond.net.au>
484
485 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
486 size_dynamic_sections call.
487
488 2004-03-23 Alan Modra <amodra@bigpond.net.au>
489
490 PR 51.
491 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
492 link_info.wrap_char.
493
494 2004-03-20 H.J. Lu <hongjiu.lu@intel.com>
495
496 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
497 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
498
499 2004-03-20 Alexandre Oliva <aoliva@redhat.com>
500
501 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
502
503 2004-03-19 Alan Modra <amodra@bigpond.net.au>
504
505 * config.in: Regenerate.
506 * po/ld.pot: Regenerate.
507
508 2004-03-18 Alan Modra <amodra@bigpond.net.au>
509
510 * ld.texinfo: Add --as-needed doco.
511 * ldmain.c (as_needed): New global var.
512 * ldmain.h (as_needed): Declare.
513 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
514 OPTION_NO_AS_NEEDED.
515 (ld_options): Likewise.
516 (parse_args): Handle them.
517 * ldlang.h (lang_input_statement_type): Add as_needed field.
518 * ldlang.c (new_afile): Set p->as_needed.
519 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
520 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
521 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
522
523 * ldlang.c (open_input_bfds): Remove useless cast.
524 (lang_do_assignments_1): Likewise.
525 (lang_for_each_input_section): Delete.
526
527 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
528
529 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
530
531 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
532
533 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
534 private when building implib.
535
536 2004-03-05 Nathan Sidwell <nathan@codesourcery.com>
537
538 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
539 SEC_THREAD_LOCAL.
540 (IGNORE_SECTION): Ignore .tbss sections too.
541 (lang_size_sections_1): .tbss sections do not advance dot.
542
543 2004-03-01 Andreas Schwab <schwab@suse.de>
544
545 * ld.texinfo (Options): Fix example for --wrap.
546
547 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
548
549 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
550 not NULL.
551
552 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
553
554 * ldlang.c (lang_check): Use %P, not %E, in error message.
555
556 2004-02-23 Nathan Sidwell <nathan@codesourcery.com>
557
558 * ldlang.h (struct lang_output_section_state): Change processed
559 field's type.
560 * ldexp.c (check, invalid): Remove.
561 (fold_name): Move valid_p assignments. Create undefined symbol
562 when needed. Directly exampine section's processd flag.
563 * ldlang.c (lang_output_section_statement_lookup): Adjust
564 processed field init.
565 (lang_size_sections_1): Allow LOADADDR when determining section's
566 VMA. Adjust error message. Fold data statement's expr.
567 (lang_size_sections): Correctly increment lang_statement_iteration.
568
569 2004-02-23 Alan Modra <amodra@bigpond.net.au>
570
571 * ldexp.c (fold_tree): Follow indirect symbols.
572
573 2004-02-20 Nathan Sidwell <nathan@codesourcery.com>
574
575 * ldgram.y (exp): Add two operand ALIGN.
576 * ldexp.c (fold_binary): Add ALIGN_K case.
577 * ld.texinfo (ALIGN): Document two operand version.
578
579 2004-02-19 Nathan Sidwell <nathan@codesourcery.com>
580
581 * ldlang.c (map_input_to_output_sections): Initialize sections
582 mentioned in a data statement expression.
583 (lang_do_assignments_1): Add data statement's expression's
584 section's vma.
585
586 2004-02-18 Nathan Sidwell <nathan@codesourcery.com>
587
588 * ldgram.y (statement_anywhere): Add assert rule.
589 * ldlang.c (exp_init_os): Add assert case.
590
591 2004-02-14 Andrew Cagney <cagney@redhat.com>
592
593 * ldmain.c (remove_output): Call bfd_cache_close.
594
595 2004-02-14 Richard Sandiford <rsandifo@redhat.com>
596
597 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
598 .MIPS.content* and .MIPS.events* sections.
599
600 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
601
602 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
603 .note.gnu.arm.ident to after allocated sections. Mark its
604 address as 0.
605
606 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
607
608 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
609 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
610 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
611 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
612 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
613
614 2004-02-05 Nick Clifton <nickc@redhat.com>
615
616 * emultempl/pe.em (_after_open): Fix typo in previous delta.
617
618 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
619
620 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
621
622 2004-01-28 Alan Modra <amodra@bigpond.net.au>
623
624 * genscripts.sh: Fix typo.
625
626 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
627
628 2004-01-24 Jakub Jelinek <jakub@redhat.com>
629
630 * emulparams/elf64_ia64.sh: Put .rela.opd into
631 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
632
633 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
634
635 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
636 * ld.texinfo (--omagic): Note that writable text section
637 does not conform to published PE-COFF specs.
638 (--enable-auto-import): Likewise.
639
640 2004-01-15 Alan Modra <amodra@bigpond.net.au>
641
642 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
643
644 2004-01-13 Nick Clifton <nickc@redhat.com>
645
646 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
647 which if true will prevent the LMA region being used as a
648 replacement for a default VMA region.
649 (lang_leave_output_section_statement): Pass extra parameter.
650 (lang_leave_overlay): Likewise.
651 * ld.texinfo (Output Section LMA): Document that the LMA
652 region can be set to the VMA region if no VMA has been set.
653 * ldlang.h (struct lang_output_section_phdr_list): Create a
654 typedef for this type. Minor formatting fixes.
655
656 2004-01-13 Nick Clifton <nickc@redhat.com>
657
658 * ldlang.c (lang_size_sections_1): If dot is advanced, then
659 assume that the section should be allocated.
660
661 2004-01-13 Alan Modra <amodra@bigpond.net.au>
662
663 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
664 sections. Do ignore SEC_NEVER_LOAD sections.
665 (lang_size_sections_1): Remove test made redundant with the above.
666
667 2004-01-09 Alan Modra <amodra@bigpond.net.au>
668
669 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
670 program_header_size.
671
672 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
673
674 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
675 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
676 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
677 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
678 (MAXPAGESIZE): Set to 64Kb.
679 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
680 __ROFIXUP_END__. Don't map .rofixup.got any more.
681 * emulparams/elf32frv.sh (NOP): Set.
682 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
683 * configure.tgt: Add frv-*-*linux*.
684 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
685 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
686 (eelf32frvfd.c): New.
687 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
688 * emulparams/elf32frv.sh: Reverted previous two patches.
689 * emulparams/elf32frvfd.sh: New.
690 * Makefile.in: Rebuilt.
691 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
692 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
693 .rofixup.got to .rofixup.
694 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
695 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
696 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
697
698 2004-01-05 Jakub Jelinek <jakub@redhat.com>
699
700 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
701 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
702
703 2004-01-03 Alan Modra <amodra@bigpond.net.au>
704
705 * ldexp.c (align_n): Make static.
706 * ldexp.h (align_n): Delete declaration.
707 * ldlang.h (lang_enter_output_section_statement): Remove
708 block_value param.
709 * ldlang.c (lang_enter_output_section_statement): Likewise.
710 (TO_ADDR, TO_SIZE): Define.
711 (opb_shift): New var.
712 (init_opb): New function.
713 (print_input_section): Call init_opb and use TO_ADDR.
714 (print_data_statement, print_reloc_statement): Likewise.
715 (print_padding_statement): Likewise.
716 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
717 (lang_check_section_addresses): Likewise.
718 (lang_size_sections_1): Likewise.
719 (lang_do_assignments_1): Likewise.
720 (lang_set_startof): Likewise.
721 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
722 (lang_process): Call init_opb.
723 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
724 (lang_enter_overlay_section): Adjust
725 lang_enter_output_section_statement call.
726 * ldgram.y: Likewise.
727 * mri.c (mri_draw_tree): Likewise.
728 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
729 * emultempl/mmo.em (mmo_place_orphan): Likewise.
730 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
731
732 * ldfile.c (ldfile_set_output_arch): Add defarch param.
733 * ldfile.h (ldfile_set_output_arch): Ditto.
734 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
735 ldfile_set_output_arch.
736 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
737 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
738 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
739 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
740 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
741 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
742 * ldgram.y: Adjust ldfile_set_output_arch call.
743 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
744 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
745 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
746 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
747 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
748 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
749 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
750
751 2004-01-02 Bernardo Innocenti <bernie@develer.com>
752
753 * configure.tgt: Add m68k-uClinux target.
754
755 For older changes see ChangeLog-0203
756 \f
757 Local Variables:
758 mode: change-log
759 left-margin: 8
760 fill-column: 74
761 version-control: never
762 End:
This page took 0.051687 seconds and 4 git commands to generate.