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