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