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