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