Update translations
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2010-11-25 Alan Modra <amodra@gmail.com>
2
3 * po/bg.po: Update.
4 * po/es.po: Update.
5 * po/fi.po: Update.
6 * po/ja.po: New.
7 * po/zh_CN.po: Update.
8
9 2010-11-25 Jan Hubicka <hubicka@ucw.cz>
10
11 * scripttempl/elf.sc: Group .text.exit, text.startup and .text.hot
12 sections.
13
14 2010-11-23 Matthias Klose <doko@ubuntu.com>
15
16 * configure.ac: For --enable-gold, handle value `default' instead of
17 `both*'. Always install ld as ld.gold, install as ld if gold is
18 the default.
19 * configure: Regenerate.
20
21 2010-11-21 H.J. Lu <hongjiu.lu@intel.com>
22
23 * ldfile.c: Re-indent plugin code.
24 * ldlang.c: Likewise.
25 * ldmain.c: Likewise.
26 * plugin.c: Likewise.
27
28 2010-11-20 H.J. Lu <hongjiu.lu@intel.com>
29
30 PR ld/12246
31 * plugin.c (asymbol_from_plugin_symbol): Set alignment of
32 common symbol to 1 for For ELF targets.
33
34 2010-11-20 H.J. Lu <hongjiu.lu@intel.com>
35
36 PR ld/12247
37 * lexsup.c (parse_args): Properly report loading plugin error.
38
39 2010-11-19 Dave Korn <dave.korn.cygwin@gmail.com>
40
41 * plugin.c (is_visible_from_outside): New function.
42 (get_symbols): Use it.
43
44 2010-11-16 Jie Zhang <jie.zhang@analog.com>
45
46 * Makefile.am (eelf32bfinfd.c, eelf32bfin.c): Depend on bfin.em.
47 * Makefile.in: Regenerated.
48 * emulparams/bfin.sh (EXTRA_EM_FILE): Set.
49 * emulparams/elf32bfinfd.sh (EXTRA_EM_FILE): Likewise.
50 * emultempl/bfin.em: New.
51
52 2010-11-16 Yasuaki Taniguchi <taniguchi.yasua@jp.fujitsu.com>
53
54 * emultempl/pe.em (_list_options): Correct typo.
55 * emultempl/pep.em (_list_options): Likewise.
56
57 2010-11-08 Thomas Schwinge <thomas@schwinge.name>
58
59 * configure.host: Add stanza for *-*-gnu*.
60
61 2010-11-05 Pierre Muller <muller@ics.u-strasbg.fr>
62
63 * emultempl/spuelf.em (new_tmp_file): Fix wrong first parameter.
64
65 2010-11-05 Tristan Gingold <gingold@adacore.com>
66
67 * po/ld.pot: Regenerate
68 * po/POTFILES.in: Regenerate
69
70 2010-11-05 Tristan Gingold <gingold@adacore.com>
71
72 * NEWS: Add marker for 2.21.
73
74 2010-11-05 Dave Korn <dave.korn.cygwin@gmail.com>
75
76 * plugin.h (plugin_active_plugins_p): New prototype.
77 (is_ir_dummy_bfd): Delete prototype.
78 * plugin.c: Fix formatting issues.
79 (is_ir_dummy_bfd): Make static.
80 (plugin_active_plugins_p): New function.
81 * ldfile.c (ldfile_try_open_bfd): Use it to save work if no plugins
82 are loaded. Always close file descriptor after claim handler returns.
83 * ldmain.c (add_archive_element): Likewise.
84
85 2010-11-05 Alan Modra <amodra@gmail.com>
86
87 * ldlang.c (lang_add_section): Distinguish ELF treatment of NOLOAD.
88 (map_input_to_output_sections): Likewise.
89 (lang_size_sections_1): Likewise.
90 (IGNORE_SECTION): Don't test SEC_NEVER_LOAD.
91 (lang_check_section_addresses): Likewise.
92
93 2010-11-04 Kai Tietz <kai.tietz@onevision.com>
94
95 * scripttempl/pe.sc (.debug_types): New.
96 * scripttempl/pep.sc: Likewise.
97
98 2010-11-04 Alan Modra <amodra@gmail.com>
99
100 * plugin.c (is_ir_dummy_bfd): Don't segfault on NULL abfd.
101
102 2010-11-03 Nick Clifton <nickc@redhat.com>
103
104 PR ld/12001
105 * ldlang.c (ldlang_def_chain_list): New variable. Contains a list
106 of symbols defined via the --defsym command line option and
107 currently waiting assignment.
108 (insert_defined): Add a defined symbol to the symbol table.
109 (ldlang_add_def): Add a entry to the ldlang_def_chain_list.
110 (lang_place_defineds): Walk ldlang_def_chain_list defining the
111 symbols.
112 (lang_process): Call lang_place_defineds.
113 (lang_add_assignment): If the assignment has come from a --defsym
114 command line option then call lang_add_def.
115
116 2010-11-03 Alan Modra <amodra@gmail.com>
117
118 * Makefile.am (eelf64hppa.c): Correct dependencies.
119 * Makefile.in: Regenerate.
120
121 2010-11-02 H.J. Lu <hongjiu.lu@intel.com>
122
123 * scripttempl/armbpabi.sc: Include compressed DWARF debug
124 sections.
125 * scripttempl/avr.sc: Likewise.
126 * scripttempl/elf32cr16.sc: Likewise.
127 * scripttempl/elf32crx.sc: Likewise.
128 * scripttempl/elf32msp430.sc: Likewise.
129 * scripttempl/elf32msp430_3.sc: Likewise.
130 * scripttempl/elf32sh-symbian.sc: Likewise.
131 * scripttempl/elf64hppa.sc: Likewise.
132 * scripttempl/elf_chaos.sc: Likewise.
133 * scripttempl/elfd10v.sc: Likewise.
134 * scripttempl/elfd30v.sc: Likewise.
135 * scripttempl/elfi370.sc: Likewise.
136 * scripttempl/elfm68hc11.sc: Likewise.
137 * scripttempl/elfm68hc12.sc: Likewise.
138 * scripttempl/elfxtensa.sc: Likewise.
139 * scripttempl/ip2k.sc: Likewise.
140 * scripttempl/iq2000.sc: Likewise.
141 * scripttempl/mep.sc: Likewise.
142 * scripttempl/mmo.sc: Likewise.
143 * scripttempl/v850.sc: Likewise.
144 * scripttempl/xstormy16.sc: Likewise.
145
146 2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
147
148 * ldfile.c (ldfile_try_open_bfd): Set BFD_DECOMPRESS after
149 bfd_openr returns.
150 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
151
152 * scripttempl/elf.sc: Include compressed DWARF debug sections.
153
154 2010-10-28 Alan Modra <amodra@gmail.com>
155
156 * ldfile.c (find_scripts_dir): Don't look in absolute SCRIPTDIR.
157
158 2010-10-28 Matthias Klose <doko@ubuntu.com>
159
160 * ld.texinfo: Add directory section for info document.
161 * ldint.texinfo: Likewise.
162
163 2010-10-28 Alan Modra <amodra@gmail.com>
164
165 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): For
166 --no-undefined-version, don't report dot sym versions added by ld.
167
168 2010-10-28 Alan Modra <amodra@gmail.com>
169
170 * ldlang.h (ldlang_add_undef): Add cmdline param.
171 * ldlang.c (undef_from_cmdline): New var.
172 (ldlang_add_undef): Add cmdline param. Set undef_from_cmdline.
173 (lang_end): Really require -e or -u from command line on
174 relocatable --gc-sections.
175 * ldemul.c (after_parse_default): Adjust ldlang_add_undef call.
176 * ldgram.y (extern_name_list_body): Likewise.
177 * lexsup.c (parse_args): Likewise.
178 * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Likewise.
179
180 2010-10-25 Alan Modra <amodra@gmail.com>
181
182 * plugin.c (plugin_get_ir_dummy_bfd): Set bfd_use_reserved_id.
183 Formatting.
184
185 2010-10-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
186
187 * emulparams/elf32_sparc_sol2.sh (OUTPUT_FORMAT): Set to
188 elf32-sparc-sol2.
189 * emulparams/elf64_sparc_sol2.sh (OUTPUT_FORMAT): Set to
190 elf64-sparc-sol2.
191
192 2010-10-22 Alan Modra <amodra@gmail.com>
193
194 * ldwrite.c (build_link_order <lang_data_statement_enum>): Don't
195 output when section has no contents.
196 (build_link_order <lang_reloc_statement_enum>): Likewise.
197
198 2010-10-21 Joseph Myers <joseph@codesourcery.com>
199
200 * emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Use
201 .c6xabi.attributes, not __TI_build_attributes.
202
203 2010-10-20 Dave Korn <dave.korn.cygwin@gmail.com>
204
205 * plugin.c (get_symbols): Check symbol type correctly.
206
207 2010-10-15 Dave Korn <dave.korn.cygwin@gmail.com>
208
209 * configure.in: If <dlfcn.h> can't be found, try for <Windows.h>
210 * configure: Regenerate.
211 * config.in: Likewise.
212 * plugin.c [!HAVE_DLFCN_H && HAVE_WINDOWS_H] (dlopen): Provide
213 trival LoadLibrary-based replacement for Windows systems.
214 [!HAVE_DLFCN_H && HAVE_WINDOWS_H] (dlsym): Likewise trivial
215 replacement based on GetProcAddress.
216 [!HAVE_DLFCN_H && HAVE_WINDOWS_H] (dlsym): Likewise FreeLibrary.
217 * sysdep.h: Don't infer presence of <dlfcn.h> from ENABLE_PLUGINS
218 anymore, use its own guard.
219
220 2010-10-15 Dave Korn <dave.korn.cygwin@gmail.com>
221
222 * plugin.c (add_input_file): Take copy of input string.
223 (add_input_library): Likewise.
224 (set_extra_library_path): Likewise.
225
226 2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com>
227
228 Apply LD plugin patch series (part 6/6).
229 * ldlang.c (load_symbols): Handle bfd subsitution when calling the
230 add_archive_element callback.
231 * ldmain.c (add_archive_element)[ENABLE_PLUGINS]: Offer the archive
232 member to the plugins and if claimed set "subsbfd" output parameter to
233 point to the dummy IR-only BFD.
234
235 2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com>
236
237 Apply LD plugin patch series (part 5/6).
238 * plugin.c (asymbol_from_plugin_symbol): If the bfd is an ELF bfd,
239 find the elf symbol data and set the visibility in the st_other field.
240
241 2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com>
242
243 Apply LD plugin patch series (part 4/6).
244 * ldlang.c (lang_process)[ENABLE_PLUGINS]: Move invocation of
245 plugin_call_all_symbols_read to before setting of gc_sym_list, and
246 open any new input files that may have been added during it.
247 * ldmain.c (multiple_definition)[ENABLE_PLUGINS]: Call out to
248 plugin_multiple_definition and let it have first say over what to do
249 with the clashing definitions.
250 * plugin.c (no_more_claiming): New boolean variable.
251 (plugin_cached_allow_multiple_defs): Likewise.
252 (add_input_file): Implement.
253 (add_input_library): Likewise.
254 (set_extra_library_path): Likewise.
255 (plugin_call_claim_file): Don't do anything when no_more_claiming set.
256 (plugin_call_all_symbols_read): Set it. Disable link info
257 "allow_multiple_definition" flag, but cache its value.
258 (plugin_multiple_definition): New function.
259 * plugin.h (plugin_multiple_definition): Add prototype.
260 * testplug.c (addfile_enum_t): New enumerated typedef.
261 (add_file_t): New struct typedef.
262 (addfiles_list): New variable.
263 (addfiles_tail_chain_ptr): Likewise.
264 (record_add_file): New function.
265 (parse_option): Parse "add:", "lib:" and "dir:" options and call it.
266 (onall_symbols_read): Iterate the list of new files, libs and dirs,
267 adding them.
268
269 2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com>
270
271 Apply LD plugin patch series (part 3/6).
272 * ldmain.c (notice)[ENABLE_PLUGINS]: Call plugin_notice.
273 * plugin.c (non_ironly_hash): Add new bfd hash table.
274 (plugin_load_plugins): Exit early if no plugins to load. If plugins
275 do load successfully, set notice_all flag in link info.
276 (get_symbols): Implement.
277 (plugin_load_plugins): Exit early if no plugins to load, else after
278 loading plugins successfully enable notice_all mode.
279 (init_non_ironly_hash): Lazily init non_ironly_hash table.
280 (plugin_notice): Record symbols referenced from non-IR files in the
281 non_ironly_hash. Suppress tracing, cref generation and nocrossrefs
282 tracking for symbols from dummy IR bfds.
283 * plugin.h: Fix formatting.
284 (plugin_notice): Add prototype.
285 * testplug.c (dumpresolutions): New global var.
286 (parse_options): Accept "dumpresolutions".
287 (onall_symbols_read): Get syms and dump resolutions if it was given.
288
289 2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com>
290
291 Apply LD plugin patch series (part 2/6).
292 * ldfile.c (ldfile_try_open_bfd)[ENABLE_PLUGINS]: Don't return early
293 during compat checks if they pass, instead offer any successfully
294 opened and accepted file to the plugin claim file hooks chain. Create
295 a dummy bfd to accept symbols added by the plugin, if the plugin
296 claims the file.
297 * ldlang.c (lang_process)[ENABLE_PLUGINS]: Call plugin all symbols
298 read hook chain before ldemul_after_open.
299 * ldlang.h (struct lang_input_statement_struct): Add new single-bit
300 'claimed' flag.
301 * plugin.c (IRONLY_SUFFIX): New macro for dummy bfd file suffix.
302 (IRONLY_SUFFIX_LEN): Length of the above string.
303 (plugin_get_ir_dummy_bfd): New function to create the dummy bfd used
304 to store symbols for ir-only files.
305 (is_ir_dummy_bfd): New function to check if a bfd is ir-only.
306 (asymbol_from_plugin_symbol): New function converts symbol formats.
307 (add_symbols): Call it to convert plugin syms to bfd syms and add
308 them to the dummy bfd.
309 * plugin.h: Add missing include guards.
310 (plugin_get_ir_dummy_bfd): Add prototype.
311 (is_ir_dummy_bfd): Likewise.
312 * testplug.c (TV_MESSAGE): New helper macro.
313 (struct claim_file): New struct.
314 (claim_file_t): New typedef.
315 (tag_names[]): Make static and const.
316 (claimfiles_list): New variable.
317 (claimfiles_tail_chain_ptr): Likewise.
318 (last_claimfile): Likewise.
319 (record_claim_file): Record a file to claim on a singly-linked list.
320 (parse_symdefstr): Parse an ASCII representation of a symbol from a
321 plugin option into the fields of a struct ld_plugin_symbol.
322 (record_claimed_file_symbol): Use it to parse plugin option for
323 adding a symbol.
324 (parse_option): Parse claim file and add symbol options.
325 (dump_tv_tag): Use TV_MESSAGE.
326 (onload): Likewise.
327 (onclaim_file): Make static. Use TV_MESSAGE. Scan list of files to
328 claim and claim this file if required, adding any symbols specified.
329 (onall_symbols_read): Make static and use TV_MESSAGE.
330 (oncleanup): Likewise.
331
332 2010-10-14 Dave Korn <dave.korn.cygwin@gmail.com>
333
334 Apply LD plugin patch series (part 1/6).
335 * configure.in: Add AC_CHECKs for file io and dlfcn headers and
336 functions and AC_SEARCH for -ldl.
337 (enable_plugins): New shell variable set if above tests find dlopen
338 functionality.
339 (ENABLE_PLUGINS): Add related automake conditional.
340 * configure: Regenerate.
341 * config.in: Likewise.
342 * Makefile.am (PLUGIN_C): Declare plugin C source file, conditional
343 on ENABLE_PLUGINS being defined.
344 (PLUGIN_H): Likewise for header file.
345 (PLUGIN_OBJECT): Likewise for object file.
346 (PLUGIN_CFLAGS): Likewise -D flag required to compile plugin support.
347 (AM_CPPFLAGS): Use PLUGIN_CFLAGS.
348 (CFILES): Use PLUGIN_C.
349 (HFILES): Use PLUGIN_H.
350 (OFILES): Use PLUGIN_OBJECT.
351 (ld_new_SOURCES): Use PLUGIN_C.
352 (noinst_LTLIBRARIES)[ENABLE_PLUGINS]: Declare test plugin.
353 (libldtestplug_la_SOURCES)[ENABLE_PLUGINS]: Add automake definition
354 for test plugin.
355 (libldtestplug_la_CFLAGS)[ENABLE_PLUGINS]: Likewise.
356 (libldtestplug_la_LDFLAGS)[ENABLE_PLUGINS]: Likewise.
357 * Makefile.in: Regenerate.
358 * sysdep.h: Include stdarg.h, unistd.h and one of fcntl.h or
359 sys/file.h where available. Include dlfcn.h when ENABLE_PLUGINS.
360 (O_RDONLY): Supply default definition likewise to bfd's sysdep.h
361 (O_WRONLY): Likewise.
362 (O_RDWR): Likewise.
363 (O_ACCMODE): Likewise.
364 (O_BINARY): Likewise.
365 (SEEK_SET): Likewise.
366 (SEEK_CUR): Likewise.
367 (SEEK_END): Likewise.
368 * ldmisc.c (vfinfo): Make non-static. Add %p format char.
369 * ldmisc.h (vfinfo): Declare extern prototype.
370 * lexsup.c (enum option_values)[ENABLE_PLUGINS]: Add new entries for
371 OPTION_PLUGIN and OPTION_PLUGIN_OPT.
372 (ld_options[])[ENABLE_PLUGINS]: Add option data for the above two.
373 (parse_args)[ENABLE_PLUGINS]: Handle them, and load all plugins once
374 option parsing is complete.
375 * ldmain.c (main)[ENABLE_PLUGINS]: Call plugin cleanup hooks just
376 after lang_finish.
377 * plugin.c: New source file.
378 * plugin.h: Likewise new header.
379 * testplug.c: New source file.
380
381 2010-10-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
382
383 * emultempl/solaris2.em (elf_solaris2_before_allocation): Renamed
384 basever_syms to global_syms.
385 Emit global_syms into .dynamic section for all executables and
386 shared objects.
387 (elf_solaris2_after_allocation): New function.
388 (LDEMUL_AFTER_ALLOCATION): Use it.
389 * emulparams/solaris2.sh: New file.
390 * emulparams/elf32_sparc_sol2.sh: Use it.
391 * emulparams/elf64_sparc_sol2.sh: Likewise.
392 * emulparams/elf_i386_sol2.sh: Likewise.
393 * emulparams/elf_x86_64_sol2.sh: Likewise.
394 * Makefile.am (eelf32_sparc_sol2.c): Depend on
395 $(srcdir)/emulparams/solaris2.sh.
396 (eelf64_sparc_sol2.c): Likewise.
397 (eelf_x86_64_sol2.c): Likewise.
398 (eelf_i386_sol2.c): Likewise.
399 * Makefile.in: Regenerate.
400
401 2010-10-06 Nick Clifton <nickc@redhat.com>
402
403 * ld.texinfo: Update description of computation of VMA and LMA
404 addresses for output sections.
405
406 2010-10-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
407
408 * Makefile.am (ALL_64_EMULATIONS): Fix typo in last commit.
409 * Makefile.in: Regenerate.
410
411 * Makefile.am (ALL_EMULATIONS): Rewrite in terms of ...
412 (ALL_EMULATION_SOURCES): ... this new variable.
413 (ALL_64_EMULATIONS): Rewrite in terms of ...
414 (ALL_64_EMULATION_SOURCES): ... this new variable.
415 (EXTRA_ld_new_SOURCES): Rewrite in terms of the _SOURCES
416 variables.
417 (eelf32microblaze.c): Fix indentation.
418 * Makefile.in: Regenerate.
419
420 2010-10-04 Bernd Schmidt <bernds@codesourcery.com>
421
422 * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use
423 _bfd_elf_single_rel_hdr.
424
425 2010-10-01 Alan Modra <amodra@gmail.com>
426
427 PR ld/12066
428 * ldexp.c (fold_name): Treat absolute symbols as plain numbers.
429 * ld.texinfo (Expression Section): Don't say absolute symbols
430 are addresses.
431
432 2010-09-29 Alan Modra <amodra@gmail.com>
433
434 * ldlang.c (lang_place_orphans): Zero vma when relocatable or non-load
435 section for orphans handled here.
436
437 2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
438
439 * configure: Regenerate.
440
441 2010-09-23 Dave Korn <dave.korn.cygwin@gmail.com>
442
443 * scripttempl/armcoff.sc: Revert 2010-09-22 change.
444
445 2010-09-23 Alan Modra <amodra@gmail.com>
446
447 * ldlang.c (lang_add_section): Don't copy SEC_RELOC from input
448 to output section on a final link.
449
450 2010-09-22 Kai Tietz <kai.tietz@onevision.com>
451
452 * ldlang.c (lang_add_section): Allow for debugging
453 section to be marked as noload but to keep content.
454 (IGNORE_SECTION): Likewise.
455 (lang_check_section_addresses): Likewise.
456 * ldwrite.c (build_link_order): Likewise.
457
458 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add
459 idata to orphan set.
460 * emultempl/pep.em: Likewise.
461 * scripttempl/armcoff.sc: Separate idata
462 and add __IAT_start__ and __IAT_end__ labels.
463 * scripttempl/pe.sc: Likewise.
464 * scripttempl/pep.sc: Likewise.
465
466 2010-09-20 David S. Miller <davem@davemloft.net>
467
468 * emulparams/elf32_sparc.sh: Set NOP to 0x01000000
469
470 2010-09-16 Alan Modra <amodra@gmail.com>
471
472 * ld.texinfo (NOLOAD): Do not erroneously state that contents will
473 appear in output file.
474 * ldlang.c (lang_add_section): Clear SEC_HAS_CONTENTS on noload
475 unless SEC_COFF_SHARED_LIBRARY.
476 (map_input_to_output_sections): Don't set SEC_HAS_CONTENTS for noload
477 output sections.
478 (lang_size_sections_1): Don't test SEC_NEVER_LOAD when deciding
479 to update dot in region. Ditto when setting SEC_ALLOC if dot
480 advanced due to assignment.
481 * ldwrite.c (build_link_order): Don't test SEC_NEVER_LOAD.
482
483 2010-09-15 Kai Tietz <kai.tietz@onevision.com>
484
485 * scripttempl/pep.sc: Add .xdata segment and
486 put into .pdata all segments beginning with .pdata.
487
488 2010-09-10 Alan Modra <amodra@gmail.com>
489
490 PR ld/11931
491 * ldlang.h (lang_for_each_statement_worker): Declare.
492 * ldlang.c (lang_for_each_statement_worker): Make global. Don't
493 recurse into children of output_section_statement with constraint
494 set to -1.
495 (print_assignment): Handle NULL output_section->bfd_section.
496 (lang_size_sections_1): Ignore output section statement address
497 when constraint is -1.
498 * emultempl/xtensaelf.em (lang_for_each_statement_worker): Delete.
499
500 2010-09-09 Tristan Gingold <gingold@adacore.com>
501
502 * NEWS: Add a entry for alpha-vms.
503
504 2010-09-07 Andrew Burgess <aburgess@broadcom.com>
505
506 * ldwrite.c (clone_section): Call bfd_copy_private_section_data on
507 newly cloned section.
508
509 2010-09-02 Richard Henderson <rth@redhat.com>
510
511 * configure.tgt (x86_64-*-mingw*): Add 32-bit pe emulations too.
512
513 2010-08-31 Nick Clifton <nickc@redhat.com>
514
515 * ldlex.l (WILDCHAR): Add the caret and exclamation point
516 characters, so that they can be used inside globs.
517
518 2010-08-31 Nick Clifton <nickc@redhat.com>
519
520 * ld.texinfo (MEMORY): Clarify the behaviour of the ! character in
521 a region's attributes.
522
523 2010-08-31 Alan Modra <amodra@gmail.com>
524
525 * scripttempl/mmo.sc: Move assignment to "Main" inside .text
526 output section statement.
527
528 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
529
530 PR ld/11946
531 * emultempl/elf32.em (_before_allocation): Check audit entry
532 only on ELF input.
533
534 2010-08-22 H.J. Lu <hongjiu.lu@intel.com>
535
536 PR ld/11937
537 * emultempl/elf32.em (_after_open): Find one .eh_frame section
538 for --eh-frame-hdr.
539
540 2010-08-22 H.J. Lu <hongjiu.lu@intel.com>
541
542 PR ld/11937
543 * emultempl/elf32.em (_after_open): Find an ELF input for
544 --build-id and --eh-frame-hdr.
545
546 2010-08-20 Maciej W. Rozycki <macro@codesourcery.com>
547
548 * Makefile.am (eshlelf_fd.c): Correct the name of the tool
549 directory.
550 * Makefile.in: Regenerate.
551
552 2010-08-20 Nick Clifton <nickc@redhat.com>
553
554 * emultempl/elf32.em (_after_open): Check for get_elf_backend_data
555 returning NULL.
556
557 2010-08-19 Alan Modra <amodra@gmail.com>
558
559 * NEWS: Mention change in linker script expression evaluation.
560
561 2010-08-19 Alan Modra <amodra@gmail.com>
562
563 * ld.texinfo (Expression Section): Detail expression evaluation.
564 (Builtin Functions <ADDR>): Correct.
565 (Builtin Functions <LOADADDR>): Don't mention LOADADDR normally
566 the same as ADDR.
567 (Builtin Functions <SEGMENT_START>): Typo fix.
568 * ldexp.c (new_number): New function.
569 (make_abs, exp_get_abs_int): Cope with NULL expld.result.section.
570 (fold_unary <'~', '!', '-'>): Don't make_abs.
571 (fold_binary): Simplify result section logic. Return NULL section
572 for logical ops.
573 (fold_binary <SEGMENT_START>): Use new_rel_from_abs to set value to
574 a consistent result.
575 (fold_name <SIZEOF_HEADERS>): Return new_number, not new_abs.
576 (fold_name <DEFINED, SIZEOF, ALIGNOF, LENGTH, CONSTANT>): Likewise.
577 (fold_name <NAME>): No need to handle absolute symbols differently
578 from relative ones.
579 (fold_name <ORIGIN>): Don't return valid result when
580 lang_first_phase_enum. Return new_rel_from_abs, not new_abs.
581 (exp_fold_tree_1 <etree_value>): Return new_number, not new_rel.
582 (exp_fold_tree_1): Ajust for NULL expld.result.section. When assigning
583 a plain number to dot, assume the value is relative to expld.section.
584 Make terms not in an output section, absolute.
585 * ldlang.c (print_assignment): Fix style nit.
586 (lang_size_sections_1): Cope with NULL expld.result.section.
587 (lang_do_assignments_1): Likewise.
588
589 2010-08-12 Alan Modra <amodra@gmail.com>
590
591 * ldexp.c (new_rel): Remove "str". Update all call sites.
592 (exp_fold_tree_1): When assigning to dot, calculate nextdot
593 using expld.result.section rather than expld.section.
594
595 2010-08-06 Alan Modra <amodra@gmail.com>
596
597 PR ld/11887
598 * ldlang.c (lang_add_vers_depend): Don't leave version_needed
599 uninitialised.
600
601 2010-07-28 Alan Modra <amodra@gmail.com>
602
603 * ldexp.c (exp_print_tree): Print function-like binary nodes as
604 functions rather than in-fix operators. Use fputs and fputc
605 where appropriate.
606
607 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
608 Ina Pandit <ina.pandit@kpitcummins.com>
609
610 * configure.tgt: Match all v850 targets.
611
612 2010-07-20 Mike Frysinger <vapier@gentoo.org>
613
614 * ld.texinfo (VERSION): Remove "int" from example script and add ";".
615 Declare the default language as C.
616
617 2010-07-17 Alan Modra <amodra@gmail.com>
618
619 * ldlang.c (lang_check_section_addresses): Catch overlap for
620 sections that wrap around the address space.
621
622 2010-06-29 Nick Clifton <nickc@redhat.com>
623
624 * scripttempl/xstormy16.sc (.gcc_except_table): Include sections
625 with the .gcc_except_table. prefix.
626
627 2010-06-29 Alan Modra <amodra@gmail.com>
628
629 * emulparams/maxqcoff.sh: Delete file.
630 * scripttempl/maxqcoff.sc: Delete file.
631 * Makefile.am: Remove references to maxq.
632 * configure.tgt: Likewise.
633 * Makefile.in: Regenerate.
634 * configure: Regenerate.
635 * po/POTFILES.in: Regenerate.
636
637 2010-06-27 Alan Modra <amodra@gmail.com>
638
639 * pe-dll.c (fill_edata): Avoid set but unused warning.
640 (pe_walk_relocs_of_symbol): Delete set but unused variables.
641 (generate_reloc, pe_implied_import_dll): Likewise.
642 * emultempl/aix.em (open_dynamic_archive): Likewise.
643 * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Likewise.
644 (xtensa_layout_wild): Likewise.
645 (xtensa_colocate_output_literals_callback): Likewise.
646
647 2010-06-25 Alan Modra <amodra@gmail.com>
648
649 * emultempl/ppc64elf.em (prelim_size_sections): New function.
650 (ppc_before_allocation): Use it. Size sections before toc edit too.
651
652 2010-06-25 Alan Modra <amodra@gmail.com>
653
654 * emultempl/elf32.em (find_exp_assignment): Handle etree_provided.
655
656 2010-06-20 Danny Smith <dannysmith@users.sourceforge.net>
657
658 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Make
659 auto-import and merge-rdata defaults same for i[3-7]86 and
660 x86_64 mingw.
661
662 2010-06-15 Joseph Myers <joseph@codesourcery.com>
663
664 * emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Define.
665
666 2010-06-09 Dave Korn <dave.korn.cygwin@gmail.com>
667
668 PR ld/11603
669 * pe-dll.c (process_def_file_and_drectve): Reorder check for
670 forwarded export name after check for ordinary export.
671
672 2010-06-08 Bernd Schmidt <bernds@codesourcery.com>
673
674 * emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New.
675
676 2010-06-08 Nick Clifton <nickc@redhat.com>
677
678 * fdl.texi: Replace with v1.3 text.
679 * ld.texinfo: Replace abbreviated 20th century year numbers with
680 full versions.
681 * ldint.texinfo: Likewise.
682 Relicense under GFDL v1.3. Replace text of v1.1 FDL with an
683 include of the fdl.texi file.
684
685 2010-06-01 Tristan Gingold <gingold@adacore.com>
686
687 * scripttempl/alphavms.sc: Add comments. Move $LINK$ to the
688 readonly output-section. Handle LIB$INITIALIZE and sections
689 created by gcc.
690 * emultempl/vms.em (vms_place_orphan): Add comments.
691
692 2010-05-28 Nick Clifton <nickc@redhat.com>
693
694 * Makefile.am (eshlelf_fd.c): Fix typo in rule.
695 * Makefile.in: Regenerate.
696
697 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
698
699 PR ld/11628
700 * ldexp.c (fold_binary): Warn if value of SEGMENT_START isn't
701 multiple of maximum page size.
702
703 2010-05-25 Nick Clifton <nickc@redhat.com>
704
705 * Makefile.am: Fix typo.
706 * Makefile.in: Regenerate.
707
708 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
709 Joseph Myers <joseph@codesourcery.com>
710 Andrew Stubbs <ams@codesourcery.com>
711
712 * Makefile.am (ALL_EMULATIONS): Add eshelf_fd.o and eshlelf_fd.o.
713 (eshelf_fd.c, eshlelf_fd.c): New rules.
714 * Makefile.in: Regenerate.
715 * configure.tgt (sh-*-uclinux*): Add shelf_fd and shlelf_fd
716 emulations.
717 * emulparams/shelf_fd.sh: New file.
718 * emulparams/shlelf_fd.sh: New file.
719 * emulparams/shlelf_linux.sh: Update comment.
720
721 2010-05-25 Jay Krell <jay.krell@cornell.edu>
722
723 PR ld/11621
724 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
725 * Makefile.in: Regenerate.
726
727 2010-05-25 Kai Tietz <kai.tietz@onevision.com>
728
729 * deffilep.y (opt_name): Allow leading dot.
730 (dot_name): Likewise.
731 (anylang_id): Likewise.
732 * emultempl/pep.em (gld_${EMULATION_NAME}_before_parse): Enable by
733 default auto_import.
734 (gld${EMULATION_NAME}_handle_option): Warn about v1.
735 (pep_find_data_imports): Remove superflous warnings about
736 auto-import.
737 (gld_${EMULATION_NAME}_get_script): Don't merge for auto-import
738 and active pseudo-relocation-v2 rdata into data section.
739 * emultempl/pe.em (default_merge_rdata): New shell variable.
740 (MERGE_RDATA_V2): New macro.
741 (gld_${EMULATION_NAME}_get_script): Adjust rule for auto-import
742 selected script.
743
744 2010-05-15 Kai Tietz <kai.tietz@onevision.com>
745
746 * emultempl/pe.em (is_underscoring): New helper function.
747 (gld_${EMULATION_NAME}_before_parse): Replace code
748 for pe(p)_leading_underscore detection by is_underscoring.
749 (U): Likewise.
750 (GET_INIT_SYMBOL_NAME): Likewise.
751 (U_SIZE): Likewise.
752 (set_pe_name):
753 (set_entry_point):
754 (gld_${EMULATION_NAME}_set_symbols):
755 * emultempl/pep.em: Likewise.
756 * pe-dll.c (pe_detail_list): Set default
757 underscoring for x64 target.
758 (pe_dll_id_target): Add initialization of
759 pe(p)_leading_underscore.
760
761 2010-05-15 Dave Korn <dave.korn.cygwin@gmail.com>
762
763 * pe-dll.c: Removed trailing whitespaces.
764
765 2010-05-14 Alan Modra <amodra@gmail.com>
766
767 PR ld/11583
768 * ldexp.c (exp_fold_tree_1): If assignment source expression is
769 invalid, make the destination symbol undefined.
770
771 2010-05-11 Kai Tietz <kai.tietz@onevision.com>
772
773 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
774 Initialize pe(p)_leading_underscore variable.
775 (set_pe_name): Likewise.
776 * emultempl/pep.em: Likewise.
777 Additional change default to non-underscore for
778 pep_leading_underscore equal to -1.
779
780 2010-05-07 Tristan Gingold <gingold@adacore.com>
781
782 * Makefile.in: Regenerate with automake 1.11.1.
783 * aclocal.m4: Ditto.
784
785 2010-05-05 Nick Clifton <nickc@redhat.com>
786
787 * po/es.po: Updated Spanish translation.
788
789 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
790
791 * pe-dll.c (_nm_-symbols): Use always underscored variant
792 for symbols.
793 (__imp_-symbols): Likewise.
794 (___imp_-symbols): Likewise.
795 * NEWS: Mention ABI change for x64 PE-COFF.
796
797 2010-04-27 H.J. Lu <hongjiu.lu@intel.com>
798
799 * Makefile.am (install-exec-local): Properly install ld as
800 default cross linker.
801 * Makefile.in: Regenerated.
802
803 2010-04-27 H.J. Lu <hongjiu.lu@intel.com>
804 Nick Clifton <nickc@redhat.com>
805
806 * configure.in (install_as_default): Define and set to true
807 unless --enable-gold=both/gold has been specified.
808 * configure: Regenerate.
809
810 * Makefile.am (transform): Use ld.bfd as the default name of
811 the linker.
812 (install-exec-local): Also install the executable as a binary
813 named 'ld' if install_as_default is true.
814 * Makefile.in: Regenerate.
815
816 2010-04-22 Nick Clifton <nickc@redhat.com>
817
818 * po/ld.pot: Updated by the Translation project.
819 * po/vi.po: Updated Vietnamese translation.
820 * po/bg.po: Updated Bulgarian translation.
821
822 2010-04-15 Andrew Haley <aph@redhat.com>
823
824 * emultempl/armelf.em (merge_exidx_entries): New variable.
825 (OPTION_NO_MERGE_EXIDX_ENTRIES): New definition.
826 ("no-merge-exidx-entries"): New option.
827 * ld.texinfo (merge-exidx-entries): Document this option.
828
829 2010-04-14 Tristan Gingold <gingold@adacore.com>
830
831 * emulparams/alphavms.sh: New file.
832 * emultempl/vms.em: New file.
833 * scripttempl/alphavms.sc: New file.
834 * configure.tgt (alpha*-*-*vms*): Added.
835 * Makefile.am (ALL_EMULATIONS): Add ealphavms.o
836 (ealphavms.c): New target.
837 * Makefile.in: Regenerate.
838
839 2010-04-09 Nick Clifton <nickc@redhat.com>
840
841 * ldlang.c (wild_sort): Remove unused variable section_name.
842
843 2010-04-07 Alan Modra <amodra@gmail.com>
844
845 * configure: Regenerate.
846
847 2010-04-06 H.J. Lu <hongjiu.lu@intel.com>
848
849 PR ld/11434
850 * ld/testsuite/ld-x86-64/unique1.d: New.
851 * ld/testsuite/ld-x86-64/unique1.s: Likewise.
852
853 * ld-x86-64/x86-64.exp: Run unique1.
854
855 2010-04-05 Kai Tietz <kai.tietz@onevision.com>
856
857 * emultempl/pep.em (U): Macro modified.
858 (U_SIZE): New helper macro.
859 (GET_INIT_SYMBOL_NAME): Likewise.
860 (enum options): Add OPTION_NO_LEADING_UNDERSCORE
861 and OPTION_LEADING_UNDERSCORE enumerator-values.
862 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
863 option.
864 (definfo): Add new member is_c_symbol.
865 (D): Add to macro underscore mode parameter.
866 (init): Add definition for is_c_symbol.
867 (gld_${EMULATION_NAME}_list_options): Display new options.
868 (set_pep_name): Adjust underscoring dependent fixed
869 symbol handling.
870 (gld_${EMULATION_NAME}_set_symbols): Likewise.
871 (saw_option): Likewise.
872 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
873 (set_entry_point): Initial initial_symbol_char dependent to
874 target's default and new option flag pep_leading_underscore.
875 * emultempl/pe.em (U): Macro modified.
876 (U_SIZE): New helper macro.
877 (GET_INIT_SYMBOL_NAME): Likewise.
878 (OPTION_LEADING_UNDERSCORE): Add new option define.
879 (OPTION_NO_LEADING_UNDERSCORE): Likewise.
880 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
881 option.
882 (definfo): Add new member is_c_symbol.
883 (D): Add to macro underscore mode parameter.
884 (init): Add definition for is_c_symbol.
885 (gld_${EMULATION_NAME}_list_options): Display new options.
886 (set_pep_name): Adjust underscoring dependent fixed
887 symbol handling.
888 (gld_${EMULATION_NAME}_set_symbols): Likewise.
889 (saw_option): Likewise.
890 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
891 (set_entry_point): Initial initial_symbol_char dependent to
892 target's default and new option flag pep_leading_underscore.
893 * pe-dll.c (pe_leading_underscore): New flag variable.
894 (pe_detail_list): Remove const to allow modify of
895 member underscore.
896 (pe_dll_id_target): Initialize pe_details' underscore variable
897 dependent to target's default and flag pe_leading_underscore.
898 * pe-dll.h (pe_leading_underscore): Add extern declaration of
899 option flag.
900 * pep-dll.c (pe_leading_underscore): Add alias define for
901 pep_leading_underscore.
902 * pep-dll.h (pep_leading_underscore) Add extern declaration of
903 option flag.
904 * ld.texinfo: Add documentation for --(no-)leading-underscore
905 option.
906
907 2010-03-26 Alan Modra <amodra@gmail.com>
908
909 PR ld/11426
910 * configure.host (many linux targets <HOSTING_CRT0>): Remove edits.
911 (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo.
912
913 2010-03-25 Joseph Myers <joseph@codesourcery.com>
914
915 * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
916 eelf32_tic6x_le.o.
917 (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
918 * NEWS: Add news entry for TI C6X support.
919 * configure.tgt (tic6x-*-*): New.
920 * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.
921
922 2010-03-23 Joseph Myers <joseph@codesourcery.com>
923
924 * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME,
925 BSS_NAME): Define if not already defined. Use in place of some
926 hardcoded section names.
927
928 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
929
930 * scripttempl/elf.sc (INIT_ARRAY): Re-indent.
931
932 2010-03-18 Aymeric Vincent <vincent@labri.fr>
933
934 PR ld/11384
935 * emultempl/sh64elf.em: Add missing EOF.
936
937 2010-03-18 Doug Semler <dougsemler@gmail.com>
938
939 * pe-dll.c (make_one): Make text section readonly.
940 (make_one): Add *ABS* symbol @feat.00 with value 1 to tag
941 the jump stub on X86 as /SAFESEH compatible for
942 native toolchains.
943
944 2010-03-17 Alan Modra <amodra@gmail.com>
945
946 * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from
947 *prev instead. Update all callers.
948
949 2010-03-15 Daniel Jacobowitz <dan@codesourcery.com>
950
951 * ldlang.c (lang_insert_orphan): Place loadable orphans in the same
952 region and phdrs as their placement section.
953
954 2010-03-15 Alan Modra <amodra@gmail.com>
955
956 * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New.
957 (ppc_before_allocation): Call sort_toc_sections.
958 (no_toc_sort, OPTION_NO_TOC_SORT): New.
959 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
960 PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort.
961
962 2010-03-14 Alan Modra <amodra@gmail.com>
963
964 PR ld/11378
965 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
966 ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
967
968 2010-03-11 George Gensure <werkt0@gmail.com>
969
970 PR ld/11367
971 * ldcref.c (handle_asneeded_cref): Correct copying of refs.
972
973 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
974
975 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
976 eelf_i386_sol2.o.
977 (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
978 (eelf32_sparc_sol2.c): New rule.
979 (eelf64_sparc_sol2.c): Likewise.
980 (eelf_x86_64_sol2.c): Likewise.
981 (eelf_i386_sol2.c): Likewise.
982 * Makefile.in: Regenerate.
983 * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
984 elf_i386_sol2.
985 Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
986 (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
987 Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
988 (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
989 Add target_extra_emuls.
990 (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
991 Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
992 (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
993 Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
994 * emulparams/elf32_sparc_sol2.sh: New file.
995 * emulparams/elf64_sparc_sol2.sh: New file.
996 * emulparams/elf_i386_sol2.sh: New file.
997 * emulparams/elf_x86_64_sol2.sh: New file.
998 * emultempl/solaris2.em: New file.
999
1000 2010-02-27 H.J. Lu <hongjiu.lu@intel.com>
1001
1002 PR ld/11330
1003 * ld.texinfo: Replace explicitely with explicitly.
1004
1005 2010-02-27 Jie Zhang <jie@codesourcery.com>
1006
1007 * scripttempl/armbpabi.sc: Don't combine .init_array.* or
1008 .fini_array.* when do relocatable linking.
1009 * scripttempl/elf.sc: Likewise.
1010 * scripttempl/elf32sh-symbian.sc: Likewise.
1011 * scripttempl/elf64hppa.sc: Likewise.
1012 * scripttempl/elfxtensa.sc: Likewise.
1013
1014 2010-02-26 Alan Modra <amodra@gmail.com>
1015
1016 * scripttempl/elf.sc (.fini_array): Place input .fini_array after
1017 .fini_array.*.
1018 * scripttempl/armbpabi.sc: Likewise.
1019 * scripttempl/elf32sh-symbian.sc: Likewise.
1020 * scripttempl/elf64hppa.sc: Likewise.
1021 * scripttempl/elfxtensa.sc: Likewise.
1022
1023 2010-02-25 Alan Modra <amodra@gmail.com>
1024
1025 PR ld/11304
1026 * ldlang.c (init_os): Remove isec param. Don't check for
1027 bfd_section already set or call bfd_init_private_section_data
1028 here.
1029 (exp_init_os): Update init_os call.
1030 (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE
1031 flags. Call bfd_init_private_section_data here.
1032 (map_input_to_output_sections): Tidy. Update init_os calls.
1033 Use os->sectype to select sec flags for lang_data_statement.
1034
1035 2010-02-23 Alan Modra <amodra@gmail.com>
1036
1037 PR ld/11304
1038 * ldlang.c: Revert last patch.
1039
1040 2010-02-23 Nick Clifton <nickc@redhat.com>
1041
1042 * po/bg.po: Updated Bulgarian translation.
1043
1044 2010-02-22 Alan Modra <amodra@gmail.com>
1045
1046 PR ld/11304
1047 * ldlang.c (exp_init_os): Delete forward declaration.
1048 (init_os): Don't check for bfd_section already created and don't
1049 init addr_tree and load_base expressions here.
1050 (map_input_to_output_sections): Only map input to output sections
1051 and set constraints here, and as an exception, create output
1052 sections which have their address set. Move all the other code to..
1053 (create_other_output_sections): ..here. New function. Handle init
1054 of addr_tree and load_base here too.
1055 (lang_process): Call create_other_output_sections.
1056
1057 2010-02-19 Alan Modra <amodra@gmail.com>
1058
1059 * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
1060 * Makefile.in: Regenerate.
1061
1062 2010-02-19 Alan Modra <amodra@gmail.com>
1063
1064 * ldlang.c (unique_section_p): Add os param. Allow group
1065 sections to match /DISCARD/. Update all callers.
1066 * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
1067 (LDEMUL_BEFORE_ALLOCATION): Define.
1068
1069 2010-02-15 Nick Clifton <nickc@redhat.com>
1070
1071 * po/vi.po: Updated Vietnamese translation.
1072
1073 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
1074
1075 * Makefile.am (CFILES): Add ldlex-wrapper.c.
1076 (OFILES): Replace ldlex.c with ldlex-wrapper.c.
1077 (ldlex.o): Replace with...
1078 (ldlex-wrapper.o): ...this new rule.
1079 (EXTRA_ld_new_SOURCES): Add ldlex.l.
1080 (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
1081 * Makefile.in: Regenerate.
1082 * ldlex.l (sysdep.h): Don't include here.
1083 * ldlex-wrapper.c: New file.
1084
1085 2010-02-09 Alan Modra <amodra@gmail.com>
1086
1087 * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
1088 function parameters.
1089
1090 2010-02-05 Nick Clifton <nickc@redhat.com>
1091
1092 * configure.in (ALL_LIBGUAS): Add bg.
1093 * configure: Regenerate.
1094 * po/bg.po: New Bulgarian translation.
1095
1096 2010-02-05 Ryan Mansfield <rmansfield@qnx.com>
1097
1098 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
1099 --target1-abs and --target1-rel options.
1100
1101 2010-02-03 Nick Clifton <nickc@redhat.com>
1102
1103 * emultempl/alphaelf.em: Update value expected from elf_object_id.
1104 * emultempl/hppaelf.em: Likewise.
1105 * emultempl/mipself.em: Likewise.
1106 * emultempl/ppc32elf.em: Likewise.
1107 * emultempl/ppc64elf.em: Likewise.
1108
1109 2010-02-03 Alan Modra <amodra@gmail.com>
1110
1111 * emultempl/ppc64elf.em (build_toc_list): Report errors from
1112 ppc64_elf_next_toc_section.
1113 (after_allocation): Update for changed function names and params.
1114 Run second pass of multitoc partitioning.
1115
1116 2010-01-21 Jon Grant <jg@jguk.org>
1117 Nick Clifton <nickc@redhat.com>
1118
1119 PR 4437
1120 * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
1121 a missing file or library. Instead mark the entry as missing and
1122 set the global flag to indicate that missing files were
1123 encountered.
1124 * ldlang.c (missing_files): New exported variable.
1125 (load_symbols): Skip loading if the file is missing.
1126 (open_input_bfds): Terminate link if any input files were
1127 missing.
1128 * ldlang.h (struct lang_input_statement_struct): Add missing_file
1129 field.
1130 Add export of missing_file variable.
1131
1132 2010-01-13 DJ Delorie <dj@redhat.com>
1133
1134 * emultempl/elf32.em (_place_orphan): If an input section doesn't
1135 match an existing output section, but an unused output section
1136 statement does match, use it.
1137 * emultempl/pe.em (_place_orphan): Likewise.
1138 * emultempl/pep.em (_place_orphan): Likewise.
1139
1140 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1141
1142 * configure: Regenerate.
1143 * Makefile.in: Regenerate.
1144
1145 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
1146
1147 * ldver.c (ldversion): Change to "Copyright 2010".
1148
1149 2010-01-08 Alan Modra <amodra@gmail.com>
1150
1151 PR 11107
1152 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
1153
1154 For older changes see ChangeLog-2009
1155 \f
1156 Local Variables:
1157 mode: change-log
1158 left-margin: 8
1159 fill-column: 74
1160 version-control: never
1161 End:
This page took 0.052522 seconds and 5 git commands to generate.