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