Commit | Line | Data |
---|---|---|
35fc36a8 RS |
1 | 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> |
2 | ||
3 | * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check | |
4 | eh->target_internal. | |
5 | ||
cbc704f3 RS |
6 | 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> |
7 | ||
8 | * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj | |
9 | instead of dynamic_sections_created. | |
10 | ||
10be1b6a DK |
11 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
12 | ||
13 | * plugin.c (get_symbols): Use wrapped lookup for undefined symbols. | |
14 | ||
422b6f14 DK |
15 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
16 | ||
17 | * ldlang.c (lang_check): Don't run checks on dummy IR BFDs. | |
18 | ||
8543fde5 DK |
19 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
20 | ||
21 | * ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag, | |
22 | wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS. | |
23 | * ldmain.c (add_archive_element): Set it if the member is claimed. | |
24 | * ldlang.c (new_afile): Initialise claim_archive and claimed members. | |
25 | (find_replacements_insert_point): New helper function. | |
26 | (lang_process): After adding and opening replacement files passed | |
27 | from plugin, splice them into correct place in statement list and | |
28 | file chains to preserve critical link order. | |
29 | (lang_list_insert_after): New helper function. | |
30 | (lang_list_remove_tail): Likewise. | |
31 | ||
cf4dc96f DK |
32 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
33 | ||
34 | * plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form. | |
35 | (IRONLY_SUFFIX_LEN): Delete. | |
36 | (plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX. | |
37 | (is_ir_dummy_bfd): Don't look for suffix; check claimed flag of | |
38 | enclosing lang input statement instead. | |
39 | ||
4bf0cafb DK |
40 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
41 | ||
42 | * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve | |
43 | alignment of input sections when creating orphan output sections | |
44 | during relocatable link. | |
45 | * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise. | |
46 | ||
1715a13c L |
47 | 2011-03-04 H.J. Lu <hongjiu.lu@intel.com> |
48 | ||
49 | * ld.texinfo: Document --verbose[=NUMBER]. | |
50 | ||
51 | * lexsup.c (ld_options): Update --verbose. | |
52 | (parse_args): Set report_plugin_symbols. | |
53 | ||
54 | * plugin.c (report_plugin_symbols): New. | |
55 | (get_symbols): Report plugin symbols if report_plugin_symbols | |
56 | is TRUE. | |
57 | ||
58 | * plugin.h (report_plugin_symbols): New. | |
59 | ||
f4c37f56 L |
60 | 2011-03-01 H.J. Lu <hongjiu.lu@intel.com> |
61 | ||
62 | PR ld/12529 | |
63 | * testplug.c: Don't include "filenames.h". | |
64 | (onclaim_file): Don't use filename_cmp. | |
65 | ||
42627821 KT |
66 | 2011-02-28 Kai Tietz <kai.tietz@onevision.com> |
67 | ||
68 | * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp. | |
69 | * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck): | |
70 | Likewise. | |
71 | (gld${EMULATION_NAME}_stat_needed): Likewise. | |
72 | (gld${EMULATION_NAME}_check_needed): Likewise. | |
73 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise. | |
74 | (gld_${EMULATION_NAME}_unrecognized_file): Likewise. | |
75 | * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise. | |
76 | (gld_${EMULATION_NAME}_unrecognized_file): Likewise. | |
77 | * ldfile.c (ldfile_open_file): Likewise. | |
78 | * ldlang.c (wild_sort): Likewise. | |
79 | (lookup_name): Likewise. | |
80 | (check_excluded_libs): Likewise. | |
81 | * ldmisc.c (vfinfo): Likewise. | |
82 | * pe-dll.c (libnamencmp): Likewise. | |
83 | (auto_export): Likewise. | |
84 | (pe_dll_generate_implib): Likewise. | |
85 | * testplug.c (onclaim_file): Likewise. | |
86 | ||
174b85fc L |
87 | 2011-02-24 H.J. Lu <hongjiu.lu@intel.com> |
88 | ||
89 | PR ld/12507 | |
90 | * plugin.c (get_symbols): Don't check entry symbol here. | |
91 | (init_non_ironly_hash): Add entry_symbol chain into | |
92 | non_ironly_hash. | |
93 | ||
8ff09c12 L |
94 | 2011-02-24 H.J. Lu <hongjiu.lu@intel.com> |
95 | ||
96 | PR ld/12507 | |
97 | * plugin.c (get_symbols): Don't mark entry symbol IR only. | |
98 | ||
ae97b922 DA |
99 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca> |
100 | ||
101 | PR ld/12376 | |
102 | emulparams/hppalinux.sh (DATA_ADDR): Define. | |
103 | (SHLIB_DATA_ADDR): Likewise. | |
104 | ||
73f2a3d2 L |
105 | 2011-02-16 H.J. Lu <hongjiu.lu@intel.com> |
106 | ||
107 | * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to | |
108 | x32 for x32. | |
109 | ||
fd11958c KT |
110 | 2011-02-15 Kai Tietz <kai.tietz@onevision.com> |
111 | ||
112 | * pe-dll.c (process_def_file_and_drectve): Don't strip | |
113 | leading underscore from symbol by calling bfd_find_version_for_sym. | |
114 | ||
93252b1c MF |
115 | 2011-02-14 Mike Frysinger <vapier@gentoo.org> |
116 | ||
117 | * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to | |
118 | the bfd_demangle of sym, change users of sym to c_sym when not | |
119 | already demangling, and free when done. Change callers of | |
120 | cplus_demangle to bfd_demangle. | |
121 | ||
498cd2a0 AM |
122 | 2011-02-14 Alan Modra <amodra@gmail.com> |
123 | ||
124 | * ldmain.c (remove_output): Rename to.. | |
125 | (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup. | |
126 | (main): Adjust. | |
127 | * plugin.c (plugin_call_cleanup): Make global. | |
128 | (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit. | |
129 | * plugin.h (plugin_call_cleanup): Declare. | |
130 | ||
822ce8ee RW |
131 | 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
132 | ||
133 | * configure: Regenerate. | |
134 | ||
09b910c6 AM |
135 | 2011-02-10 Alan Modra <amodra@gmail.com> |
136 | ||
137 | * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. | |
138 | * scripttempl/avr.sc: Likewise. | |
139 | * scripttempl/elf32cr16.sc: Likewise. | |
140 | * scripttempl/elf32crx.sc: Likewise. | |
141 | * scripttempl/elf32msp430.sc: Likewise. | |
142 | * scripttempl/elf32msp430_3.sc: Likewise. | |
143 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
144 | * scripttempl/elf64hppa.sc: Likewise. | |
145 | * scripttempl/elf_chaos.sc: Likewise. | |
146 | * scripttempl/elfd10v.sc: Likewise. | |
147 | * scripttempl/elfd30v.sc: Likewise. | |
148 | * scripttempl/elfi370.sc: Likewise. | |
149 | * scripttempl/elfm68hc11.sc: Likewise. | |
150 | * scripttempl/elfm68hc12.sc: Likewise. | |
151 | * scripttempl/elfxtensa.sc: Likewise. | |
152 | * scripttempl/ip2k.sc: Likewise. | |
153 | * scripttempl/iq2000.sc: Likewise. | |
154 | * scripttempl/mep.sc: Likewise. | |
155 | * scripttempl/mmo.sc: Likewise. | |
156 | * scripttempl/v850.sc: Likewise. | |
157 | * scripttempl/xstormy16.sc: Likewise. | |
158 | * scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu. | |
159 | ||
3cb62297 L |
160 | 2011-01-22 H.J. Lu <hongjiu.lu@intel.com> |
161 | ||
162 | * Makefile.am (CXX): Removed. | |
163 | ||
164 | * configure.in: Add AC_PROG_CXX. | |
165 | ||
166 | * Makefile.in: Regenerated. | |
167 | * configure: Likewise. | |
168 | ||
ed88c97e RS |
169 | 2011-01-22 Richard Sandiford <rdsandiford@googlemail.com> |
170 | ||
171 | * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's | |
172 | private data and GP size. | |
173 | ||
9bc8bb33 AM |
174 | 2011-01-21 Alan Modra <amodra@gmail.com> |
175 | ||
176 | * ldexp.c (fold_binary): Set result section for arithmetic and | |
177 | logical operations to NULL when both operands are in same section. | |
178 | * ld.texinfo (Expression Section): Describe this. | |
179 | ||
175b7cd4 AM |
180 | 2011-01-14 Alan Modra <amodra@gmail.com> |
181 | ||
182 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't | |
183 | attempt to put non-alloc orphans before debug sections, just place | |
184 | them after .comment. | |
185 | ||
a05e447f AM |
186 | 2011-01-14 J. Park <grassman@gmail.com> |
187 | ||
188 | PR ld/12339 | |
189 | * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols. | |
190 | ||
3ed41d59 AM |
191 | 2011-01-14 Alan Modra <amodra@gmail.com> |
192 | ||
193 | * Makefile.am: Sort emulation rules. | |
194 | (eelf32am33lin.c): Delete. | |
195 | (ALL_EMULATION_SOURCES): Sort, add missing entries. | |
196 | (ALL_64_EMULATION_SOURCES): Likewise. | |
197 | * Makefile.in: Regenerate. | |
198 | ||
2e57b2af AM |
199 | 2011-01-13 Alan Modra <amodra@gmail.com> |
200 | ||
01554a74 AM |
201 | PR ld/12356 |
202 | * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE. | |
203 | (Expression Section): Update. | |
204 | * ld.h (ld_config_type): Add sane_expr. | |
205 | * ldgram.y (ifile_p1): Add LD_FEATURE. | |
206 | * ldlex.l (LD_FEATYRE): New. | |
207 | * ldemul.c (after_parse_default): Delete code handling ld_compatibility. | |
208 | * ldexp.h (struct ldexp_control): Delete uses_defined. | |
209 | * ldexp.c: Remove all uses of uses_defined. | |
210 | (fold_name): Test config.sane_expr rather than ld_compatibility. | |
211 | (exp_fold_tree_1): Likewise. Adjust handling of assignments | |
212 | during first phase. | |
213 | * ldlang.h (ld_compatibility): Delete. | |
214 | (lang_ld_feature): Declare. | |
215 | * ldlang.c (ld_compatibility): Delete. | |
216 | (open_input_bfds): Only handle assignments for --defsym. | |
217 | (lang_ld_feature): New function. | |
218 | ||
2e57b2af AM |
219 | PR ld/12356 |
220 | * ldexp.h (exp_assop): Delete. | |
221 | (exp_assign, exp_defsym): Declare. | |
222 | * ldexp.c (exp_assop): Make static, handle all assignment variations. | |
223 | (exp_assign, exp_defsym): New functions. | |
224 | (exp_provide): Use exp_assop. | |
225 | * ldgram.y (defsym_expr): Use exp_defsym. | |
226 | * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em, | |
227 | * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em, | |
228 | * emultempl/xtensaelf.em: Update exp_assop -> exp_assign. | |
229 | ||
ea7c2e6c AM |
230 | 2011-01-12 Alan Modra <amodra@gmail.com> |
231 | ||
232 | PR ld/12380 | |
233 | * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done. | |
234 | * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test | |
235 | for exp_dataseg_done rather than expld.phase == lang_final_phase_enum | |
236 | to detect when we've finished sizing sections. | |
237 | (fold_binary <DATA_SEGMENT_ALIGN>): Likewise. | |
238 | (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test | |
239 | that we are not inside an output section statement. | |
240 | * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if | |
241 | not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set | |
242 | lang_final_phase_enum here. | |
243 | (lang_process): Set lang_final_phase_enum here. | |
244 | ||
f7465604 NC |
245 | 2011-01-10 Nick Clifton <nickc@redhat.com> |
246 | ||
247 | * po/da.po: Updated Danish translation. | |
248 | ||
1e915804 L |
249 | 2011-01-10 H.J. Lu <hongjiu.lu@intel.com> |
250 | ||
251 | * ldlang.c (startup_file): Removed. | |
252 | (lang_startup): Updated. | |
253 | ||
cc322803 L |
254 | 2011-01-05 H.J. Lu <hongjiu.lu@intel.com> |
255 | ||
256 | PR ld/12364 | |
257 | * plugin.c (get_symbols): Check if owner_sec->owner is NULL | |
258 | before accessing its flags field. | |
259 | ||
0db46eb4 L |
260 | 2011-01-01 H.J. Lu <hongjiu.lu@intel.com> |
261 | ||
262 | * ldver.c (ldversion): Update copyright to 2011. | |
263 | ||
9e9e0820 | 264 | For older changes see ChangeLog-2010 |
252b5132 RH |
265 | \f |
266 | Local Variables: | |
267 | mode: change-log | |
268 | left-margin: 8 | |
269 | fill-column: 74 | |
270 | version-control: never | |
271 | End: |