Commit | Line | Data |
---|---|---|
fd91d419 L |
1 | 2011-09-15 H.J. Lu <hongjiu.lu@intel.com> |
2 | ||
3 | PR ld/12975 | |
4 | * ldlang.c (lang_elf_version_info): Removed. | |
5 | (lang_register_vers_node): Replace lang_elf_version_info with | |
6 | link_info.version_info. | |
7 | (lang_add_vers_depend): Likewise. | |
8 | * pe-dll.c (process_def_file_and_drectve): Likewise. | |
9 | * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise. | |
10 | ||
11 | * ldlang.h (lang_elf_version_info): Removed. | |
12 | ||
13 | * plugin.c (is_visible_from_outside): Check if symbol is hidden | |
14 | by version script. | |
15 | ||
16 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): | |
17 | Remove lang_elf_version_info. | |
18 | ||
2b7e4308 L |
19 | 2011-09-15 Dmitry Gorbachev <d.g.gorbachev@gmail.com> |
20 | ||
21 | PR ld/13183 | |
22 | * ldmain.c (add_archive_element): Support thin archive member | |
23 | for LTO. | |
24 | ||
7cf80422 NC |
25 | 2011-08-26 Nick Clifton <nickc@redhat.com> |
26 | ||
27 | * po/es.po: Updated Spanish translation. | |
28 | ||
d064f206 NC |
29 | 2011-08-26 Nick Clifton <nickc@redhat.com> |
30 | ||
31 | * NEWS: Mention that --no-copy-dt-needed-entries is now the | |
32 | default. | |
33 | ||
08efffb8 MM |
34 | 2011-08-22 Michael Matz <matz@suse.de> |
35 | ||
36 | * ldmain.c (add_DT_NEEDED_for_dynamic): Default to FALSE. | |
37 | * ld.texinfo (--copy-dt-needed-entries): Mention new default. | |
38 | ||
c77ec726 AM |
39 | 2011-08-17 Alan Modra <amodra@gmail.com> |
40 | ||
41 | PR ld/12762 | |
42 | * ldlang.c (section_already_linked): Revert 2011-07-09 changes. | |
43 | * plugin.c: Likewise. | |
44 | (asymbol_from_plugin_symbol): Create linkonce section for syms | |
45 | with comdat_key. | |
46 | ||
2de70689 MGD |
47 | 2011-08-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
48 | ||
49 | * emultempl/armelf.em (fix_arm1176): New variable. | |
50 | (arm_elf_create_output_section_statements): Pass | |
51 | fix_arm1176 option to bfd backend. | |
52 | (OPTION_FIX_ARM1176): New define. | |
53 | (OPTION_NO_FIX_ARM1176): Likewise. | |
54 | (PARSE_AND_LIST_LONGOPTS): Add new command line options. | |
55 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
56 | (PARSE_AND_LIST_ARGS_CASES): Likewise. | |
57 | * ld.texinfo: Document new command line options. | |
58 | ||
7fe550fc AM |
59 | 2011-08-09 Alan Modra <amodra@gmail.com> |
60 | ||
61 | PR ld/13066 | |
62 | * plugin.c (add_symbols): Revert 2011-08-05. | |
63 | ||
b990ad61 KT |
64 | 2011-08-06 Kai Tietz <ktietz@redhat.com> |
65 | ||
66 | * scripttempl/pep.sc: Add .debug_macro section. | |
67 | * scripttempl/pe.sc: Likewise. | |
68 | ||
43e1669b AM |
69 | 2011-08-05 Alan Modra <amodra@gmail.com> |
70 | ||
71 | PR ld/12762 | |
72 | * plugin.c (add_symbols): Exclude comdat_key symbols from symbol | |
73 | table if already seen. | |
74 | ||
4309cbf2 L |
75 | 2011-08-04 H.J. Lu <hongjiu.lu@intel.com> |
76 | ||
77 | * ldmain.c (main): Replace remove_output with ld_cleanup in | |
78 | comments. | |
79 | ||
58d180e8 AM |
80 | 2011-07-26 Alan Modra <amodra@gmail.com> |
81 | ||
82 | * emulparams/elf32ppc.sh: Source plt_unwind.sh. | |
83 | * emulparams/elf64ppc.sh: Likewise. | |
84 | * emultempl/ppc32elf.em (OPTION_NO_TLS_OPT): Adjust. | |
85 | (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, | |
86 | PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Append to | |
87 | existing values. | |
88 | * emultempl/ppc64elf.em (OPTION_STUBGROUP_SIZE): Adjust. | |
89 | (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, | |
90 | PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Append to | |
91 | existing values. | |
92 | ||
7a9068fe L |
93 | 2011-07-22 H.J. Lu <hongjiu.lu@intel.com> |
94 | ||
95 | * Makefile.am (ALL_64_EMULATIONS): Add eelf_k1om.o and | |
96 | eelf_k1om_fbsd.o | |
97 | (eelf_k1om.c): New. | |
98 | (eelf_k1om_fbsd.c): Likewise. | |
99 | * Makefile.in: Regenerated. | |
100 | ||
101 | * configure.tgt (targ64_extra_emuls): Add elf_k1om if elf_x86_64 | |
102 | is supported. Add elf_k1om_fbsd if elf_x86_64_fbsd is supported. | |
103 | (targ_extra_emuls): Likewise. | |
104 | ||
105 | * emulparams/elf_k1om.sh: New. | |
106 | * emulparams/elf_k1om_fbsd.sh: Likewise. | |
107 | ||
30824704 RM |
108 | 2011-07-16 Roland McGrath <roland@hack.frob.com> |
109 | ||
110 | * ld.h (args_type): New field print_output_format. | |
111 | * lexsup.c (enum option_values, ld_options, parse_args): | |
112 | Handle --print-output-format. | |
113 | * ldmain.c (main): Implement --print-output-format. | |
114 | * ld.texinfo (Options): Document it. | |
115 | ||
116 | * ldlang.c (lang_get_output_target): Don't return current_target | |
117 | when it's NULL. | |
118 | ||
59b84450 AM |
119 | 2011-07-15 Alan Modra <amodra@gmail.com> |
120 | ||
121 | * Makefile.am (e*.c): Sort. | |
122 | * Makefile.in: Regenerate. | |
123 | ||
2d07dfae AM |
124 | 2011-07-14 Alan Modra <amodra@gmail.com> |
125 | ||
126 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option, | |
127 | gld${EMULATION_NAME}_list_options): Don't condition -z relro | |
128 | and -z norelro on COMMONPAGESIZE being defined. | |
129 | ||
9df0ef5f AM |
130 | 2011-07-14 Alan Modra <amodra@gmail.com> |
131 | ||
132 | * emultempl/ppc64elf.em (plt_static_chain): New var. | |
133 | (gld${EMULATION_NAME}_after_allocation): Pass to ppc64_elf_size_stubs. | |
134 | (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, | |
135 | PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Handle | |
136 | --plt-static-chain and --no-plt-static-chain. | |
137 | ||
fb42df5e AM |
138 | 2011-07-14 Alan Modra <amodra@gmail.com> |
139 | ||
140 | * emultempl/elf32.em (gld${EMULATION_NAME}_add_options, | |
141 | gld${EMULATION_NAME}_handle_option, gld${EMULATION_NAME}_list_options): | |
142 | Provide --build-id, -z defs, -z muldefs, -z max-page-size, | |
143 | -z common-page-size, -z execstack, -z noexecstack for all targets. | |
144 | Add help for --exclude-libs. | |
145 | (OPTION_LD_GENERATED_UNWIND_INFO, | |
146 | OPTION_NO_LD_GENERATED_UNWIND_INFO): Move this.. | |
147 | (gld${EMULATION_NAME}_handle_option): ..and code handling | |
148 | --ld-generated-unwind-info and --no-ld-generated-unwind-info.. | |
149 | * emulparams/plt_unwind.sh: ..to here. New file. Add help. | |
150 | * emulparams/elf32_x86_64.sh: Include plt_unwind.sh. | |
151 | * emulparams/elf_i386.sh: Likewise. | |
152 | * emulparams/elf_i386_chaos.sh: Likewise. | |
153 | * emulparams/elf_i386_ldso.sh: Likewise. | |
154 | * emulparams/elf_l1om.sh: Likewise. | |
155 | * emulparams/elf_x86_64.sh: Likewise. | |
156 | ||
ae17ab41 CM |
157 | 2011-07-11 Catherine Moore <clm@codesourcery.com> |
158 | ||
159 | * ld.h (section_flag_list): Add field to struct wildcard_spec. | |
160 | * ld.texinfo (INPUT_SECTION_FLAGS): Document. | |
161 | * ldgram.y (flag_info_list, flag_info): Add to union. | |
162 | (INPUT_SECTION_FLAGS): New token. | |
163 | (wildcard_spec): Initialize section_flag_list to NULL for | |
164 | each alternative. | |
165 | (sect_flag_list, sect_flags): New rules. | |
166 | (input_section_spec_no_keep): Add alternatives to recognize | |
167 | sect_flags. | |
168 | * ldlang.c (walk_wild_consider_section): Initialize | |
169 | section_flag_info field of the section struct. | |
170 | (lang_add_section): Check input section flags. | |
fb42df5e | 171 | (lang_add_wild): Initialize section_flag_list field of |
ae17ab41 CM |
172 | the statement struct. |
173 | * ldlang.h (lang_input_statement_struct): Add section_flag_list field. | |
174 | (lang_wild_statement_struct): Likewise. | |
175 | * ldlex.l (INPUT_SECTION_FLAGS): New token. | |
176 | * mri.c (mri_draw_tree): Initialize section_flag_list to NULL. | |
177 | * NEWS: Announce INPUT_SECTION_FLAGS enhancement. | |
178 | ||
0c511000 AM |
179 | 2011-07-09 H.J. Lu <hongjiu.lu@intel.com> |
180 | ||
181 | PR ld/12942 | |
182 | * ldlang.c (section_already_linked): Pass "struct already_linked *" | |
183 | to bfd_section_already_linked. | |
184 | (lang_process): Set link_info.loading_lto_outputs before | |
185 | loading LTO outputs. | |
186 | * plugin.c: Include "libbfd.h". | |
187 | (add_symbols): Call bfd_section_already_linked with comdat_key. | |
188 | ||
ade78dba L |
189 | 2011-06-20 H.J. Lu <hongjiu.lu@intel.com> |
190 | ||
191 | * configure.tgt: Revert x32 change. | |
192 | ||
e41b3a13 JJ |
193 | 2011-06-20 Jakub Jelinek <jakub@redhat.com> |
194 | ||
195 | PR ld/12570 | |
196 | * emultempl/elf32.em (OPTION_LD_GENERATED_UNWIND_INFO, | |
197 | OPTION_NO_LD_GENERATED_UNWIND_INFO): Define. | |
198 | (gld${EMULATION_NAME}_handle_option): Handle | |
199 | --ld-generated-unwind-info and --no-ld-generated-unwind-info. | |
200 | * ld.texinfo (--ld-generated-unwind-info, | |
201 | --no-ld-generated-unwind-info): Document. | |
202 | ||
8b778942 L |
203 | 2011-06-19 H.J. Lu <hongjiu.lu@intel.com> |
204 | ||
205 | * configure.tgt: Support x32. | |
206 | ||
90b3661c NC |
207 | 2011-06-15 Nick Clifton <nickc@redhat.com> |
208 | ||
209 | * NEWS: Mention addition of TILEPRO and TIKE-Gx support. | |
210 | ||
aa137e4d NC |
211 | 2011-06-13 Walter Lee <walt@tilera.com> |
212 | ||
213 | * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx.c and | |
214 | eelf32tilepro.c. | |
215 | (ALL_64_EMULATION_SOURCES): Add eelf64tilegx.c. | |
216 | (eelf32tilegx.c): New target. | |
217 | (eelf32tilepro.c): Likewise. | |
218 | (eelf64tilegx.c): Likewise. | |
219 | * Makefile.in: Regenerate. | |
220 | * configure.tgt: Handle tilegx-*-* and tilepro-*-*. | |
221 | * emulparams/elf32tilegx.sh: New file. | |
222 | * emulparams/elf64tilegx.sh: New file. | |
223 | * emulparams/elf32tilepro.sh: New file. | |
224 | ||
80cc85a9 AM |
225 | 2011-06-13 Alan Modra <amodra@gmail.com> |
226 | ||
227 | * ldlang.c (sort_def_symbol, lang_one_common): Don't handle | |
228 | warning symbols here. | |
229 | * emultempl/pe.em (pr_sym): Remove redundant test. | |
230 | * emultempl/pep.em (pr_sym): Likewise. | |
231 | ||
ba85c43e NC |
232 | 2011-06-09 Nick Clifton <nickc@redhat.com> |
233 | ||
234 | PR ld/12845 | |
235 | * emultempl/mipself.em (mips_add_stub_section): Do not add stubs | |
236 | for sections that have been removed by garbage collection. | |
237 | ||
5b4c94ad AM |
238 | 2011-06-08 Alan Modra <amodra@gmail.com> |
239 | ||
240 | * ldlang.c (lang_one_common): Handle warning symbols. | |
241 | ||
ab3719da NC |
242 | 2011-06-07 Nick Clifton <nickc@redhat.com> |
243 | ||
244 | * configure.tgt: Accept any V850 architecture. | |
245 | ||
bc77a04a NC |
246 | 2011-06-03 Nick Clifton <nickc@redhat.com> |
247 | ||
248 | * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32am33lin.c | |
249 | Add rule to build eelf32am33lin.c | |
250 | * Makefile.in: Regenerate. | |
251 | ||
cc643b88 NC |
252 | 2011-06-02 Nick Clifton <nickc@redhat.com> |
253 | ||
254 | * lexsup.c: Fix spelling mistake in comment. | |
255 | * scripttempl/epocpe.sc: Likewise. | |
256 | * scripttempl/i386beos.sc: Likewise. | |
257 | * scripttempl/mcorepe.sc: Likewise. | |
258 | * scripttempl/pe.sc: Likewise. | |
259 | * scripttempl/pep.sc: Likewise. | |
260 | * po/ld.pot: Regenerate. | |
261 | ||
f20db198 NC |
262 | 2011-05-27 Nick Clifton <nickc@redhat.com> |
263 | ||
264 | * scripttempl/v850.sc (_heap_start): Provide. | |
265 | ||
270396f2 AM |
266 | 2011-05-23 Alan Modra <amodra@gmail.com> |
267 | ||
268 | * ldmisc.c (vfinfo): Add %H. | |
269 | * ldmain.c (reloc_overflow): Use %H rather than %C. | |
270 | (reloc_dangerous, unattached_reloc): Likewise. | |
271 | ||
6de6a7fe AM |
272 | 2011-05-23 Alan Modra <amodra@gmail.com> |
273 | ||
274 | PR 12763 | |
275 | * ldlang.c (lang_output_section_find_by_flags): Match orphan .sdata2 | |
276 | like sections to existing .sdata2, and similarly for orphan TLS | |
277 | sections. | |
278 | * emultempl/elf32.em (place_orphan): Exclude .tbss from orphan_bss. | |
279 | ||
84bff83f NC |
280 | 2011-05-17 Tomohiro Kashiwada <kikairoya@gmail.com> |
281 | ||
282 | PR ld/12759 | |
283 | * emultempl/rxelf.em (ignore_lma): New variable. | |
284 | (rx_elf_create_output_section_statements): Pass the setiing of | |
285 | ignore_lma to bfd_elf32_rx_set_target_flags. | |
286 | (OPTION_IGNORE_LMA): Define. | |
287 | (OPTION_NO_IGNORE_LMA): Define. | |
288 | (PARSE_AND_LIST_LONGOPTS): Add ignore lma. | |
289 | (PARSE_AND_LIST_OPTIONS): Add ignore lma. | |
290 | (PARSE_AND_LIST_ARGS_CASES): Add ignore lma. | |
291 | ||
16d96b5b AM |
292 | 2011-05-17 Alan Modra <amodra@gmail.com> |
293 | ||
294 | PR ld/12760 | |
295 | * ldmain.c (notice): Add "flags" and "string" param. | |
296 | * plugin.c (plugin_notice): Likewise. Handle indirect, warning | |
297 | and constructor syms. | |
298 | ||
f37a7048 NS |
299 | 2010-05-16 Daniel Jacobowitz <dan@codesourcery.com> |
300 | ||
301 | * ldlang.c (print_assignment): Use the symbol's section if we | |
302 | use its value. | |
303 | * ldexp.c (exp_fold_tree_1): Skip self-assignment. Expand | |
304 | comment on copying symbol type. | |
305 | ||
cd6eee13 AM |
306 | 2011-05-16 H.J. Lu <hongjiu.lu@intel.com> |
307 | ||
308 | PR ld/12760 | |
309 | * plugin.c (plugin_notice): Set u.undef.abfd for symbols made | |
310 | undefweak. | |
311 | ||
83e7bd17 AM |
312 | 2011-05-16 Alan Modra <amodra@gmail.com> |
313 | ||
314 | * ldlang.c (lang_leave_output_section_statement): Don't copy | |
315 | previous lma_region if given address. | |
316 | ||
2a616379 BS |
317 | 2011-05-13 Bernd Schmidt <bernds@codesourcery.com> |
318 | ||
319 | (eelf32_tic6x_linux_be.c, eelf32_tic6x_linux_le.c, | |
320 | eelf32_tic6x_elf_be.c, eelf32_tic6x_elf_le.c): New rules. | |
321 | * Makefile.am (ALL_EMULATIONS): Add these files. | |
322 | (eelf32_tic6x_be.c, eelf32_tic6x_le.c): Depend on tic6xdsbt.em. | |
323 | * Makefile.in: Regenerated. | |
324 | * emultempl/tic6xdsbt.em (is_tic6x_target): Allow more tic6x target | |
325 | vectors. | |
326 | * emulparams/elf32_tic6x_elf_be.sh: New file. | |
327 | * emulparams/elf32_tic6x_elf_le.sh: New file. | |
328 | * emulparams/elf32_tic6x_linux_be.sh: New file. | |
329 | * emulparams/elf32_tic6x_linux_le.sh: New file. | |
330 | * configure.tgt (tic6x-*-elf, tic6x-*-uclinux): New. | |
331 | (tic6x-*-*): Replaced by these. | |
332 | ||
3ac5406b JB |
333 | 2011-05-13 Jan Beulich <jbeulich@novell.com> |
334 | ||
335 | * configure.tgt: Add targets x86_64-*-pe and x86_64-*-pep. | |
336 | ||
fbd9ad90 PB |
337 | 2011-05-09 Paul Brook <paul@codesourcery.com> |
338 | ||
339 | * emultempl/tic6xdsbt.em (merge_exidx_entries): New. | |
340 | (compare_output_sec_vma): New function. | |
341 | (gld${EMULATION_NAME}_after_allocation): New function. | |
342 | (OPTION_NO_MERGE_EXIDX_ENTRIES): Define. | |
343 | (PARSE_AND_LIST_OPTIONS): Add --no-merge-exidx-entries. | |
344 | (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_MERGE_EXIDX_ENTRIES. | |
345 | (LDEMUL_AFTER_ALLOCATION): Set. | |
346 | * ld.texinfo: Document c6x --no-merge-exidx-entries. | |
347 | ||
730035f7 DK |
348 | 2011-05-07 Dave Korn <dave.korn.cygwin@gmail.com> |
349 | ||
350 | PR ld/12365 | |
351 | * scripttempl/pe.sc (__rt_psrelocs_start): New symbol definition. | |
352 | (__rt_psrelocs_end): Likewise. | |
353 | (__rt_psrelocs_size): Likewise difference between the above. | |
354 | (__RUNTIME_PSEUDO_RELOC_LIST_END__): Move outside .rdata section | |
355 | immediately after end of pseudo-reloc data. | |
356 | (___RUNTIME_PSEUDO_RELOC_LIST_END___): Likewise. | |
357 | (__RUNTIME_PSEUDO_RELOC_LIST__): Move outside .rdata section and | |
358 | calculate backward from list end. | |
359 | (___RUNTIME_PSEUDO_RELOC_LIST___): Likewise. | |
360 | * scripttempl/pep.sc: Likewise. | |
361 | ||
55221e4b TG |
362 | 2011-05-06 Tristan Gingold <gingold@adacore.com> |
363 | ||
364 | * scripttempl/alphavms.sc (CODE): Add *$CODE*. | |
365 | ||
45cfb56c TG |
366 | 2011-05-04 Tristan Gingold <gingold@adacore.com> |
367 | ||
368 | * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Add | |
369 | LDEMUL_ADD_OPTIONS and LDEMUL_HANDLE_OPTION. | |
370 | * emultempl/vms.em (OPTION_IDENTIFICATION): New macro. | |
371 | (gld${EMULATION_NAME}_add_options): New function. | |
372 | (gld${EMULATION_NAME}_list_options): Ditto. | |
373 | (gld${EMULATION_NAME}_handle_option): Ditto. | |
374 | (LDEMUL_ADD_OPTIONS, LDEMUL_HANDLE_OPTION) | |
375 | (LDEMUL_LIST_OPTIONS): Define. | |
376 | ||
2f65ac72 AM |
377 | 2011-05-04 Alan Modra <amodra@gmail.com> |
378 | ||
379 | PR ld/12726 | |
380 | * ldexp.h (lang_phase_type): Add lang_assigning_phase_enum. | |
381 | * ldexp.c (exp_fold_tree_1): Correct assign to dot comment. Don't | |
382 | assign to dot when lang_assigning_phase_enum. | |
383 | * ldlang.h (lang_do_assignments): Update prototype. | |
384 | * ldlang.c (lang_do_assignments): Add phase parameter. Update all | |
385 | callers. | |
386 | * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update | |
387 | lang_do_assignments calls. | |
388 | ||
e0605dbe AM |
389 | 2011-04-28 Daniel C. Klauer <daniel.c.klauer@web.de> |
390 | ||
391 | PR ld/12614 | |
392 | * emultempl/pe.em (_after_open): Correctly check whether symbol is | |
393 | in undef list. | |
394 | ||
72b016b4 NC |
395 | 2011-04-26 Kai Tietz <ktietz@redhat.com> |
396 | ||
397 | * scripttempl/pe.sc: Handle .eh_frame($|.)* sections. | |
398 | * scripttempl/pep.sc: Likewise. | |
399 | ||
35ed3f94 AM |
400 | 2011-04-24 Alan Modra <amodra@gmail.com> |
401 | ||
402 | PR ld/12365 | |
403 | PR ld/12696 | |
404 | * ldmain.c (notice): Delete "name" param, add "h". | |
405 | * plugin.c (plugin_notice): Likewise. Set non_ir_ref. Handle | |
406 | redefinitions of IR symbols in real BFDs. | |
407 | (plugin_multiple_definition, plugin_multiple_common): Delete. | |
408 | (non_ironly_hash, init_non_ironly_hash): Delete. | |
409 | (is_visible_from_outside): Traverse entry_symbol chain. | |
410 | (get_symbols): Use non_ir_ref flag rather than hash lookup. | |
411 | ||
9165b2bf TG |
412 | 2011-04-21 Tristan Gingold <gingold@adacore.com> |
413 | ||
414 | * scripttempl/alphavms.sc: Add dwarf2 embedding marks. | |
415 | ||
ced323bd TG |
416 | 2011-04-20 Tristan Gingold <gingold@adacore.com> |
417 | ||
418 | * emultempl/aix.em (_add_options): Ignore -bbigtoc switch. | |
419 | ||
8ad17b3a AM |
420 | 2011-04-20 Alan Modra <amodra@gmail.com> |
421 | ||
422 | * ld.h (ld_config_type <hash_table_size>): Make it an unsigned long. | |
423 | ||
02d00247 AM |
424 | 2011-04-20 Alan Modra <amodra@gmail.com> |
425 | ||
426 | PR ld/12365 | |
427 | * ldfile.c (ldfile_try_open_bfd): Move code creating and switching | |
428 | to plugin IR BFD.. | |
429 | * ldmain.c (add_archive_element): ..and similar code here.. | |
430 | * plugin.c (plugin_maybe_claim): ..to here. New function. | |
431 | (plugin_call_claim_file): Make static. | |
432 | (asymbol_from_plugin_symbol): Set ELF st_shndx for common syms. | |
433 | (plugin_multiple_common): New function. | |
434 | (plugin_call_all_symbols_read): Hook in plugin_multiple_common. | |
435 | * plugin.h (plugin_call_claim_file): Don't declare. | |
436 | (plugin_maybe_claim): Declare. | |
437 | ||
24f58f47 AM |
438 | 2011-04-20 Alan Modra <amodra@gmail.com> |
439 | ||
440 | PR ld/12365 | |
441 | * ldmain.c (multiple_definition): Take a bfd_link_hash_entry | |
442 | pointer arg rather than "name", "obfd", "osec", "oval". Add code | |
443 | removed from linker.c. Hack around xcofflink.c oddity in | |
444 | passing NULL nbfd. | |
445 | (multiple_common): Similarly. | |
446 | * plugin.c (orig_allow_multiple_defs): Delete. | |
447 | (plugin_call_all_symbols_read): Don't twiddle allow_multiple_definition. | |
448 | (plugin_multiple_definition): Update. | |
449 | ||
bdca0ea1 KT |
450 | 2011-04-18 Kai Tietz <ktietz@redhat.com> |
451 | ||
dc204beb KT |
452 | * deffilep.y (def_aligncomm): Avoid duplets. |
453 | ||
bdca0ea1 KT |
454 | * deffilep.y (def_pool_str): New type. |
455 | (pool_strs): Local static. | |
456 | (def_pool_alloc): Local function. | |
457 | (def_pool_strdup): Likewise. | |
458 | (def_pool_free): Likewise. | |
459 | (opt_name): Replace xmalloc/xstrdup by | |
460 | def_pool_alloc/def_pool_strdup. | |
461 | (dot_name): Likewise. | |
462 | (anylang_id): Likewise. | |
463 | (def_lex): Likewise. | |
464 | (def_file_parse): Call def_pool_free on | |
465 | exit and cleanup directives elements. | |
466 | (def_file_add_directive): Call def_pool_free. | |
467 | ||
6970a028 PB |
468 | 2011-04-18 Paul Brook <paul@codesourcery.com> |
469 | ||
470 | * emulparams/elf32_tic6x_le.sh: Define OTHER_READONLY_SECTIONS | |
471 | for unwinding tables. | |
472 | ||
901f1d17 AM |
473 | 2011-04-18 Alan Modra <amodra@gmail.com> |
474 | ||
475 | PR ld/12365 | |
476 | PR ld/12672 | |
477 | * ldfile.c (ldfile_try_open_bfd): Don't attempt any plugin action | |
478 | when no_more_claiming. | |
479 | * ldmain.c (add_archive_element): Likewise. | |
480 | (multiple_definition): Remove plugin_multiple_definition call. | |
481 | (notice): Remove plugin_notice call. | |
482 | * ldlang.c (lang_list_insert_after, void lang_list_remove_tail): Move. | |
483 | Delete prototype. | |
484 | (plugin_insert): New static var. | |
485 | (open_input_bfds): Only rescan libs after plugin insert point. | |
486 | (lang_gc_sections): Omit plugin claimed files. | |
487 | (lang_process): Set plugin_insert. Only rescan when plugin adds | |
488 | objects. | |
489 | * plugin.h (no_more_claiming): Declare. | |
490 | (plugin_notice, plugin_multiple_definition): Don't declare. | |
491 | * plugin.c: Formatting. | |
492 | (orig_notice_all, orig_allow_multiple_defs, orig_callbacks, | |
493 | plugin_callbacks): New static vars. | |
494 | (no_more_claiming): Make global. | |
495 | (plugin_cached_allow_multiple_defs): Delete. | |
496 | (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy .text section, | |
497 | use newer bfd_make_section variant. Make COMMON section too. | |
498 | Error handling. Correct setting of gp size. | |
499 | (asymbol_from_plugin_symbol): Properly cast last arg of concat. | |
500 | (message): Likewise for ACONCAT. | |
501 | (asymbol_from_plugin_symbol): Use our COMMON section. | |
502 | (get_symbols): When report_plugin_symbols, show visibility too. | |
503 | (init_non_ironly_hash): Move. Don't test non_ironly_hash. | |
504 | (plugin_load_plugins): Save state of linker callbacks, set up to | |
505 | call plugin_notice instead. Call init_non_ironly_hash here. | |
506 | (plugin_call_all_symbols_read): Set plugin_multiple_definition in | |
507 | plugin callbacks. | |
508 | (plugin_notice): Rewrite. | |
509 | (plugin_multiple_definition): Make static, call original callback. | |
510 | ||
486329aa AM |
511 | 2011-04-15 Alan Modra <amodra@gmail.com> |
512 | ||
513 | PR ld/12672 | |
514 | * ldlang.c (enum open_bfd_mode): New. | |
515 | (open_input_bfds): Replace "force" param with "mode". Reload | |
516 | archives for rescan. Update all callers. | |
517 | (lang_process): Make another open_input_bfds pass for plugins. | |
518 | ||
db17156e KT |
519 | 2011-04-13 Kai Tietz <ktietz@redhat.com> |
520 | ||
521 | PR binutils/12658 | |
522 | * deffile.h (def_file_add_export): Add is_dup argument. | |
523 | (def_file_add_import): Likewise. | |
524 | * deffilep.y (are_names_equal): New helper. | |
525 | (cmp_export_elem): New helper. | |
526 | (find_export_in_list): Add search routine for exports. | |
527 | (def_file_add_export): Check for duplicates. | |
528 | (cmp_import_elem): New helper. | |
529 | (find_import_in_list): Add search routine for imports. | |
530 | (def_file_add_import): Check for duplicates. | |
531 | (def_exports): Handle duplicates. | |
532 | (def_imports): Likewise. | |
533 | * pe-dll.c (process_def_file_and_drectve): Likewise. | |
534 | (pe_implied_import_dll): Likewise. | |
535 | ||
ed0d9c71 NC |
536 | 2011-04-11 Chris Quenelle <chris.quenelle@oracle.com> |
537 | ||
538 | * scripttempl/elf.sc (.exception_ranges): Add new section. | |
539 | ||
0e9dfb46 NC |
540 | 2011-04-08 Hector Oron <hector.oron@gmail.com> |
541 | ||
542 | PR ld/12643 | |
543 | * configure.tgt: Add support for arm-*-gnueabihf targets. | |
544 | ||
80518809 EW |
545 | 2011-04-07 Eric B. Weddington <eric.weddington@atmel.com> |
546 | ||
547 | * Makefile.in: Regenerate. Remove stray eavrtiny10 rules. | |
548 | ||
91db4c57 JM |
549 | 2011-04-07 Joseph Myers <joseph@codesourcery.com> |
550 | ||
551 | * configure.tgt: Remove stray ;;. | |
552 | ||
8c5fc800 JM |
553 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
554 | ||
555 | * configure.tgt (thumb-*-linux-* | thumb-*-uclinux*, | |
556 | strongarm-*-coff, strongarm-*-elf, strongarm-*-kaos*, | |
557 | thumb-*-coff, thumb-*-elf, thumb-epoc-pe, thumb-*-pe, | |
558 | xscale-*-coff, xscale-*-elf): Remove targets. | |
559 | ||
d02c4aae L |
560 | 2011-03-31 H.J. Lu <hongjiu.lu@intel.com> |
561 | ||
562 | * configure.tgt: Add elf_l1om to targ_extra_libpath for | |
fb42df5e | 563 | x86_64-*-linux-*. |
d02c4aae L |
564 | |
565 | * emulparams/elf_l1om.sh: Remove duplicates. | |
566 | ||
ac145307 BS |
567 | 2011-03-31 Bernd Schmidt <bernds@codesourcery.com> |
568 | ||
569 | * emulparams/elf32_tic6x_le.sh (BIG_OUTPUT_FORMAT, EXTRA_EM_FILE, | |
570 | GENERATE_SHLIB_SCRIPT): New defines. | |
571 | (TEXT_START_ADDR): Define differently depending on target. | |
572 | (.got): Redefine to include "*(.dsbt)". | |
573 | (SDATA_START_SYMBOLS): Remove, replace with | |
574 | (OTHER_GOT_SYMBOLS): New. | |
575 | (OTHER_BSS_SECTIONS): Define only for ELF targets. | |
576 | * emultempl/tic6xdsbt.em: New file. | |
577 | * gen-doc.texi: Set C6X. | |
578 | * ld.texinfo: Likewise. | |
579 | (Options specific to C6X uClinux targets): New section. | |
580 | ||
c3a7b120 AM |
581 | 2011-03-29 Alan Modra <amodra@gmail.com> |
582 | ||
583 | PR ld/12613 | |
584 | * ldlex.l (lex_warn_invalid): Don't assume char is unsigned. | |
585 | ||
5b806d27 NC |
586 | 2011-03-26 John Marino <binutils@marino.st> |
587 | ||
588 | * configure.host: Update *-*-dragonfly* host entry. | |
589 | * configure.tgt: Update *-*-dragonfly* target entry. | |
590 | * ldlex.l: Prevent redefinition of YY_NO_UNPUT. | |
591 | ||
f31d24a0 JM |
592 | 2011-03-28 Joseph Myers <joseph@codesourcery.com> |
593 | ||
594 | * configure.in: Check for windows.h, not Windows.h. | |
595 | * configure: Regenerate. | |
596 | * plugin.c: Include windows.h, not Windows.h. | |
597 | ||
d0289b45 EW |
598 | 2011-03-25 Eric B. Weddington <eric.weddington@atmel.com> |
599 | ||
600 | * Makefile.in: Regenerate. | |
601 | ||
d436a15e JM |
602 | 2011-03-23 Joseph Myers <joseph@codesourcery.com> |
603 | ||
604 | * lexsup.c (parse_args): Only set report_plugin_symbols if plugins | |
605 | are enabled. Mark level as possibly unused. | |
606 | ||
8cc66334 EW |
607 | 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com> |
608 | ||
609 | * Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures. | |
610 | (eavrxmega?.c): Likewise. | |
611 | * configure.tgt (targ_extra_emuls): Likewise. | |
612 | * emulparams/avrxmega1.sh: New file. | |
613 | * emulparams/avrxmega2.sh: Likewise. | |
614 | * emulparams/avrxmega3.sh: Likewise. | |
615 | * emulparams/avrxmega4.sh: Likewise. | |
616 | * emulparams/avrxmega5.sh: Likewise. | |
617 | * emulparams/avrxmega6.sh: Likewise. | |
618 | * emulparams/avrxmega7.sh: Likewise. | |
619 | * emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation): | |
620 | Add avrxmega6, avrxmega7 to list of architectures for no stubs. | |
621 | ||
ef844a53 EW |
622 | 2011-03-21 Eric B. Weddington <eric.weddington@atmel.com> |
623 | ||
624 | * scripttempl/avr.sc: Add fuse, lock, and signature memory regions. | |
625 | ||
35fc36a8 RS |
626 | 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> |
627 | ||
628 | * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check | |
629 | eh->target_internal. | |
630 | ||
cbc704f3 RS |
631 | 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> |
632 | ||
633 | * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj | |
634 | instead of dynamic_sections_created. | |
635 | ||
10be1b6a DK |
636 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
637 | ||
638 | * plugin.c (get_symbols): Use wrapped lookup for undefined symbols. | |
639 | ||
422b6f14 DK |
640 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
641 | ||
642 | * ldlang.c (lang_check): Don't run checks on dummy IR BFDs. | |
643 | ||
8543fde5 DK |
644 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
645 | ||
646 | * ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag, | |
647 | wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS. | |
648 | * ldmain.c (add_archive_element): Set it if the member is claimed. | |
649 | * ldlang.c (new_afile): Initialise claim_archive and claimed members. | |
650 | (find_replacements_insert_point): New helper function. | |
651 | (lang_process): After adding and opening replacement files passed | |
652 | from plugin, splice them into correct place in statement list and | |
653 | file chains to preserve critical link order. | |
654 | (lang_list_insert_after): New helper function. | |
655 | (lang_list_remove_tail): Likewise. | |
656 | ||
cf4dc96f DK |
657 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
658 | ||
659 | * plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form. | |
660 | (IRONLY_SUFFIX_LEN): Delete. | |
661 | (plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX. | |
662 | (is_ir_dummy_bfd): Don't look for suffix; check claimed flag of | |
663 | enclosing lang input statement instead. | |
664 | ||
4bf0cafb DK |
665 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
666 | ||
667 | * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve | |
668 | alignment of input sections when creating orphan output sections | |
669 | during relocatable link. | |
670 | * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise. | |
671 | ||
1715a13c L |
672 | 2011-03-04 H.J. Lu <hongjiu.lu@intel.com> |
673 | ||
674 | * ld.texinfo: Document --verbose[=NUMBER]. | |
675 | ||
676 | * lexsup.c (ld_options): Update --verbose. | |
677 | (parse_args): Set report_plugin_symbols. | |
678 | ||
679 | * plugin.c (report_plugin_symbols): New. | |
680 | (get_symbols): Report plugin symbols if report_plugin_symbols | |
681 | is TRUE. | |
682 | ||
683 | * plugin.h (report_plugin_symbols): New. | |
684 | ||
f4c37f56 L |
685 | 2011-03-01 H.J. Lu <hongjiu.lu@intel.com> |
686 | ||
687 | PR ld/12529 | |
688 | * testplug.c: Don't include "filenames.h". | |
689 | (onclaim_file): Don't use filename_cmp. | |
690 | ||
42627821 KT |
691 | 2011-02-28 Kai Tietz <kai.tietz@onevision.com> |
692 | ||
693 | * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp. | |
694 | * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck): | |
695 | Likewise. | |
696 | (gld${EMULATION_NAME}_stat_needed): Likewise. | |
697 | (gld${EMULATION_NAME}_check_needed): Likewise. | |
698 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise. | |
699 | (gld_${EMULATION_NAME}_unrecognized_file): Likewise. | |
700 | * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise. | |
701 | (gld_${EMULATION_NAME}_unrecognized_file): Likewise. | |
702 | * ldfile.c (ldfile_open_file): Likewise. | |
703 | * ldlang.c (wild_sort): Likewise. | |
704 | (lookup_name): Likewise. | |
705 | (check_excluded_libs): Likewise. | |
706 | * ldmisc.c (vfinfo): Likewise. | |
707 | * pe-dll.c (libnamencmp): Likewise. | |
708 | (auto_export): Likewise. | |
709 | (pe_dll_generate_implib): Likewise. | |
710 | * testplug.c (onclaim_file): Likewise. | |
711 | ||
174b85fc L |
712 | 2011-02-24 H.J. Lu <hongjiu.lu@intel.com> |
713 | ||
714 | PR ld/12507 | |
715 | * plugin.c (get_symbols): Don't check entry symbol here. | |
716 | (init_non_ironly_hash): Add entry_symbol chain into | |
717 | non_ironly_hash. | |
718 | ||
8ff09c12 L |
719 | 2011-02-24 H.J. Lu <hongjiu.lu@intel.com> |
720 | ||
721 | PR ld/12507 | |
722 | * plugin.c (get_symbols): Don't mark entry symbol IR only. | |
723 | ||
ae97b922 DA |
724 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca> |
725 | ||
726 | PR ld/12376 | |
727 | emulparams/hppalinux.sh (DATA_ADDR): Define. | |
728 | (SHLIB_DATA_ADDR): Likewise. | |
729 | ||
73f2a3d2 L |
730 | 2011-02-16 H.J. Lu <hongjiu.lu@intel.com> |
731 | ||
732 | * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to | |
733 | x32 for x32. | |
734 | ||
fd11958c KT |
735 | 2011-02-15 Kai Tietz <kai.tietz@onevision.com> |
736 | ||
737 | * pe-dll.c (process_def_file_and_drectve): Don't strip | |
738 | leading underscore from symbol by calling bfd_find_version_for_sym. | |
739 | ||
93252b1c MF |
740 | 2011-02-14 Mike Frysinger <vapier@gentoo.org> |
741 | ||
742 | * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to | |
743 | the bfd_demangle of sym, change users of sym to c_sym when not | |
744 | already demangling, and free when done. Change callers of | |
745 | cplus_demangle to bfd_demangle. | |
746 | ||
486329aa AM |
747 | 2011-02-14 Alan Modra <amodra@gmail.com> |
748 | ||
749 | * plugin.c (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy | |
750 | .text section, use newer bfd_make_section variant. Error handling. | |
751 | Correct setting of gp size. | |
752 | (asymbol_from_plugin_symbol): Properly cast last arg of concat. | |
753 | (message): Likewise for ACONCAT. | |
754 | (get_symbols): Formatting. | |
755 | ||
498cd2a0 AM |
756 | 2011-02-14 Alan Modra <amodra@gmail.com> |
757 | ||
758 | * ldmain.c (remove_output): Rename to.. | |
759 | (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup. | |
760 | (main): Adjust. | |
761 | * plugin.c (plugin_call_cleanup): Make global. | |
762 | (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit. | |
763 | * plugin.h (plugin_call_cleanup): Declare. | |
764 | ||
822ce8ee RW |
765 | 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
766 | ||
767 | * configure: Regenerate. | |
768 | ||
09b910c6 AM |
769 | 2011-02-10 Alan Modra <amodra@gmail.com> |
770 | ||
771 | * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. | |
772 | * scripttempl/avr.sc: Likewise. | |
773 | * scripttempl/elf32cr16.sc: Likewise. | |
774 | * scripttempl/elf32crx.sc: Likewise. | |
775 | * scripttempl/elf32msp430.sc: Likewise. | |
776 | * scripttempl/elf32msp430_3.sc: Likewise. | |
777 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
778 | * scripttempl/elf64hppa.sc: Likewise. | |
779 | * scripttempl/elf_chaos.sc: Likewise. | |
780 | * scripttempl/elfd10v.sc: Likewise. | |
781 | * scripttempl/elfd30v.sc: Likewise. | |
782 | * scripttempl/elfi370.sc: Likewise. | |
783 | * scripttempl/elfm68hc11.sc: Likewise. | |
784 | * scripttempl/elfm68hc12.sc: Likewise. | |
785 | * scripttempl/elfxtensa.sc: Likewise. | |
786 | * scripttempl/ip2k.sc: Likewise. | |
787 | * scripttempl/iq2000.sc: Likewise. | |
788 | * scripttempl/mep.sc: Likewise. | |
789 | * scripttempl/mmo.sc: Likewise. | |
790 | * scripttempl/v850.sc: Likewise. | |
791 | * scripttempl/xstormy16.sc: Likewise. | |
792 | * scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu. | |
793 | ||
3cb62297 L |
794 | 2011-01-22 H.J. Lu <hongjiu.lu@intel.com> |
795 | ||
796 | * Makefile.am (CXX): Removed. | |
797 | ||
798 | * configure.in: Add AC_PROG_CXX. | |
799 | ||
800 | * Makefile.in: Regenerated. | |
801 | * configure: Likewise. | |
802 | ||
ed88c97e RS |
803 | 2011-01-22 Richard Sandiford <rdsandiford@googlemail.com> |
804 | ||
805 | * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's | |
806 | private data and GP size. | |
807 | ||
9bc8bb33 AM |
808 | 2011-01-21 Alan Modra <amodra@gmail.com> |
809 | ||
810 | * ldexp.c (fold_binary): Set result section for arithmetic and | |
811 | logical operations to NULL when both operands are in same section. | |
812 | * ld.texinfo (Expression Section): Describe this. | |
813 | ||
175b7cd4 AM |
814 | 2011-01-14 Alan Modra <amodra@gmail.com> |
815 | ||
816 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't | |
817 | attempt to put non-alloc orphans before debug sections, just place | |
818 | them after .comment. | |
819 | ||
a05e447f AM |
820 | 2011-01-14 J. Park <grassman@gmail.com> |
821 | ||
822 | PR ld/12339 | |
823 | * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols. | |
824 | ||
3ed41d59 AM |
825 | 2011-01-14 Alan Modra <amodra@gmail.com> |
826 | ||
827 | * Makefile.am: Sort emulation rules. | |
828 | (eelf32am33lin.c): Delete. | |
829 | (ALL_EMULATION_SOURCES): Sort, add missing entries. | |
830 | (ALL_64_EMULATION_SOURCES): Likewise. | |
831 | * Makefile.in: Regenerate. | |
832 | ||
2e57b2af AM |
833 | 2011-01-13 Alan Modra <amodra@gmail.com> |
834 | ||
01554a74 AM |
835 | PR ld/12356 |
836 | * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE. | |
837 | (Expression Section): Update. | |
838 | * ld.h (ld_config_type): Add sane_expr. | |
839 | * ldgram.y (ifile_p1): Add LD_FEATURE. | |
840 | * ldlex.l (LD_FEATYRE): New. | |
841 | * ldemul.c (after_parse_default): Delete code handling ld_compatibility. | |
842 | * ldexp.h (struct ldexp_control): Delete uses_defined. | |
843 | * ldexp.c: Remove all uses of uses_defined. | |
844 | (fold_name): Test config.sane_expr rather than ld_compatibility. | |
845 | (exp_fold_tree_1): Likewise. Adjust handling of assignments | |
846 | during first phase. | |
847 | * ldlang.h (ld_compatibility): Delete. | |
848 | (lang_ld_feature): Declare. | |
849 | * ldlang.c (ld_compatibility): Delete. | |
850 | (open_input_bfds): Only handle assignments for --defsym. | |
851 | (lang_ld_feature): New function. | |
852 | ||
2e57b2af AM |
853 | PR ld/12356 |
854 | * ldexp.h (exp_assop): Delete. | |
855 | (exp_assign, exp_defsym): Declare. | |
856 | * ldexp.c (exp_assop): Make static, handle all assignment variations. | |
857 | (exp_assign, exp_defsym): New functions. | |
858 | (exp_provide): Use exp_assop. | |
859 | * ldgram.y (defsym_expr): Use exp_defsym. | |
860 | * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em, | |
861 | * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em, | |
862 | * emultempl/xtensaelf.em: Update exp_assop -> exp_assign. | |
863 | ||
ea7c2e6c AM |
864 | 2011-01-12 Alan Modra <amodra@gmail.com> |
865 | ||
866 | PR ld/12380 | |
867 | * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done. | |
868 | * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test | |
869 | for exp_dataseg_done rather than expld.phase == lang_final_phase_enum | |
870 | to detect when we've finished sizing sections. | |
871 | (fold_binary <DATA_SEGMENT_ALIGN>): Likewise. | |
872 | (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test | |
873 | that we are not inside an output section statement. | |
874 | * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if | |
875 | not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set | |
876 | lang_final_phase_enum here. | |
877 | (lang_process): Set lang_final_phase_enum here. | |
878 | ||
f7465604 NC |
879 | 2011-01-10 Nick Clifton <nickc@redhat.com> |
880 | ||
881 | * po/da.po: Updated Danish translation. | |
882 | ||
1e915804 L |
883 | 2011-01-10 H.J. Lu <hongjiu.lu@intel.com> |
884 | ||
885 | * ldlang.c (startup_file): Removed. | |
886 | (lang_startup): Updated. | |
887 | ||
cc322803 L |
888 | 2011-01-05 H.J. Lu <hongjiu.lu@intel.com> |
889 | ||
890 | PR ld/12364 | |
891 | * plugin.c (get_symbols): Check if owner_sec->owner is NULL | |
892 | before accessing its flags field. | |
893 | ||
0db46eb4 L |
894 | 2011-01-01 H.J. Lu <hongjiu.lu@intel.com> |
895 | ||
896 | * ldver.c (ldversion): Update copyright to 2011. | |
897 | ||
9e9e0820 | 898 | For older changes see ChangeLog-2010 |
252b5132 RH |
899 | \f |
900 | Local Variables: | |
901 | mode: change-log | |
902 | left-margin: 8 | |
903 | fill-column: 74 | |
904 | version-control: never | |
905 | End: |