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