*** empty log message ***
[binutils-gdb.git] / ld / ChangeLog
1 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2
3 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
4 eelf_i386_sol2.o.
5 (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
6 (eelf32_sparc_sol2.c): New rule.
7 (eelf64_sparc_sol2.c): Likewise.
8 (eelf_x86_64_sol2.c): Likewise.
9 (eelf_i386_sol2.c): Likewise.
10 * Makefile.in: Regenerate.
11 * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
12 elf_i386_sol2.
13 Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
14 (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
15 Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
16 (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
17 Add target_extra_emuls.
18 (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
19 Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
20 (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
21 Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
22 * emulparams/elf32_sparc_sol2.sh: New file.
23 * emulparams/elf64_sparc_sol2.sh: New file.
24 * emulparams/elf_i386_sol2.sh: New file.
25 * emulparams/elf_x86_64_sol2.sh: New file.
26 * emultempl/solaris2.em: New file.
27
28 2010-02-27 H.J. Lu <hongjiu.lu@intel.com>
29
30 PR ld/11330
31 * ld.texinfo: Replace explicitely with explicitly.
32
33 2010-02-27 Jie Zhang <jie@codesourcery.com>
34
35 * scripttempl/armbpabi.sc: Don't combine .init_array.* or
36 .fini_array.* when do relocatable linking.
37 * scripttempl/elf.sc: Likewise.
38 * scripttempl/elf32sh-symbian.sc: Likewise.
39 * scripttempl/elf64hppa.sc: Likewise.
40 * scripttempl/elfxtensa.sc: Likewise.
41
42 2010-02-26 Alan Modra <amodra@gmail.com>
43
44 * scripttempl/elf.sc (.fini_array): Place input .fini_array after
45 .fini_array.*.
46 * scripttempl/armbpabi.sc: Likewise.
47 * scripttempl/elf32sh-symbian.sc: Likewise.
48 * scripttempl/elf64hppa.sc: Likewise.
49 * scripttempl/elfxtensa.sc: Likewise.
50
51 2010-02-25 Alan Modra <amodra@gmail.com>
52
53 PR ld/11304
54 * ldlang.c (init_os): Remove isec param. Don't check for
55 bfd_section already set or call bfd_init_private_section_data
56 here.
57 (exp_init_os): Update init_os call.
58 (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE
59 flags. Call bfd_init_private_section_data here.
60 (map_input_to_output_sections): Tidy. Update init_os calls.
61 Use os->sectype to select sec flags for lang_data_statement.
62
63 2010-02-23 Alan Modra <amodra@gmail.com>
64
65 PR ld/11304
66 * ldlang.c: Revert last patch.
67
68 2010-02-23 Nick Clifton <nickc@redhat.com>
69
70 * po/bg.po: Updated Bulgarian translation.
71
72 2010-02-22 Alan Modra <amodra@gmail.com>
73
74 PR ld/11304
75 * ldlang.c (exp_init_os): Delete forward declaration.
76 (init_os): Don't check for bfd_section already created and don't
77 init addr_tree and load_base expressions here.
78 (map_input_to_output_sections): Only map input to output sections
79 and set constraints here, and as an exception, create output
80 sections which have their address set. Move all the other code to..
81 (create_other_output_sections): ..here. New function. Handle init
82 of addr_tree and load_base here too.
83 (lang_process): Call create_other_output_sections.
84
85 2010-02-19 Alan Modra <amodra@gmail.com>
86
87 * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
88 * Makefile.in: Regenerate.
89
90 2010-02-19 Alan Modra <amodra@gmail.com>
91
92 * ldlang.c (unique_section_p): Add os param. Allow group
93 sections to match /DISCARD/. Update all callers.
94 * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
95 (LDEMUL_BEFORE_ALLOCATION): Define.
96
97 2010-02-15 Nick Clifton <nickc@redhat.com>
98
99 * po/vi.po: Updated Vietnamese translation.
100
101 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
102
103 * Makefile.am (CFILES): Add ldlex-wrapper.c.
104 (OFILES): Replace ldlex.c with ldlex-wrapper.c.
105 (ldlex.o): Replace with...
106 (ldlex-wrapper.o): ...this new rule.
107 (EXTRA_ld_new_SOURCES): Add ldlex.l.
108 (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
109 * Makefile.in: Regenerate.
110 * ldlex.l (sysdep.h): Don't include here.
111 * ldlex-wrapper.c: New file.
112
113 2010-02-09 Alan Modra <amodra@gmail.com>
114
115 * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
116 function parameters.
117
118 2010-02-05 Nick Clifton <nickc@redhat.com>
119
120 * configure.in (ALL_LIBGUAS): Add bg.
121 * configure: Regenerate.
122 * po/bg.po: New Bulgarian translation.
123
124 2010-02-05 Ryan Mansfield <rmansfield@qnx.com>
125
126 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
127 --target1-abs and --target1-rel options.
128
129 2010-02-03 Nick Clifton <nickc@redhat.com>
130
131 * emultempl/alphaelf.em: Update value expected from elf_object_id.
132 * emultempl/hppaelf.em: Likewise.
133 * emultempl/mipself.em: Likewise.
134 * emultempl/ppc32elf.em: Likewise.
135 * emultempl/ppc64elf.em: Likewise.
136
137 2010-02-03 Alan Modra <amodra@gmail.com>
138
139 * emultempl/ppc64elf.em (build_toc_list): Report errors from
140 ppc64_elf_next_toc_section.
141 (after_allocation): Update for changed function names and params.
142 Run second pass of multitoc partitioning.
143
144 2010-01-21 Jon Grant <jg@jguk.org>
145 Nick Clifton <nickc@redhat.com>
146
147 PR 4437
148 * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
149 a missing file or library. Instead mark the entry as missing and
150 set the global flag to indicate that missing files were
151 encountered.
152 * ldlang.c (missing_files): New exported variable.
153 (load_symbols): Skip loading if the file is missing.
154 (open_input_bfds): Terminate link if any input files were
155 missing.
156 * ldlang.h (struct lang_input_statement_struct): Add missing_file
157 field.
158 Add export of missing_file variable.
159
160 2010-01-13 DJ Delorie <dj@redhat.com>
161
162 * emultempl/elf32.em (_place_orphan): If an input section doesn't
163 match an existing output section, but an unused output section
164 statement does match, use it.
165 * emultempl/pe.em (_place_orphan): Likewise.
166 * emultempl/pep.em (_place_orphan): Likewise.
167
168 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
169
170 * configure: Regenerate.
171 * Makefile.in: Regenerate.
172
173 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
174
175 * ldver.c (ldversion): Change to "Copyright 2010".
176
177 2010-01-08 Alan Modra <amodra@gmail.com>
178
179 PR 11107
180 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
181
182 For older changes see ChangeLog-2009
183 \f
184 Local Variables:
185 mode: change-log
186 left-margin: 8
187 fill-column: 74
188 version-control: never
189 End: