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