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