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