1 2010-03-14 Alan Modra <amodra@gmail.com>
4 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
5 ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
7 2010-03-11 George Gensure <werkt0@gmail.com>
10 * ldcref.c (handle_asneeded_cref): Correct copying of refs.
12 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
14 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
16 (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
17 (eelf32_sparc_sol2.c): New rule.
18 (eelf64_sparc_sol2.c): Likewise.
19 (eelf_x86_64_sol2.c): Likewise.
20 (eelf_i386_sol2.c): Likewise.
21 * Makefile.in: Regenerate.
22 * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
24 Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
25 (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
26 Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
27 (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
28 Add target_extra_emuls.
29 (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
30 Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
31 (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
32 Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
33 * emulparams/elf32_sparc_sol2.sh: New file.
34 * emulparams/elf64_sparc_sol2.sh: New file.
35 * emulparams/elf_i386_sol2.sh: New file.
36 * emulparams/elf_x86_64_sol2.sh: New file.
37 * emultempl/solaris2.em: New file.
39 2010-02-27 H.J. Lu <hongjiu.lu@intel.com>
42 * ld.texinfo: Replace explicitely with explicitly.
44 2010-02-27 Jie Zhang <jie@codesourcery.com>
46 * scripttempl/armbpabi.sc: Don't combine .init_array.* or
47 .fini_array.* when do relocatable linking.
48 * scripttempl/elf.sc: Likewise.
49 * scripttempl/elf32sh-symbian.sc: Likewise.
50 * scripttempl/elf64hppa.sc: Likewise.
51 * scripttempl/elfxtensa.sc: Likewise.
53 2010-02-26 Alan Modra <amodra@gmail.com>
55 * scripttempl/elf.sc (.fini_array): Place input .fini_array after
57 * scripttempl/armbpabi.sc: Likewise.
58 * scripttempl/elf32sh-symbian.sc: Likewise.
59 * scripttempl/elf64hppa.sc: Likewise.
60 * scripttempl/elfxtensa.sc: Likewise.
62 2010-02-25 Alan Modra <amodra@gmail.com>
65 * ldlang.c (init_os): Remove isec param. Don't check for
66 bfd_section already set or call bfd_init_private_section_data
68 (exp_init_os): Update init_os call.
69 (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE
70 flags. Call bfd_init_private_section_data here.
71 (map_input_to_output_sections): Tidy. Update init_os calls.
72 Use os->sectype to select sec flags for lang_data_statement.
74 2010-02-23 Alan Modra <amodra@gmail.com>
77 * ldlang.c: Revert last patch.
79 2010-02-23 Nick Clifton <nickc@redhat.com>
81 * po/bg.po: Updated Bulgarian translation.
83 2010-02-22 Alan Modra <amodra@gmail.com>
86 * ldlang.c (exp_init_os): Delete forward declaration.
87 (init_os): Don't check for bfd_section already created and don't
88 init addr_tree and load_base expressions here.
89 (map_input_to_output_sections): Only map input to output sections
90 and set constraints here, and as an exception, create output
91 sections which have their address set. Move all the other code to..
92 (create_other_output_sections): ..here. New function. Handle init
93 of addr_tree and load_base here too.
94 (lang_process): Call create_other_output_sections.
96 2010-02-19 Alan Modra <amodra@gmail.com>
98 * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
99 * Makefile.in: Regenerate.
101 2010-02-19 Alan Modra <amodra@gmail.com>
103 * ldlang.c (unique_section_p): Add os param. Allow group
104 sections to match /DISCARD/. Update all callers.
105 * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
106 (LDEMUL_BEFORE_ALLOCATION): Define.
108 2010-02-15 Nick Clifton <nickc@redhat.com>
110 * po/vi.po: Updated Vietnamese translation.
112 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
114 * Makefile.am (CFILES): Add ldlex-wrapper.c.
115 (OFILES): Replace ldlex.c with ldlex-wrapper.c.
116 (ldlex.o): Replace with...
117 (ldlex-wrapper.o): ...this new rule.
118 (EXTRA_ld_new_SOURCES): Add ldlex.l.
119 (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
120 * Makefile.in: Regenerate.
121 * ldlex.l (sysdep.h): Don't include here.
122 * ldlex-wrapper.c: New file.
124 2010-02-09 Alan Modra <amodra@gmail.com>
126 * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
129 2010-02-05 Nick Clifton <nickc@redhat.com>
131 * configure.in (ALL_LIBGUAS): Add bg.
132 * configure: Regenerate.
133 * po/bg.po: New Bulgarian translation.
135 2010-02-05 Ryan Mansfield <rmansfield@qnx.com>
137 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
138 --target1-abs and --target1-rel options.
140 2010-02-03 Nick Clifton <nickc@redhat.com>
142 * emultempl/alphaelf.em: Update value expected from elf_object_id.
143 * emultempl/hppaelf.em: Likewise.
144 * emultempl/mipself.em: Likewise.
145 * emultempl/ppc32elf.em: Likewise.
146 * emultempl/ppc64elf.em: Likewise.
148 2010-02-03 Alan Modra <amodra@gmail.com>
150 * emultempl/ppc64elf.em (build_toc_list): Report errors from
151 ppc64_elf_next_toc_section.
152 (after_allocation): Update for changed function names and params.
153 Run second pass of multitoc partitioning.
155 2010-01-21 Jon Grant <jg@jguk.org>
156 Nick Clifton <nickc@redhat.com>
159 * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
160 a missing file or library. Instead mark the entry as missing and
161 set the global flag to indicate that missing files were
163 * ldlang.c (missing_files): New exported variable.
164 (load_symbols): Skip loading if the file is missing.
165 (open_input_bfds): Terminate link if any input files were
167 * ldlang.h (struct lang_input_statement_struct): Add missing_file
169 Add export of missing_file variable.
171 2010-01-13 DJ Delorie <dj@redhat.com>
173 * emultempl/elf32.em (_place_orphan): If an input section doesn't
174 match an existing output section, but an unused output section
175 statement does match, use it.
176 * emultempl/pe.em (_place_orphan): Likewise.
177 * emultempl/pep.em (_place_orphan): Likewise.
179 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
181 * configure: Regenerate.
182 * Makefile.in: Regenerate.
184 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
186 * ldver.c (ldversion): Change to "Copyright 2010".
188 2010-01-08 Alan Modra <amodra@gmail.com>
191 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
193 For older changes see ChangeLog-2009
199 version-control: never