]>
Commit | Line | Data |
---|---|---|
4dba69b9 L |
1 | 2015-10-15 H.J. Lu <hongjiu.lu@intel.com> |
2 | ||
3 | * ld.texinfo: Fix a typo for "-z noextern-protected-data". | |
4 | ||
1fb80d6d SD |
5 | 2015-10-15 Simon Dardis <Simon.Dardis@imgtec.com> |
6 | ||
7 | * ld/ldexp.c: (try_copy_symbol_flags): New. Factored out from... | |
8 | (exp_fold_tree_1): Here. Cope with ternary operator in | |
9 | assignments. Use new helper. | |
10 | ||
efb068d3 NC |
11 | 2015-10-14 Nick Clifton <nickc@redhat.com> |
12 | ||
13 | * po/zh_TW.po: Updated Chinese translation. | |
14 | ||
8f33e7da NC |
15 | 2015-10-13 Nick Clifton <nickc@redhat.com> |
16 | ||
17 | * po/zh_TW.po: Updated Chinese translation. | |
18 | ||
886a2506 NC |
19 | 2015-10-07 Claudiu Zissulescu <claziss@synopsys.com> |
20 | Cupertino Miranda <cmiranda@synopsys.com> | |
21 | ||
22 | * configure.tgt: Added target arc-*-elf* and arc*-*-linux-uclibc*. | |
23 | * emulparams/arcebelf_prof.sh: New file | |
24 | * emulparams/arcebelf.sh: Likewise. | |
25 | * emulparams/arceblinux_prof.sh: Likewise. | |
26 | * emulparams/arceblinux.sh: Likewise. | |
27 | * emulparams/arcelf_prof.sh: Likewise. | |
28 | * emulparams/arcelf.sh: Likewise. | |
29 | * emulparams/arclinux_prof.sh: Likewise. | |
30 | * emulparams/arclinux.sh: Likewise. | |
31 | * emulparams/arcv2elfx.sh: Likewise. | |
32 | * emulparams/arcv2elf.sh: Likewise. | |
33 | * emultempl/arclinux.em: Likewise. | |
34 | * scripttempl/arclinux.sc: Likewise. | |
35 | * scripttempl/elfarc.sc: Likewise. | |
36 | * scripttempl/elfarcv2.sc: Likewise | |
37 | * Makefile.am: Add new ARC emulations. | |
38 | * Makefile.in: Regenerate. | |
39 | * NEWS: Mention the new feature. | |
40 | ||
d00c2bc9 L |
41 | 2015-10-04 H.J. Lu <hongjiu.lu@intel.com> |
42 | ||
43 | * configure.tgt (targ_extra_emuls): Add elf_iamcu for Solaris2/x86. | |
44 | ||
0e1e4a75 KK |
45 | 2015-10-01 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
46 | ||
47 | * configure.tgt (targ_extra_emuls): Remove shlelf and | |
48 | shelf from sh*-*-linux cases. | |
49 | ||
a39d2e82 RF |
50 | 2015-09-30 Rich Felker <dalias@libc.org> |
51 | ||
52 | * configure.tgt (targ_extra_emuls): Add fdpic and misc | |
53 | emulations to sh*-*-linux* targets. | |
54 | ||
56e6cf80 NC |
55 | 2015-09-29 Nick Clifton <nickc@redhat.com> |
56 | ||
57 | PR ld/19014 | |
58 | * ld.texinfo (Options): Fix spelling mistake. | |
59 | ||
3074964f AM |
60 | 2015-09-24 Alan Modra <amodra@gmail.com> |
61 | ||
62 | PR ld/18992 | |
63 | * ldmain.c (main): Always enable --sysroot. | |
64 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't | |
65 | prepend sysroot to relative rpath/runpath. | |
66 | ||
b6518b38 NC |
67 | 2015-09-23 Nick Clifton <nickc@redhat.com> |
68 | ||
69 | * emultempl/elf32.em (ehdr_start_empty): New static variable. | |
70 | (before_allocation): Use it to initialise ehdr_start_save. | |
71 | * emultempl/pe.em (write_build_id): Remove useless double | |
72 | parenthesis. | |
73 | * emultempl/pep.em (write_build_id): Likewise. | |
74 | ||
5fe2850d L |
75 | 2015-09-22 H.J. Lu <hongjiu.lu@intel.com> |
76 | ||
77 | * emultempl/alphaelf.em (alpha_after_parse): Call | |
78 | gld${EMULATION_NAME}_after_parse instead of | |
79 | after_parse_default. | |
80 | * emultempl/cr16elf.em (cr16elf_after_parse): Likewise. | |
81 | * emultempl/crxelf.em (crxelf_after_parse); Likewise. | |
82 | * emultempl/hppaelf.em (hppaelf_after_parse): Likewise. | |
83 | * emultempl/mipself.em (mips_after_parse): Likewise. | |
84 | * emultempl/nds32elf.em (nds32_elf_after_parse): Likewise. | |
85 | * emultempl/elf32.em: Don't include ldlex.h. | |
86 | (gld${EMULATION_NAME}_after_parse): New function. | |
87 | (gld${EMULATION_NAME}_handle_option) [GENERATE_PIE_SCRIPT] | |
88 | <OPTION_PIE>: Removed. | |
89 | (ld_${EMULATION_NAME}_emulation): Replace after_parse_default | |
90 | with gld${EMULATION_NAME}_after_parse. | |
91 | * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): | |
92 | Renamed to ... | |
93 | (ia64elf_after_parse): This. Call | |
94 | gld${EMULATION_NAME}_after_parse instead of after_parse_default. | |
95 | (LDEMUL_AFTER_PARSE): Replace gld${EMULATION_NAME}_after_parse | |
96 | with ia64elf_after_parse. | |
97 | ||
5c383f02 RO |
98 | 2015-09-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
99 | ||
100 | * emulparams/solaris2.sh (GENERATE_PIE_SCRIPT): Set to yes. | |
101 | ||
102 | * emultempl/elf32.em: Include ldlex.h. | |
103 | (gld${EMULATION_NAME}_handle_option) [GENERATE_PIE_SCRIPT] | |
104 | <OPTION_PIE>: Set DF_1_PIE. | |
105 | ||
95421fb9 AM |
106 | 2015-09-22 Alan Modra <amodra@gmail.com> |
107 | ||
108 | * ld.texinfo: Put --dotsyms/--no-dotsyms on separate lines. | |
109 | Ditto for --save-restore-funcs and --tls-get-addr-optimize. | |
110 | ||
9b8b325a RF |
111 | 2015-09-20 Rich Felker <dalias@libc.org> |
112 | ||
113 | * ld.texinfo (--no-dynamic-linker): Document. | |
114 | * ldlex.h (enum option_values): Add OPTION_NO_DYNAMIC_LINKER. | |
115 | * lexsup.c (ld_options, parse_args): Handle --no-dynamic-linker. | |
116 | ||
7ae4ea7d AM |
117 | 2015-09-18 Alan Modra <amodra@gmail.com> |
118 | ||
119 | * ld.texinfo: Document PowerPC64 --{no-,}save-restore-funcs. | |
120 | ||
7c9cf415 AM |
121 | 2015-09-18 Alan Modra <amodra@gmail.com> |
122 | ||
123 | * emultempl/ppc64elf.em (params): Init tls_get_addr_opt field to -1. | |
124 | (OPTION_TLS_GET_ADDR_OPT): Define. | |
125 | (PARSE_AND_LIST_LONGOPTS): Handle --tls-get-addr-opt. | |
126 | (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise. | |
127 | * ld.texinfo: Document --tls-get-addr-optimize and | |
128 | --no-tls-get-addr-optimize. | |
129 | ||
975f8a9e AM |
130 | 2015-09-18 Alan Modra <amodra@gmail.com> |
131 | ||
132 | PR ld/18963 | |
133 | * ldexp.h (struct ldexp_control): Add rel_from_abs. | |
134 | (ldexp_finalize_syms): Declare. | |
135 | * ldexp.c (new_rel_from_abs): Keep absolute for expressions | |
136 | outside of output section statements. Set rel_from_abs. | |
137 | (make_abs, exp_fold_tree, exp_fold_tree_no_dot): Clear rel_from_abs. | |
138 | (struct definedness_hash_entry): Add final_sec, and comment. | |
139 | (update_definedness): Set final_sec. | |
140 | (set_sym_sections, ldexp_finalize_syms): New functions. | |
141 | * ldlang.c (lang_process): Call ldexp_finalize_syms. | |
142 | ||
64597d82 NC |
143 | 2015-09-10 Nick Clifton <nickc@redhat.com> |
144 | ||
145 | * po/zh_CN.po: Updated simplified Chinese translation. | |
146 | ||
ea4a7f99 | 147 | 2015-09-09 James Bowman <james.bowman@ftdichip.com> |
148 | ||
149 | * scripttempl/ft32.sc: default linker script RAM and | |
150 | FLASH size symbols | |
151 | ||
081bb924 NC |
152 | 2015-09-09 Nick Clifton <nickc@redhat.com> |
153 | ||
154 | * po/zh_CN.po: Updated simplified Chinese translation. | |
155 | ||
5707d2ad NC |
156 | 2015-09-08 Nick Clifton <nickc@redhat.com> |
157 | ||
158 | * ld.texinfo (Source Code Reference): Extend description to | |
159 | include an example using arrays. | |
160 | ||
c005eb9e AB |
161 | 2015-07-28 Andrew Burgess <andrew.burgess@embecosm.com> |
162 | ||
163 | * ld.h (enum orphan_handling_enum): New. | |
164 | (ld_config_type): Remove warn_orphan, add orphan_handling. | |
165 | * ldemul.c (ldemul_place_orphan): Remove warning about orphan | |
166 | sections. | |
167 | * ldlang.c (ldlang_place_orphan): New function. | |
168 | (lang_place_orphans): Call ldlang_place_orphan. | |
169 | * ldlex.h (enum option_values): Remove OPTION_WARN_ORPHAN and | |
170 | OPTION_NO_WARN_ORPHAN, add OPTION_ORPHAN_HANDLING. | |
171 | * lexsup.c (ld_options): Remove 'warn-orphan' and | |
172 | 'no-warn-orphan', add 'orphan-handling'. | |
173 | (parse_args): Remove handling for OPTION_WARN_ORPHAN and | |
174 | OPTION_NO_WARN_ORPHAN, add handling for OPTION_ORPHAN_HANDLING. | |
175 | * NEWS: Replace text about --warn-orphan with --orphan-handling. | |
176 | * ld.texinfo (Options): Remove --warn-orphan entry and add | |
177 | entry on --orphan-handling. | |
178 | (Orphan Sections): Add reference to relevant command line options. | |
179 | ||
6033bf41 NC |
180 | 2015-09-03 Nick Clifton <nickc@redhat.com> |
181 | ||
182 | * ld.texinfo (--build-id): Fix typo. The COFF/PE build-id section | |
183 | is called .buildid not .build-id. | |
184 | ||
a5e406b5 NC |
185 | 2015-09-03 Nick Clifton <nickc@redhat.com> |
186 | ||
187 | (Source Code Reference): Fix off-by-one typo in example of how to | |
188 | use linker script symbols in C source code. | |
189 | ||
64d94ba0 AM |
190 | 2015-08-19 Alan Modra <amodra@gmail.com> |
191 | ||
192 | * emultempl/aix.em: Don't set link_info.pic. | |
193 | * emultempl/pe.em: Likewise. | |
194 | * emultempl/pep.em: Likewise. | |
195 | * emultempl/sunos.em: Likewise. | |
196 | * lexsup.c (parse_args): Likewise. Set type_pie for -pie. | |
197 | * plugin.c (set_tv_header <LDPT_LINKER_OUTPUT>): Simplify. | |
198 | ||
0e1862bb L |
199 | 2015-08-18 H.J. Lu <hongjiu.lu@intel.com> |
200 | ||
201 | * ld/ldctor.c: Replace shared, executable, relocatable and pie | |
202 | fields with bfd_link_executable, bfd_link_dll, | |
203 | bfd_link_relocatable, bfd_link_pic and bfd_link_pie. | |
204 | * ld/ldemul.c: Likewise. | |
205 | * ld/ldfile.c: Likewise. | |
206 | * ld/ldlang.c: Likewise. | |
207 | * ld/ldmain.c: Likewise. | |
208 | * ld/ldwrite.c: Likewise. | |
209 | * ld/lexsup.c: Likewise. | |
210 | * ld/pe-dll.c: Likewise. | |
211 | * ld/plugin.c: Likewise. | |
212 | * ld/emultempl/aarch64elf.em: Likewise. | |
213 | * ld/emultempl/aix.em: Likewise. | |
214 | * ld/emultempl/alphaelf.em: Likewise. | |
215 | * ld/emultempl/armcoff.em: Likewise. | |
216 | * ld/emultempl/armelf.em: Likewise. | |
217 | * ld/emultempl/avrelf.em: Likewise. | |
218 | * ld/emultempl/beos.em: Likewise. | |
219 | * ld/emultempl/cr16elf.em: Likewise. | |
220 | * ld/emultempl/elf-generic.em: Likewise. | |
221 | * ld/emultempl/elf32.em: Likewise. | |
222 | * ld/emultempl/genelf.em: Likewise. | |
223 | * ld/emultempl/generic.em: Likewise. | |
224 | * ld/emultempl/gld960.em: Likewise. | |
225 | * ld/emultempl/gld960c.em: Likewise. | |
226 | * ld/emultempl/hppaelf.em: Likewise. | |
227 | * ld/emultempl/irix.em: Likewise. | |
228 | * ld/emultempl/linux.em: Likewise. | |
229 | * ld/emultempl/lnk960.em: Likewise. | |
230 | * ld/emultempl/m68hc1xelf.em: Likewise. | |
231 | * ld/emultempl/m68kcoff.em: Likewise. | |
232 | * ld/emultempl/m68kelf.em: Likewise. | |
233 | * ld/emultempl/metagelf.em: Likewise. | |
234 | * ld/emultempl/mipself.em: Likewise. | |
235 | * ld/emultempl/mmo.em: Likewise. | |
236 | * ld/emultempl/msp430.em: Likewise. | |
237 | * ld/emultempl/nds32elf.em: Likewise. | |
238 | * ld/emultempl/needrelax.em: Likewise. | |
239 | * ld/emultempl/nios2elf.em: Likewise. | |
240 | * ld/emultempl/pe.em: Likewise. | |
241 | * ld/emultempl/pep.em: Likewise. | |
242 | * ld/emultempl/ppc32elf.em: Likewise. | |
243 | * ld/emultempl/ppc64elf.em: Likewise. | |
244 | * ld/emultempl/sh64elf.em: Likewise. | |
245 | * ld/emultempl/solaris2.em: Likewise. | |
246 | * ld/emultempl/spuelf.em: Likewise. | |
247 | * ld/emultempl/sunos.em: Likewise. | |
248 | * ld/emultempl/tic6xdsbt.em: Likewise. | |
249 | * ld/emultempl/ticoff.em: Likewise. | |
250 | * ld/emultempl/v850elf.em: Likewise. | |
251 | * ld/emultempl/vms.em: Likewise. | |
252 | * ld/emultempl/vxworks.em: Likewise. | |
253 | ||
43417696 AM |
254 | 2015-08-18 Alan Modra <amodra@gmail.com> |
255 | ||
256 | * ldexp.c (exp_fold_tree_1): Clear linker_def on symbol assignment. | |
257 | ||
e0a3af22 AM |
258 | 2015-08-06 Alan Modra <amodra@gmail.com> |
259 | ||
260 | * ldexp.c (align_dot_val): Delete. | |
261 | (fold_unary <ALIGN_K, NEXT>): Revert 2015-07-10 change. | |
262 | (is_align_conditional): Revert 2015-07-20 change. | |
263 | (exp_fold_tree_1): Likewise, but keep expanded comment. | |
264 | * scripttempl/elf.sc (.ldata, .bss): Revert 2015-07-20 change. | |
265 | * ld.texinfo (<ALIGN>): Correct description. | |
266 | ||
0a618243 AB |
267 | 2015-08-04 Andrew Burgess <andrew.burgess@embecosm.com> |
268 | ||
269 | * ld.texinfo (Options): Document --require-defined option. | |
270 | * ldlang.c (struct require_defined_symbol): New structure. | |
271 | (require_defined_symbol_list): New variable. | |
272 | (ldlang_add_require_defined): New function. | |
273 | (ldlang_check_require_defined_symbols): New function. | |
274 | (lang_process): Check required symbols are defined. | |
275 | * ldlang.h (ldlang_add_require_defined): Declare. | |
276 | * ldlex.h (enum option_values): Add OPTION_REQUIRE_DEFINED_SYMBOL. | |
277 | * lexsup.c (ld_options): Add '--require-defined' entry. | |
278 | (parse_args): Handle '--requre-defined' entry. | |
279 | * NEWS: Mention new '--require-defined' option. | |
280 | ||
127fcdff AB |
281 | 2015-08-03 Andrew Burgess <andrew.burgess@embecosm.com> |
282 | ||
283 | * ld.texinfo (MEMORY): Explain that multiple MEMORY commands are | |
284 | acceptable. | |
285 | ||
e77e648e L |
286 | 2015-07-29 H.J. Lu <hongjiu.lu@intel.com> |
287 | ||
288 | * lexsup.c (parse_args): Don't set link_info.executable to | |
289 | TRUE for link_info.relocatable. | |
290 | ||
37a42ee9 L |
291 | 2015-07-27 H.J. Lu <hongjiu.lu@intel.com> |
292 | ||
293 | * configure: Regenerated. | |
294 | ||
aff1a65e NC |
295 | 2015-07-24 Nick Clifton <nickc@redhat.com> |
296 | ||
297 | * emulparams/elf32rl78.sh (OTHER_SECTIONS): Provide a value for | |
298 | the _-rl78_abs__ symbol. | |
299 | ||
d9d11c36 AM |
300 | 2015-07-20 Alan Modra <amodra@gmail.com> |
301 | ||
302 | * emulparams/criself.sh (INIT_ADDR, FINI_ADDR): Define. | |
303 | (INIT_START, FINI_START): Don't ALIGN. | |
304 | * scriptempl/elf.sc (.init, .fini): Apply INIT_ADDR/FINI_ADDR. | |
305 | ||
e474ab13 AM |
306 | 2015-07-20 Alan Modra <amodra@gmail.com> |
307 | ||
308 | * scripttempl/elf.sc (.ldata, .bss): Align absolute value of dot. | |
309 | * ldexp.c (is_align_conditional): Handle binary ALIGN. | |
310 | (exp_fold_tree_1): Move code setting SEC_KEEP for assignments to | |
311 | dot inside output sections. Handle absolute expressions. | |
312 | ||
19a7fe52 L |
313 | 2015-07-14 H.J. Lu <hongjiu.lu@intel.com> |
314 | ||
315 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Make | |
316 | --compress-debug-sections=zlib the same as | |
317 | --compress-debug-sections=zlib-gabi. | |
318 | * ld.texinfo: Change --compress-debug-sections=zlib to zlib-gabi. | |
319 | ||
1f0d470a NC |
320 | 2015-07-14 Nick Clifton <nickc@redhat.com> |
321 | ||
322 | * ld.texinfo (Options): Add missing period after @xref. | |
323 | ||
a2c59f28 AM |
324 | 2015-07-10 Alan Modra <amodra@gmail.com> |
325 | ||
326 | * ldexp.c (align_dot_val): New function. | |
327 | (fold_unary <ALIGN_K, NEXT>): Use it. | |
328 | ||
0f088b2a KT |
329 | 2015-07-03 Kai Tietz <ktietz@redhat.com> |
330 | ||
331 | PR ld/11539 | |
332 | * scripttempl/pep.sc: Mark .idata*, .CRT*, .tls*, | |
333 | .rsrc*, .init, .ctor*, .dtor*, .fini, .jcr, | |
334 | .eh_frame, .pdata. .xdata, and .gcc_except_table sections | |
335 | as KEEP. | |
336 | * scripttempl/pe.sc: Likewise. | |
337 | * ld.texinfo: Document that --gc-sections has experimental support | |
338 | for COFF and PE targets. | |
339 | * NEWS: Mention experimental support. | |
340 | ||
b6b3dd8f AM |
341 | 2015-07-03 Alan Modra <amodra@gmail.com> |
342 | ||
343 | * Makefile.am (eelf32or1k.c, eelf32or1k_linux.c): Depend on ELF_DEPS. | |
344 | * Makefile.in: Regenerate. | |
345 | ||
ee0c0c50 L |
346 | 2015-06-28 H.J. Lu <hongjiu.lu@intel.com> |
347 | ||
348 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): | |
349 | Replace COMPRESS_DEBUG_ZLIB with COMPRESS_DEBUG_GNU_ZLIB. | |
350 | ||
c742574f L |
351 | 2015-06-26 H.J. Lu <hongjiu.lu@intel.com> |
352 | ||
353 | * emulparams/elf_iamcu.sh (COMPILE_IN): New. | |
354 | ||
a2a4d60d NC |
355 | 2015-06-15 Nick Clifton <nickc@redhat.com> |
356 | ||
357 | PR ld/18466 | |
358 | * emultempl/pe.em (pe_find_data_imports): Generate an error if a | |
359 | symbol name is too long to handle. | |
360 | * emultempl/pep.em (pep_find_data_imports): Likewise. | |
361 | ||
3604cb1f TG |
362 | 2015-06-12 Tristan Gingold <gingold@adacore.com> |
363 | ||
364 | * NEWS: Mention new option. | |
365 | * lexsup.c (parse_args): Handle --print-memory-usage. | |
366 | (ld_options): Add --print-memory-usage. | |
367 | * ldmain.c (main): Call lang_print_memory_usage. | |
368 | * ldlex.h (enum option_values): Add OPTION_PRINT_MEMORY_USAGE. | |
369 | * ldlang.h: Add prototype of lang_print_memory_usage. | |
370 | * ldlang.c (lang_print_memory_size, lang_print_memory_usage): New | |
371 | functions. | |
372 | * ld.texinfo (Options): Document --print-memory-usage. | |
373 | * ld.h (args_type): Add print_memory_usage field. | |
374 | ||
1e1b2efc NC |
375 | 2015-06-08 Nick Clifton <nickc@redhat.com> |
376 | ||
377 | * po/fr.po: Updated French Translation. | |
378 | ||
2f0c68f2 CM |
379 | 2015-05-28 Catherine Moore <clm@codesourcery.com> |
380 | Paul Brook <paul@codesourcery.com> | |
381 | ||
2f0c68f2 CM |
382 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): |
383 | Add Compact EH support. | |
384 | * scripttempl/elf.sc: Handle .eh_frame_entry and .gnu_extab | |
385 | sections. | |
386 | ||
68880f31 CLT |
387 | 2015-05-17 Chung-Lin Tang <cltang@codesourcery.com> |
388 | ||
389 | * configure.ac (AC_PROG_GREP): Check for grep program. | |
390 | (elf_list_options,elf_shlib_list_options,elf_plt_unwind_list_options): | |
391 | Enable ELF option printing for emulations containing | |
392 | 'TEMPLATE_NAME=elf32'. | |
393 | * configure: Regenerate. | |
394 | ||
fd1c4238 NC |
395 | 2015-05-14 Nick Clifton <nickc@redhat.com> |
396 | ||
397 | * ld.texinfo (ASSERT): Describe the interaction with PROVIDEd | |
398 | symbols. | |
399 | ||
5197d474 L |
400 | 2015-05-11 H.J. Lu <hongjiu.lu@intel.com> |
401 | ||
402 | * configure.tgt: Support i[3-7]86-*-elfiamcu target. | |
403 | ||
7e0a8112 L |
404 | 2015-05-11 H.J. Lu <hongjiu.lu@intel.com> |
405 | ||
406 | * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_iamcu.c. | |
407 | (eelf_iamcu.c): New. | |
408 | * configure.tgt (targ_extra_emuls): Add elf_iamcu if elf_i386 is | |
409 | enabled in BFD. | |
410 | * Makefile.in: Regenerated. | |
411 | * emulparams/elf_iamcu.sh: New file. | |
412 | ||
837a17b3 NC |
413 | 2015-05-05 Nick Clifton <nickc@redhat.com> |
414 | ||
415 | * emulparams/msp430elf.sh (TEMPLATE_NAME): Change to msp430. | |
416 | * scripttempl/msp430.sc (.text): Add .lower.text and .either.text. | |
417 | (.data): Add .lower.data and .either.data. | |
418 | (.bss): Add .lower.bss and .either.bss. | |
419 | (.rodata): Add .lower.rodata and .either.rodata. | |
420 | * emultempl/msp430.em: New file. Implements a new orphan | |
421 | placement algorithm that divides sections between lower and upper | |
422 | memory regions. | |
423 | * Makefile.am (emsp430elf.c): Depend upon msp430.em. | |
424 | *emsp430X.c): Likewise. | |
425 | * Makefine.in: Regenerate. | |
426 | ||
a13eab06 AS |
427 | 2015-04-28 Andreas Schwab <schwab@linux-m68k.org> |
428 | ||
429 | PR ld/18344 | |
430 | * ldlex.l (INPUTLIST): Increment lineno on newline. | |
431 | ||
44bd1acd AM |
432 | 2015-04-24 Alan Modra <amodra@gmail.com> |
433 | ||
434 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): | |
435 | Call gld${EMULATION_NAME}_map_segments regardless of need_laying_out. | |
436 | ||
08e2f2bb DD |
437 | 2015-04-24 DJ Delorie <dj@redhat.com> |
438 | ||
439 | * Makefile.am (msp430): Rename primary emulation to msp430elf. | |
440 | (emsp430.c): Rename to emsp430elf.c, update dependencies | |
441 | (emsp430X.c): Update dependencies. | |
442 | * Makefile.in: Likewise. | |
443 | * configure.tgt (msp430-*-*): Rename primary emulation to msp430elf. | |
d9e88e90 | 444 | * emulparams/msp430.sh: Rename to msp430elf.sh. |
08e2f2bb DD |
445 | * emulparams/msp430X.sh: Update. |
446 | ||
f6fe1ccd L |
447 | 2015-04-23 H.J. Lu <hongjiu.lu@intel.com> |
448 | ||
449 | PR binutils/18209 | |
450 | * ldfile.c (ldfile_try_open_bfd): Set is_linker_input to 1. | |
451 | ||
a27e685f AM |
452 | 2015-04-23 Alan Modra <amodra@gmail.com> |
453 | ||
454 | * emulparams/elf64ppc.sh (GOT): Align. | |
455 | ||
0e5fabeb AM |
456 | 2015-04-22 Alan Modra <amodra@gmail.com> |
457 | ||
458 | * ldexp.h (struct ldexp_control): Delete dataseg.min_base. Add | |
459 | data_seg.relro_offset. | |
460 | * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Don't set min_base. | |
461 | (fold_binary <DATA_SEGMENT_RELRO_END>): Do set relro_offset. | |
462 | * ldlang.c (lang_size_sections): Rewrite code adjusting relro | |
463 | segment base to line up last section on page boundary. | |
464 | ||
ea556d25 L |
465 | 2015-04-15 H.J. Lu <hongjiu.lu@intel.com> |
466 | ||
467 | * NEWS: Mention | |
468 | --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi]. | |
469 | ||
0ce398f1 L |
470 | 2015-04-14 H.J. Lu <hongjiu.lu@intel.com> |
471 | ||
472 | * ld.texinfo: Document --compress-debug-sections=. | |
473 | * ldmain.c (main): Set BFD_COMPRESS on output_bfd if | |
474 | COMPRESS_DEBUG is set. Set BFD_COMPRESS_GABI on output_bfd | |
475 | for COMPRESS_DEBUG_GABI_ZLIB. | |
476 | * lexsup.c (elf_static_list_options): Add | |
477 | --compress-debug-sections=. | |
478 | * emultempl/elf32.em (OPTION_COMPRESS_DEBUG): New. | |
479 | (xtra_long): Add "compress-debug-sections". | |
480 | (gld${EMULATION_NAME}_handle_option): Handle | |
481 | OPTION_COMPRESS_DEBUG. | |
482 | ||
889c2a67 L |
483 | 2015-04-14 H.J. Lu <hongjiu.lu@intel.com> |
484 | ||
485 | PR ld/pr17709 | |
486 | * ld.texinfo: Document "-z noextern-protected-data". | |
487 | * ldmain.c (main): Initialize link_info.extern_protected_data | |
488 | to -1. | |
489 | * lexsup.c (elf_shlib_list_options): Add | |
490 | "-z [no]extern-protected-data". | |
491 | * emulparams/elf32_x86_64.sh: Source extern_protected_data.sh. | |
492 | * emulparams/elf_i386.sh: Likewise. | |
493 | * emulparams/elf_i386_be.sh: Likewise. | |
494 | * emulparams/elf_i386_chaos.sh: Likewise. | |
495 | * emulparams/elf_i386_ldso.sh: Likewise. | |
496 | * emulparams/elf_i386_vxworks.sh: Likewise. | |
497 | * emulparams/elf_k1om.sh: Likewise. | |
498 | * emulparams/elf_l1om.sh: Likewise. | |
499 | * emulparams/elf_x86_64.sh: Source extern_protected_data.sh. | |
500 | (PARSE_AND_LIST_OPTIONS): Renamed to ... | |
501 | (PARSE_AND_LIST_OPTIONS_BNDPLT): This. | |
502 | (PARSE_AND_LIST_ARGS_CASE_Z): Renamed to ... | |
503 | (PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT): This. | |
504 | (PARSE_AND_LIST_OPTIONS): Append $PARSE_AND_LIST_OPTIONS_BNDPLT. | |
505 | (PARSE_AND_LIST_ARGS_CASE_Z): Append | |
506 | $PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT. | |
507 | * emulparams/extern_protected_data.sh: New file. | |
508 | ||
fd5a1509 L |
509 | 2015-04-11 H.J. Lu <hongjiu.lu@intel.com> |
510 | ||
511 | * plugin.c (plugin_load_plugins): Removed an extra ';'. | |
512 | ||
080bb7bb NC |
513 | 2015-04-10 Nick Clifton <nickc@redhat.com> |
514 | ||
515 | PR binutils/18198 | |
516 | * ld.texinfo (--be8): Add a note about the interaction of this | |
517 | option with the assembler's -EB option. | |
518 | ||
8c3fff59 AM |
519 | 2015-04-10 Alan Modra <amodra@gmail.com> |
520 | ||
521 | * configure.ac: Set elf_list_options etc. in proper case. | |
522 | * configure: Regenerate. | |
523 | ||
6166ed93 AM |
524 | 2015-04-10 Alan Modra <amodra@gmail.com> |
525 | ||
526 | PR ld/18223 | |
527 | * ldlang.c (lang_process): Add _init and _fini to gc_sym_list. | |
528 | ||
eba27bd7 L |
529 | 2015-04-09 H.J. Lu <hongjiu.lu@intel.com> |
530 | ||
531 | * emulparams/elf_x86_64.sh (BNDPLT): Removed. | |
532 | (PARSE_AND_LIST_OPTIONS): New. | |
533 | (PARSE_AND_LIST_ARGS_CASE_Z): Likewise. | |
534 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Remove | |
535 | BNDPLT check. Handle PARSE_AND_LIST_ARGS_CASE_Z. | |
536 | (gld${EMULATION_NAME}_list_options): Remove BNDPLT check. | |
537 | ||
233723a4 NC |
538 | 2015-04-09 Nick Clifton <nickc@redhat.com> |
539 | ||
540 | * po/fr.po: Updated French translation. | |
541 | ||
82d8e420 L |
542 | 2015-04-08 H.J. Lu <hongjiu.lu@intel.com> |
543 | ||
544 | * configure.ac (elf_list_options): Set to TRUE for | |
545 | --enable-targets=all. | |
546 | (elf_shlib_list_options): Likewise. | |
547 | (elf_plt_unwind_list_options): Likewise. | |
548 | * configure: Regenerated. | |
549 | ||
31b94bbb L |
550 | 2015-04-08 H.J. Lu <hongjiu.lu@intel.com> |
551 | ||
552 | * emulparams/elf32bmipn32-defs.sh: Skip empty EMULATION_NAME. | |
553 | ||
c58212ea L |
554 | 2015-04-08 H.J. Lu <hongjiu.lu@intel.com> |
555 | ||
556 | * Makefile.am (ELF_CLFAGS): New. | |
557 | (AM_CFLAGS): Add $(ELF_CLFAGS). | |
558 | * configure.ac (elf_list_options): New. AC_SUBST. | |
559 | (elf_shlib_list_options): Likewise. | |
560 | (elf_plt_unwind_list_options): Likewise. | |
561 | * lexsup.c (elf_shlib_list_options): New. | |
562 | (elf_static_list_options): Likewise. | |
563 | (elf_plt_unwind_list_options): Likewise. | |
564 | (ld_list_options): Likewise. | |
565 | (help): Call ld_list_options. | |
566 | * Makefile.in: Regenerated. | |
567 | * configure: Likewise. | |
568 | * emulparams/plt_unwind.sh (PLT_UNWIND): New. | |
569 | (PARSE_AND_LIST_OPTIONS): Removed. | |
570 | * emultempl/elf32.em (gld_list_options): New. | |
571 | (gld${EMULATION_NAME}_list_options): Define only if BNDPLT or | |
572 | PARSE_AND_LIST_OPTIONS is defined. | |
573 | (ld_${EMULATION_NAME}_emulation): Replace | |
574 | gld${EMULATION_NAME}_list_options with ${gld_list_options. | |
575 | ||
0fad6e4b AM |
576 | 2015-04-07 Alan Modra <amodra@gmail.com> |
577 | ||
578 | PR ld/18176 | |
579 | * ldlang.c (lang_size_sections): Cast shift expression. | |
580 | ||
d3e454b9 AM |
581 | 2015-04-07 Alan Modra <amodra@gmail.com> |
582 | ||
583 | * emultempl/ppc32elf.em: Handle --no-pic-fixup. | |
584 | (params): Init new field. | |
585 | (ppc_before_allocation): Enable relaxation for pic_fixup. | |
586 | ||
3ea60775 NC |
587 | 2015-04-07 Nick Clifton <nickc@redhat.com> |
588 | ||
589 | * ld.h (struct ld_config_type): Add new field: warn_orphan. | |
590 | * ldlex.h (enum option_values): Add OPTION_WARN_ORPHAN and | |
591 | OPTION_NO_WARN_ORPHAN. | |
592 | * lexsup.c (ld_options): Add --warn-orphan and --no-warn-orphan. | |
593 | (parse_args): Handle the new options. | |
594 | * ldemul.c (ldemul_place_orphan): If requested, generate a warning | |
595 | message when an orphan section is placed in the output file. | |
596 | * ld.texinfo: Document the new option. | |
597 | * NEWS: Mention the new feature. | |
598 | ||
15c7659f AT |
599 | 2015-04-02 Andrew Turner <andrew@freebsd.org> |
600 | ||
601 | * Makefile.am: Add FreeBSD aarch64 files. | |
602 | * Makefile.in: Regenerate. | |
603 | * configure.tgt: Add aarch64-*-freebsd* target triple. | |
604 | * emulparams/aarch64fbsd.sh: New file. | |
605 | * emulparams/aarch64fbsdb.sh: New file. | |
606 | ||
a0bde398 L |
607 | 2015-04-01 H.J. Lu <hongjiu.lu@intel.com> |
608 | ||
609 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Work | |
610 | around a GCC uninitialized warning bug fixed in GCC 4.6. | |
611 | ||
4106101c MS |
612 | 2015-04-01 Tejas Belagod <tejas.belagod@arm.com> |
613 | ||
614 | * emultempl/aarch64elf.em | |
615 | (aarch64_elf_create_output_section_statements): Add parameter in | |
616 | bfd_elf${ELFSIZE}_aarch64_set_options call. | |
617 | (OPTION_FIX_ERRATUM_843419): Define. | |
618 | (PARSE_AND_LIST_LONGOPTS): Add fix-cortex-a53-843419. | |
619 | (PARSE_AND_LIST_ARGS_CASES): Add OPTION_FIX_ERRATUM_843419. | |
620 | ||
16c1c9d6 CG |
621 | 2015-04-01 Chen Gang <gang.chen.5i5j@gmail.com> |
622 | ||
623 | * emulparams/elf32_tic6x_le.sh: Skip OTHER_BSS_SECTIONS for | |
624 | relocating operation. | |
625 | ||
6c1aca3e AM |
626 | 2015-04-01 Alan Modra <amodra@gmail.com> |
627 | ||
875b5b9d | 628 | PR ld/18176 |
6c1aca3e AM |
629 | * ldlang.c (lang_size_sections): When alignment of sections |
630 | results in relro base adjustment being too large, don't go lower | |
631 | than the initial value. | |
632 | * ldexp.c (fold_binary <DATA_SEGMENT_RELRO_END>): Comment. | |
633 | * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Omit SEGMENT_SIZE | |
634 | alignment when SEGMENT_SIZE is the same as MAXPAGESIZE. | |
635 | ||
4a0bc59e AM |
636 | 2015-04-01 Alan Modra <amodra@gmail.com> |
637 | ||
638 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Don't | |
639 | init ehdr_start_save. | |
640 | ||
42271ec5 AM |
641 | 2015-04-01 Alan Modra <amodra@gmail.com> |
642 | ||
643 | * Makefile.am (eelf32ppcvxworks.c): Depend on ppc32elf.em and | |
644 | ldemul-list.h. | |
645 | (eelf32lppc.c, eelf32lppclinux.c, eelf32lppcnto.c, eelf32lppcsim.c, | |
646 | eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppclinux.c, eelf32ppcnto.c, | |
647 | eelf32ppcsim.c): Rearrange deps for consistency. | |
648 | * Makefile.in: Regenerate. | |
649 | ||
4e791d0f ES |
650 | 2015-04-01 Ed Schouten <ed@nuxi.nl> |
651 | ||
652 | * emultempl/elf32.em (gld*_before_allocation): Zero-initialize | |
653 | the ehdr_start_save variable. | |
654 | ||
6036f486 ES |
655 | 2015-03-31 Ed Schouten <ed@nuxi.nl> |
656 | ||
657 | * Makefile.am (ALL_64_EMULATION_SOURCES): Add | |
658 | eelf_x86_64_cloudabi.c. | |
659 | (eelf_x86_64_cloudabi.c): New. | |
660 | * configure.tgt (targ_emul): Set to elf_x86_64_cloudabi for | |
661 | x86_64-*-cloudabi*. | |
662 | * Makefile.in: Regenerated. | |
663 | * emulparams/elf_x86_64_cloudabi.sh: New file. | |
664 | ||
f24173eb L |
665 | 2015-03-31 H.J. Lu <hongjiu.lu@intel.com> |
666 | ||
667 | * configure.ac (AM_ZLIB): Removed. | |
668 | * Makefile.in: Regenerated. | |
669 | * config.in: Likewise. | |
670 | * configure: Likewise. | |
671 | ||
d9ced15d MS |
672 | 2015-03-24 Marcus Shawcroft <marcus.shawcroft@arm.com> |
673 | ||
674 | * emultempl/aarch64elf.em (_aarch64_add_stub_section): Set section | |
675 | alignment to 2. | |
676 | ||
499c37b5 MS |
677 | 2015-03-23 Marcus Shawcroft <marcus.shawcroft@arm.com> |
678 | ||
679 | * emultempl/aarch64elf.em | |
680 | (elf${ELFSIZE}_aarch64_add_stub_section): Adjust layout. | |
681 | ||
b3862264 CG |
682 | 2015-03-18 Chen Gang <gang.chen.5i5j@gmail.com> |
683 | ||
684 | * ldmain.c (main): Use %F instead of %X for einfo. | |
685 | ||
daf220f0 AM |
686 | 2015-03-02 Alan Modra <amodra@gmail.com> |
687 | ||
688 | * ld.texinfo (Options <-z nocopyreloc>): Rewrite. | |
689 | ||
f0673d20 NC |
690 | 2015-02-27 Nick Clifton <nickc@redhat.com> |
691 | ||
692 | PR ld/17900 | |
693 | * ldlang.c (lang_set_flags): Allow exclamation mark to reverse the | |
694 | sense of the following memory region attribute characters. | |
695 | ||
330b17b3 AM |
696 | 2015-02-27 Alan Modra <amodra@gmail.com> |
697 | ||
698 | * Makefile.am (ALL_EMULATION_SOURCES): Sort new h8300 entries. | |
699 | (eh8300elf_linux.c, eh8300helf_linux.c, eh8300self_linux.c, | |
700 | eh8300sxelf_linux.c): Do not invoke genscripts here. | |
701 | * Makefile.in: Regenerate. | |
702 | ||
685080f2 NC |
703 | 2015-02-24 Nick Clifton <nickc@redhat.com> |
704 | ||
705 | * Makefile.am (ev850.c): Add dependency upon | |
706 | $(srcdir)/emultempl/v850elf.em. | |
707 | (ev850_rh850.c): Likewise. | |
708 | * Makefile.in: Regenerate. | |
709 | * emultempl/v850elf.em: New file. | |
710 | * emulparams/v850.sh (EXTRA_EM_FILE): Define. | |
711 | * emulparams/v850_rh850.sh (EXTRA_EM_FILE): Define. | |
712 | * scripttempl/v850.sc: Add .note.renesas section. | |
713 | * scripttempl/v850_rh850.sc: Likewise. | |
714 | ||
cb072816 SKS |
715 | 2015-02-24 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
716 | ||
717 | * scripttempl/avr.sc: Add new user_signatures region. Define and | |
718 | use symbols for all region lengths. | |
719 | * scripttempl/avrtiny.sc: Define and use symbols for all region | |
720 | lengths. | |
721 | ||
5518c738 YS |
722 | 2015-01-21 Yoshinori Sato <ysato@users.sourceforge.jp> |
723 | ||
724 | * Makefile.am: (ALL_EMULATION_SOURCES): Add new emulations. | |
725 | * Makefile.in: Regenerate. | |
726 | * configure.tgt: Add h8300-*-linux | |
727 | * emulparams/h8300elf_linux.sh: Add new emulation. | |
728 | * emulparams/h8300helf_linux.sh: Likewise. | |
729 | * emulparams/h8300self_linux.sh: Likewise. | |
730 | * emulparams/h8300sxelf_linux.sh: Likewise. | |
731 | ||
f971c12f NC |
732 | 2015-02-23 Nick Clifton <nickc@redhat.com> |
733 | ||
734 | * lexsup.c (parse_args): Produce a more reasonable error message | |
735 | when -ixxx or -rxxx is the last option on the linker command line. | |
736 | ||
f58926a6 L |
737 | 2015-02-14 H.J. Lu <hongjiu.lu@intel.com> |
738 | ||
739 | PR ld/17973 | |
740 | * testplug2.c (allsymbolsread_silent): New. | |
741 | (set_register_hook): Handle allsymbolsreadsilent. | |
742 | (onall_symbols_read): Skip a message if allsymbolsread_silent is | |
743 | TRUE. | |
744 | ||
ce875075 AM |
745 | 2015-02-14 Alan Modra <amodra@gmail.com> |
746 | ||
747 | PR ld/17973 | |
748 | * ldlang.h (struct lang_input_statement_flags): Add lto_output. | |
749 | * ldlang.c (lang_process): Don't set loading_lto_outputs. | |
750 | * ldfile.c (ldfile_try_open_bfd): Transfer entry flags.lto_output | |
751 | to bfd. | |
752 | * plugin.c (add_input_file, add_input_library): Set flags.lto_output. | |
753 | ||
b0619670 L |
754 | 2015-02-13 H.J. Lu <hongjiu.lu@intel.com> |
755 | ||
756 | * NEWS: Mention support for LLVM plugin. | |
757 | ||
66bc8739 AM |
758 | 2015-02-13 Alan Modra <amodra@gmail.com> |
759 | ||
760 | * ld.texinfo (Options <--defsym>): Correct cross reference. | |
761 | ||
88b9e2eb L |
762 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
763 | ||
764 | * lexsup.c (ld_options): Add --[no-]map-whole-files for gold | |
765 | option compatibility. | |
766 | ||
45e81354 L |
767 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
768 | ||
769 | * plugin.c (message): Output "warning:" for LDPL_WARNING. Output | |
770 | "error:" for LDPL_FATAL and LDPL_ERROR. | |
771 | * testplug2.c (parse_option): Handle fatal, error and warning. | |
772 | ||
e3001fd9 L |
773 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
774 | ||
775 | * testplug2.c (dump_tv_tag): Removed. | |
776 | (onall_symbols_read): Return LDPS_ERR if the file descriptor isn't | |
777 | closed. | |
778 | * testplug3.c (dump_tv_tag): Removed. | |
779 | (onclaim_file): Fix typo. | |
780 | ||
7275e869 L |
781 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
782 | ||
783 | PR ld/17878 | |
784 | * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug2.la and | |
785 | libldtestplug3.la. | |
786 | (libldtestplug2_la_SOURCES): New. | |
787 | (libldtestplug2_la_CFLAGS): Likewise. | |
788 | (libldtestplug2_la_LDFLAGS): Likewise. | |
789 | (libldtestplug3_la_SOURCES): New. | |
790 | (libldtestplug3_la_CFLAGS): Likewise. | |
791 | (libldtestplug3_la_LDFLAGS): Likewise. | |
792 | * Makefile.in: Regenerated. | |
793 | * testplug2.c: New file. | |
794 | * testplug3.c: Likewise. | |
795 | ||
b9dc5a87 L |
796 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
797 | ||
798 | PR ld/17878 | |
799 | * plugin.c: Include ../bfd/plugin.h. | |
800 | (plugin_get_ir_dummy_bfd): Call bfd_create with | |
801 | link_info.output_bfd instead of srctemplate. Copy BFD info | |
802 | from srctemplate only if it doesn't use BFD plugin target | |
803 | vector. | |
804 | (plugin_load_plugins): Call register_ld_plugin_object_p with | |
805 | (plugin_object_p) | |
806 | (plugin_maybe_claim): Renamed to ... | |
807 | (plugin_object_p): This. Return dummy BFD target vector if | |
808 | input is calimed by plugin library, otherwise return NULL. | |
809 | Update plugin_format and plugin_dummy_bfd. | |
810 | (plugin_maybe_claim): New. Use plugin_object_p. | |
811 | ||
d319a098 L |
812 | 2015-02-10 H.J. Lu <hongjiu.lu@intel.com> |
813 | ||
814 | * plugin.c (plugin_maybe_claim): Initialize use_mmap. | |
815 | ||
38604796 L |
816 | 2015-02-10 H.J. Lu <hongjiu.lu@intel.com> |
817 | ||
818 | * plugin.c (plugin_input_file_t): Add use_mmap. | |
819 | (plugin_pagesize): New. | |
820 | (get_view): Use plugin_pagesize. Set use_mmap if mmap is used. | |
821 | (plugin_load_plugins): Initialize plugin_pagesize. | |
822 | (plugin_maybe_claim): Unmap the buffer if plugin didn't claim the | |
823 | file. | |
824 | ||
fe905789 L |
825 | 2015-02-10 H.J. Lu <hongjiu.lu@intel.com> |
826 | ||
827 | * plugin.c (get_view): Align offset passed to mmap. | |
828 | ||
1d5b29cf L |
829 | 2015-02-08 H.J. Lu <hongjiu.lu@intel.com> |
830 | ||
831 | * ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format | |
832 | if plugin isn't active or there is no thing more to claim. | |
833 | ||
e13419c4 L |
834 | 2015-02-08 H.J. Lu <hongjiu.lu@intel.com> |
835 | ||
836 | * plugin.c (plugin_maybe_claim): Check format against bfd_object | |
837 | directly. | |
838 | ||
93843894 L |
839 | 2015-02-07 H.J. Lu <hongjiu.lu@intel.com> |
840 | ||
841 | * plugin.c (plugin_maybe_claim): Replace entry->the_bfd with | |
842 | ibfd. | |
843 | ||
35a1e5f3 L |
844 | 2015-02-07 H.J. Lu <hongjiu.lu@intel.com> |
845 | ||
846 | * plugin.c: Include "libbfd.h". | |
847 | (plugin_strdup): New. | |
848 | (plugin_maybe_claim): Remove the argument of pointer to struct | |
849 | ld_plugin_input_file. Open and handle input entry. | |
850 | * plugin.h (plugin_maybe_claim): Updated. | |
851 | * ldfile.c (ldfile_try_open_bfd): Call plugin_maybe_claim directly | |
852 | without passing a pointer to struct ld_plugin_input_file. | |
853 | * ldmain.c: Don't include "libbfd.h". | |
854 | (add_archive_element): Call plugin_maybe_claim directly without | |
855 | passing a pointer to struct ld_plugin_input_file. | |
856 | ||
8dfef1bd L |
857 | 2015-02-06 H.J. Lu <hongjiu.lu@intel.com> |
858 | ||
859 | * ld.texinfo: Document -z text, -z notext and -z textoff. | |
860 | * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add | |
861 | -z text, -z notext and -z textoff. | |
862 | ||
2aec968d L |
863 | 2015-02-06 H.J. Lu <hongjiu.lu@intel.com> |
864 | ||
865 | * configure.ac: Add AC_FUNC_MMAP. | |
866 | * config.in: Regenerated. | |
867 | * configure: Likewise. | |
868 | * plugin.c: Include <sys/mman.h>. | |
869 | (MAP_FAILED): New. Defined if not defined. | |
870 | (PROT_READ): Likewise. | |
871 | (MAP_PRIVATE): Likewise. | |
872 | (view_buffer_t): New. | |
873 | (plugin_input_file_t): Add view_buffer. | |
874 | (get_view): Try mmap and cache the view buffer. | |
875 | (plugin_maybe_claim): Initialize view_buffer. | |
876 | ||
119d62ff L |
877 | 2015-02-05 H.J. Lu <hongjiu.lu@intel.com> |
878 | ||
879 | * plugin.c (release_input_file): Set fd to -1 after closing it. | |
880 | (plugin_maybe_claim): Close fd only if fd != -1. | |
881 | ||
f4b78d18 L |
882 | 2015-02-05 H.J. Lu <hongjiu.lu@intel.com> |
883 | ||
884 | PR ld/17878 | |
885 | * plugin.c: Include <errno.h>. | |
886 | (errno): New. Declare if needed. | |
887 | (plugin_input_file_t): New. | |
888 | (get_input_file): Implemented. | |
889 | (get_view): Likewise. | |
890 | (release_input_file): Likewise. | |
891 | (add_symbols): Updated. | |
892 | (get_symbols): Likewise. | |
893 | (plugin_maybe_claim): Allocate a plugin_input_file_t. Close fd | |
894 | only for a bfd_object input. | |
895 | ||
6c2573b7 AM |
896 | 2015-02-02 Alan Modra <amodra@gmail.com> |
897 | ||
898 | * emultempl/ppc64elf.em (toc_section_name): New var. | |
899 | (ppc_after_open): Set it. | |
900 | (ppc_before_allocation): Use it. | |
901 | (gld${EMULATION_NAME}_after_allocation): Here too. | |
902 | ||
716db898 L |
903 | 2015-01-29 H.J. Lu <hongjiu.lu@intel.com> |
904 | ||
905 | * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p() | |
906 | with link_info.lto_plugin_active. | |
907 | * ldlang.c (lang_process): Likewise. | |
908 | * ldmain.c (add_archive_element): Likewise. | |
909 | * plugin.c (plugin_active_plugins_p): Removed. | |
910 | * plugin.h (plugin_active_plugins_p): Likewise. | |
911 | ||
37a3056a L |
912 | 2015-01-28 H.J. Lu <hongjiu.lu@intel.com> |
913 | ||
914 | * plugin.h (plugin_get_ir_dummy_bfd): Removed. Move comments to | |
915 | ... | |
916 | * plugin.c (plugin_get_ir_dummy_bfd): Here. Make it static. | |
917 | ||
15f7a26b L |
918 | 2015-01-28 H.J. Lu <hongjiu.lu@intel.com> |
919 | ||
920 | PR ld/17878 | |
921 | * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW. | |
922 | (get_view): New function. | |
923 | (set_tv_header): Handle LDPT_GET_VIEW. | |
924 | * testplug.c (tag_names): Add LDPT_GET_VIEW. | |
925 | (tv_get_view): New. | |
926 | (dump_tv_tag): Handle LDPT_GET_VIEW. | |
927 | (parse_tv_tag): Likewise. | |
928 | ||
dbd1e97e AM |
929 | 2015-01-28 Alan Modra <amodra@gmail.com> |
930 | ||
931 | * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define. | |
932 | * emultempl/ppc64elf.em (params): Init new field. | |
933 | (ppc_after_open): New function. | |
934 | (LDEMUL_AFTER_OPEN): Define. | |
935 | * ldlang.c (lang_final): Whitespace fix. | |
936 | ||
3f8107ab AM |
937 | 2015-01-28 James Bowman <james.bowman@ftdichip.com> |
938 | ||
939 | * Makefile.am: Add FT32 files. | |
940 | * configure.tgt: Handle FT32 target. | |
941 | * emulparams/elf32ft32.sh: New file. | |
942 | * scripttempl/ft32.sc: New file. | |
943 | * Makefile.in: Regenerate. | |
944 | ||
cc9ad334 SKS |
945 | 2015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
946 | ||
947 | PR 4643 | |
948 | * ldexp.c (fold_name): Fold LENGTH only after | |
949 | lang_first_phase_enum. | |
950 | * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH | |
951 | rightaway. | |
952 | * ldlang.h (struct memory_region_struct): Add origin_exp and | |
953 | length_exp fields. | |
954 | * ldlang.c (lang_do_memory_regions): New. | |
955 | (lang_memory_region_lookup): Initialize origin_exp and | |
956 | length_exp fields. | |
957 | (lang_process): Call lang_do_memory_regions. | |
958 | ||
c05b575a AB |
959 | 2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com> |
960 | ||
961 | * ldlang.c (print_assignment): Only evaluate the expression for a | |
962 | PROVIDE'd assignment when the destination is being defined. | |
963 | Display a special message for PROVIDE'd symbols that are not being | |
964 | provided. | |
965 | ||
5ad18f16 AM |
966 | 2015-01-20 Alan Modra <amodra@gmail.com> |
967 | ||
968 | * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of.. | |
969 | (OTHER_BSS_SYMBOLS): ..this. | |
970 | (OTHER_PLT_RELOC_SECTIONS): Don't define. | |
971 | (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss. | |
972 | (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to.. | |
973 | (OTHER_RELRO_SECTIONS_2): ..here. | |
974 | * scripttempl/elf.sc: Move SBSS too when DATA_SDATA. | |
975 | ||
23283c1b AM |
976 | 2015-01-20 Alan Modra <amodra@gmail.com> |
977 | ||
978 | * emulparams/elf64ppc.sh (BSS_PLT): Don't define. | |
979 | (OTHER_READWRITE_SECTIONS): Move .branch_lt to.. | |
980 | (OTHER_RELRO_SECTIONS_2): ..here. | |
981 | (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT, | |
982 | PLT_BEFORE_GOT): Define. | |
983 | * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/ | |
984 | PLT_BEFORE_GOT combination. | |
985 | (DATA_GOT, SDATA_GOT): Don't define if either is already defined. | |
986 | ||
3e2b0f31 AM |
987 | 2015-01-20 Alan Modra <amodra@gmail.com> |
988 | ||
989 | * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to.. | |
990 | (OTHER_RELRO_SECTIONS_2): ..here, new define. | |
991 | * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2. | |
992 | ||
c4621b33 AM |
993 | 2015-01-19 Alan Modra <amodra@gmail.com> |
994 | ||
3e2aa5bb | 995 | PR ld/17615 |
c4621b33 AM |
996 | * ldlang.c (lang_process): Run lang_common before lang_gc_sections. |
997 | ||
52db4ec2 JW |
998 | 2015-01-14 Jiong Wang <jiong.wang@arm.com> |
999 | ||
1000 | * ld-arm/elf32-reject.s: New testcase. | |
1001 | * ld-arm/elf32-reject.d: Likewise. | |
1002 | * ld-arm/elf32-reject-pie.s: Likewise. | |
1003 | * ld-arm/elf32-reject-pie.d: Likewise. | |
1004 | * ld-arm/arm-elf.exp: Run new testcases. | |
1005 | * ld-arm/ifunc-7.s: Delete f2/f4 test items. | |
1006 | * ld-arm/ifunc-7.rd: Likewise. | |
1007 | * ld-arm/ifunc-7.gd: Likewise. | |
1008 | * ld-arm/ifunc-7.dd: Likewise. | |
1009 | * ld-arm/ifunc-8.s: Likewise. | |
1010 | * ld-arm/ifunc-8.rd: Likewise. | |
1011 | * ld-arm/ifunc-8.gd: Likewise. | |
1012 | * ld-arm/ifunc-8.dd: Likewise. | |
1013 | ||
efd321f9 AM |
1014 | 2015-01-01 Alan Modra <amodra@gmail.com> |
1015 | ||
1016 | * ldver.c (ldversion): Just print current year. | |
1017 | ||
b90efa5b | 1018 | 2015-01-01 Alan Modra <amodra@gmail.com> |
ca0694ad | 1019 | |
b90efa5b | 1020 | Update year range in copyright notice of all files. |
ca0694ad | 1021 | |
b90efa5b | 1022 | For older changes see ChangeLog-2014 |
252b5132 | 1023 | \f |
b90efa5b | 1024 | Copyright (C) 2015 Free Software Foundation, Inc. |
752937aa NC |
1025 | |
1026 | Copying and distribution of this file, with or without modification, | |
1027 | are permitted in any medium without royalty provided the copyright | |
1028 | notice and this notice are preserved. | |
1029 | ||
252b5132 RH |
1030 | Local Variables: |
1031 | mode: change-log | |
1032 | left-margin: 8 | |
1033 | fill-column: 74 | |
1034 | version-control: never | |
1035 | End: |