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