2010-04-13 Doug Kwan <dougkwan@google.com>
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
3d540e93
NC
12010-04-09 Nick Clifton <nickc@redhat.com>
2
3 * ldlang.c (wild_sort): Remove unused variable section_name.
4
397841b5
AM
52010-04-07 Alan Modra <amodra@gmail.com>
6
7 * configure: Regenerate.
8
6f8bcf84
L
92010-04-06 H.J. Lu <hongjiu.lu@intel.com>
10
11 PR ld/11434
12 * ld/testsuite/ld-x86-64/unique1.d: New.
13 * ld/testsuite/ld-x86-64/unique1.s: Likewise.
14
15 * ld-x86-64/x86-64.exp: Run unique1.
16
522f09cd
KT
172010-04-05 Kai Tietz <kai.tietz@onevision.com>
18
19 * emultempl/pep.em (U): Macro modified.
20 (U_SIZE): New helper macro.
21 (GET_INIT_SYMBOL_NAME): Likewise.
22 (enum options): Add OPTION_NO_LEADING_UNDERSCORE
23 and OPTION_LEADING_UNDERSCORE enumerator-values.
24 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
25 option.
26 (definfo): Add new member is_c_symbol.
27 (D): Add to macro underscore mode parameter.
28 (init): Add definition for is_c_symbol.
29 (gld_${EMULATION_NAME}_list_options): Display new options.
30 (set_pep_name): Adjust underscoring dependent fixed
31 symbol handling.
32 (gld_${EMULATION_NAME}_set_symbols): Likewise.
33 (saw_option): Likewise.
34 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
35 (set_entry_point): Initial initial_symbol_char dependent to
36 target's default and new option flag pep_leading_underscore.
37 * emultempl/pe.em (U): Macro modified.
38 (U_SIZE): New helper macro.
39 (GET_INIT_SYMBOL_NAME): Likewise.
40 (OPTION_LEADING_UNDERSCORE): Add new option define.
41 (OPTION_NO_LEADING_UNDERSCORE): Likewise.
42 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
43 option.
44 (definfo): Add new member is_c_symbol.
45 (D): Add to macro underscore mode parameter.
46 (init): Add definition for is_c_symbol.
47 (gld_${EMULATION_NAME}_list_options): Display new options.
48 (set_pep_name): Adjust underscoring dependent fixed
49 symbol handling.
50 (gld_${EMULATION_NAME}_set_symbols): Likewise.
51 (saw_option): Likewise.
52 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
53 (set_entry_point): Initial initial_symbol_char dependent to
54 target's default and new option flag pep_leading_underscore.
55 * pe-dll.c (pe_leading_underscore): New flag variable.
56 (pe_detail_list): Remove const to allow modify of
57 member underscore.
58 (pe_dll_id_target): Initialize pe_details' underscore variable
59 dependent to target's default and flag pe_leading_underscore.
60 * pe-dll.h (pe_leading_underscore): Add extern declaration of
61 option flag.
62 * pep-dll.c (pe_leading_underscore): Add alias define for
63 pep_leading_underscore.
64 * pep-dll.h (pep_leading_underscore) Add extern declaration of
65 option flag.
66 * ld.texinfo: Add documentation for --(no-)leading-underscore
67 option.
68
edc314c9
AM
692010-03-26 Alan Modra <amodra@gmail.com>
70
71 PR ld/11426
72 * configure.host (many linux targets <HOSTING_CRT0>): Remove edits.
73 (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo.
74
40b36596
JM
752010-03-25 Joseph Myers <joseph@codesourcery.com>
76
77 * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
78 eelf32_tic6x_le.o.
79 (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
80 * NEWS: Add news entry for TI C6X support.
81 * configure.tgt (tic6x-*-*): New.
82 * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.
83
349e935b
JM
842010-03-23 Joseph Myers <joseph@codesourcery.com>
85
86 * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME,
87 BSS_NAME): Define if not already defined. Use in place of some
88 hardcoded section names.
89
576ee33a
L
902010-03-18 H.J. Lu <hongjiu.lu@intel.com>
91
92 * scripttempl/elf.sc (INIT_ARRAY): Re-indent.
93
54801c2d
NC
942010-03-18 Aymeric Vincent <vincent@labri.fr>
95
96 PR ld/11384
97 * emultempl/sh64elf.em: Add missing EOF.
98
17299ac7
NC
992010-03-18 Doug Semler <dougsemler@gmail.com>
100
101 * pe-dll.c (make_one): Make text section readonly.
102 (make_one): Add *ABS* symbol @feat.00 with value 1 to tag
103 the jump stub on X86 as /SAFESEH compatible for
104 native toolchains.
105
e535e147
AM
1062010-03-17 Alan Modra <amodra@gmail.com>
107
108 * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from
109 *prev instead. Update all callers.
110
f77c3948
DJ
1112010-03-15 Daniel Jacobowitz <dan@codesourcery.com>
112
113 * ldlang.c (lang_insert_orphan): Place loadable orphans in the same
114 region and phdrs as their placement section.
115
d43d0b53
AM
1162010-03-15 Alan Modra <amodra@gmail.com>
117
118 * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New.
119 (ppc_before_allocation): Call sort_toc_sections.
120 (no_toc_sort, OPTION_NO_TOC_SORT): New.
121 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
122 PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort.
123
70cc837d
AM
1242010-03-14 Alan Modra <amodra@gmail.com>
125
126 PR ld/11378
127 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
128 ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
129
806fc311
AM
1302010-03-11 George Gensure <werkt0@gmail.com>
131
132 PR ld/11367
133 * ldcref.c (handle_asneeded_cref): Correct copying of refs.
134
a6cc6b3b
RO
1352010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
136
137 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
138 eelf_i386_sol2.o.
139 (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
140 (eelf32_sparc_sol2.c): New rule.
141 (eelf64_sparc_sol2.c): Likewise.
142 (eelf_x86_64_sol2.c): Likewise.
143 (eelf_i386_sol2.c): Likewise.
144 * Makefile.in: Regenerate.
145 * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
146 elf_i386_sol2.
147 Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
148 (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
149 Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
150 (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
151 Add target_extra_emuls.
152 (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
153 Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
154 (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
155 Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
156 * emulparams/elf32_sparc_sol2.sh: New file.
157 * emulparams/elf64_sparc_sol2.sh: New file.
158 * emulparams/elf_i386_sol2.sh: New file.
159 * emulparams/elf_x86_64_sol2.sh: New file.
160 * emultempl/solaris2.em: New file.
161
fc073cb7
L
1622010-02-27 H.J. Lu <hongjiu.lu@intel.com>
163
164 PR ld/11330
165 * ld.texinfo: Replace explicitely with explicitly.
166
3cff7cc7
JZ
1672010-02-27 Jie Zhang <jie@codesourcery.com>
168
169 * scripttempl/armbpabi.sc: Don't combine .init_array.* or
170 .fini_array.* when do relocatable linking.
171 * scripttempl/elf.sc: Likewise.
172 * scripttempl/elf32sh-symbian.sc: Likewise.
173 * scripttempl/elf64hppa.sc: Likewise.
174 * scripttempl/elfxtensa.sc: Likewise.
175
9445af9a
AM
1762010-02-26 Alan Modra <amodra@gmail.com>
177
178 * scripttempl/elf.sc (.fini_array): Place input .fini_array after
179 .fini_array.*.
180 * scripttempl/armbpabi.sc: Likewise.
181 * scripttempl/elf32sh-symbian.sc: Likewise.
182 * scripttempl/elf64hppa.sc: Likewise.
183 * scripttempl/elfxtensa.sc: Likewise.
184
dfa7b0b8
AM
1852010-02-25 Alan Modra <amodra@gmail.com>
186
187 PR ld/11304
188 * ldlang.c (init_os): Remove isec param. Don't check for
189 bfd_section already set or call bfd_init_private_section_data
190 here.
191 (exp_init_os): Update init_os call.
192 (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE
193 flags. Call bfd_init_private_section_data here.
194 (map_input_to_output_sections): Tidy. Update init_os calls.
195 Use os->sectype to select sec flags for lang_data_statement.
196
a431bc2e
AM
1972010-02-23 Alan Modra <amodra@gmail.com>
198
199 PR ld/11304
200 * ldlang.c: Revert last patch.
201
1c063135
NC
2022010-02-23 Nick Clifton <nickc@redhat.com>
203
204 * po/bg.po: Updated Bulgarian translation.
205
c380a809
AM
2062010-02-22 Alan Modra <amodra@gmail.com>
207
208 PR ld/11304
209 * ldlang.c (exp_init_os): Delete forward declaration.
210 (init_os): Don't check for bfd_section already created and don't
211 init addr_tree and load_base expressions here.
212 (map_input_to_output_sections): Only map input to output sections
213 and set constraints here, and as an exception, create output
214 sections which have their address set. Move all the other code to..
215 (create_other_output_sections): ..here. New function. Handle init
216 of addr_tree and load_base here too.
217 (lang_process): Call create_other_output_sections.
218
c8c66882
AM
2192010-02-19 Alan Modra <amodra@gmail.com>
220
221 * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
222 * Makefile.in: Regenerate.
223
d0bf826b
AM
2242010-02-19 Alan Modra <amodra@gmail.com>
225
226 * ldlang.c (unique_section_p): Add os param. Allow group
227 sections to match /DISCARD/. Update all callers.
228 * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
229 (LDEMUL_BEFORE_ALLOCATION): Define.
230
ab7875de
NC
2312010-02-15 Nick Clifton <nickc@redhat.com>
232
233 * po/vi.po: Updated Vietnamese translation.
234
45e481d1
RS
2352010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
236
237 * Makefile.am (CFILES): Add ldlex-wrapper.c.
238 (OFILES): Replace ldlex.c with ldlex-wrapper.c.
239 (ldlex.o): Replace with...
240 (ldlex-wrapper.o): ...this new rule.
241 (EXTRA_ld_new_SOURCES): Add ldlex.l.
242 (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
243 * Makefile.in: Regenerate.
244 * ldlex.l (sysdep.h): Don't include here.
245 * ldlex-wrapper.c: New file.
246
33c0ec9d
AM
2472010-02-09 Alan Modra <amodra@gmail.com>
248
249 * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
250 function parameters.
251
ef3f88be
NC
2522010-02-05 Nick Clifton <nickc@redhat.com>
253
254 * configure.in (ALL_LIBGUAS): Add bg.
255 * configure: Regenerate.
256 * po/bg.po: New Bulgarian translation.
257
f8266dc4
NC
2582010-02-05 Ryan Mansfield <rmansfield@qnx.com>
259
260 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
261 --target1-abs and --target1-rel options.
262
4dfe6ac6
NC
2632010-02-03 Nick Clifton <nickc@redhat.com>
264
265 * emultempl/alphaelf.em: Update value expected from elf_object_id.
266 * emultempl/hppaelf.em: Likewise.
267 * emultempl/mipself.em: Likewise.
268 * emultempl/ppc32elf.em: Likewise.
269 * emultempl/ppc64elf.em: Likewise.
270
927be08e
AM
2712010-02-03 Alan Modra <amodra@gmail.com>
272
273 * emultempl/ppc64elf.em (build_toc_list): Report errors from
274 ppc64_elf_next_toc_section.
275 (after_allocation): Update for changed function names and params.
276 Run second pass of multitoc partitioning.
277
c4b78195
NC
2782010-01-21 Jon Grant <jg@jguk.org>
279 Nick Clifton <nickc@redhat.com>
280
281 PR 4437
282 * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
283 a missing file or library. Instead mark the entry as missing and
284 set the global flag to indicate that missing files were
285 encountered.
286 * ldlang.c (missing_files): New exported variable.
287 (load_symbols): Skip loading if the file is missing.
288 (open_input_bfds): Terminate link if any input files were
289 missing.
290 * ldlang.h (struct lang_input_statement_struct): Add missing_file
291 field.
292 Add export of missing_file variable.
293
b5f14a6d
DD
2942010-01-13 DJ Delorie <dj@redhat.com>
295
296 * emultempl/elf32.em (_place_orphan): If an input section doesn't
297 match an existing output section, but an unused output section
298 statement does match, use it.
299 * emultempl/pe.em (_place_orphan): Likewise.
300 * emultempl/pep.em (_place_orphan): Likewise.
301
3725885a
RW
3022010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
303
304 * configure: Regenerate.
305 * Makefile.in: Regenerate.
306
5256a5b0
L
3072010-01-08 H.J. Lu <hongjiu.lu@intel.com>
308
309 * ldver.c (ldversion): Change to "Copyright 2010".
310
b903363e
AM
3112010-01-08 Alan Modra <amodra@gmail.com>
312
313 PR 11107
314 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
9dda37c1 315
43ecc30f 316For older changes see ChangeLog-2009
252b5132
RH
317\f
318Local Variables:
319mode: change-log
320left-margin: 8
321fill-column: 74
322version-control: never
323End:
This page took 0.505338 seconds and 4 git commands to generate.