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