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