]>
Commit | Line | Data |
---|---|---|
4106101c MS |
1 | 2015-04-01 Tejas Belagod <tejas.belagod@arm.com> |
2 | ||
3 | * emultempl/aarch64elf.em | |
4 | (aarch64_elf_create_output_section_statements): Add parameter in | |
5 | bfd_elf${ELFSIZE}_aarch64_set_options call. | |
6 | (OPTION_FIX_ERRATUM_843419): Define. | |
7 | (PARSE_AND_LIST_LONGOPTS): Add fix-cortex-a53-843419. | |
8 | (PARSE_AND_LIST_ARGS_CASES): Add OPTION_FIX_ERRATUM_843419. | |
9 | ||
16c1c9d6 CG |
10 | 2015-04-01 Chen Gang <gang.chen.5i5j@gmail.com> |
11 | ||
12 | * emulparams/elf32_tic6x_le.sh: Skip OTHER_BSS_SECTIONS for | |
13 | relocating operation. | |
14 | ||
6c1aca3e AM |
15 | 2015-04-01 Alan Modra <amodra@gmail.com> |
16 | ||
875b5b9d | 17 | PR ld/18176 |
6c1aca3e AM |
18 | * ldlang.c (lang_size_sections): When alignment of sections |
19 | results in relro base adjustment being too large, don't go lower | |
20 | than the initial value. | |
21 | * ldexp.c (fold_binary <DATA_SEGMENT_RELRO_END>): Comment. | |
22 | * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Omit SEGMENT_SIZE | |
23 | alignment when SEGMENT_SIZE is the same as MAXPAGESIZE. | |
24 | ||
4a0bc59e AM |
25 | 2015-04-01 Alan Modra <amodra@gmail.com> |
26 | ||
27 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Don't | |
28 | init ehdr_start_save. | |
29 | ||
42271ec5 AM |
30 | 2015-04-01 Alan Modra <amodra@gmail.com> |
31 | ||
32 | * Makefile.am (eelf32ppcvxworks.c): Depend on ppc32elf.em and | |
33 | ldemul-list.h. | |
34 | (eelf32lppc.c, eelf32lppclinux.c, eelf32lppcnto.c, eelf32lppcsim.c, | |
35 | eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppclinux.c, eelf32ppcnto.c, | |
36 | eelf32ppcsim.c): Rearrange deps for consistency. | |
37 | * Makefile.in: Regenerate. | |
38 | ||
4e791d0f ES |
39 | 2015-04-01 Ed Schouten <ed@nuxi.nl> |
40 | ||
41 | * emultempl/elf32.em (gld*_before_allocation): Zero-initialize | |
42 | the ehdr_start_save variable. | |
43 | ||
6036f486 ES |
44 | 2015-03-31 Ed Schouten <ed@nuxi.nl> |
45 | ||
46 | * Makefile.am (ALL_64_EMULATION_SOURCES): Add | |
47 | eelf_x86_64_cloudabi.c. | |
48 | (eelf_x86_64_cloudabi.c): New. | |
49 | * configure.tgt (targ_emul): Set to elf_x86_64_cloudabi for | |
50 | x86_64-*-cloudabi*. | |
51 | * Makefile.in: Regenerated. | |
52 | * emulparams/elf_x86_64_cloudabi.sh: New file. | |
53 | ||
f24173eb L |
54 | 2015-03-31 H.J. Lu <hongjiu.lu@intel.com> |
55 | ||
56 | * configure.ac (AM_ZLIB): Removed. | |
57 | * Makefile.in: Regenerated. | |
58 | * config.in: Likewise. | |
59 | * configure: Likewise. | |
60 | ||
d9ced15d MS |
61 | 2015-03-24 Marcus Shawcroft <marcus.shawcroft@arm.com> |
62 | ||
63 | * emultempl/aarch64elf.em (_aarch64_add_stub_section): Set section | |
64 | alignment to 2. | |
65 | ||
499c37b5 MS |
66 | 2015-03-23 Marcus Shawcroft <marcus.shawcroft@arm.com> |
67 | ||
68 | * emultempl/aarch64elf.em | |
69 | (elf${ELFSIZE}_aarch64_add_stub_section): Adjust layout. | |
70 | ||
b3862264 CG |
71 | 2015-03-18 Chen Gang <gang.chen.5i5j@gmail.com> |
72 | ||
73 | * ldmain.c (main): Use %F instead of %X for einfo. | |
74 | ||
daf220f0 AM |
75 | 2015-03-02 Alan Modra <amodra@gmail.com> |
76 | ||
77 | * ld.texinfo (Options <-z nocopyreloc>): Rewrite. | |
78 | ||
f0673d20 NC |
79 | 2015-02-27 Nick Clifton <nickc@redhat.com> |
80 | ||
81 | PR ld/17900 | |
82 | * ldlang.c (lang_set_flags): Allow exclamation mark to reverse the | |
83 | sense of the following memory region attribute characters. | |
84 | ||
330b17b3 AM |
85 | 2015-02-27 Alan Modra <amodra@gmail.com> |
86 | ||
87 | * Makefile.am (ALL_EMULATION_SOURCES): Sort new h8300 entries. | |
88 | (eh8300elf_linux.c, eh8300helf_linux.c, eh8300self_linux.c, | |
89 | eh8300sxelf_linux.c): Do not invoke genscripts here. | |
90 | * Makefile.in: Regenerate. | |
91 | ||
685080f2 NC |
92 | 2015-02-24 Nick Clifton <nickc@redhat.com> |
93 | ||
94 | * Makefile.am (ev850.c): Add dependency upon | |
95 | $(srcdir)/emultempl/v850elf.em. | |
96 | (ev850_rh850.c): Likewise. | |
97 | * Makefile.in: Regenerate. | |
98 | * emultempl/v850elf.em: New file. | |
99 | * emulparams/v850.sh (EXTRA_EM_FILE): Define. | |
100 | * emulparams/v850_rh850.sh (EXTRA_EM_FILE): Define. | |
101 | * scripttempl/v850.sc: Add .note.renesas section. | |
102 | * scripttempl/v850_rh850.sc: Likewise. | |
103 | ||
cb072816 SKS |
104 | 2015-02-24 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
105 | ||
106 | * scripttempl/avr.sc: Add new user_signatures region. Define and | |
107 | use symbols for all region lengths. | |
108 | * scripttempl/avrtiny.sc: Define and use symbols for all region | |
109 | lengths. | |
110 | ||
5518c738 YS |
111 | 2015-01-21 Yoshinori Sato <ysato@users.sourceforge.jp> |
112 | ||
113 | * Makefile.am: (ALL_EMULATION_SOURCES): Add new emulations. | |
114 | * Makefile.in: Regenerate. | |
115 | * configure.tgt: Add h8300-*-linux | |
116 | * emulparams/h8300elf_linux.sh: Add new emulation. | |
117 | * emulparams/h8300helf_linux.sh: Likewise. | |
118 | * emulparams/h8300self_linux.sh: Likewise. | |
119 | * emulparams/h8300sxelf_linux.sh: Likewise. | |
120 | ||
f971c12f NC |
121 | 2015-02-23 Nick Clifton <nickc@redhat.com> |
122 | ||
123 | * lexsup.c (parse_args): Produce a more reasonable error message | |
124 | when -ixxx or -rxxx is the last option on the linker command line. | |
125 | ||
f58926a6 L |
126 | 2015-02-14 H.J. Lu <hongjiu.lu@intel.com> |
127 | ||
128 | PR ld/17973 | |
129 | * testplug2.c (allsymbolsread_silent): New. | |
130 | (set_register_hook): Handle allsymbolsreadsilent. | |
131 | (onall_symbols_read): Skip a message if allsymbolsread_silent is | |
132 | TRUE. | |
133 | ||
ce875075 AM |
134 | 2015-02-14 Alan Modra <amodra@gmail.com> |
135 | ||
136 | PR ld/17973 | |
137 | * ldlang.h (struct lang_input_statement_flags): Add lto_output. | |
138 | * ldlang.c (lang_process): Don't set loading_lto_outputs. | |
139 | * ldfile.c (ldfile_try_open_bfd): Transfer entry flags.lto_output | |
140 | to bfd. | |
141 | * plugin.c (add_input_file, add_input_library): Set flags.lto_output. | |
142 | ||
b0619670 L |
143 | 2015-02-13 H.J. Lu <hongjiu.lu@intel.com> |
144 | ||
145 | * NEWS: Mention support for LLVM plugin. | |
146 | ||
66bc8739 AM |
147 | 2015-02-13 Alan Modra <amodra@gmail.com> |
148 | ||
149 | * ld.texinfo (Options <--defsym>): Correct cross reference. | |
150 | ||
88b9e2eb L |
151 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
152 | ||
153 | * lexsup.c (ld_options): Add --[no-]map-whole-files for gold | |
154 | option compatibility. | |
155 | ||
45e81354 L |
156 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
157 | ||
158 | * plugin.c (message): Output "warning:" for LDPL_WARNING. Output | |
159 | "error:" for LDPL_FATAL and LDPL_ERROR. | |
160 | * testplug2.c (parse_option): Handle fatal, error and warning. | |
161 | ||
e3001fd9 L |
162 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
163 | ||
164 | * testplug2.c (dump_tv_tag): Removed. | |
165 | (onall_symbols_read): Return LDPS_ERR if the file descriptor isn't | |
166 | closed. | |
167 | * testplug3.c (dump_tv_tag): Removed. | |
168 | (onclaim_file): Fix typo. | |
169 | ||
7275e869 L |
170 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
171 | ||
172 | PR ld/17878 | |
173 | * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug2.la and | |
174 | libldtestplug3.la. | |
175 | (libldtestplug2_la_SOURCES): New. | |
176 | (libldtestplug2_la_CFLAGS): Likewise. | |
177 | (libldtestplug2_la_LDFLAGS): Likewise. | |
178 | (libldtestplug3_la_SOURCES): New. | |
179 | (libldtestplug3_la_CFLAGS): Likewise. | |
180 | (libldtestplug3_la_LDFLAGS): Likewise. | |
181 | * Makefile.in: Regenerated. | |
182 | * testplug2.c: New file. | |
183 | * testplug3.c: Likewise. | |
184 | ||
b9dc5a87 L |
185 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
186 | ||
187 | PR ld/17878 | |
188 | * plugin.c: Include ../bfd/plugin.h. | |
189 | (plugin_get_ir_dummy_bfd): Call bfd_create with | |
190 | link_info.output_bfd instead of srctemplate. Copy BFD info | |
191 | from srctemplate only if it doesn't use BFD plugin target | |
192 | vector. | |
193 | (plugin_load_plugins): Call register_ld_plugin_object_p with | |
194 | (plugin_object_p) | |
195 | (plugin_maybe_claim): Renamed to ... | |
196 | (plugin_object_p): This. Return dummy BFD target vector if | |
197 | input is calimed by plugin library, otherwise return NULL. | |
198 | Update plugin_format and plugin_dummy_bfd. | |
199 | (plugin_maybe_claim): New. Use plugin_object_p. | |
200 | ||
d319a098 L |
201 | 2015-02-10 H.J. Lu <hongjiu.lu@intel.com> |
202 | ||
203 | * plugin.c (plugin_maybe_claim): Initialize use_mmap. | |
204 | ||
38604796 L |
205 | 2015-02-10 H.J. Lu <hongjiu.lu@intel.com> |
206 | ||
207 | * plugin.c (plugin_input_file_t): Add use_mmap. | |
208 | (plugin_pagesize): New. | |
209 | (get_view): Use plugin_pagesize. Set use_mmap if mmap is used. | |
210 | (plugin_load_plugins): Initialize plugin_pagesize. | |
211 | (plugin_maybe_claim): Unmap the buffer if plugin didn't claim the | |
212 | file. | |
213 | ||
fe905789 L |
214 | 2015-02-10 H.J. Lu <hongjiu.lu@intel.com> |
215 | ||
216 | * plugin.c (get_view): Align offset passed to mmap. | |
217 | ||
1d5b29cf L |
218 | 2015-02-08 H.J. Lu <hongjiu.lu@intel.com> |
219 | ||
220 | * ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format | |
221 | if plugin isn't active or there is no thing more to claim. | |
222 | ||
e13419c4 L |
223 | 2015-02-08 H.J. Lu <hongjiu.lu@intel.com> |
224 | ||
225 | * plugin.c (plugin_maybe_claim): Check format against bfd_object | |
226 | directly. | |
227 | ||
93843894 L |
228 | 2015-02-07 H.J. Lu <hongjiu.lu@intel.com> |
229 | ||
230 | * plugin.c (plugin_maybe_claim): Replace entry->the_bfd with | |
231 | ibfd. | |
232 | ||
35a1e5f3 L |
233 | 2015-02-07 H.J. Lu <hongjiu.lu@intel.com> |
234 | ||
235 | * plugin.c: Include "libbfd.h". | |
236 | (plugin_strdup): New. | |
237 | (plugin_maybe_claim): Remove the argument of pointer to struct | |
238 | ld_plugin_input_file. Open and handle input entry. | |
239 | * plugin.h (plugin_maybe_claim): Updated. | |
240 | * ldfile.c (ldfile_try_open_bfd): Call plugin_maybe_claim directly | |
241 | without passing a pointer to struct ld_plugin_input_file. | |
242 | * ldmain.c: Don't include "libbfd.h". | |
243 | (add_archive_element): Call plugin_maybe_claim directly without | |
244 | passing a pointer to struct ld_plugin_input_file. | |
245 | ||
8dfef1bd L |
246 | 2015-02-06 H.J. Lu <hongjiu.lu@intel.com> |
247 | ||
248 | * ld.texinfo: Document -z text, -z notext and -z textoff. | |
249 | * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add | |
250 | -z text, -z notext and -z textoff. | |
251 | ||
2aec968d L |
252 | 2015-02-06 H.J. Lu <hongjiu.lu@intel.com> |
253 | ||
254 | * configure.ac: Add AC_FUNC_MMAP. | |
255 | * config.in: Regenerated. | |
256 | * configure: Likewise. | |
257 | * plugin.c: Include <sys/mman.h>. | |
258 | (MAP_FAILED): New. Defined if not defined. | |
259 | (PROT_READ): Likewise. | |
260 | (MAP_PRIVATE): Likewise. | |
261 | (view_buffer_t): New. | |
262 | (plugin_input_file_t): Add view_buffer. | |
263 | (get_view): Try mmap and cache the view buffer. | |
264 | (plugin_maybe_claim): Initialize view_buffer. | |
265 | ||
119d62ff L |
266 | 2015-02-05 H.J. Lu <hongjiu.lu@intel.com> |
267 | ||
268 | * plugin.c (release_input_file): Set fd to -1 after closing it. | |
269 | (plugin_maybe_claim): Close fd only if fd != -1. | |
270 | ||
f4b78d18 L |
271 | 2015-02-05 H.J. Lu <hongjiu.lu@intel.com> |
272 | ||
273 | PR ld/17878 | |
274 | * plugin.c: Include <errno.h>. | |
275 | (errno): New. Declare if needed. | |
276 | (plugin_input_file_t): New. | |
277 | (get_input_file): Implemented. | |
278 | (get_view): Likewise. | |
279 | (release_input_file): Likewise. | |
280 | (add_symbols): Updated. | |
281 | (get_symbols): Likewise. | |
282 | (plugin_maybe_claim): Allocate a plugin_input_file_t. Close fd | |
283 | only for a bfd_object input. | |
284 | ||
6c2573b7 AM |
285 | 2015-02-02 Alan Modra <amodra@gmail.com> |
286 | ||
287 | * emultempl/ppc64elf.em (toc_section_name): New var. | |
288 | (ppc_after_open): Set it. | |
289 | (ppc_before_allocation): Use it. | |
290 | (gld${EMULATION_NAME}_after_allocation): Here too. | |
291 | ||
716db898 L |
292 | 2015-01-29 H.J. Lu <hongjiu.lu@intel.com> |
293 | ||
294 | * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p() | |
295 | with link_info.lto_plugin_active. | |
296 | * ldlang.c (lang_process): Likewise. | |
297 | * ldmain.c (add_archive_element): Likewise. | |
298 | * plugin.c (plugin_active_plugins_p): Removed. | |
299 | * plugin.h (plugin_active_plugins_p): Likewise. | |
300 | ||
37a3056a L |
301 | 2015-01-28 H.J. Lu <hongjiu.lu@intel.com> |
302 | ||
303 | * plugin.h (plugin_get_ir_dummy_bfd): Removed. Move comments to | |
304 | ... | |
305 | * plugin.c (plugin_get_ir_dummy_bfd): Here. Make it static. | |
306 | ||
15f7a26b L |
307 | 2015-01-28 H.J. Lu <hongjiu.lu@intel.com> |
308 | ||
309 | PR ld/17878 | |
310 | * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW. | |
311 | (get_view): New function. | |
312 | (set_tv_header): Handle LDPT_GET_VIEW. | |
313 | * testplug.c (tag_names): Add LDPT_GET_VIEW. | |
314 | (tv_get_view): New. | |
315 | (dump_tv_tag): Handle LDPT_GET_VIEW. | |
316 | (parse_tv_tag): Likewise. | |
317 | ||
dbd1e97e AM |
318 | 2015-01-28 Alan Modra <amodra@gmail.com> |
319 | ||
320 | * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define. | |
321 | * emultempl/ppc64elf.em (params): Init new field. | |
322 | (ppc_after_open): New function. | |
323 | (LDEMUL_AFTER_OPEN): Define. | |
324 | * ldlang.c (lang_final): Whitespace fix. | |
325 | ||
3f8107ab AM |
326 | 2015-01-28 James Bowman <james.bowman@ftdichip.com> |
327 | ||
328 | * Makefile.am: Add FT32 files. | |
329 | * configure.tgt: Handle FT32 target. | |
330 | * emulparams/elf32ft32.sh: New file. | |
331 | * scripttempl/ft32.sc: New file. | |
332 | * Makefile.in: Regenerate. | |
333 | ||
cc9ad334 SKS |
334 | 2015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
335 | ||
336 | PR 4643 | |
337 | * ldexp.c (fold_name): Fold LENGTH only after | |
338 | lang_first_phase_enum. | |
339 | * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH | |
340 | rightaway. | |
341 | * ldlang.h (struct memory_region_struct): Add origin_exp and | |
342 | length_exp fields. | |
343 | * ldlang.c (lang_do_memory_regions): New. | |
344 | (lang_memory_region_lookup): Initialize origin_exp and | |
345 | length_exp fields. | |
346 | (lang_process): Call lang_do_memory_regions. | |
347 | ||
c05b575a AB |
348 | 2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com> |
349 | ||
350 | * ldlang.c (print_assignment): Only evaluate the expression for a | |
351 | PROVIDE'd assignment when the destination is being defined. | |
352 | Display a special message for PROVIDE'd symbols that are not being | |
353 | provided. | |
354 | ||
5ad18f16 AM |
355 | 2015-01-20 Alan Modra <amodra@gmail.com> |
356 | ||
357 | * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of.. | |
358 | (OTHER_BSS_SYMBOLS): ..this. | |
359 | (OTHER_PLT_RELOC_SECTIONS): Don't define. | |
360 | (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss. | |
361 | (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to.. | |
362 | (OTHER_RELRO_SECTIONS_2): ..here. | |
363 | * scripttempl/elf.sc: Move SBSS too when DATA_SDATA. | |
364 | ||
23283c1b AM |
365 | 2015-01-20 Alan Modra <amodra@gmail.com> |
366 | ||
367 | * emulparams/elf64ppc.sh (BSS_PLT): Don't define. | |
368 | (OTHER_READWRITE_SECTIONS): Move .branch_lt to.. | |
369 | (OTHER_RELRO_SECTIONS_2): ..here. | |
370 | (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT, | |
371 | PLT_BEFORE_GOT): Define. | |
372 | * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/ | |
373 | PLT_BEFORE_GOT combination. | |
374 | (DATA_GOT, SDATA_GOT): Don't define if either is already defined. | |
375 | ||
3e2b0f31 AM |
376 | 2015-01-20 Alan Modra <amodra@gmail.com> |
377 | ||
378 | * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to.. | |
379 | (OTHER_RELRO_SECTIONS_2): ..here, new define. | |
380 | * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2. | |
381 | ||
c4621b33 AM |
382 | 2015-01-19 Alan Modra <amodra@gmail.com> |
383 | ||
3e2aa5bb | 384 | PR ld/17615 |
c4621b33 AM |
385 | * ldlang.c (lang_process): Run lang_common before lang_gc_sections. |
386 | ||
52db4ec2 JW |
387 | 2015-01-14 Jiong Wang <jiong.wang@arm.com> |
388 | ||
389 | * ld-arm/elf32-reject.s: New testcase. | |
390 | * ld-arm/elf32-reject.d: Likewise. | |
391 | * ld-arm/elf32-reject-pie.s: Likewise. | |
392 | * ld-arm/elf32-reject-pie.d: Likewise. | |
393 | * ld-arm/arm-elf.exp: Run new testcases. | |
394 | * ld-arm/ifunc-7.s: Delete f2/f4 test items. | |
395 | * ld-arm/ifunc-7.rd: Likewise. | |
396 | * ld-arm/ifunc-7.gd: Likewise. | |
397 | * ld-arm/ifunc-7.dd: Likewise. | |
398 | * ld-arm/ifunc-8.s: Likewise. | |
399 | * ld-arm/ifunc-8.rd: Likewise. | |
400 | * ld-arm/ifunc-8.gd: Likewise. | |
401 | * ld-arm/ifunc-8.dd: Likewise. | |
402 | ||
efd321f9 AM |
403 | 2015-01-01 Alan Modra <amodra@gmail.com> |
404 | ||
405 | * ldver.c (ldversion): Just print current year. | |
406 | ||
b90efa5b | 407 | 2015-01-01 Alan Modra <amodra@gmail.com> |
ca0694ad | 408 | |
b90efa5b | 409 | Update year range in copyright notice of all files. |
ca0694ad | 410 | |
b90efa5b | 411 | For older changes see ChangeLog-2014 |
252b5132 | 412 | \f |
b90efa5b | 413 | Copyright (C) 2015 Free Software Foundation, Inc. |
752937aa NC |
414 | |
415 | Copying and distribution of this file, with or without modification, | |
416 | are permitted in any medium without royalty provided the copyright | |
417 | notice and this notice are preserved. | |
418 | ||
252b5132 RH |
419 | Local Variables: |
420 | mode: change-log | |
421 | left-margin: 8 | |
422 | fill-column: 74 | |
423 | version-control: never | |
424 | End: |