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