Commit | Line | Data |
---|---|---|
37a42ee9 L |
1 | 2015-07-27 H.J. Lu <hongjiu.lu@intel.com> |
2 | ||
3 | * configure: Regenerated. | |
4 | ||
aff1a65e NC |
5 | 2015-07-24 Nick Clifton <nickc@redhat.com> |
6 | ||
7 | * emulparams/elf32rl78.sh (OTHER_SECTIONS): Provide a value for | |
8 | the _-rl78_abs__ symbol. | |
9 | ||
d9d11c36 AM |
10 | 2015-07-20 Alan Modra <amodra@gmail.com> |
11 | ||
12 | * emulparams/criself.sh (INIT_ADDR, FINI_ADDR): Define. | |
13 | (INIT_START, FINI_START): Don't ALIGN. | |
14 | * scriptempl/elf.sc (.init, .fini): Apply INIT_ADDR/FINI_ADDR. | |
15 | ||
e474ab13 AM |
16 | 2015-07-20 Alan Modra <amodra@gmail.com> |
17 | ||
18 | * scripttempl/elf.sc (.ldata, .bss): Align absolute value of dot. | |
19 | * ldexp.c (is_align_conditional): Handle binary ALIGN. | |
20 | (exp_fold_tree_1): Move code setting SEC_KEEP for assignments to | |
21 | dot inside output sections. Handle absolute expressions. | |
22 | ||
19a7fe52 L |
23 | 2015-07-14 H.J. Lu <hongjiu.lu@intel.com> |
24 | ||
25 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Make | |
26 | --compress-debug-sections=zlib the same as | |
27 | --compress-debug-sections=zlib-gabi. | |
28 | * ld.texinfo: Change --compress-debug-sections=zlib to zlib-gabi. | |
29 | ||
1f0d470a NC |
30 | 2015-07-14 Nick Clifton <nickc@redhat.com> |
31 | ||
32 | * ld.texinfo (Options): Add missing period after @xref. | |
33 | ||
a2c59f28 AM |
34 | 2015-07-10 Alan Modra <amodra@gmail.com> |
35 | ||
36 | * ldexp.c (align_dot_val): New function. | |
37 | (fold_unary <ALIGN_K, NEXT>): Use it. | |
38 | ||
0f088b2a KT |
39 | 2015-07-03 Kai Tietz <ktietz@redhat.com> |
40 | ||
41 | PR ld/11539 | |
42 | * scripttempl/pep.sc: Mark .idata*, .CRT*, .tls*, | |
43 | .rsrc*, .init, .ctor*, .dtor*, .fini, .jcr, | |
44 | .eh_frame, .pdata. .xdata, and .gcc_except_table sections | |
45 | as KEEP. | |
46 | * scripttempl/pe.sc: Likewise. | |
47 | * ld.texinfo: Document that --gc-sections has experimental support | |
48 | for COFF and PE targets. | |
49 | * NEWS: Mention experimental support. | |
50 | ||
b6b3dd8f AM |
51 | 2015-07-03 Alan Modra <amodra@gmail.com> |
52 | ||
53 | * Makefile.am (eelf32or1k.c, eelf32or1k_linux.c): Depend on ELF_DEPS. | |
54 | * Makefile.in: Regenerate. | |
55 | ||
ee0c0c50 L |
56 | 2015-06-28 H.J. Lu <hongjiu.lu@intel.com> |
57 | ||
58 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): | |
59 | Replace COMPRESS_DEBUG_ZLIB with COMPRESS_DEBUG_GNU_ZLIB. | |
60 | ||
c742574f L |
61 | 2015-06-26 H.J. Lu <hongjiu.lu@intel.com> |
62 | ||
63 | * emulparams/elf_iamcu.sh (COMPILE_IN): New. | |
64 | ||
a2a4d60d NC |
65 | 2015-06-15 Nick Clifton <nickc@redhat.com> |
66 | ||
67 | PR ld/18466 | |
68 | * emultempl/pe.em (pe_find_data_imports): Generate an error if a | |
69 | symbol name is too long to handle. | |
70 | * emultempl/pep.em (pep_find_data_imports): Likewise. | |
71 | ||
3604cb1f TG |
72 | 2015-06-12 Tristan Gingold <gingold@adacore.com> |
73 | ||
74 | * NEWS: Mention new option. | |
75 | * lexsup.c (parse_args): Handle --print-memory-usage. | |
76 | (ld_options): Add --print-memory-usage. | |
77 | * ldmain.c (main): Call lang_print_memory_usage. | |
78 | * ldlex.h (enum option_values): Add OPTION_PRINT_MEMORY_USAGE. | |
79 | * ldlang.h: Add prototype of lang_print_memory_usage. | |
80 | * ldlang.c (lang_print_memory_size, lang_print_memory_usage): New | |
81 | functions. | |
82 | * ld.texinfo (Options): Document --print-memory-usage. | |
83 | * ld.h (args_type): Add print_memory_usage field. | |
84 | ||
1e1b2efc NC |
85 | 2015-06-08 Nick Clifton <nickc@redhat.com> |
86 | ||
87 | * po/fr.po: Updated French Translation. | |
88 | ||
2f0c68f2 CM |
89 | 2015-05-28 Catherine Moore <clm@codesourcery.com> |
90 | Paul Brook <paul@codesourcery.com> | |
91 | ||
2f0c68f2 CM |
92 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): |
93 | Add Compact EH support. | |
94 | * scripttempl/elf.sc: Handle .eh_frame_entry and .gnu_extab | |
95 | sections. | |
96 | ||
68880f31 CLT |
97 | 2015-05-17 Chung-Lin Tang <cltang@codesourcery.com> |
98 | ||
99 | * configure.ac (AC_PROG_GREP): Check for grep program. | |
100 | (elf_list_options,elf_shlib_list_options,elf_plt_unwind_list_options): | |
101 | Enable ELF option printing for emulations containing | |
102 | 'TEMPLATE_NAME=elf32'. | |
103 | * configure: Regenerate. | |
104 | ||
fd1c4238 NC |
105 | 2015-05-14 Nick Clifton <nickc@redhat.com> |
106 | ||
107 | * ld.texinfo (ASSERT): Describe the interaction with PROVIDEd | |
108 | symbols. | |
109 | ||
5197d474 L |
110 | 2015-05-11 H.J. Lu <hongjiu.lu@intel.com> |
111 | ||
112 | * configure.tgt: Support i[3-7]86-*-elfiamcu target. | |
113 | ||
7e0a8112 L |
114 | 2015-05-11 H.J. Lu <hongjiu.lu@intel.com> |
115 | ||
116 | * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_iamcu.c. | |
117 | (eelf_iamcu.c): New. | |
118 | * configure.tgt (targ_extra_emuls): Add elf_iamcu if elf_i386 is | |
119 | enabled in BFD. | |
120 | * Makefile.in: Regenerated. | |
121 | * emulparams/elf_iamcu.sh: New file. | |
122 | ||
837a17b3 NC |
123 | 2015-05-05 Nick Clifton <nickc@redhat.com> |
124 | ||
125 | * emulparams/msp430elf.sh (TEMPLATE_NAME): Change to msp430. | |
126 | * scripttempl/msp430.sc (.text): Add .lower.text and .either.text. | |
127 | (.data): Add .lower.data and .either.data. | |
128 | (.bss): Add .lower.bss and .either.bss. | |
129 | (.rodata): Add .lower.rodata and .either.rodata. | |
130 | * emultempl/msp430.em: New file. Implements a new orphan | |
131 | placement algorithm that divides sections between lower and upper | |
132 | memory regions. | |
133 | * Makefile.am (emsp430elf.c): Depend upon msp430.em. | |
134 | *emsp430X.c): Likewise. | |
135 | * Makefine.in: Regenerate. | |
136 | ||
a13eab06 AS |
137 | 2015-04-28 Andreas Schwab <schwab@linux-m68k.org> |
138 | ||
139 | PR ld/18344 | |
140 | * ldlex.l (INPUTLIST): Increment lineno on newline. | |
141 | ||
44bd1acd AM |
142 | 2015-04-24 Alan Modra <amodra@gmail.com> |
143 | ||
144 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): | |
145 | Call gld${EMULATION_NAME}_map_segments regardless of need_laying_out. | |
146 | ||
08e2f2bb DD |
147 | 2015-04-24 DJ Delorie <dj@redhat.com> |
148 | ||
149 | * Makefile.am (msp430): Rename primary emulation to msp430elf. | |
150 | (emsp430.c): Rename to emsp430elf.c, update dependencies | |
151 | (emsp430X.c): Update dependencies. | |
152 | * Makefile.in: Likewise. | |
153 | * configure.tgt (msp430-*-*): Rename primary emulation to msp430elf. | |
d9e88e90 | 154 | * emulparams/msp430.sh: Rename to msp430elf.sh. |
08e2f2bb DD |
155 | * emulparams/msp430X.sh: Update. |
156 | ||
f6fe1ccd L |
157 | 2015-04-23 H.J. Lu <hongjiu.lu@intel.com> |
158 | ||
159 | PR binutils/18209 | |
160 | * ldfile.c (ldfile_try_open_bfd): Set is_linker_input to 1. | |
161 | ||
a27e685f AM |
162 | 2015-04-23 Alan Modra <amodra@gmail.com> |
163 | ||
164 | * emulparams/elf64ppc.sh (GOT): Align. | |
165 | ||
0e5fabeb AM |
166 | 2015-04-22 Alan Modra <amodra@gmail.com> |
167 | ||
168 | * ldexp.h (struct ldexp_control): Delete dataseg.min_base. Add | |
169 | data_seg.relro_offset. | |
170 | * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Don't set min_base. | |
171 | (fold_binary <DATA_SEGMENT_RELRO_END>): Do set relro_offset. | |
172 | * ldlang.c (lang_size_sections): Rewrite code adjusting relro | |
173 | segment base to line up last section on page boundary. | |
174 | ||
ea556d25 L |
175 | 2015-04-15 H.J. Lu <hongjiu.lu@intel.com> |
176 | ||
177 | * NEWS: Mention | |
178 | --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi]. | |
179 | ||
0ce398f1 L |
180 | 2015-04-14 H.J. Lu <hongjiu.lu@intel.com> |
181 | ||
182 | * ld.texinfo: Document --compress-debug-sections=. | |
183 | * ldmain.c (main): Set BFD_COMPRESS on output_bfd if | |
184 | COMPRESS_DEBUG is set. Set BFD_COMPRESS_GABI on output_bfd | |
185 | for COMPRESS_DEBUG_GABI_ZLIB. | |
186 | * lexsup.c (elf_static_list_options): Add | |
187 | --compress-debug-sections=. | |
188 | * emultempl/elf32.em (OPTION_COMPRESS_DEBUG): New. | |
189 | (xtra_long): Add "compress-debug-sections". | |
190 | (gld${EMULATION_NAME}_handle_option): Handle | |
191 | OPTION_COMPRESS_DEBUG. | |
192 | ||
889c2a67 L |
193 | 2015-04-14 H.J. Lu <hongjiu.lu@intel.com> |
194 | ||
195 | PR ld/pr17709 | |
196 | * ld.texinfo: Document "-z noextern-protected-data". | |
197 | * ldmain.c (main): Initialize link_info.extern_protected_data | |
198 | to -1. | |
199 | * lexsup.c (elf_shlib_list_options): Add | |
200 | "-z [no]extern-protected-data". | |
201 | * emulparams/elf32_x86_64.sh: Source extern_protected_data.sh. | |
202 | * emulparams/elf_i386.sh: Likewise. | |
203 | * emulparams/elf_i386_be.sh: Likewise. | |
204 | * emulparams/elf_i386_chaos.sh: Likewise. | |
205 | * emulparams/elf_i386_ldso.sh: Likewise. | |
206 | * emulparams/elf_i386_vxworks.sh: Likewise. | |
207 | * emulparams/elf_k1om.sh: Likewise. | |
208 | * emulparams/elf_l1om.sh: Likewise. | |
209 | * emulparams/elf_x86_64.sh: Source extern_protected_data.sh. | |
210 | (PARSE_AND_LIST_OPTIONS): Renamed to ... | |
211 | (PARSE_AND_LIST_OPTIONS_BNDPLT): This. | |
212 | (PARSE_AND_LIST_ARGS_CASE_Z): Renamed to ... | |
213 | (PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT): This. | |
214 | (PARSE_AND_LIST_OPTIONS): Append $PARSE_AND_LIST_OPTIONS_BNDPLT. | |
215 | (PARSE_AND_LIST_ARGS_CASE_Z): Append | |
216 | $PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT. | |
217 | * emulparams/extern_protected_data.sh: New file. | |
218 | ||
fd5a1509 L |
219 | 2015-04-11 H.J. Lu <hongjiu.lu@intel.com> |
220 | ||
221 | * plugin.c (plugin_load_plugins): Removed an extra ';'. | |
222 | ||
080bb7bb NC |
223 | 2015-04-10 Nick Clifton <nickc@redhat.com> |
224 | ||
225 | PR binutils/18198 | |
226 | * ld.texinfo (--be8): Add a note about the interaction of this | |
227 | option with the assembler's -EB option. | |
228 | ||
8c3fff59 AM |
229 | 2015-04-10 Alan Modra <amodra@gmail.com> |
230 | ||
231 | * configure.ac: Set elf_list_options etc. in proper case. | |
232 | * configure: Regenerate. | |
233 | ||
6166ed93 AM |
234 | 2015-04-10 Alan Modra <amodra@gmail.com> |
235 | ||
236 | PR ld/18223 | |
237 | * ldlang.c (lang_process): Add _init and _fini to gc_sym_list. | |
238 | ||
eba27bd7 L |
239 | 2015-04-09 H.J. Lu <hongjiu.lu@intel.com> |
240 | ||
241 | * emulparams/elf_x86_64.sh (BNDPLT): Removed. | |
242 | (PARSE_AND_LIST_OPTIONS): New. | |
243 | (PARSE_AND_LIST_ARGS_CASE_Z): Likewise. | |
244 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Remove | |
245 | BNDPLT check. Handle PARSE_AND_LIST_ARGS_CASE_Z. | |
246 | (gld${EMULATION_NAME}_list_options): Remove BNDPLT check. | |
247 | ||
233723a4 NC |
248 | 2015-04-09 Nick Clifton <nickc@redhat.com> |
249 | ||
250 | * po/fr.po: Updated French translation. | |
251 | ||
82d8e420 L |
252 | 2015-04-08 H.J. Lu <hongjiu.lu@intel.com> |
253 | ||
254 | * configure.ac (elf_list_options): Set to TRUE for | |
255 | --enable-targets=all. | |
256 | (elf_shlib_list_options): Likewise. | |
257 | (elf_plt_unwind_list_options): Likewise. | |
258 | * configure: Regenerated. | |
259 | ||
31b94bbb L |
260 | 2015-04-08 H.J. Lu <hongjiu.lu@intel.com> |
261 | ||
262 | * emulparams/elf32bmipn32-defs.sh: Skip empty EMULATION_NAME. | |
263 | ||
c58212ea L |
264 | 2015-04-08 H.J. Lu <hongjiu.lu@intel.com> |
265 | ||
266 | * Makefile.am (ELF_CLFAGS): New. | |
267 | (AM_CFLAGS): Add $(ELF_CLFAGS). | |
268 | * configure.ac (elf_list_options): New. AC_SUBST. | |
269 | (elf_shlib_list_options): Likewise. | |
270 | (elf_plt_unwind_list_options): Likewise. | |
271 | * lexsup.c (elf_shlib_list_options): New. | |
272 | (elf_static_list_options): Likewise. | |
273 | (elf_plt_unwind_list_options): Likewise. | |
274 | (ld_list_options): Likewise. | |
275 | (help): Call ld_list_options. | |
276 | * Makefile.in: Regenerated. | |
277 | * configure: Likewise. | |
278 | * emulparams/plt_unwind.sh (PLT_UNWIND): New. | |
279 | (PARSE_AND_LIST_OPTIONS): Removed. | |
280 | * emultempl/elf32.em (gld_list_options): New. | |
281 | (gld${EMULATION_NAME}_list_options): Define only if BNDPLT or | |
282 | PARSE_AND_LIST_OPTIONS is defined. | |
283 | (ld_${EMULATION_NAME}_emulation): Replace | |
284 | gld${EMULATION_NAME}_list_options with ${gld_list_options. | |
285 | ||
0fad6e4b AM |
286 | 2015-04-07 Alan Modra <amodra@gmail.com> |
287 | ||
288 | PR ld/18176 | |
289 | * ldlang.c (lang_size_sections): Cast shift expression. | |
290 | ||
d3e454b9 AM |
291 | 2015-04-07 Alan Modra <amodra@gmail.com> |
292 | ||
293 | * emultempl/ppc32elf.em: Handle --no-pic-fixup. | |
294 | (params): Init new field. | |
295 | (ppc_before_allocation): Enable relaxation for pic_fixup. | |
296 | ||
3ea60775 NC |
297 | 2015-04-07 Nick Clifton <nickc@redhat.com> |
298 | ||
299 | * ld.h (struct ld_config_type): Add new field: warn_orphan. | |
300 | * ldlex.h (enum option_values): Add OPTION_WARN_ORPHAN and | |
301 | OPTION_NO_WARN_ORPHAN. | |
302 | * lexsup.c (ld_options): Add --warn-orphan and --no-warn-orphan. | |
303 | (parse_args): Handle the new options. | |
304 | * ldemul.c (ldemul_place_orphan): If requested, generate a warning | |
305 | message when an orphan section is placed in the output file. | |
306 | * ld.texinfo: Document the new option. | |
307 | * NEWS: Mention the new feature. | |
308 | ||
15c7659f AT |
309 | 2015-04-02 Andrew Turner <andrew@freebsd.org> |
310 | ||
311 | * Makefile.am: Add FreeBSD aarch64 files. | |
312 | * Makefile.in: Regenerate. | |
313 | * configure.tgt: Add aarch64-*-freebsd* target triple. | |
314 | * emulparams/aarch64fbsd.sh: New file. | |
315 | * emulparams/aarch64fbsdb.sh: New file. | |
316 | ||
a0bde398 L |
317 | 2015-04-01 H.J. Lu <hongjiu.lu@intel.com> |
318 | ||
319 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Work | |
320 | around a GCC uninitialized warning bug fixed in GCC 4.6. | |
321 | ||
4106101c MS |
322 | 2015-04-01 Tejas Belagod <tejas.belagod@arm.com> |
323 | ||
324 | * emultempl/aarch64elf.em | |
325 | (aarch64_elf_create_output_section_statements): Add parameter in | |
326 | bfd_elf${ELFSIZE}_aarch64_set_options call. | |
327 | (OPTION_FIX_ERRATUM_843419): Define. | |
328 | (PARSE_AND_LIST_LONGOPTS): Add fix-cortex-a53-843419. | |
329 | (PARSE_AND_LIST_ARGS_CASES): Add OPTION_FIX_ERRATUM_843419. | |
330 | ||
16c1c9d6 CG |
331 | 2015-04-01 Chen Gang <gang.chen.5i5j@gmail.com> |
332 | ||
333 | * emulparams/elf32_tic6x_le.sh: Skip OTHER_BSS_SECTIONS for | |
334 | relocating operation. | |
335 | ||
6c1aca3e AM |
336 | 2015-04-01 Alan Modra <amodra@gmail.com> |
337 | ||
875b5b9d | 338 | PR ld/18176 |
6c1aca3e AM |
339 | * ldlang.c (lang_size_sections): When alignment of sections |
340 | results in relro base adjustment being too large, don't go lower | |
341 | than the initial value. | |
342 | * ldexp.c (fold_binary <DATA_SEGMENT_RELRO_END>): Comment. | |
343 | * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Omit SEGMENT_SIZE | |
344 | alignment when SEGMENT_SIZE is the same as MAXPAGESIZE. | |
345 | ||
4a0bc59e AM |
346 | 2015-04-01 Alan Modra <amodra@gmail.com> |
347 | ||
348 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Don't | |
349 | init ehdr_start_save. | |
350 | ||
42271ec5 AM |
351 | 2015-04-01 Alan Modra <amodra@gmail.com> |
352 | ||
353 | * Makefile.am (eelf32ppcvxworks.c): Depend on ppc32elf.em and | |
354 | ldemul-list.h. | |
355 | (eelf32lppc.c, eelf32lppclinux.c, eelf32lppcnto.c, eelf32lppcsim.c, | |
356 | eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppclinux.c, eelf32ppcnto.c, | |
357 | eelf32ppcsim.c): Rearrange deps for consistency. | |
358 | * Makefile.in: Regenerate. | |
359 | ||
4e791d0f ES |
360 | 2015-04-01 Ed Schouten <ed@nuxi.nl> |
361 | ||
362 | * emultempl/elf32.em (gld*_before_allocation): Zero-initialize | |
363 | the ehdr_start_save variable. | |
364 | ||
6036f486 ES |
365 | 2015-03-31 Ed Schouten <ed@nuxi.nl> |
366 | ||
367 | * Makefile.am (ALL_64_EMULATION_SOURCES): Add | |
368 | eelf_x86_64_cloudabi.c. | |
369 | (eelf_x86_64_cloudabi.c): New. | |
370 | * configure.tgt (targ_emul): Set to elf_x86_64_cloudabi for | |
371 | x86_64-*-cloudabi*. | |
372 | * Makefile.in: Regenerated. | |
373 | * emulparams/elf_x86_64_cloudabi.sh: New file. | |
374 | ||
f24173eb L |
375 | 2015-03-31 H.J. Lu <hongjiu.lu@intel.com> |
376 | ||
377 | * configure.ac (AM_ZLIB): Removed. | |
378 | * Makefile.in: Regenerated. | |
379 | * config.in: Likewise. | |
380 | * configure: Likewise. | |
381 | ||
d9ced15d MS |
382 | 2015-03-24 Marcus Shawcroft <marcus.shawcroft@arm.com> |
383 | ||
384 | * emultempl/aarch64elf.em (_aarch64_add_stub_section): Set section | |
385 | alignment to 2. | |
386 | ||
499c37b5 MS |
387 | 2015-03-23 Marcus Shawcroft <marcus.shawcroft@arm.com> |
388 | ||
389 | * emultempl/aarch64elf.em | |
390 | (elf${ELFSIZE}_aarch64_add_stub_section): Adjust layout. | |
391 | ||
b3862264 CG |
392 | 2015-03-18 Chen Gang <gang.chen.5i5j@gmail.com> |
393 | ||
394 | * ldmain.c (main): Use %F instead of %X for einfo. | |
395 | ||
daf220f0 AM |
396 | 2015-03-02 Alan Modra <amodra@gmail.com> |
397 | ||
398 | * ld.texinfo (Options <-z nocopyreloc>): Rewrite. | |
399 | ||
f0673d20 NC |
400 | 2015-02-27 Nick Clifton <nickc@redhat.com> |
401 | ||
402 | PR ld/17900 | |
403 | * ldlang.c (lang_set_flags): Allow exclamation mark to reverse the | |
404 | sense of the following memory region attribute characters. | |
405 | ||
330b17b3 AM |
406 | 2015-02-27 Alan Modra <amodra@gmail.com> |
407 | ||
408 | * Makefile.am (ALL_EMULATION_SOURCES): Sort new h8300 entries. | |
409 | (eh8300elf_linux.c, eh8300helf_linux.c, eh8300self_linux.c, | |
410 | eh8300sxelf_linux.c): Do not invoke genscripts here. | |
411 | * Makefile.in: Regenerate. | |
412 | ||
685080f2 NC |
413 | 2015-02-24 Nick Clifton <nickc@redhat.com> |
414 | ||
415 | * Makefile.am (ev850.c): Add dependency upon | |
416 | $(srcdir)/emultempl/v850elf.em. | |
417 | (ev850_rh850.c): Likewise. | |
418 | * Makefile.in: Regenerate. | |
419 | * emultempl/v850elf.em: New file. | |
420 | * emulparams/v850.sh (EXTRA_EM_FILE): Define. | |
421 | * emulparams/v850_rh850.sh (EXTRA_EM_FILE): Define. | |
422 | * scripttempl/v850.sc: Add .note.renesas section. | |
423 | * scripttempl/v850_rh850.sc: Likewise. | |
424 | ||
cb072816 SKS |
425 | 2015-02-24 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
426 | ||
427 | * scripttempl/avr.sc: Add new user_signatures region. Define and | |
428 | use symbols for all region lengths. | |
429 | * scripttempl/avrtiny.sc: Define and use symbols for all region | |
430 | lengths. | |
431 | ||
5518c738 YS |
432 | 2015-01-21 Yoshinori Sato <ysato@users.sourceforge.jp> |
433 | ||
434 | * Makefile.am: (ALL_EMULATION_SOURCES): Add new emulations. | |
435 | * Makefile.in: Regenerate. | |
436 | * configure.tgt: Add h8300-*-linux | |
437 | * emulparams/h8300elf_linux.sh: Add new emulation. | |
438 | * emulparams/h8300helf_linux.sh: Likewise. | |
439 | * emulparams/h8300self_linux.sh: Likewise. | |
440 | * emulparams/h8300sxelf_linux.sh: Likewise. | |
441 | ||
f971c12f NC |
442 | 2015-02-23 Nick Clifton <nickc@redhat.com> |
443 | ||
444 | * lexsup.c (parse_args): Produce a more reasonable error message | |
445 | when -ixxx or -rxxx is the last option on the linker command line. | |
446 | ||
f58926a6 L |
447 | 2015-02-14 H.J. Lu <hongjiu.lu@intel.com> |
448 | ||
449 | PR ld/17973 | |
450 | * testplug2.c (allsymbolsread_silent): New. | |
451 | (set_register_hook): Handle allsymbolsreadsilent. | |
452 | (onall_symbols_read): Skip a message if allsymbolsread_silent is | |
453 | TRUE. | |
454 | ||
ce875075 AM |
455 | 2015-02-14 Alan Modra <amodra@gmail.com> |
456 | ||
457 | PR ld/17973 | |
458 | * ldlang.h (struct lang_input_statement_flags): Add lto_output. | |
459 | * ldlang.c (lang_process): Don't set loading_lto_outputs. | |
460 | * ldfile.c (ldfile_try_open_bfd): Transfer entry flags.lto_output | |
461 | to bfd. | |
462 | * plugin.c (add_input_file, add_input_library): Set flags.lto_output. | |
463 | ||
b0619670 L |
464 | 2015-02-13 H.J. Lu <hongjiu.lu@intel.com> |
465 | ||
466 | * NEWS: Mention support for LLVM plugin. | |
467 | ||
66bc8739 AM |
468 | 2015-02-13 Alan Modra <amodra@gmail.com> |
469 | ||
470 | * ld.texinfo (Options <--defsym>): Correct cross reference. | |
471 | ||
88b9e2eb L |
472 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
473 | ||
474 | * lexsup.c (ld_options): Add --[no-]map-whole-files for gold | |
475 | option compatibility. | |
476 | ||
45e81354 L |
477 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
478 | ||
479 | * plugin.c (message): Output "warning:" for LDPL_WARNING. Output | |
480 | "error:" for LDPL_FATAL and LDPL_ERROR. | |
481 | * testplug2.c (parse_option): Handle fatal, error and warning. | |
482 | ||
e3001fd9 L |
483 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
484 | ||
485 | * testplug2.c (dump_tv_tag): Removed. | |
486 | (onall_symbols_read): Return LDPS_ERR if the file descriptor isn't | |
487 | closed. | |
488 | * testplug3.c (dump_tv_tag): Removed. | |
489 | (onclaim_file): Fix typo. | |
490 | ||
7275e869 L |
491 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
492 | ||
493 | PR ld/17878 | |
494 | * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug2.la and | |
495 | libldtestplug3.la. | |
496 | (libldtestplug2_la_SOURCES): New. | |
497 | (libldtestplug2_la_CFLAGS): Likewise. | |
498 | (libldtestplug2_la_LDFLAGS): Likewise. | |
499 | (libldtestplug3_la_SOURCES): New. | |
500 | (libldtestplug3_la_CFLAGS): Likewise. | |
501 | (libldtestplug3_la_LDFLAGS): Likewise. | |
502 | * Makefile.in: Regenerated. | |
503 | * testplug2.c: New file. | |
504 | * testplug3.c: Likewise. | |
505 | ||
b9dc5a87 L |
506 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
507 | ||
508 | PR ld/17878 | |
509 | * plugin.c: Include ../bfd/plugin.h. | |
510 | (plugin_get_ir_dummy_bfd): Call bfd_create with | |
511 | link_info.output_bfd instead of srctemplate. Copy BFD info | |
512 | from srctemplate only if it doesn't use BFD plugin target | |
513 | vector. | |
514 | (plugin_load_plugins): Call register_ld_plugin_object_p with | |
515 | (plugin_object_p) | |
516 | (plugin_maybe_claim): Renamed to ... | |
517 | (plugin_object_p): This. Return dummy BFD target vector if | |
518 | input is calimed by plugin library, otherwise return NULL. | |
519 | Update plugin_format and plugin_dummy_bfd. | |
520 | (plugin_maybe_claim): New. Use plugin_object_p. | |
521 | ||
d319a098 L |
522 | 2015-02-10 H.J. Lu <hongjiu.lu@intel.com> |
523 | ||
524 | * plugin.c (plugin_maybe_claim): Initialize use_mmap. | |
525 | ||
38604796 L |
526 | 2015-02-10 H.J. Lu <hongjiu.lu@intel.com> |
527 | ||
528 | * plugin.c (plugin_input_file_t): Add use_mmap. | |
529 | (plugin_pagesize): New. | |
530 | (get_view): Use plugin_pagesize. Set use_mmap if mmap is used. | |
531 | (plugin_load_plugins): Initialize plugin_pagesize. | |
532 | (plugin_maybe_claim): Unmap the buffer if plugin didn't claim the | |
533 | file. | |
534 | ||
fe905789 L |
535 | 2015-02-10 H.J. Lu <hongjiu.lu@intel.com> |
536 | ||
537 | * plugin.c (get_view): Align offset passed to mmap. | |
538 | ||
1d5b29cf L |
539 | 2015-02-08 H.J. Lu <hongjiu.lu@intel.com> |
540 | ||
541 | * ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format | |
542 | if plugin isn't active or there is no thing more to claim. | |
543 | ||
e13419c4 L |
544 | 2015-02-08 H.J. Lu <hongjiu.lu@intel.com> |
545 | ||
546 | * plugin.c (plugin_maybe_claim): Check format against bfd_object | |
547 | directly. | |
548 | ||
93843894 L |
549 | 2015-02-07 H.J. Lu <hongjiu.lu@intel.com> |
550 | ||
551 | * plugin.c (plugin_maybe_claim): Replace entry->the_bfd with | |
552 | ibfd. | |
553 | ||
35a1e5f3 L |
554 | 2015-02-07 H.J. Lu <hongjiu.lu@intel.com> |
555 | ||
556 | * plugin.c: Include "libbfd.h". | |
557 | (plugin_strdup): New. | |
558 | (plugin_maybe_claim): Remove the argument of pointer to struct | |
559 | ld_plugin_input_file. Open and handle input entry. | |
560 | * plugin.h (plugin_maybe_claim): Updated. | |
561 | * ldfile.c (ldfile_try_open_bfd): Call plugin_maybe_claim directly | |
562 | without passing a pointer to struct ld_plugin_input_file. | |
563 | * ldmain.c: Don't include "libbfd.h". | |
564 | (add_archive_element): Call plugin_maybe_claim directly without | |
565 | passing a pointer to struct ld_plugin_input_file. | |
566 | ||
8dfef1bd L |
567 | 2015-02-06 H.J. Lu <hongjiu.lu@intel.com> |
568 | ||
569 | * ld.texinfo: Document -z text, -z notext and -z textoff. | |
570 | * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add | |
571 | -z text, -z notext and -z textoff. | |
572 | ||
2aec968d L |
573 | 2015-02-06 H.J. Lu <hongjiu.lu@intel.com> |
574 | ||
575 | * configure.ac: Add AC_FUNC_MMAP. | |
576 | * config.in: Regenerated. | |
577 | * configure: Likewise. | |
578 | * plugin.c: Include <sys/mman.h>. | |
579 | (MAP_FAILED): New. Defined if not defined. | |
580 | (PROT_READ): Likewise. | |
581 | (MAP_PRIVATE): Likewise. | |
582 | (view_buffer_t): New. | |
583 | (plugin_input_file_t): Add view_buffer. | |
584 | (get_view): Try mmap and cache the view buffer. | |
585 | (plugin_maybe_claim): Initialize view_buffer. | |
586 | ||
119d62ff L |
587 | 2015-02-05 H.J. Lu <hongjiu.lu@intel.com> |
588 | ||
589 | * plugin.c (release_input_file): Set fd to -1 after closing it. | |
590 | (plugin_maybe_claim): Close fd only if fd != -1. | |
591 | ||
f4b78d18 L |
592 | 2015-02-05 H.J. Lu <hongjiu.lu@intel.com> |
593 | ||
594 | PR ld/17878 | |
595 | * plugin.c: Include <errno.h>. | |
596 | (errno): New. Declare if needed. | |
597 | (plugin_input_file_t): New. | |
598 | (get_input_file): Implemented. | |
599 | (get_view): Likewise. | |
600 | (release_input_file): Likewise. | |
601 | (add_symbols): Updated. | |
602 | (get_symbols): Likewise. | |
603 | (plugin_maybe_claim): Allocate a plugin_input_file_t. Close fd | |
604 | only for a bfd_object input. | |
605 | ||
6c2573b7 AM |
606 | 2015-02-02 Alan Modra <amodra@gmail.com> |
607 | ||
608 | * emultempl/ppc64elf.em (toc_section_name): New var. | |
609 | (ppc_after_open): Set it. | |
610 | (ppc_before_allocation): Use it. | |
611 | (gld${EMULATION_NAME}_after_allocation): Here too. | |
612 | ||
716db898 L |
613 | 2015-01-29 H.J. Lu <hongjiu.lu@intel.com> |
614 | ||
615 | * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p() | |
616 | with link_info.lto_plugin_active. | |
617 | * ldlang.c (lang_process): Likewise. | |
618 | * ldmain.c (add_archive_element): Likewise. | |
619 | * plugin.c (plugin_active_plugins_p): Removed. | |
620 | * plugin.h (plugin_active_plugins_p): Likewise. | |
621 | ||
37a3056a L |
622 | 2015-01-28 H.J. Lu <hongjiu.lu@intel.com> |
623 | ||
624 | * plugin.h (plugin_get_ir_dummy_bfd): Removed. Move comments to | |
625 | ... | |
626 | * plugin.c (plugin_get_ir_dummy_bfd): Here. Make it static. | |
627 | ||
15f7a26b L |
628 | 2015-01-28 H.J. Lu <hongjiu.lu@intel.com> |
629 | ||
630 | PR ld/17878 | |
631 | * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW. | |
632 | (get_view): New function. | |
633 | (set_tv_header): Handle LDPT_GET_VIEW. | |
634 | * testplug.c (tag_names): Add LDPT_GET_VIEW. | |
635 | (tv_get_view): New. | |
636 | (dump_tv_tag): Handle LDPT_GET_VIEW. | |
637 | (parse_tv_tag): Likewise. | |
638 | ||
dbd1e97e AM |
639 | 2015-01-28 Alan Modra <amodra@gmail.com> |
640 | ||
641 | * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define. | |
642 | * emultempl/ppc64elf.em (params): Init new field. | |
643 | (ppc_after_open): New function. | |
644 | (LDEMUL_AFTER_OPEN): Define. | |
645 | * ldlang.c (lang_final): Whitespace fix. | |
646 | ||
3f8107ab AM |
647 | 2015-01-28 James Bowman <james.bowman@ftdichip.com> |
648 | ||
649 | * Makefile.am: Add FT32 files. | |
650 | * configure.tgt: Handle FT32 target. | |
651 | * emulparams/elf32ft32.sh: New file. | |
652 | * scripttempl/ft32.sc: New file. | |
653 | * Makefile.in: Regenerate. | |
654 | ||
cc9ad334 SKS |
655 | 2015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
656 | ||
657 | PR 4643 | |
658 | * ldexp.c (fold_name): Fold LENGTH only after | |
659 | lang_first_phase_enum. | |
660 | * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH | |
661 | rightaway. | |
662 | * ldlang.h (struct memory_region_struct): Add origin_exp and | |
663 | length_exp fields. | |
664 | * ldlang.c (lang_do_memory_regions): New. | |
665 | (lang_memory_region_lookup): Initialize origin_exp and | |
666 | length_exp fields. | |
667 | (lang_process): Call lang_do_memory_regions. | |
668 | ||
c05b575a AB |
669 | 2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com> |
670 | ||
671 | * ldlang.c (print_assignment): Only evaluate the expression for a | |
672 | PROVIDE'd assignment when the destination is being defined. | |
673 | Display a special message for PROVIDE'd symbols that are not being | |
674 | provided. | |
675 | ||
5ad18f16 AM |
676 | 2015-01-20 Alan Modra <amodra@gmail.com> |
677 | ||
678 | * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of.. | |
679 | (OTHER_BSS_SYMBOLS): ..this. | |
680 | (OTHER_PLT_RELOC_SECTIONS): Don't define. | |
681 | (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss. | |
682 | (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to.. | |
683 | (OTHER_RELRO_SECTIONS_2): ..here. | |
684 | * scripttempl/elf.sc: Move SBSS too when DATA_SDATA. | |
685 | ||
23283c1b AM |
686 | 2015-01-20 Alan Modra <amodra@gmail.com> |
687 | ||
688 | * emulparams/elf64ppc.sh (BSS_PLT): Don't define. | |
689 | (OTHER_READWRITE_SECTIONS): Move .branch_lt to.. | |
690 | (OTHER_RELRO_SECTIONS_2): ..here. | |
691 | (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT, | |
692 | PLT_BEFORE_GOT): Define. | |
693 | * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/ | |
694 | PLT_BEFORE_GOT combination. | |
695 | (DATA_GOT, SDATA_GOT): Don't define if either is already defined. | |
696 | ||
3e2b0f31 AM |
697 | 2015-01-20 Alan Modra <amodra@gmail.com> |
698 | ||
699 | * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to.. | |
700 | (OTHER_RELRO_SECTIONS_2): ..here, new define. | |
701 | * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2. | |
702 | ||
c4621b33 AM |
703 | 2015-01-19 Alan Modra <amodra@gmail.com> |
704 | ||
3e2aa5bb | 705 | PR ld/17615 |
c4621b33 AM |
706 | * ldlang.c (lang_process): Run lang_common before lang_gc_sections. |
707 | ||
52db4ec2 JW |
708 | 2015-01-14 Jiong Wang <jiong.wang@arm.com> |
709 | ||
710 | * ld-arm/elf32-reject.s: New testcase. | |
711 | * ld-arm/elf32-reject.d: Likewise. | |
712 | * ld-arm/elf32-reject-pie.s: Likewise. | |
713 | * ld-arm/elf32-reject-pie.d: Likewise. | |
714 | * ld-arm/arm-elf.exp: Run new testcases. | |
715 | * ld-arm/ifunc-7.s: Delete f2/f4 test items. | |
716 | * ld-arm/ifunc-7.rd: Likewise. | |
717 | * ld-arm/ifunc-7.gd: Likewise. | |
718 | * ld-arm/ifunc-7.dd: Likewise. | |
719 | * ld-arm/ifunc-8.s: Likewise. | |
720 | * ld-arm/ifunc-8.rd: Likewise. | |
721 | * ld-arm/ifunc-8.gd: Likewise. | |
722 | * ld-arm/ifunc-8.dd: Likewise. | |
723 | ||
efd321f9 AM |
724 | 2015-01-01 Alan Modra <amodra@gmail.com> |
725 | ||
726 | * ldver.c (ldversion): Just print current year. | |
727 | ||
b90efa5b | 728 | 2015-01-01 Alan Modra <amodra@gmail.com> |
ca0694ad | 729 | |
b90efa5b | 730 | Update year range in copyright notice of all files. |
ca0694ad | 731 | |
b90efa5b | 732 | For older changes see ChangeLog-2014 |
252b5132 | 733 | \f |
b90efa5b | 734 | Copyright (C) 2015 Free Software Foundation, Inc. |
752937aa NC |
735 | |
736 | Copying and distribution of this file, with or without modification, | |
737 | are permitted in any medium without royalty provided the copyright | |
738 | notice and this notice are preserved. | |
739 | ||
252b5132 RH |
740 | Local Variables: |
741 | mode: change-log | |
742 | left-margin: 8 | |
743 | fill-column: 74 | |
744 | version-control: never | |
745 | End: |