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