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