* configure: Regenerate.
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2010-04-07 Alan Modra <amodra@gmail.com>
2
3 * configure: Regenerate.
4
5 2010-04-06 H.J. Lu <hongjiu.lu@intel.com>
6
7 PR ld/11434
8 * ld/testsuite/ld-x86-64/unique1.d: New.
9 * ld/testsuite/ld-x86-64/unique1.s: Likewise.
10
11 * ld-x86-64/x86-64.exp: Run unique1.
12
13 2010-04-05 Kai Tietz <kai.tietz@onevision.com>
14
15 * emultempl/pep.em (U): Macro modified.
16 (U_SIZE): New helper macro.
17 (GET_INIT_SYMBOL_NAME): Likewise.
18 (enum options): Add OPTION_NO_LEADING_UNDERSCORE
19 and OPTION_LEADING_UNDERSCORE enumerator-values.
20 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
21 option.
22 (definfo): Add new member is_c_symbol.
23 (D): Add to macro underscore mode parameter.
24 (init): Add definition for is_c_symbol.
25 (gld_${EMULATION_NAME}_list_options): Display new options.
26 (set_pep_name): Adjust underscoring dependent fixed
27 symbol handling.
28 (gld_${EMULATION_NAME}_set_symbols): Likewise.
29 (saw_option): Likewise.
30 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
31 (set_entry_point): Initial initial_symbol_char dependent to
32 target's default and new option flag pep_leading_underscore.
33 * emultempl/pe.em (U): Macro modified.
34 (U_SIZE): New helper macro.
35 (GET_INIT_SYMBOL_NAME): Likewise.
36 (OPTION_LEADING_UNDERSCORE): Add new option define.
37 (OPTION_NO_LEADING_UNDERSCORE): Likewise.
38 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
39 option.
40 (definfo): Add new member is_c_symbol.
41 (D): Add to macro underscore mode parameter.
42 (init): Add definition for is_c_symbol.
43 (gld_${EMULATION_NAME}_list_options): Display new options.
44 (set_pep_name): Adjust underscoring dependent fixed
45 symbol handling.
46 (gld_${EMULATION_NAME}_set_symbols): Likewise.
47 (saw_option): Likewise.
48 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
49 (set_entry_point): Initial initial_symbol_char dependent to
50 target's default and new option flag pep_leading_underscore.
51 * pe-dll.c (pe_leading_underscore): New flag variable.
52 (pe_detail_list): Remove const to allow modify of
53 member underscore.
54 (pe_dll_id_target): Initialize pe_details' underscore variable
55 dependent to target's default and flag pe_leading_underscore.
56 * pe-dll.h (pe_leading_underscore): Add extern declaration of
57 option flag.
58 * pep-dll.c (pe_leading_underscore): Add alias define for
59 pep_leading_underscore.
60 * pep-dll.h (pep_leading_underscore) Add extern declaration of
61 option flag.
62 * ld.texinfo: Add documentation for --(no-)leading-underscore
63 option.
64
65 2010-03-26 Alan Modra <amodra@gmail.com>
66
67 PR ld/11426
68 * configure.host (many linux targets <HOSTING_CRT0>): Remove edits.
69 (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo.
70
71 2010-03-25 Joseph Myers <joseph@codesourcery.com>
72
73 * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
74 eelf32_tic6x_le.o.
75 (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
76 * NEWS: Add news entry for TI C6X support.
77 * configure.tgt (tic6x-*-*): New.
78 * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.
79
80 2010-03-23 Joseph Myers <joseph@codesourcery.com>
81
82 * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME,
83 BSS_NAME): Define if not already defined. Use in place of some
84 hardcoded section names.
85
86 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
87
88 * scripttempl/elf.sc (INIT_ARRAY): Re-indent.
89
90 2010-03-18 Aymeric Vincent <vincent@labri.fr>
91
92 PR ld/11384
93 * emultempl/sh64elf.em: Add missing EOF.
94
95 2010-03-18 Doug Semler <dougsemler@gmail.com>
96
97 * pe-dll.c (make_one): Make text section readonly.
98 (make_one): Add *ABS* symbol @feat.00 with value 1 to tag
99 the jump stub on X86 as /SAFESEH compatible for
100 native toolchains.
101
102 2010-03-17 Alan Modra <amodra@gmail.com>
103
104 * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from
105 *prev instead. Update all callers.
106
107 2010-03-15 Daniel Jacobowitz <dan@codesourcery.com>
108
109 * ldlang.c (lang_insert_orphan): Place loadable orphans in the same
110 region and phdrs as their placement section.
111
112 2010-03-15 Alan Modra <amodra@gmail.com>
113
114 * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New.
115 (ppc_before_allocation): Call sort_toc_sections.
116 (no_toc_sort, OPTION_NO_TOC_SORT): New.
117 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
118 PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort.
119
120 2010-03-14 Alan Modra <amodra@gmail.com>
121
122 PR ld/11378
123 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
124 ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
125
126 2010-03-11 George Gensure <werkt0@gmail.com>
127
128 PR ld/11367
129 * ldcref.c (handle_asneeded_cref): Correct copying of refs.
130
131 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
132
133 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
134 eelf_i386_sol2.o.
135 (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
136 (eelf32_sparc_sol2.c): New rule.
137 (eelf64_sparc_sol2.c): Likewise.
138 (eelf_x86_64_sol2.c): Likewise.
139 (eelf_i386_sol2.c): Likewise.
140 * Makefile.in: Regenerate.
141 * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
142 elf_i386_sol2.
143 Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
144 (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
145 Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
146 (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
147 Add target_extra_emuls.
148 (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
149 Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
150 (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
151 Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
152 * emulparams/elf32_sparc_sol2.sh: New file.
153 * emulparams/elf64_sparc_sol2.sh: New file.
154 * emulparams/elf_i386_sol2.sh: New file.
155 * emulparams/elf_x86_64_sol2.sh: New file.
156 * emultempl/solaris2.em: New file.
157
158 2010-02-27 H.J. Lu <hongjiu.lu@intel.com>
159
160 PR ld/11330
161 * ld.texinfo: Replace explicitely with explicitly.
162
163 2010-02-27 Jie Zhang <jie@codesourcery.com>
164
165 * scripttempl/armbpabi.sc: Don't combine .init_array.* or
166 .fini_array.* when do relocatable linking.
167 * scripttempl/elf.sc: Likewise.
168 * scripttempl/elf32sh-symbian.sc: Likewise.
169 * scripttempl/elf64hppa.sc: Likewise.
170 * scripttempl/elfxtensa.sc: Likewise.
171
172 2010-02-26 Alan Modra <amodra@gmail.com>
173
174 * scripttempl/elf.sc (.fini_array): Place input .fini_array after
175 .fini_array.*.
176 * scripttempl/armbpabi.sc: Likewise.
177 * scripttempl/elf32sh-symbian.sc: Likewise.
178 * scripttempl/elf64hppa.sc: Likewise.
179 * scripttempl/elfxtensa.sc: Likewise.
180
181 2010-02-25 Alan Modra <amodra@gmail.com>
182
183 PR ld/11304
184 * ldlang.c (init_os): Remove isec param. Don't check for
185 bfd_section already set or call bfd_init_private_section_data
186 here.
187 (exp_init_os): Update init_os call.
188 (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE
189 flags. Call bfd_init_private_section_data here.
190 (map_input_to_output_sections): Tidy. Update init_os calls.
191 Use os->sectype to select sec flags for lang_data_statement.
192
193 2010-02-23 Alan Modra <amodra@gmail.com>
194
195 PR ld/11304
196 * ldlang.c: Revert last patch.
197
198 2010-02-23 Nick Clifton <nickc@redhat.com>
199
200 * po/bg.po: Updated Bulgarian translation.
201
202 2010-02-22 Alan Modra <amodra@gmail.com>
203
204 PR ld/11304
205 * ldlang.c (exp_init_os): Delete forward declaration.
206 (init_os): Don't check for bfd_section already created and don't
207 init addr_tree and load_base expressions here.
208 (map_input_to_output_sections): Only map input to output sections
209 and set constraints here, and as an exception, create output
210 sections which have their address set. Move all the other code to..
211 (create_other_output_sections): ..here. New function. Handle init
212 of addr_tree and load_base here too.
213 (lang_process): Call create_other_output_sections.
214
215 2010-02-19 Alan Modra <amodra@gmail.com>
216
217 * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
218 * Makefile.in: Regenerate.
219
220 2010-02-19 Alan Modra <amodra@gmail.com>
221
222 * ldlang.c (unique_section_p): Add os param. Allow group
223 sections to match /DISCARD/. Update all callers.
224 * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
225 (LDEMUL_BEFORE_ALLOCATION): Define.
226
227 2010-02-15 Nick Clifton <nickc@redhat.com>
228
229 * po/vi.po: Updated Vietnamese translation.
230
231 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
232
233 * Makefile.am (CFILES): Add ldlex-wrapper.c.
234 (OFILES): Replace ldlex.c with ldlex-wrapper.c.
235 (ldlex.o): Replace with...
236 (ldlex-wrapper.o): ...this new rule.
237 (EXTRA_ld_new_SOURCES): Add ldlex.l.
238 (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
239 * Makefile.in: Regenerate.
240 * ldlex.l (sysdep.h): Don't include here.
241 * ldlex-wrapper.c: New file.
242
243 2010-02-09 Alan Modra <amodra@gmail.com>
244
245 * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
246 function parameters.
247
248 2010-02-05 Nick Clifton <nickc@redhat.com>
249
250 * configure.in (ALL_LIBGUAS): Add bg.
251 * configure: Regenerate.
252 * po/bg.po: New Bulgarian translation.
253
254 2010-02-05 Ryan Mansfield <rmansfield@qnx.com>
255
256 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
257 --target1-abs and --target1-rel options.
258
259 2010-02-03 Nick Clifton <nickc@redhat.com>
260
261 * emultempl/alphaelf.em: Update value expected from elf_object_id.
262 * emultempl/hppaelf.em: Likewise.
263 * emultempl/mipself.em: Likewise.
264 * emultempl/ppc32elf.em: Likewise.
265 * emultempl/ppc64elf.em: Likewise.
266
267 2010-02-03 Alan Modra <amodra@gmail.com>
268
269 * emultempl/ppc64elf.em (build_toc_list): Report errors from
270 ppc64_elf_next_toc_section.
271 (after_allocation): Update for changed function names and params.
272 Run second pass of multitoc partitioning.
273
274 2010-01-21 Jon Grant <jg@jguk.org>
275 Nick Clifton <nickc@redhat.com>
276
277 PR 4437
278 * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
279 a missing file or library. Instead mark the entry as missing and
280 set the global flag to indicate that missing files were
281 encountered.
282 * ldlang.c (missing_files): New exported variable.
283 (load_symbols): Skip loading if the file is missing.
284 (open_input_bfds): Terminate link if any input files were
285 missing.
286 * ldlang.h (struct lang_input_statement_struct): Add missing_file
287 field.
288 Add export of missing_file variable.
289
290 2010-01-13 DJ Delorie <dj@redhat.com>
291
292 * emultempl/elf32.em (_place_orphan): If an input section doesn't
293 match an existing output section, but an unused output section
294 statement does match, use it.
295 * emultempl/pe.em (_place_orphan): Likewise.
296 * emultempl/pep.em (_place_orphan): Likewise.
297
298 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
299
300 * configure: Regenerate.
301 * Makefile.in: Regenerate.
302
303 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
304
305 * ldver.c (ldversion): Change to "Copyright 2010".
306
307 2010-01-08 Alan Modra <amodra@gmail.com>
308
309 PR 11107
310 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
311
312 For older changes see ChangeLog-2009
313 \f
314 Local Variables:
315 mode: change-log
316 left-margin: 8
317 fill-column: 74
318 version-control: never
319 End:
This page took 0.03683 seconds and 5 git commands to generate.