Add support to the MSP430 linker for the automatic placement of code and data into...
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2015-05-05 Nick Clifton <nickc@redhat.com>
2
3 * emulparams/msp430elf.sh (TEMPLATE_NAME): Change to msp430.
4 * scripttempl/msp430.sc (.text): Add .lower.text and .either.text.
5 (.data): Add .lower.data and .either.data.
6 (.bss): Add .lower.bss and .either.bss.
7 (.rodata): Add .lower.rodata and .either.rodata.
8 * emultempl/msp430.em: New file. Implements a new orphan
9 placement algorithm that divides sections between lower and upper
10 memory regions.
11 * Makefile.am (emsp430elf.c): Depend upon msp430.em.
12 *emsp430X.c): Likewise.
13 * Makefine.in: Regenerate.
14
15 2015-04-28 Andreas Schwab <schwab@linux-m68k.org>
16
17 PR ld/18344
18 * ldlex.l (INPUTLIST): Increment lineno on newline.
19
20 2015-04-24 Alan Modra <amodra@gmail.com>
21
22 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
23 Call gld${EMULATION_NAME}_map_segments regardless of need_laying_out.
24
25 2015-04-24 DJ Delorie <dj@redhat.com>
26
27 * Makefile.am (msp430): Rename primary emulation to msp430elf.
28 (emsp430.c): Rename to emsp430elf.c, update dependencies
29 (emsp430X.c): Update dependencies.
30 * Makefile.in: Likewise.
31 * configure.tgt (msp430-*-*): Rename primary emulation to msp430elf.
32 * emulparams/msp430.sh: Rename to msp430elf.sh.
33 * emulparams/msp430X.sh: Update.
34
35 2015-04-23 H.J. Lu <hongjiu.lu@intel.com>
36
37 PR binutils/18209
38 * ldfile.c (ldfile_try_open_bfd): Set is_linker_input to 1.
39
40 2015-04-23 Alan Modra <amodra@gmail.com>
41
42 * emulparams/elf64ppc.sh (GOT): Align.
43
44 2015-04-22 Alan Modra <amodra@gmail.com>
45
46 * ldexp.h (struct ldexp_control): Delete dataseg.min_base. Add
47 data_seg.relro_offset.
48 * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Don't set min_base.
49 (fold_binary <DATA_SEGMENT_RELRO_END>): Do set relro_offset.
50 * ldlang.c (lang_size_sections): Rewrite code adjusting relro
51 segment base to line up last section on page boundary.
52
53 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
54
55 * NEWS: Mention
56 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
57
58 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
59
60 * ld.texinfo: Document --compress-debug-sections=.
61 * ldmain.c (main): Set BFD_COMPRESS on output_bfd if
62 COMPRESS_DEBUG is set. Set BFD_COMPRESS_GABI on output_bfd
63 for COMPRESS_DEBUG_GABI_ZLIB.
64 * lexsup.c (elf_static_list_options): Add
65 --compress-debug-sections=.
66 * emultempl/elf32.em (OPTION_COMPRESS_DEBUG): New.
67 (xtra_long): Add "compress-debug-sections".
68 (gld${EMULATION_NAME}_handle_option): Handle
69 OPTION_COMPRESS_DEBUG.
70
71 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
72
73 PR ld/pr17709
74 * ld.texinfo: Document "-z noextern-protected-data".
75 * ldmain.c (main): Initialize link_info.extern_protected_data
76 to -1.
77 * lexsup.c (elf_shlib_list_options): Add
78 "-z [no]extern-protected-data".
79 * emulparams/elf32_x86_64.sh: Source extern_protected_data.sh.
80 * emulparams/elf_i386.sh: Likewise.
81 * emulparams/elf_i386_be.sh: Likewise.
82 * emulparams/elf_i386_chaos.sh: Likewise.
83 * emulparams/elf_i386_ldso.sh: Likewise.
84 * emulparams/elf_i386_vxworks.sh: Likewise.
85 * emulparams/elf_k1om.sh: Likewise.
86 * emulparams/elf_l1om.sh: Likewise.
87 * emulparams/elf_x86_64.sh: Source extern_protected_data.sh.
88 (PARSE_AND_LIST_OPTIONS): Renamed to ...
89 (PARSE_AND_LIST_OPTIONS_BNDPLT): This.
90 (PARSE_AND_LIST_ARGS_CASE_Z): Renamed to ...
91 (PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT): This.
92 (PARSE_AND_LIST_OPTIONS): Append $PARSE_AND_LIST_OPTIONS_BNDPLT.
93 (PARSE_AND_LIST_ARGS_CASE_Z): Append
94 $PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT.
95 * emulparams/extern_protected_data.sh: New file.
96
97 2015-04-11 H.J. Lu <hongjiu.lu@intel.com>
98
99 * plugin.c (plugin_load_plugins): Removed an extra ';'.
100
101 2015-04-10 Nick Clifton <nickc@redhat.com>
102
103 PR binutils/18198
104 * ld.texinfo (--be8): Add a note about the interaction of this
105 option with the assembler's -EB option.
106
107 2015-04-10 Alan Modra <amodra@gmail.com>
108
109 * configure.ac: Set elf_list_options etc. in proper case.
110 * configure: Regenerate.
111
112 2015-04-10 Alan Modra <amodra@gmail.com>
113
114 PR ld/18223
115 * ldlang.c (lang_process): Add _init and _fini to gc_sym_list.
116
117 2015-04-09 H.J. Lu <hongjiu.lu@intel.com>
118
119 * emulparams/elf_x86_64.sh (BNDPLT): Removed.
120 (PARSE_AND_LIST_OPTIONS): New.
121 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
122 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Remove
123 BNDPLT check. Handle PARSE_AND_LIST_ARGS_CASE_Z.
124 (gld${EMULATION_NAME}_list_options): Remove BNDPLT check.
125
126 2015-04-09 Nick Clifton <nickc@redhat.com>
127
128 * po/fr.po: Updated French translation.
129
130 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
131
132 * configure.ac (elf_list_options): Set to TRUE for
133 --enable-targets=all.
134 (elf_shlib_list_options): Likewise.
135 (elf_plt_unwind_list_options): Likewise.
136 * configure: Regenerated.
137
138 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
139
140 * emulparams/elf32bmipn32-defs.sh: Skip empty EMULATION_NAME.
141
142 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
143
144 * Makefile.am (ELF_CLFAGS): New.
145 (AM_CFLAGS): Add $(ELF_CLFAGS).
146 * configure.ac (elf_list_options): New. AC_SUBST.
147 (elf_shlib_list_options): Likewise.
148 (elf_plt_unwind_list_options): Likewise.
149 * lexsup.c (elf_shlib_list_options): New.
150 (elf_static_list_options): Likewise.
151 (elf_plt_unwind_list_options): Likewise.
152 (ld_list_options): Likewise.
153 (help): Call ld_list_options.
154 * Makefile.in: Regenerated.
155 * configure: Likewise.
156 * emulparams/plt_unwind.sh (PLT_UNWIND): New.
157 (PARSE_AND_LIST_OPTIONS): Removed.
158 * emultempl/elf32.em (gld_list_options): New.
159 (gld${EMULATION_NAME}_list_options): Define only if BNDPLT or
160 PARSE_AND_LIST_OPTIONS is defined.
161 (ld_${EMULATION_NAME}_emulation): Replace
162 gld${EMULATION_NAME}_list_options with ${gld_list_options.
163
164 2015-04-07 Alan Modra <amodra@gmail.com>
165
166 PR ld/18176
167 * ldlang.c (lang_size_sections): Cast shift expression.
168
169 2015-04-07 Alan Modra <amodra@gmail.com>
170
171 * emultempl/ppc32elf.em: Handle --no-pic-fixup.
172 (params): Init new field.
173 (ppc_before_allocation): Enable relaxation for pic_fixup.
174
175 2015-04-07 Nick Clifton <nickc@redhat.com>
176
177 * ld.h (struct ld_config_type): Add new field: warn_orphan.
178 * ldlex.h (enum option_values): Add OPTION_WARN_ORPHAN and
179 OPTION_NO_WARN_ORPHAN.
180 * lexsup.c (ld_options): Add --warn-orphan and --no-warn-orphan.
181 (parse_args): Handle the new options.
182 * ldemul.c (ldemul_place_orphan): If requested, generate a warning
183 message when an orphan section is placed in the output file.
184 * ld.texinfo: Document the new option.
185 * NEWS: Mention the new feature.
186
187 2015-04-02 Andrew Turner <andrew@freebsd.org>
188
189 * Makefile.am: Add FreeBSD aarch64 files.
190 * Makefile.in: Regenerate.
191 * configure.tgt: Add aarch64-*-freebsd* target triple.
192 * emulparams/aarch64fbsd.sh: New file.
193 * emulparams/aarch64fbsdb.sh: New file.
194
195 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
196
197 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Work
198 around a GCC uninitialized warning bug fixed in GCC 4.6.
199
200 2015-04-01 Tejas Belagod <tejas.belagod@arm.com>
201
202 * emultempl/aarch64elf.em
203 (aarch64_elf_create_output_section_statements): Add parameter in
204 bfd_elf${ELFSIZE}_aarch64_set_options call.
205 (OPTION_FIX_ERRATUM_843419): Define.
206 (PARSE_AND_LIST_LONGOPTS): Add fix-cortex-a53-843419.
207 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_FIX_ERRATUM_843419.
208
209 2015-04-01 Chen Gang <gang.chen.5i5j@gmail.com>
210
211 * emulparams/elf32_tic6x_le.sh: Skip OTHER_BSS_SECTIONS for
212 relocating operation.
213
214 2015-04-01 Alan Modra <amodra@gmail.com>
215
216 PR ld/18176
217 * ldlang.c (lang_size_sections): When alignment of sections
218 results in relro base adjustment being too large, don't go lower
219 than the initial value.
220 * ldexp.c (fold_binary <DATA_SEGMENT_RELRO_END>): Comment.
221 * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Omit SEGMENT_SIZE
222 alignment when SEGMENT_SIZE is the same as MAXPAGESIZE.
223
224 2015-04-01 Alan Modra <amodra@gmail.com>
225
226 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Don't
227 init ehdr_start_save.
228
229 2015-04-01 Alan Modra <amodra@gmail.com>
230
231 * Makefile.am (eelf32ppcvxworks.c): Depend on ppc32elf.em and
232 ldemul-list.h.
233 (eelf32lppc.c, eelf32lppclinux.c, eelf32lppcnto.c, eelf32lppcsim.c,
234 eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppclinux.c, eelf32ppcnto.c,
235 eelf32ppcsim.c): Rearrange deps for consistency.
236 * Makefile.in: Regenerate.
237
238 2015-04-01 Ed Schouten <ed@nuxi.nl>
239
240 * emultempl/elf32.em (gld*_before_allocation): Zero-initialize
241 the ehdr_start_save variable.
242
243 2015-03-31 Ed Schouten <ed@nuxi.nl>
244
245 * Makefile.am (ALL_64_EMULATION_SOURCES): Add
246 eelf_x86_64_cloudabi.c.
247 (eelf_x86_64_cloudabi.c): New.
248 * configure.tgt (targ_emul): Set to elf_x86_64_cloudabi for
249 x86_64-*-cloudabi*.
250 * Makefile.in: Regenerated.
251 * emulparams/elf_x86_64_cloudabi.sh: New file.
252
253 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
254
255 * configure.ac (AM_ZLIB): Removed.
256 * Makefile.in: Regenerated.
257 * config.in: Likewise.
258 * configure: Likewise.
259
260 2015-03-24 Marcus Shawcroft <marcus.shawcroft@arm.com>
261
262 * emultempl/aarch64elf.em (_aarch64_add_stub_section): Set section
263 alignment to 2.
264
265 2015-03-23 Marcus Shawcroft <marcus.shawcroft@arm.com>
266
267 * emultempl/aarch64elf.em
268 (elf${ELFSIZE}_aarch64_add_stub_section): Adjust layout.
269
270 2015-03-18 Chen Gang <gang.chen.5i5j@gmail.com>
271
272 * ldmain.c (main): Use %F instead of %X for einfo.
273
274 2015-03-02 Alan Modra <amodra@gmail.com>
275
276 * ld.texinfo (Options <-z nocopyreloc>): Rewrite.
277
278 2015-02-27 Nick Clifton <nickc@redhat.com>
279
280 PR ld/17900
281 * ldlang.c (lang_set_flags): Allow exclamation mark to reverse the
282 sense of the following memory region attribute characters.
283
284 2015-02-27 Alan Modra <amodra@gmail.com>
285
286 * Makefile.am (ALL_EMULATION_SOURCES): Sort new h8300 entries.
287 (eh8300elf_linux.c, eh8300helf_linux.c, eh8300self_linux.c,
288 eh8300sxelf_linux.c): Do not invoke genscripts here.
289 * Makefile.in: Regenerate.
290
291 2015-02-24 Nick Clifton <nickc@redhat.com>
292
293 * Makefile.am (ev850.c): Add dependency upon
294 $(srcdir)/emultempl/v850elf.em.
295 (ev850_rh850.c): Likewise.
296 * Makefile.in: Regenerate.
297 * emultempl/v850elf.em: New file.
298 * emulparams/v850.sh (EXTRA_EM_FILE): Define.
299 * emulparams/v850_rh850.sh (EXTRA_EM_FILE): Define.
300 * scripttempl/v850.sc: Add .note.renesas section.
301 * scripttempl/v850_rh850.sc: Likewise.
302
303 2015-02-24 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
304
305 * scripttempl/avr.sc: Add new user_signatures region. Define and
306 use symbols for all region lengths.
307 * scripttempl/avrtiny.sc: Define and use symbols for all region
308 lengths.
309
310 2015-01-21 Yoshinori Sato <ysato@users.sourceforge.jp>
311
312 * Makefile.am: (ALL_EMULATION_SOURCES): Add new emulations.
313 * Makefile.in: Regenerate.
314 * configure.tgt: Add h8300-*-linux
315 * emulparams/h8300elf_linux.sh: Add new emulation.
316 * emulparams/h8300helf_linux.sh: Likewise.
317 * emulparams/h8300self_linux.sh: Likewise.
318 * emulparams/h8300sxelf_linux.sh: Likewise.
319
320 2015-02-23 Nick Clifton <nickc@redhat.com>
321
322 * lexsup.c (parse_args): Produce a more reasonable error message
323 when -ixxx or -rxxx is the last option on the linker command line.
324
325 2015-02-14 H.J. Lu <hongjiu.lu@intel.com>
326
327 PR ld/17973
328 * testplug2.c (allsymbolsread_silent): New.
329 (set_register_hook): Handle allsymbolsreadsilent.
330 (onall_symbols_read): Skip a message if allsymbolsread_silent is
331 TRUE.
332
333 2015-02-14 Alan Modra <amodra@gmail.com>
334
335 PR ld/17973
336 * ldlang.h (struct lang_input_statement_flags): Add lto_output.
337 * ldlang.c (lang_process): Don't set loading_lto_outputs.
338 * ldfile.c (ldfile_try_open_bfd): Transfer entry flags.lto_output
339 to bfd.
340 * plugin.c (add_input_file, add_input_library): Set flags.lto_output.
341
342 2015-02-13 H.J. Lu <hongjiu.lu@intel.com>
343
344 * NEWS: Mention support for LLVM plugin.
345
346 2015-02-13 Alan Modra <amodra@gmail.com>
347
348 * ld.texinfo (Options <--defsym>): Correct cross reference.
349
350 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
351
352 * lexsup.c (ld_options): Add --[no-]map-whole-files for gold
353 option compatibility.
354
355 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
356
357 * plugin.c (message): Output "warning:" for LDPL_WARNING. Output
358 "error:" for LDPL_FATAL and LDPL_ERROR.
359 * testplug2.c (parse_option): Handle fatal, error and warning.
360
361 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
362
363 * testplug2.c (dump_tv_tag): Removed.
364 (onall_symbols_read): Return LDPS_ERR if the file descriptor isn't
365 closed.
366 * testplug3.c (dump_tv_tag): Removed.
367 (onclaim_file): Fix typo.
368
369 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
370
371 PR ld/17878
372 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug2.la and
373 libldtestplug3.la.
374 (libldtestplug2_la_SOURCES): New.
375 (libldtestplug2_la_CFLAGS): Likewise.
376 (libldtestplug2_la_LDFLAGS): Likewise.
377 (libldtestplug3_la_SOURCES): New.
378 (libldtestplug3_la_CFLAGS): Likewise.
379 (libldtestplug3_la_LDFLAGS): Likewise.
380 * Makefile.in: Regenerated.
381 * testplug2.c: New file.
382 * testplug3.c: Likewise.
383
384 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
385
386 PR ld/17878
387 * plugin.c: Include ../bfd/plugin.h.
388 (plugin_get_ir_dummy_bfd): Call bfd_create with
389 link_info.output_bfd instead of srctemplate. Copy BFD info
390 from srctemplate only if it doesn't use BFD plugin target
391 vector.
392 (plugin_load_plugins): Call register_ld_plugin_object_p with
393 (plugin_object_p)
394 (plugin_maybe_claim): Renamed to ...
395 (plugin_object_p): This. Return dummy BFD target vector if
396 input is calimed by plugin library, otherwise return NULL.
397 Update plugin_format and plugin_dummy_bfd.
398 (plugin_maybe_claim): New. Use plugin_object_p.
399
400 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
401
402 * plugin.c (plugin_maybe_claim): Initialize use_mmap.
403
404 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
405
406 * plugin.c (plugin_input_file_t): Add use_mmap.
407 (plugin_pagesize): New.
408 (get_view): Use plugin_pagesize. Set use_mmap if mmap is used.
409 (plugin_load_plugins): Initialize plugin_pagesize.
410 (plugin_maybe_claim): Unmap the buffer if plugin didn't claim the
411 file.
412
413 2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
414
415 * plugin.c (get_view): Align offset passed to mmap.
416
417 2015-02-08 H.J. Lu <hongjiu.lu@intel.com>
418
419 * ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format
420 if plugin isn't active or there is no thing more to claim.
421
422 2015-02-08 H.J. Lu <hongjiu.lu@intel.com>
423
424 * plugin.c (plugin_maybe_claim): Check format against bfd_object
425 directly.
426
427 2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
428
429 * plugin.c (plugin_maybe_claim): Replace entry->the_bfd with
430 ibfd.
431
432 2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
433
434 * plugin.c: Include "libbfd.h".
435 (plugin_strdup): New.
436 (plugin_maybe_claim): Remove the argument of pointer to struct
437 ld_plugin_input_file. Open and handle input entry.
438 * plugin.h (plugin_maybe_claim): Updated.
439 * ldfile.c (ldfile_try_open_bfd): Call plugin_maybe_claim directly
440 without passing a pointer to struct ld_plugin_input_file.
441 * ldmain.c: Don't include "libbfd.h".
442 (add_archive_element): Call plugin_maybe_claim directly without
443 passing a pointer to struct ld_plugin_input_file.
444
445 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
446
447 * ld.texinfo: Document -z text, -z notext and -z textoff.
448 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add
449 -z text, -z notext and -z textoff.
450
451 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
452
453 * configure.ac: Add AC_FUNC_MMAP.
454 * config.in: Regenerated.
455 * configure: Likewise.
456 * plugin.c: Include <sys/mman.h>.
457 (MAP_FAILED): New. Defined if not defined.
458 (PROT_READ): Likewise.
459 (MAP_PRIVATE): Likewise.
460 (view_buffer_t): New.
461 (plugin_input_file_t): Add view_buffer.
462 (get_view): Try mmap and cache the view buffer.
463 (plugin_maybe_claim): Initialize view_buffer.
464
465 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
466
467 * plugin.c (release_input_file): Set fd to -1 after closing it.
468 (plugin_maybe_claim): Close fd only if fd != -1.
469
470 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
471
472 PR ld/17878
473 * plugin.c: Include <errno.h>.
474 (errno): New. Declare if needed.
475 (plugin_input_file_t): New.
476 (get_input_file): Implemented.
477 (get_view): Likewise.
478 (release_input_file): Likewise.
479 (add_symbols): Updated.
480 (get_symbols): Likewise.
481 (plugin_maybe_claim): Allocate a plugin_input_file_t. Close fd
482 only for a bfd_object input.
483
484 2015-02-02 Alan Modra <amodra@gmail.com>
485
486 * emultempl/ppc64elf.em (toc_section_name): New var.
487 (ppc_after_open): Set it.
488 (ppc_before_allocation): Use it.
489 (gld${EMULATION_NAME}_after_allocation): Here too.
490
491 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
492
493 * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p()
494 with link_info.lto_plugin_active.
495 * ldlang.c (lang_process): Likewise.
496 * ldmain.c (add_archive_element): Likewise.
497 * plugin.c (plugin_active_plugins_p): Removed.
498 * plugin.h (plugin_active_plugins_p): Likewise.
499
500 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
501
502 * plugin.h (plugin_get_ir_dummy_bfd): Removed. Move comments to
503 ...
504 * plugin.c (plugin_get_ir_dummy_bfd): Here. Make it static.
505
506 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
507
508 PR ld/17878
509 * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW.
510 (get_view): New function.
511 (set_tv_header): Handle LDPT_GET_VIEW.
512 * testplug.c (tag_names): Add LDPT_GET_VIEW.
513 (tv_get_view): New.
514 (dump_tv_tag): Handle LDPT_GET_VIEW.
515 (parse_tv_tag): Likewise.
516
517 2015-01-28 Alan Modra <amodra@gmail.com>
518
519 * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define.
520 * emultempl/ppc64elf.em (params): Init new field.
521 (ppc_after_open): New function.
522 (LDEMUL_AFTER_OPEN): Define.
523 * ldlang.c (lang_final): Whitespace fix.
524
525 2015-01-28 James Bowman <james.bowman@ftdichip.com>
526
527 * Makefile.am: Add FT32 files.
528 * configure.tgt: Handle FT32 target.
529 * emulparams/elf32ft32.sh: New file.
530 * scripttempl/ft32.sc: New file.
531 * Makefile.in: Regenerate.
532
533 2015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
534
535 PR 4643
536 * ldexp.c (fold_name): Fold LENGTH only after
537 lang_first_phase_enum.
538 * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH
539 rightaway.
540 * ldlang.h (struct memory_region_struct): Add origin_exp and
541 length_exp fields.
542 * ldlang.c (lang_do_memory_regions): New.
543 (lang_memory_region_lookup): Initialize origin_exp and
544 length_exp fields.
545 (lang_process): Call lang_do_memory_regions.
546
547 2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
548
549 * ldlang.c (print_assignment): Only evaluate the expression for a
550 PROVIDE'd assignment when the destination is being defined.
551 Display a special message for PROVIDE'd symbols that are not being
552 provided.
553
554 2015-01-20 Alan Modra <amodra@gmail.com>
555
556 * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of..
557 (OTHER_BSS_SYMBOLS): ..this.
558 (OTHER_PLT_RELOC_SECTIONS): Don't define.
559 (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss.
560 (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to..
561 (OTHER_RELRO_SECTIONS_2): ..here.
562 * scripttempl/elf.sc: Move SBSS too when DATA_SDATA.
563
564 2015-01-20 Alan Modra <amodra@gmail.com>
565
566 * emulparams/elf64ppc.sh (BSS_PLT): Don't define.
567 (OTHER_READWRITE_SECTIONS): Move .branch_lt to..
568 (OTHER_RELRO_SECTIONS_2): ..here.
569 (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT,
570 PLT_BEFORE_GOT): Define.
571 * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/
572 PLT_BEFORE_GOT combination.
573 (DATA_GOT, SDATA_GOT): Don't define if either is already defined.
574
575 2015-01-20 Alan Modra <amodra@gmail.com>
576
577 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to..
578 (OTHER_RELRO_SECTIONS_2): ..here, new define.
579 * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2.
580
581 2015-01-19 Alan Modra <amodra@gmail.com>
582
583 PR ld/17615
584 * ldlang.c (lang_process): Run lang_common before lang_gc_sections.
585
586 2015-01-14 Jiong Wang <jiong.wang@arm.com>
587
588 * ld-arm/elf32-reject.s: New testcase.
589 * ld-arm/elf32-reject.d: Likewise.
590 * ld-arm/elf32-reject-pie.s: Likewise.
591 * ld-arm/elf32-reject-pie.d: Likewise.
592 * ld-arm/arm-elf.exp: Run new testcases.
593 * ld-arm/ifunc-7.s: Delete f2/f4 test items.
594 * ld-arm/ifunc-7.rd: Likewise.
595 * ld-arm/ifunc-7.gd: Likewise.
596 * ld-arm/ifunc-7.dd: Likewise.
597 * ld-arm/ifunc-8.s: Likewise.
598 * ld-arm/ifunc-8.rd: Likewise.
599 * ld-arm/ifunc-8.gd: Likewise.
600 * ld-arm/ifunc-8.dd: Likewise.
601
602 2015-01-01 Alan Modra <amodra@gmail.com>
603
604 * ldver.c (ldversion): Just print current year.
605
606 2015-01-01 Alan Modra <amodra@gmail.com>
607
608 Update year range in copyright notice of all files.
609
610 For older changes see ChangeLog-2014
611 \f
612 Copyright (C) 2015 Free Software Foundation, Inc.
613
614 Copying and distribution of this file, with or without modification,
615 are permitted in any medium without royalty provided the copyright
616 notice and this notice are preserved.
617
618 Local Variables:
619 mode: change-log
620 left-margin: 8
621 fill-column: 74
622 version-control: never
623 End:
This page took 0.046049 seconds and 4 git commands to generate.