Commit | Line | Data |
---|---|---|
02d00247 AM |
1 | 2011-04-20 Alan Modra <amodra@gmail.com> |
2 | ||
3 | PR ld/12365 | |
4 | * ldfile.c (ldfile_try_open_bfd): Move code creating and switching | |
5 | to plugin IR BFD.. | |
6 | * ldmain.c (add_archive_element): ..and similar code here.. | |
7 | * plugin.c (plugin_maybe_claim): ..to here. New function. | |
8 | (plugin_call_claim_file): Make static. | |
9 | (asymbol_from_plugin_symbol): Set ELF st_shndx for common syms. | |
10 | (plugin_multiple_common): New function. | |
11 | (plugin_call_all_symbols_read): Hook in plugin_multiple_common. | |
12 | * plugin.h (plugin_call_claim_file): Don't declare. | |
13 | (plugin_maybe_claim): Declare. | |
14 | ||
24f58f47 AM |
15 | 2011-04-20 Alan Modra <amodra@gmail.com> |
16 | ||
17 | PR ld/12365 | |
18 | * ldmain.c (multiple_definition): Take a bfd_link_hash_entry | |
19 | pointer arg rather than "name", "obfd", "osec", "oval". Add code | |
20 | removed from linker.c. Hack around xcofflink.c oddity in | |
21 | passing NULL nbfd. | |
22 | (multiple_common): Similarly. | |
23 | * plugin.c (orig_allow_multiple_defs): Delete. | |
24 | (plugin_call_all_symbols_read): Don't twiddle allow_multiple_definition. | |
25 | (plugin_multiple_definition): Update. | |
26 | ||
bdca0ea1 KT |
27 | 2011-04-18 Kai Tietz <ktietz@redhat.com> |
28 | ||
dc204beb KT |
29 | * deffilep.y (def_aligncomm): Avoid duplets. |
30 | ||
bdca0ea1 KT |
31 | * deffilep.y (def_pool_str): New type. |
32 | (pool_strs): Local static. | |
33 | (def_pool_alloc): Local function. | |
34 | (def_pool_strdup): Likewise. | |
35 | (def_pool_free): Likewise. | |
36 | (opt_name): Replace xmalloc/xstrdup by | |
37 | def_pool_alloc/def_pool_strdup. | |
38 | (dot_name): Likewise. | |
39 | (anylang_id): Likewise. | |
40 | (def_lex): Likewise. | |
41 | (def_file_parse): Call def_pool_free on | |
42 | exit and cleanup directives elements. | |
43 | (def_file_add_directive): Call def_pool_free. | |
44 | ||
6970a028 PB |
45 | 2011-04-18 Paul Brook <paul@codesourcery.com> |
46 | ||
47 | * emulparams/elf32_tic6x_le.sh: Define OTHER_READONLY_SECTIONS | |
48 | for unwinding tables. | |
49 | ||
901f1d17 AM |
50 | 2011-04-18 Alan Modra <amodra@gmail.com> |
51 | ||
52 | PR ld/12365 | |
53 | PR ld/12672 | |
54 | * ldfile.c (ldfile_try_open_bfd): Don't attempt any plugin action | |
55 | when no_more_claiming. | |
56 | * ldmain.c (add_archive_element): Likewise. | |
57 | (multiple_definition): Remove plugin_multiple_definition call. | |
58 | (notice): Remove plugin_notice call. | |
59 | * ldlang.c (lang_list_insert_after, void lang_list_remove_tail): Move. | |
60 | Delete prototype. | |
61 | (plugin_insert): New static var. | |
62 | (open_input_bfds): Only rescan libs after plugin insert point. | |
63 | (lang_gc_sections): Omit plugin claimed files. | |
64 | (lang_process): Set plugin_insert. Only rescan when plugin adds | |
65 | objects. | |
66 | * plugin.h (no_more_claiming): Declare. | |
67 | (plugin_notice, plugin_multiple_definition): Don't declare. | |
68 | * plugin.c: Formatting. | |
69 | (orig_notice_all, orig_allow_multiple_defs, orig_callbacks, | |
70 | plugin_callbacks): New static vars. | |
71 | (no_more_claiming): Make global. | |
72 | (plugin_cached_allow_multiple_defs): Delete. | |
73 | (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy .text section, | |
74 | use newer bfd_make_section variant. Make COMMON section too. | |
75 | Error handling. Correct setting of gp size. | |
76 | (asymbol_from_plugin_symbol): Properly cast last arg of concat. | |
77 | (message): Likewise for ACONCAT. | |
78 | (asymbol_from_plugin_symbol): Use our COMMON section. | |
79 | (get_symbols): When report_plugin_symbols, show visibility too. | |
80 | (init_non_ironly_hash): Move. Don't test non_ironly_hash. | |
81 | (plugin_load_plugins): Save state of linker callbacks, set up to | |
82 | call plugin_notice instead. Call init_non_ironly_hash here. | |
83 | (plugin_call_all_symbols_read): Set plugin_multiple_definition in | |
84 | plugin callbacks. | |
85 | (plugin_notice): Rewrite. | |
86 | (plugin_multiple_definition): Make static, call original callback. | |
87 | ||
486329aa AM |
88 | 2011-04-15 Alan Modra <amodra@gmail.com> |
89 | ||
90 | PR ld/12672 | |
91 | * ldlang.c (enum open_bfd_mode): New. | |
92 | (open_input_bfds): Replace "force" param with "mode". Reload | |
93 | archives for rescan. Update all callers. | |
94 | (lang_process): Make another open_input_bfds pass for plugins. | |
95 | ||
db17156e KT |
96 | 2011-04-13 Kai Tietz <ktietz@redhat.com> |
97 | ||
98 | PR binutils/12658 | |
99 | * deffile.h (def_file_add_export): Add is_dup argument. | |
100 | (def_file_add_import): Likewise. | |
101 | * deffilep.y (are_names_equal): New helper. | |
102 | (cmp_export_elem): New helper. | |
103 | (find_export_in_list): Add search routine for exports. | |
104 | (def_file_add_export): Check for duplicates. | |
105 | (cmp_import_elem): New helper. | |
106 | (find_import_in_list): Add search routine for imports. | |
107 | (def_file_add_import): Check for duplicates. | |
108 | (def_exports): Handle duplicates. | |
109 | (def_imports): Likewise. | |
110 | * pe-dll.c (process_def_file_and_drectve): Likewise. | |
111 | (pe_implied_import_dll): Likewise. | |
112 | ||
ed0d9c71 NC |
113 | 2011-04-11 Chris Quenelle <chris.quenelle@oracle.com> |
114 | ||
115 | * scripttempl/elf.sc (.exception_ranges): Add new section. | |
116 | ||
0e9dfb46 NC |
117 | 2011-04-08 Hector Oron <hector.oron@gmail.com> |
118 | ||
119 | PR ld/12643 | |
120 | * configure.tgt: Add support for arm-*-gnueabihf targets. | |
121 | ||
80518809 EW |
122 | 2011-04-07 Eric B. Weddington <eric.weddington@atmel.com> |
123 | ||
124 | * Makefile.in: Regenerate. Remove stray eavrtiny10 rules. | |
125 | ||
91db4c57 JM |
126 | 2011-04-07 Joseph Myers <joseph@codesourcery.com> |
127 | ||
128 | * configure.tgt: Remove stray ;;. | |
129 | ||
8c5fc800 JM |
130 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
131 | ||
132 | * configure.tgt (thumb-*-linux-* | thumb-*-uclinux*, | |
133 | strongarm-*-coff, strongarm-*-elf, strongarm-*-kaos*, | |
134 | thumb-*-coff, thumb-*-elf, thumb-epoc-pe, thumb-*-pe, | |
135 | xscale-*-coff, xscale-*-elf): Remove targets. | |
136 | ||
d02c4aae L |
137 | 2011-03-31 H.J. Lu <hongjiu.lu@intel.com> |
138 | ||
139 | * configure.tgt: Add elf_l1om to targ_extra_libpath for | |
140 | x86_64-*-linux-*. | |
141 | ||
142 | * emulparams/elf_l1om.sh: Remove duplicates. | |
143 | ||
ac145307 BS |
144 | 2011-03-31 Bernd Schmidt <bernds@codesourcery.com> |
145 | ||
146 | * emulparams/elf32_tic6x_le.sh (BIG_OUTPUT_FORMAT, EXTRA_EM_FILE, | |
147 | GENERATE_SHLIB_SCRIPT): New defines. | |
148 | (TEXT_START_ADDR): Define differently depending on target. | |
149 | (.got): Redefine to include "*(.dsbt)". | |
150 | (SDATA_START_SYMBOLS): Remove, replace with | |
151 | (OTHER_GOT_SYMBOLS): New. | |
152 | (OTHER_BSS_SECTIONS): Define only for ELF targets. | |
153 | * emultempl/tic6xdsbt.em: New file. | |
154 | * gen-doc.texi: Set C6X. | |
155 | * ld.texinfo: Likewise. | |
156 | (Options specific to C6X uClinux targets): New section. | |
157 | ||
c3a7b120 AM |
158 | 2011-03-29 Alan Modra <amodra@gmail.com> |
159 | ||
160 | PR ld/12613 | |
161 | * ldlex.l (lex_warn_invalid): Don't assume char is unsigned. | |
162 | ||
5b806d27 NC |
163 | 2011-03-26 John Marino <binutils@marino.st> |
164 | ||
165 | * configure.host: Update *-*-dragonfly* host entry. | |
166 | * configure.tgt: Update *-*-dragonfly* target entry. | |
167 | * ldlex.l: Prevent redefinition of YY_NO_UNPUT. | |
168 | ||
f31d24a0 JM |
169 | 2011-03-28 Joseph Myers <joseph@codesourcery.com> |
170 | ||
171 | * configure.in: Check for windows.h, not Windows.h. | |
172 | * configure: Regenerate. | |
173 | * plugin.c: Include windows.h, not Windows.h. | |
174 | ||
d0289b45 EW |
175 | 2011-03-25 Eric B. Weddington <eric.weddington@atmel.com> |
176 | ||
177 | * Makefile.in: Regenerate. | |
178 | ||
d436a15e JM |
179 | 2011-03-23 Joseph Myers <joseph@codesourcery.com> |
180 | ||
181 | * lexsup.c (parse_args): Only set report_plugin_symbols if plugins | |
182 | are enabled. Mark level as possibly unused. | |
183 | ||
8cc66334 EW |
184 | 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com> |
185 | ||
186 | * Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures. | |
187 | (eavrxmega?.c): Likewise. | |
188 | * configure.tgt (targ_extra_emuls): Likewise. | |
189 | * emulparams/avrxmega1.sh: New file. | |
190 | * emulparams/avrxmega2.sh: Likewise. | |
191 | * emulparams/avrxmega3.sh: Likewise. | |
192 | * emulparams/avrxmega4.sh: Likewise. | |
193 | * emulparams/avrxmega5.sh: Likewise. | |
194 | * emulparams/avrxmega6.sh: Likewise. | |
195 | * emulparams/avrxmega7.sh: Likewise. | |
196 | * emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation): | |
197 | Add avrxmega6, avrxmega7 to list of architectures for no stubs. | |
198 | ||
ef844a53 EW |
199 | 2011-03-21 Eric B. Weddington <eric.weddington@atmel.com> |
200 | ||
201 | * scripttempl/avr.sc: Add fuse, lock, and signature memory regions. | |
202 | ||
35fc36a8 RS |
203 | 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> |
204 | ||
205 | * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check | |
206 | eh->target_internal. | |
207 | ||
cbc704f3 RS |
208 | 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> |
209 | ||
210 | * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj | |
211 | instead of dynamic_sections_created. | |
212 | ||
10be1b6a DK |
213 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
214 | ||
215 | * plugin.c (get_symbols): Use wrapped lookup for undefined symbols. | |
216 | ||
422b6f14 DK |
217 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
218 | ||
219 | * ldlang.c (lang_check): Don't run checks on dummy IR BFDs. | |
220 | ||
8543fde5 DK |
221 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
222 | ||
223 | * ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag, | |
224 | wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS. | |
225 | * ldmain.c (add_archive_element): Set it if the member is claimed. | |
226 | * ldlang.c (new_afile): Initialise claim_archive and claimed members. | |
227 | (find_replacements_insert_point): New helper function. | |
228 | (lang_process): After adding and opening replacement files passed | |
229 | from plugin, splice them into correct place in statement list and | |
230 | file chains to preserve critical link order. | |
231 | (lang_list_insert_after): New helper function. | |
232 | (lang_list_remove_tail): Likewise. | |
233 | ||
cf4dc96f DK |
234 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
235 | ||
236 | * plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form. | |
237 | (IRONLY_SUFFIX_LEN): Delete. | |
238 | (plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX. | |
239 | (is_ir_dummy_bfd): Don't look for suffix; check claimed flag of | |
240 | enclosing lang input statement instead. | |
241 | ||
4bf0cafb DK |
242 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
243 | ||
244 | * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve | |
245 | alignment of input sections when creating orphan output sections | |
246 | during relocatable link. | |
247 | * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise. | |
248 | ||
1715a13c L |
249 | 2011-03-04 H.J. Lu <hongjiu.lu@intel.com> |
250 | ||
251 | * ld.texinfo: Document --verbose[=NUMBER]. | |
252 | ||
253 | * lexsup.c (ld_options): Update --verbose. | |
254 | (parse_args): Set report_plugin_symbols. | |
255 | ||
256 | * plugin.c (report_plugin_symbols): New. | |
257 | (get_symbols): Report plugin symbols if report_plugin_symbols | |
258 | is TRUE. | |
259 | ||
260 | * plugin.h (report_plugin_symbols): New. | |
261 | ||
f4c37f56 L |
262 | 2011-03-01 H.J. Lu <hongjiu.lu@intel.com> |
263 | ||
264 | PR ld/12529 | |
265 | * testplug.c: Don't include "filenames.h". | |
266 | (onclaim_file): Don't use filename_cmp. | |
267 | ||
42627821 KT |
268 | 2011-02-28 Kai Tietz <kai.tietz@onevision.com> |
269 | ||
270 | * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp. | |
271 | * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck): | |
272 | Likewise. | |
273 | (gld${EMULATION_NAME}_stat_needed): Likewise. | |
274 | (gld${EMULATION_NAME}_check_needed): Likewise. | |
275 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise. | |
276 | (gld_${EMULATION_NAME}_unrecognized_file): Likewise. | |
277 | * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise. | |
278 | (gld_${EMULATION_NAME}_unrecognized_file): Likewise. | |
279 | * ldfile.c (ldfile_open_file): Likewise. | |
280 | * ldlang.c (wild_sort): Likewise. | |
281 | (lookup_name): Likewise. | |
282 | (check_excluded_libs): Likewise. | |
283 | * ldmisc.c (vfinfo): Likewise. | |
284 | * pe-dll.c (libnamencmp): Likewise. | |
285 | (auto_export): Likewise. | |
286 | (pe_dll_generate_implib): Likewise. | |
287 | * testplug.c (onclaim_file): Likewise. | |
288 | ||
174b85fc L |
289 | 2011-02-24 H.J. Lu <hongjiu.lu@intel.com> |
290 | ||
291 | PR ld/12507 | |
292 | * plugin.c (get_symbols): Don't check entry symbol here. | |
293 | (init_non_ironly_hash): Add entry_symbol chain into | |
294 | non_ironly_hash. | |
295 | ||
8ff09c12 L |
296 | 2011-02-24 H.J. Lu <hongjiu.lu@intel.com> |
297 | ||
298 | PR ld/12507 | |
299 | * plugin.c (get_symbols): Don't mark entry symbol IR only. | |
300 | ||
ae97b922 DA |
301 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca> |
302 | ||
303 | PR ld/12376 | |
304 | emulparams/hppalinux.sh (DATA_ADDR): Define. | |
305 | (SHLIB_DATA_ADDR): Likewise. | |
306 | ||
73f2a3d2 L |
307 | 2011-02-16 H.J. Lu <hongjiu.lu@intel.com> |
308 | ||
309 | * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to | |
310 | x32 for x32. | |
311 | ||
fd11958c KT |
312 | 2011-02-15 Kai Tietz <kai.tietz@onevision.com> |
313 | ||
314 | * pe-dll.c (process_def_file_and_drectve): Don't strip | |
315 | leading underscore from symbol by calling bfd_find_version_for_sym. | |
316 | ||
93252b1c MF |
317 | 2011-02-14 Mike Frysinger <vapier@gentoo.org> |
318 | ||
319 | * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to | |
320 | the bfd_demangle of sym, change users of sym to c_sym when not | |
321 | already demangling, and free when done. Change callers of | |
322 | cplus_demangle to bfd_demangle. | |
323 | ||
486329aa AM |
324 | 2011-02-14 Alan Modra <amodra@gmail.com> |
325 | ||
326 | * plugin.c (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy | |
327 | .text section, use newer bfd_make_section variant. Error handling. | |
328 | Correct setting of gp size. | |
329 | (asymbol_from_plugin_symbol): Properly cast last arg of concat. | |
330 | (message): Likewise for ACONCAT. | |
331 | (get_symbols): Formatting. | |
332 | ||
498cd2a0 AM |
333 | 2011-02-14 Alan Modra <amodra@gmail.com> |
334 | ||
335 | * ldmain.c (remove_output): Rename to.. | |
336 | (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup. | |
337 | (main): Adjust. | |
338 | * plugin.c (plugin_call_cleanup): Make global. | |
339 | (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit. | |
340 | * plugin.h (plugin_call_cleanup): Declare. | |
341 | ||
822ce8ee RW |
342 | 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
343 | ||
344 | * configure: Regenerate. | |
345 | ||
09b910c6 AM |
346 | 2011-02-10 Alan Modra <amodra@gmail.com> |
347 | ||
348 | * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. | |
349 | * scripttempl/avr.sc: Likewise. | |
350 | * scripttempl/elf32cr16.sc: Likewise. | |
351 | * scripttempl/elf32crx.sc: Likewise. | |
352 | * scripttempl/elf32msp430.sc: Likewise. | |
353 | * scripttempl/elf32msp430_3.sc: Likewise. | |
354 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
355 | * scripttempl/elf64hppa.sc: Likewise. | |
356 | * scripttempl/elf_chaos.sc: Likewise. | |
357 | * scripttempl/elfd10v.sc: Likewise. | |
358 | * scripttempl/elfd30v.sc: Likewise. | |
359 | * scripttempl/elfi370.sc: Likewise. | |
360 | * scripttempl/elfm68hc11.sc: Likewise. | |
361 | * scripttempl/elfm68hc12.sc: Likewise. | |
362 | * scripttempl/elfxtensa.sc: Likewise. | |
363 | * scripttempl/ip2k.sc: Likewise. | |
364 | * scripttempl/iq2000.sc: Likewise. | |
365 | * scripttempl/mep.sc: Likewise. | |
366 | * scripttempl/mmo.sc: Likewise. | |
367 | * scripttempl/v850.sc: Likewise. | |
368 | * scripttempl/xstormy16.sc: Likewise. | |
369 | * scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu. | |
370 | ||
3cb62297 L |
371 | 2011-01-22 H.J. Lu <hongjiu.lu@intel.com> |
372 | ||
373 | * Makefile.am (CXX): Removed. | |
374 | ||
375 | * configure.in: Add AC_PROG_CXX. | |
376 | ||
377 | * Makefile.in: Regenerated. | |
378 | * configure: Likewise. | |
379 | ||
ed88c97e RS |
380 | 2011-01-22 Richard Sandiford <rdsandiford@googlemail.com> |
381 | ||
382 | * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's | |
383 | private data and GP size. | |
384 | ||
9bc8bb33 AM |
385 | 2011-01-21 Alan Modra <amodra@gmail.com> |
386 | ||
387 | * ldexp.c (fold_binary): Set result section for arithmetic and | |
388 | logical operations to NULL when both operands are in same section. | |
389 | * ld.texinfo (Expression Section): Describe this. | |
390 | ||
175b7cd4 AM |
391 | 2011-01-14 Alan Modra <amodra@gmail.com> |
392 | ||
393 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't | |
394 | attempt to put non-alloc orphans before debug sections, just place | |
395 | them after .comment. | |
396 | ||
a05e447f AM |
397 | 2011-01-14 J. Park <grassman@gmail.com> |
398 | ||
399 | PR ld/12339 | |
400 | * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols. | |
401 | ||
3ed41d59 AM |
402 | 2011-01-14 Alan Modra <amodra@gmail.com> |
403 | ||
404 | * Makefile.am: Sort emulation rules. | |
405 | (eelf32am33lin.c): Delete. | |
406 | (ALL_EMULATION_SOURCES): Sort, add missing entries. | |
407 | (ALL_64_EMULATION_SOURCES): Likewise. | |
408 | * Makefile.in: Regenerate. | |
409 | ||
2e57b2af AM |
410 | 2011-01-13 Alan Modra <amodra@gmail.com> |
411 | ||
01554a74 AM |
412 | PR ld/12356 |
413 | * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE. | |
414 | (Expression Section): Update. | |
415 | * ld.h (ld_config_type): Add sane_expr. | |
416 | * ldgram.y (ifile_p1): Add LD_FEATURE. | |
417 | * ldlex.l (LD_FEATYRE): New. | |
418 | * ldemul.c (after_parse_default): Delete code handling ld_compatibility. | |
419 | * ldexp.h (struct ldexp_control): Delete uses_defined. | |
420 | * ldexp.c: Remove all uses of uses_defined. | |
421 | (fold_name): Test config.sane_expr rather than ld_compatibility. | |
422 | (exp_fold_tree_1): Likewise. Adjust handling of assignments | |
423 | during first phase. | |
424 | * ldlang.h (ld_compatibility): Delete. | |
425 | (lang_ld_feature): Declare. | |
426 | * ldlang.c (ld_compatibility): Delete. | |
427 | (open_input_bfds): Only handle assignments for --defsym. | |
428 | (lang_ld_feature): New function. | |
429 | ||
2e57b2af AM |
430 | PR ld/12356 |
431 | * ldexp.h (exp_assop): Delete. | |
432 | (exp_assign, exp_defsym): Declare. | |
433 | * ldexp.c (exp_assop): Make static, handle all assignment variations. | |
434 | (exp_assign, exp_defsym): New functions. | |
435 | (exp_provide): Use exp_assop. | |
436 | * ldgram.y (defsym_expr): Use exp_defsym. | |
437 | * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em, | |
438 | * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em, | |
439 | * emultempl/xtensaelf.em: Update exp_assop -> exp_assign. | |
440 | ||
ea7c2e6c AM |
441 | 2011-01-12 Alan Modra <amodra@gmail.com> |
442 | ||
443 | PR ld/12380 | |
444 | * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done. | |
445 | * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test | |
446 | for exp_dataseg_done rather than expld.phase == lang_final_phase_enum | |
447 | to detect when we've finished sizing sections. | |
448 | (fold_binary <DATA_SEGMENT_ALIGN>): Likewise. | |
449 | (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test | |
450 | that we are not inside an output section statement. | |
451 | * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if | |
452 | not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set | |
453 | lang_final_phase_enum here. | |
454 | (lang_process): Set lang_final_phase_enum here. | |
455 | ||
f7465604 NC |
456 | 2011-01-10 Nick Clifton <nickc@redhat.com> |
457 | ||
458 | * po/da.po: Updated Danish translation. | |
459 | ||
1e915804 L |
460 | 2011-01-10 H.J. Lu <hongjiu.lu@intel.com> |
461 | ||
462 | * ldlang.c (startup_file): Removed. | |
463 | (lang_startup): Updated. | |
464 | ||
cc322803 L |
465 | 2011-01-05 H.J. Lu <hongjiu.lu@intel.com> |
466 | ||
467 | PR ld/12364 | |
468 | * plugin.c (get_symbols): Check if owner_sec->owner is NULL | |
469 | before accessing its flags field. | |
470 | ||
0db46eb4 L |
471 | 2011-01-01 H.J. Lu <hongjiu.lu@intel.com> |
472 | ||
473 | * ldver.c (ldversion): Update copyright to 2011. | |
474 | ||
9e9e0820 | 475 | For older changes see ChangeLog-2010 |
252b5132 RH |
476 | \f |
477 | Local Variables: | |
478 | mode: change-log | |
479 | left-margin: 8 | |
480 | fill-column: 74 | |
481 | version-control: never | |
482 | End: |