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