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