Don't mark entry symbol IR only.
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2011-02-24 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR ld/12507
4 * plugin.c (get_symbols): Don't mark entry symbol IR only.
5
6 2011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca>
7
8 PR ld/12376
9 emulparams/hppalinux.sh (DATA_ADDR): Define.
10 (SHLIB_DATA_ADDR): Likewise.
11
12 2011-02-16 H.J. Lu <hongjiu.lu@intel.com>
13
14 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to
15 x32 for x32.
16
17 2011-02-15 Kai Tietz <kai.tietz@onevision.com>
18
19 * pe-dll.c (process_def_file_and_drectve): Don't strip
20 leading underscore from symbol by calling bfd_find_version_for_sym.
21
22 2011-02-14 Mike Frysinger <vapier@gentoo.org>
23
24 * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to
25 the bfd_demangle of sym, change users of sym to c_sym when not
26 already demangling, and free when done. Change callers of
27 cplus_demangle to bfd_demangle.
28
29 2011-02-14 Alan Modra <amodra@gmail.com>
30
31 * ldmain.c (remove_output): Rename to..
32 (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
33 (main): Adjust.
34 * plugin.c (plugin_call_cleanup): Make global.
35 (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit.
36 * plugin.h (plugin_call_cleanup): Declare.
37
38 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
39
40 * configure: Regenerate.
41
42 2011-02-10 Alan Modra <amodra@gmail.com>
43
44 * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu.
45 * scripttempl/avr.sc: Likewise.
46 * scripttempl/elf32cr16.sc: Likewise.
47 * scripttempl/elf32crx.sc: Likewise.
48 * scripttempl/elf32msp430.sc: Likewise.
49 * scripttempl/elf32msp430_3.sc: Likewise.
50 * scripttempl/elf32sh-symbian.sc: Likewise.
51 * scripttempl/elf64hppa.sc: Likewise.
52 * scripttempl/elf_chaos.sc: Likewise.
53 * scripttempl/elfd10v.sc: Likewise.
54 * scripttempl/elfd30v.sc: Likewise.
55 * scripttempl/elfi370.sc: Likewise.
56 * scripttempl/elfm68hc11.sc: Likewise.
57 * scripttempl/elfm68hc12.sc: Likewise.
58 * scripttempl/elfxtensa.sc: Likewise.
59 * scripttempl/ip2k.sc: Likewise.
60 * scripttempl/iq2000.sc: Likewise.
61 * scripttempl/mep.sc: Likewise.
62 * scripttempl/mmo.sc: Likewise.
63 * scripttempl/v850.sc: Likewise.
64 * scripttempl/xstormy16.sc: Likewise.
65 * scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu.
66
67 2011-01-22 H.J. Lu <hongjiu.lu@intel.com>
68
69 * Makefile.am (CXX): Removed.
70
71 * configure.in: Add AC_PROG_CXX.
72
73 * Makefile.in: Regenerated.
74 * configure: Likewise.
75
76 2011-01-22 Richard Sandiford <rdsandiford@googlemail.com>
77
78 * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
79 private data and GP size.
80
81 2011-01-21 Alan Modra <amodra@gmail.com>
82
83 * ldexp.c (fold_binary): Set result section for arithmetic and
84 logical operations to NULL when both operands are in same section.
85 * ld.texinfo (Expression Section): Describe this.
86
87 2011-01-14 Alan Modra <amodra@gmail.com>
88
89 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
90 attempt to put non-alloc orphans before debug sections, just place
91 them after .comment.
92
93 2011-01-14 J. Park <grassman@gmail.com>
94
95 PR ld/12339
96 * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
97
98 2011-01-14 Alan Modra <amodra@gmail.com>
99
100 * Makefile.am: Sort emulation rules.
101 (eelf32am33lin.c): Delete.
102 (ALL_EMULATION_SOURCES): Sort, add missing entries.
103 (ALL_64_EMULATION_SOURCES): Likewise.
104 * Makefile.in: Regenerate.
105
106 2011-01-13 Alan Modra <amodra@gmail.com>
107
108 PR ld/12356
109 * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
110 (Expression Section): Update.
111 * ld.h (ld_config_type): Add sane_expr.
112 * ldgram.y (ifile_p1): Add LD_FEATURE.
113 * ldlex.l (LD_FEATYRE): New.
114 * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
115 * ldexp.h (struct ldexp_control): Delete uses_defined.
116 * ldexp.c: Remove all uses of uses_defined.
117 (fold_name): Test config.sane_expr rather than ld_compatibility.
118 (exp_fold_tree_1): Likewise. Adjust handling of assignments
119 during first phase.
120 * ldlang.h (ld_compatibility): Delete.
121 (lang_ld_feature): Declare.
122 * ldlang.c (ld_compatibility): Delete.
123 (open_input_bfds): Only handle assignments for --defsym.
124 (lang_ld_feature): New function.
125
126 PR ld/12356
127 * ldexp.h (exp_assop): Delete.
128 (exp_assign, exp_defsym): Declare.
129 * ldexp.c (exp_assop): Make static, handle all assignment variations.
130 (exp_assign, exp_defsym): New functions.
131 (exp_provide): Use exp_assop.
132 * ldgram.y (defsym_expr): Use exp_defsym.
133 * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
134 * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
135 * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
136
137 2011-01-12 Alan Modra <amodra@gmail.com>
138
139 PR ld/12380
140 * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done.
141 * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test
142 for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
143 to detect when we've finished sizing sections.
144 (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
145 (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test
146 that we are not inside an output section statement.
147 * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
148 not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set
149 lang_final_phase_enum here.
150 (lang_process): Set lang_final_phase_enum here.
151
152 2011-01-10 Nick Clifton <nickc@redhat.com>
153
154 * po/da.po: Updated Danish translation.
155
156 2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
157
158 * ldlang.c (startup_file): Removed.
159 (lang_startup): Updated.
160
161 2011-01-05 H.J. Lu <hongjiu.lu@intel.com>
162
163 PR ld/12364
164 * plugin.c (get_symbols): Check if owner_sec->owner is NULL
165 before accessing its flags field.
166
167 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
168
169 * ldver.c (ldversion): Update copyright to 2011.
170
171 For older changes see ChangeLog-2010
172 \f
173 Local Variables:
174 mode: change-log
175 left-margin: 8
176 fill-column: 74
177 version-control: never
178 End:
This page took 0.033752 seconds and 5 git commands to generate.