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