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