PR ld/11426
[binutils-gdb.git] / ld / ChangeLog
1 2010-03-26 Alan Modra <amodra@gmail.com>
2
3 PR ld/11426
4 * configure.host (many linux targets <HOSTING_CRT0>): Remove edits.
5 (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo.
6
7 2010-03-25 Joseph Myers <joseph@codesourcery.com>
8
9 * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
10 eelf32_tic6x_le.o.
11 (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
12 * NEWS: Add news entry for TI C6X support.
13 * configure.tgt (tic6x-*-*): New.
14 * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.
15
16 2010-03-23 Joseph Myers <joseph@codesourcery.com>
17
18 * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME,
19 BSS_NAME): Define if not already defined. Use in place of some
20 hardcoded section names.
21
22 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
23
24 * scripttempl/elf.sc (INIT_ARRAY): Re-indent.
25
26 2010-03-18 Aymeric Vincent <vincent@labri.fr>
27
28 PR ld/11384
29 * emultempl/sh64elf.em: Add missing EOF.
30
31 2010-03-18 Doug Semler <dougsemler@gmail.com>
32
33 * pe-dll.c (make_one): Make text section readonly.
34 (make_one): Add *ABS* symbol @feat.00 with value 1 to tag
35 the jump stub on X86 as /SAFESEH compatible for
36 native toolchains.
37
38 2010-03-17 Alan Modra <amodra@gmail.com>
39
40 * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from
41 *prev instead. Update all callers.
42
43 2010-03-15 Daniel Jacobowitz <dan@codesourcery.com>
44
45 * ldlang.c (lang_insert_orphan): Place loadable orphans in the same
46 region and phdrs as their placement section.
47
48 2010-03-15 Alan Modra <amodra@gmail.com>
49
50 * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New.
51 (ppc_before_allocation): Call sort_toc_sections.
52 (no_toc_sort, OPTION_NO_TOC_SORT): New.
53 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
54 PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort.
55
56 2010-03-14 Alan Modra <amodra@gmail.com>
57
58 PR ld/11378
59 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
60 ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
61
62 2010-03-11 George Gensure <werkt0@gmail.com>
63
64 PR ld/11367
65 * ldcref.c (handle_asneeded_cref): Correct copying of refs.
66
67 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
68
69 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
70 eelf_i386_sol2.o.
71 (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
72 (eelf32_sparc_sol2.c): New rule.
73 (eelf64_sparc_sol2.c): Likewise.
74 (eelf_x86_64_sol2.c): Likewise.
75 (eelf_i386_sol2.c): Likewise.
76 * Makefile.in: Regenerate.
77 * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
78 elf_i386_sol2.
79 Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
80 (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
81 Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
82 (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
83 Add target_extra_emuls.
84 (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
85 Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
86 (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
87 Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
88 * emulparams/elf32_sparc_sol2.sh: New file.
89 * emulparams/elf64_sparc_sol2.sh: New file.
90 * emulparams/elf_i386_sol2.sh: New file.
91 * emulparams/elf_x86_64_sol2.sh: New file.
92 * emultempl/solaris2.em: New file.
93
94 2010-02-27 H.J. Lu <hongjiu.lu@intel.com>
95
96 PR ld/11330
97 * ld.texinfo: Replace explicitely with explicitly.
98
99 2010-02-27 Jie Zhang <jie@codesourcery.com>
100
101 * scripttempl/armbpabi.sc: Don't combine .init_array.* or
102 .fini_array.* when do relocatable linking.
103 * scripttempl/elf.sc: Likewise.
104 * scripttempl/elf32sh-symbian.sc: Likewise.
105 * scripttempl/elf64hppa.sc: Likewise.
106 * scripttempl/elfxtensa.sc: Likewise.
107
108 2010-02-26 Alan Modra <amodra@gmail.com>
109
110 * scripttempl/elf.sc (.fini_array): Place input .fini_array after
111 .fini_array.*.
112 * scripttempl/armbpabi.sc: Likewise.
113 * scripttempl/elf32sh-symbian.sc: Likewise.
114 * scripttempl/elf64hppa.sc: Likewise.
115 * scripttempl/elfxtensa.sc: Likewise.
116
117 2010-02-25 Alan Modra <amodra@gmail.com>
118
119 PR ld/11304
120 * ldlang.c (init_os): Remove isec param. Don't check for
121 bfd_section already set or call bfd_init_private_section_data
122 here.
123 (exp_init_os): Update init_os call.
124 (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE
125 flags. Call bfd_init_private_section_data here.
126 (map_input_to_output_sections): Tidy. Update init_os calls.
127 Use os->sectype to select sec flags for lang_data_statement.
128
129 2010-02-23 Alan Modra <amodra@gmail.com>
130
131 PR ld/11304
132 * ldlang.c: Revert last patch.
133
134 2010-02-23 Nick Clifton <nickc@redhat.com>
135
136 * po/bg.po: Updated Bulgarian translation.
137
138 2010-02-22 Alan Modra <amodra@gmail.com>
139
140 PR ld/11304
141 * ldlang.c (exp_init_os): Delete forward declaration.
142 (init_os): Don't check for bfd_section already created and don't
143 init addr_tree and load_base expressions here.
144 (map_input_to_output_sections): Only map input to output sections
145 and set constraints here, and as an exception, create output
146 sections which have their address set. Move all the other code to..
147 (create_other_output_sections): ..here. New function. Handle init
148 of addr_tree and load_base here too.
149 (lang_process): Call create_other_output_sections.
150
151 2010-02-19 Alan Modra <amodra@gmail.com>
152
153 * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
154 * Makefile.in: Regenerate.
155
156 2010-02-19 Alan Modra <amodra@gmail.com>
157
158 * ldlang.c (unique_section_p): Add os param. Allow group
159 sections to match /DISCARD/. Update all callers.
160 * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
161 (LDEMUL_BEFORE_ALLOCATION): Define.
162
163 2010-02-15 Nick Clifton <nickc@redhat.com>
164
165 * po/vi.po: Updated Vietnamese translation.
166
167 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
168
169 * Makefile.am (CFILES): Add ldlex-wrapper.c.
170 (OFILES): Replace ldlex.c with ldlex-wrapper.c.
171 (ldlex.o): Replace with...
172 (ldlex-wrapper.o): ...this new rule.
173 (EXTRA_ld_new_SOURCES): Add ldlex.l.
174 (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
175 * Makefile.in: Regenerate.
176 * ldlex.l (sysdep.h): Don't include here.
177 * ldlex-wrapper.c: New file.
178
179 2010-02-09 Alan Modra <amodra@gmail.com>
180
181 * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
182 function parameters.
183
184 2010-02-05 Nick Clifton <nickc@redhat.com>
185
186 * configure.in (ALL_LIBGUAS): Add bg.
187 * configure: Regenerate.
188 * po/bg.po: New Bulgarian translation.
189
190 2010-02-05 Ryan Mansfield <rmansfield@qnx.com>
191
192 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
193 --target1-abs and --target1-rel options.
194
195 2010-02-03 Nick Clifton <nickc@redhat.com>
196
197 * emultempl/alphaelf.em: Update value expected from elf_object_id.
198 * emultempl/hppaelf.em: Likewise.
199 * emultempl/mipself.em: Likewise.
200 * emultempl/ppc32elf.em: Likewise.
201 * emultempl/ppc64elf.em: Likewise.
202
203 2010-02-03 Alan Modra <amodra@gmail.com>
204
205 * emultempl/ppc64elf.em (build_toc_list): Report errors from
206 ppc64_elf_next_toc_section.
207 (after_allocation): Update for changed function names and params.
208 Run second pass of multitoc partitioning.
209
210 2010-01-21 Jon Grant <jg@jguk.org>
211 Nick Clifton <nickc@redhat.com>
212
213 PR 4437
214 * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
215 a missing file or library. Instead mark the entry as missing and
216 set the global flag to indicate that missing files were
217 encountered.
218 * ldlang.c (missing_files): New exported variable.
219 (load_symbols): Skip loading if the file is missing.
220 (open_input_bfds): Terminate link if any input files were
221 missing.
222 * ldlang.h (struct lang_input_statement_struct): Add missing_file
223 field.
224 Add export of missing_file variable.
225
226 2010-01-13 DJ Delorie <dj@redhat.com>
227
228 * emultempl/elf32.em (_place_orphan): If an input section doesn't
229 match an existing output section, but an unused output section
230 statement does match, use it.
231 * emultempl/pe.em (_place_orphan): Likewise.
232 * emultempl/pep.em (_place_orphan): Likewise.
233
234 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
235
236 * configure: Regenerate.
237 * Makefile.in: Regenerate.
238
239 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
240
241 * ldver.c (ldversion): Change to "Copyright 2010".
242
243 2010-01-08 Alan Modra <amodra@gmail.com>
244
245 PR 11107
246 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
247
248 For older changes see ChangeLog-2009
249 \f
250 Local Variables:
251 mode: change-log
252 left-margin: 8
253 fill-column: 74
254 version-control: never
255 End: