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