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