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