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