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