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