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