* ld-scripts/defined.exp: Don't run defined5 for AOUT.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
3cb62297
L
12011-01-22 H.J. Lu <hongjiu.lu@intel.com>
2
3 * Makefile.am (CXX): Removed.
4
5 * configure.in: Add AC_PROG_CXX.
6
7 * Makefile.in: Regenerated.
8 * configure: Likewise.
9
ed88c97e
RS
102011-01-22 Richard Sandiford <rdsandiford@googlemail.com>
11
12 * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
13 private data and GP size.
14
9bc8bb33
AM
152011-01-21 Alan Modra <amodra@gmail.com>
16
17 * ldexp.c (fold_binary): Set result section for arithmetic and
18 logical operations to NULL when both operands are in same section.
19 * ld.texinfo (Expression Section): Describe this.
20
e922bcab
AM
212011-01-14 Alan Modra <amodra@gmail.com>
22
23 * ldmain.c (main): Flush stdout before and stderr after printing
24 message.
25 * ldmisc.c (einfo): Similarly.
26 * plugin.c (message): Likewise.
27 * emultempl/ppc64elf.em: Likewise.
28 * emultempl/xtensaelf.em: Likewise.
29 * emulparams/elf32mcore.sh: Use einfo rather than printf.
30 * emultempl/beos.em: Likewise.
31 * emultempl/pe.em: Likewise.
32 * emultempl/pep.em: Likewise.
33
175b7cd4
AM
342011-01-14 Alan Modra <amodra@gmail.com>
35
36 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
37 attempt to put non-alloc orphans before debug sections, just place
38 them after .comment.
39
a05e447f
AM
402011-01-14 J. Park <grassman@gmail.com>
41
42 PR ld/12339
43 * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
44
3ed41d59
AM
452011-01-14 Alan Modra <amodra@gmail.com>
46
47 * Makefile.am: Sort emulation rules.
48 (eelf32am33lin.c): Delete.
49 (ALL_EMULATION_SOURCES): Sort, add missing entries.
50 (ALL_64_EMULATION_SOURCES): Likewise.
51 * Makefile.in: Regenerate.
52
2e57b2af
AM
532011-01-13 Alan Modra <amodra@gmail.com>
54
01554a74
AM
55 PR ld/12356
56 * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
57 (Expression Section): Update.
58 * ld.h (ld_config_type): Add sane_expr.
59 * ldgram.y (ifile_p1): Add LD_FEATURE.
60 * ldlex.l (LD_FEATYRE): New.
61 * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
62 * ldexp.h (struct ldexp_control): Delete uses_defined.
63 * ldexp.c: Remove all uses of uses_defined.
64 (fold_name): Test config.sane_expr rather than ld_compatibility.
65 (exp_fold_tree_1): Likewise. Adjust handling of assignments
66 during first phase.
67 * ldlang.h (ld_compatibility): Delete.
68 (lang_ld_feature): Declare.
69 * ldlang.c (ld_compatibility): Delete.
70 (open_input_bfds): Only handle assignments for --defsym.
71 (lang_ld_feature): New function.
72
2e57b2af
AM
73 PR ld/12356
74 * ldexp.h (exp_assop): Delete.
75 (exp_assign, exp_defsym): Declare.
76 * ldexp.c (exp_assop): Make static, handle all assignment variations.
77 (exp_assign, exp_defsym): New functions.
78 (exp_provide): Use exp_assop.
79 * ldgram.y (defsym_expr): Use exp_defsym.
80 * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
81 * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
82 * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
83
ea7c2e6c
AM
842011-01-12 Alan Modra <amodra@gmail.com>
85
86 PR ld/12380
87 * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done.
88 * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test
89 for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
90 to detect when we've finished sizing sections.
91 (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
92 (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test
93 that we are not inside an output section statement.
94 * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
95 not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set
96 lang_final_phase_enum here.
97 (lang_process): Set lang_final_phase_enum here.
98
f7465604
NC
992011-01-10 Nick Clifton <nickc@redhat.com>
100
101 * po/da.po: Updated Danish translation.
102
1e915804
L
1032011-01-10 H.J. Lu <hongjiu.lu@intel.com>
104
105 * ldlang.c (startup_file): Removed.
106 (lang_startup): Updated.
107
cc322803
L
1082011-01-05 H.J. Lu <hongjiu.lu@intel.com>
109
110 PR ld/12364
111 * plugin.c (get_symbols): Check if owner_sec->owner is NULL
112 before accessing its flags field.
113
0db46eb4
L
1142011-01-01 H.J. Lu <hongjiu.lu@intel.com>
115
116 * ldver.c (ldversion): Update copyright to 2011.
117
9e9e0820 118For older changes see ChangeLog-2010
252b5132
RH
119\f
120Local Variables:
121mode: change-log
122left-margin: 8
123fill-column: 74
124version-control: never
125End:
This page took 0.556756 seconds and 4 git commands to generate.