]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
i386: Allow copy relocs for building PIE
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
ea556d25
L
12015-04-15 H.J. Lu <hongjiu.lu@intel.com>
2
3 * NEWS: Mention
4 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
5
0ce398f1
L
62015-04-14 H.J. Lu <hongjiu.lu@intel.com>
7
8 * ld.texinfo: Document --compress-debug-sections=.
9 * ldmain.c (main): Set BFD_COMPRESS on output_bfd if
10 COMPRESS_DEBUG is set. Set BFD_COMPRESS_GABI on output_bfd
11 for COMPRESS_DEBUG_GABI_ZLIB.
12 * lexsup.c (elf_static_list_options): Add
13 --compress-debug-sections=.
14 * emultempl/elf32.em (OPTION_COMPRESS_DEBUG): New.
15 (xtra_long): Add "compress-debug-sections".
16 (gld${EMULATION_NAME}_handle_option): Handle
17 OPTION_COMPRESS_DEBUG.
18
889c2a67
L
192015-04-14 H.J. Lu <hongjiu.lu@intel.com>
20
21 PR ld/pr17709
22 * ld.texinfo: Document "-z noextern-protected-data".
23 * ldmain.c (main): Initialize link_info.extern_protected_data
24 to -1.
25 * lexsup.c (elf_shlib_list_options): Add
26 "-z [no]extern-protected-data".
27 * emulparams/elf32_x86_64.sh: Source extern_protected_data.sh.
28 * emulparams/elf_i386.sh: Likewise.
29 * emulparams/elf_i386_be.sh: Likewise.
30 * emulparams/elf_i386_chaos.sh: Likewise.
31 * emulparams/elf_i386_ldso.sh: Likewise.
32 * emulparams/elf_i386_vxworks.sh: Likewise.
33 * emulparams/elf_k1om.sh: Likewise.
34 * emulparams/elf_l1om.sh: Likewise.
35 * emulparams/elf_x86_64.sh: Source extern_protected_data.sh.
36 (PARSE_AND_LIST_OPTIONS): Renamed to ...
37 (PARSE_AND_LIST_OPTIONS_BNDPLT): This.
38 (PARSE_AND_LIST_ARGS_CASE_Z): Renamed to ...
39 (PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT): This.
40 (PARSE_AND_LIST_OPTIONS): Append $PARSE_AND_LIST_OPTIONS_BNDPLT.
41 (PARSE_AND_LIST_ARGS_CASE_Z): Append
42 $PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT.
43 * emulparams/extern_protected_data.sh: New file.
44
fd5a1509
L
452015-04-11 H.J. Lu <hongjiu.lu@intel.com>
46
47 * plugin.c (plugin_load_plugins): Removed an extra ';'.
48
080bb7bb
NC
492015-04-10 Nick Clifton <nickc@redhat.com>
50
51 PR binutils/18198
52 * ld.texinfo (--be8): Add a note about the interaction of this
53 option with the assembler's -EB option.
54
8c3fff59
AM
552015-04-10 Alan Modra <amodra@gmail.com>
56
57 * configure.ac: Set elf_list_options etc. in proper case.
58 * configure: Regenerate.
59
6166ed93
AM
602015-04-10 Alan Modra <amodra@gmail.com>
61
62 PR ld/18223
63 * ldlang.c (lang_process): Add _init and _fini to gc_sym_list.
64
eba27bd7
L
652015-04-09 H.J. Lu <hongjiu.lu@intel.com>
66
67 * emulparams/elf_x86_64.sh (BNDPLT): Removed.
68 (PARSE_AND_LIST_OPTIONS): New.
69 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
70 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Remove
71 BNDPLT check. Handle PARSE_AND_LIST_ARGS_CASE_Z.
72 (gld${EMULATION_NAME}_list_options): Remove BNDPLT check.
73
233723a4
NC
742015-04-09 Nick Clifton <nickc@redhat.com>
75
76 * po/fr.po: Updated French translation.
77
82d8e420
L
782015-04-08 H.J. Lu <hongjiu.lu@intel.com>
79
80 * configure.ac (elf_list_options): Set to TRUE for
81 --enable-targets=all.
82 (elf_shlib_list_options): Likewise.
83 (elf_plt_unwind_list_options): Likewise.
84 * configure: Regenerated.
85
31b94bbb
L
862015-04-08 H.J. Lu <hongjiu.lu@intel.com>
87
88 * emulparams/elf32bmipn32-defs.sh: Skip empty EMULATION_NAME.
89
c58212ea
L
902015-04-08 H.J. Lu <hongjiu.lu@intel.com>
91
92 * Makefile.am (ELF_CLFAGS): New.
93 (AM_CFLAGS): Add $(ELF_CLFAGS).
94 * configure.ac (elf_list_options): New. AC_SUBST.
95 (elf_shlib_list_options): Likewise.
96 (elf_plt_unwind_list_options): Likewise.
97 * lexsup.c (elf_shlib_list_options): New.
98 (elf_static_list_options): Likewise.
99 (elf_plt_unwind_list_options): Likewise.
100 (ld_list_options): Likewise.
101 (help): Call ld_list_options.
102 * Makefile.in: Regenerated.
103 * configure: Likewise.
104 * emulparams/plt_unwind.sh (PLT_UNWIND): New.
105 (PARSE_AND_LIST_OPTIONS): Removed.
106 * emultempl/elf32.em (gld_list_options): New.
107 (gld${EMULATION_NAME}_list_options): Define only if BNDPLT or
108 PARSE_AND_LIST_OPTIONS is defined.
109 (ld_${EMULATION_NAME}_emulation): Replace
110 gld${EMULATION_NAME}_list_options with ${gld_list_options.
111
0fad6e4b
AM
1122015-04-07 Alan Modra <amodra@gmail.com>
113
114 PR ld/18176
115 * ldlang.c (lang_size_sections): Cast shift expression.
116
d3e454b9
AM
1172015-04-07 Alan Modra <amodra@gmail.com>
118
119 * emultempl/ppc32elf.em: Handle --no-pic-fixup.
120 (params): Init new field.
121 (ppc_before_allocation): Enable relaxation for pic_fixup.
122
3ea60775
NC
1232015-04-07 Nick Clifton <nickc@redhat.com>
124
125 * ld.h (struct ld_config_type): Add new field: warn_orphan.
126 * ldlex.h (enum option_values): Add OPTION_WARN_ORPHAN and
127 OPTION_NO_WARN_ORPHAN.
128 * lexsup.c (ld_options): Add --warn-orphan and --no-warn-orphan.
129 (parse_args): Handle the new options.
130 * ldemul.c (ldemul_place_orphan): If requested, generate a warning
131 message when an orphan section is placed in the output file.
132 * ld.texinfo: Document the new option.
133 * NEWS: Mention the new feature.
134
15c7659f
AT
1352015-04-02 Andrew Turner <andrew@freebsd.org>
136
137 * Makefile.am: Add FreeBSD aarch64 files.
138 * Makefile.in: Regenerate.
139 * configure.tgt: Add aarch64-*-freebsd* target triple.
140 * emulparams/aarch64fbsd.sh: New file.
141 * emulparams/aarch64fbsdb.sh: New file.
142
a0bde398
L
1432015-04-01 H.J. Lu <hongjiu.lu@intel.com>
144
145 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Work
146 around a GCC uninitialized warning bug fixed in GCC 4.6.
147
4106101c
MS
1482015-04-01 Tejas Belagod <tejas.belagod@arm.com>
149
150 * emultempl/aarch64elf.em
151 (aarch64_elf_create_output_section_statements): Add parameter in
152 bfd_elf${ELFSIZE}_aarch64_set_options call.
153 (OPTION_FIX_ERRATUM_843419): Define.
154 (PARSE_AND_LIST_LONGOPTS): Add fix-cortex-a53-843419.
155 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_FIX_ERRATUM_843419.
156
16c1c9d6
CG
1572015-04-01 Chen Gang <gang.chen.5i5j@gmail.com>
158
159 * emulparams/elf32_tic6x_le.sh: Skip OTHER_BSS_SECTIONS for
160 relocating operation.
161
6c1aca3e
AM
1622015-04-01 Alan Modra <amodra@gmail.com>
163
875b5b9d 164 PR ld/18176
6c1aca3e
AM
165 * ldlang.c (lang_size_sections): When alignment of sections
166 results in relro base adjustment being too large, don't go lower
167 than the initial value.
168 * ldexp.c (fold_binary <DATA_SEGMENT_RELRO_END>): Comment.
169 * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Omit SEGMENT_SIZE
170 alignment when SEGMENT_SIZE is the same as MAXPAGESIZE.
171
4a0bc59e
AM
1722015-04-01 Alan Modra <amodra@gmail.com>
173
174 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Don't
175 init ehdr_start_save.
176
42271ec5
AM
1772015-04-01 Alan Modra <amodra@gmail.com>
178
179 * Makefile.am (eelf32ppcvxworks.c): Depend on ppc32elf.em and
180 ldemul-list.h.
181 (eelf32lppc.c, eelf32lppclinux.c, eelf32lppcnto.c, eelf32lppcsim.c,
182 eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppclinux.c, eelf32ppcnto.c,
183 eelf32ppcsim.c): Rearrange deps for consistency.
184 * Makefile.in: Regenerate.
185
4e791d0f
ES
1862015-04-01 Ed Schouten <ed@nuxi.nl>
187
188 * emultempl/elf32.em (gld*_before_allocation): Zero-initialize
189 the ehdr_start_save variable.
190
6036f486
ES
1912015-03-31 Ed Schouten <ed@nuxi.nl>
192
193 * Makefile.am (ALL_64_EMULATION_SOURCES): Add
194 eelf_x86_64_cloudabi.c.
195 (eelf_x86_64_cloudabi.c): New.
196 * configure.tgt (targ_emul): Set to elf_x86_64_cloudabi for
197 x86_64-*-cloudabi*.
198 * Makefile.in: Regenerated.
199 * emulparams/elf_x86_64_cloudabi.sh: New file.
200
f24173eb
L
2012015-03-31 H.J. Lu <hongjiu.lu@intel.com>
202
203 * configure.ac (AM_ZLIB): Removed.
204 * Makefile.in: Regenerated.
205 * config.in: Likewise.
206 * configure: Likewise.
207
d9ced15d
MS
2082015-03-24 Marcus Shawcroft <marcus.shawcroft@arm.com>
209
210 * emultempl/aarch64elf.em (_aarch64_add_stub_section): Set section
211 alignment to 2.
212
499c37b5
MS
2132015-03-23 Marcus Shawcroft <marcus.shawcroft@arm.com>
214
215 * emultempl/aarch64elf.em
216 (elf${ELFSIZE}_aarch64_add_stub_section): Adjust layout.
217
b3862264
CG
2182015-03-18 Chen Gang <gang.chen.5i5j@gmail.com>
219
220 * ldmain.c (main): Use %F instead of %X for einfo.
221
daf220f0
AM
2222015-03-02 Alan Modra <amodra@gmail.com>
223
224 * ld.texinfo (Options <-z nocopyreloc>): Rewrite.
225
f0673d20
NC
2262015-02-27 Nick Clifton <nickc@redhat.com>
227
228 PR ld/17900
229 * ldlang.c (lang_set_flags): Allow exclamation mark to reverse the
230 sense of the following memory region attribute characters.
231
330b17b3
AM
2322015-02-27 Alan Modra <amodra@gmail.com>
233
234 * Makefile.am (ALL_EMULATION_SOURCES): Sort new h8300 entries.
235 (eh8300elf_linux.c, eh8300helf_linux.c, eh8300self_linux.c,
236 eh8300sxelf_linux.c): Do not invoke genscripts here.
237 * Makefile.in: Regenerate.
238
685080f2
NC
2392015-02-24 Nick Clifton <nickc@redhat.com>
240
241 * Makefile.am (ev850.c): Add dependency upon
242 $(srcdir)/emultempl/v850elf.em.
243 (ev850_rh850.c): Likewise.
244 * Makefile.in: Regenerate.
245 * emultempl/v850elf.em: New file.
246 * emulparams/v850.sh (EXTRA_EM_FILE): Define.
247 * emulparams/v850_rh850.sh (EXTRA_EM_FILE): Define.
248 * scripttempl/v850.sc: Add .note.renesas section.
249 * scripttempl/v850_rh850.sc: Likewise.
250
cb072816
SKS
2512015-02-24 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
252
253 * scripttempl/avr.sc: Add new user_signatures region. Define and
254 use symbols for all region lengths.
255 * scripttempl/avrtiny.sc: Define and use symbols for all region
256 lengths.
257
5518c738
YS
2582015-01-21 Yoshinori Sato <ysato@users.sourceforge.jp>
259
260 * Makefile.am: (ALL_EMULATION_SOURCES): Add new emulations.
261 * Makefile.in: Regenerate.
262 * configure.tgt: Add h8300-*-linux
263 * emulparams/h8300elf_linux.sh: Add new emulation.
264 * emulparams/h8300helf_linux.sh: Likewise.
265 * emulparams/h8300self_linux.sh: Likewise.
266 * emulparams/h8300sxelf_linux.sh: Likewise.
267
f971c12f
NC
2682015-02-23 Nick Clifton <nickc@redhat.com>
269
270 * lexsup.c (parse_args): Produce a more reasonable error message
271 when -ixxx or -rxxx is the last option on the linker command line.
272
f58926a6
L
2732015-02-14 H.J. Lu <hongjiu.lu@intel.com>
274
275 PR ld/17973
276 * testplug2.c (allsymbolsread_silent): New.
277 (set_register_hook): Handle allsymbolsreadsilent.
278 (onall_symbols_read): Skip a message if allsymbolsread_silent is
279 TRUE.
280
ce875075
AM
2812015-02-14 Alan Modra <amodra@gmail.com>
282
283 PR ld/17973
284 * ldlang.h (struct lang_input_statement_flags): Add lto_output.
285 * ldlang.c (lang_process): Don't set loading_lto_outputs.
286 * ldfile.c (ldfile_try_open_bfd): Transfer entry flags.lto_output
287 to bfd.
288 * plugin.c (add_input_file, add_input_library): Set flags.lto_output.
289
b0619670
L
2902015-02-13 H.J. Lu <hongjiu.lu@intel.com>
291
292 * NEWS: Mention support for LLVM plugin.
293
66bc8739
AM
2942015-02-13 Alan Modra <amodra@gmail.com>
295
296 * ld.texinfo (Options <--defsym>): Correct cross reference.
297
88b9e2eb
L
2982015-02-11 H.J. Lu <hongjiu.lu@intel.com>
299
300 * lexsup.c (ld_options): Add --[no-]map-whole-files for gold
301 option compatibility.
302
45e81354
L
3032015-02-11 H.J. Lu <hongjiu.lu@intel.com>
304
305 * plugin.c (message): Output "warning:" for LDPL_WARNING. Output
306 "error:" for LDPL_FATAL and LDPL_ERROR.
307 * testplug2.c (parse_option): Handle fatal, error and warning.
308
e3001fd9
L
3092015-02-11 H.J. Lu <hongjiu.lu@intel.com>
310
311 * testplug2.c (dump_tv_tag): Removed.
312 (onall_symbols_read): Return LDPS_ERR if the file descriptor isn't
313 closed.
314 * testplug3.c (dump_tv_tag): Removed.
315 (onclaim_file): Fix typo.
316
7275e869
L
3172015-02-11 H.J. Lu <hongjiu.lu@intel.com>
318
319 PR ld/17878
320 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug2.la and
321 libldtestplug3.la.
322 (libldtestplug2_la_SOURCES): New.
323 (libldtestplug2_la_CFLAGS): Likewise.
324 (libldtestplug2_la_LDFLAGS): Likewise.
325 (libldtestplug3_la_SOURCES): New.
326 (libldtestplug3_la_CFLAGS): Likewise.
327 (libldtestplug3_la_LDFLAGS): Likewise.
328 * Makefile.in: Regenerated.
329 * testplug2.c: New file.
330 * testplug3.c: Likewise.
331
b9dc5a87
L
3322015-02-11 H.J. Lu <hongjiu.lu@intel.com>
333
334 PR ld/17878
335 * plugin.c: Include ../bfd/plugin.h.
336 (plugin_get_ir_dummy_bfd): Call bfd_create with
337 link_info.output_bfd instead of srctemplate. Copy BFD info
338 from srctemplate only if it doesn't use BFD plugin target
339 vector.
340 (plugin_load_plugins): Call register_ld_plugin_object_p with
341 (plugin_object_p)
342 (plugin_maybe_claim): Renamed to ...
343 (plugin_object_p): This. Return dummy BFD target vector if
344 input is calimed by plugin library, otherwise return NULL.
345 Update plugin_format and plugin_dummy_bfd.
346 (plugin_maybe_claim): New. Use plugin_object_p.
347
d319a098
L
3482015-02-10 H.J. Lu <hongjiu.lu@intel.com>
349
350 * plugin.c (plugin_maybe_claim): Initialize use_mmap.
351
38604796
L
3522015-02-10 H.J. Lu <hongjiu.lu@intel.com>
353
354 * plugin.c (plugin_input_file_t): Add use_mmap.
355 (plugin_pagesize): New.
356 (get_view): Use plugin_pagesize. Set use_mmap if mmap is used.
357 (plugin_load_plugins): Initialize plugin_pagesize.
358 (plugin_maybe_claim): Unmap the buffer if plugin didn't claim the
359 file.
360
fe905789
L
3612015-02-10 H.J. Lu <hongjiu.lu@intel.com>
362
363 * plugin.c (get_view): Align offset passed to mmap.
364
1d5b29cf
L
3652015-02-08 H.J. Lu <hongjiu.lu@intel.com>
366
367 * ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format
368 if plugin isn't active or there is no thing more to claim.
369
e13419c4
L
3702015-02-08 H.J. Lu <hongjiu.lu@intel.com>
371
372 * plugin.c (plugin_maybe_claim): Check format against bfd_object
373 directly.
374
93843894
L
3752015-02-07 H.J. Lu <hongjiu.lu@intel.com>
376
377 * plugin.c (plugin_maybe_claim): Replace entry->the_bfd with
378 ibfd.
379
35a1e5f3
L
3802015-02-07 H.J. Lu <hongjiu.lu@intel.com>
381
382 * plugin.c: Include "libbfd.h".
383 (plugin_strdup): New.
384 (plugin_maybe_claim): Remove the argument of pointer to struct
385 ld_plugin_input_file. Open and handle input entry.
386 * plugin.h (plugin_maybe_claim): Updated.
387 * ldfile.c (ldfile_try_open_bfd): Call plugin_maybe_claim directly
388 without passing a pointer to struct ld_plugin_input_file.
389 * ldmain.c: Don't include "libbfd.h".
390 (add_archive_element): Call plugin_maybe_claim directly without
391 passing a pointer to struct ld_plugin_input_file.
392
8dfef1bd
L
3932015-02-06 H.J. Lu <hongjiu.lu@intel.com>
394
395 * ld.texinfo: Document -z text, -z notext and -z textoff.
396 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add
397 -z text, -z notext and -z textoff.
398
2aec968d
L
3992015-02-06 H.J. Lu <hongjiu.lu@intel.com>
400
401 * configure.ac: Add AC_FUNC_MMAP.
402 * config.in: Regenerated.
403 * configure: Likewise.
404 * plugin.c: Include <sys/mman.h>.
405 (MAP_FAILED): New. Defined if not defined.
406 (PROT_READ): Likewise.
407 (MAP_PRIVATE): Likewise.
408 (view_buffer_t): New.
409 (plugin_input_file_t): Add view_buffer.
410 (get_view): Try mmap and cache the view buffer.
411 (plugin_maybe_claim): Initialize view_buffer.
412
119d62ff
L
4132015-02-05 H.J. Lu <hongjiu.lu@intel.com>
414
415 * plugin.c (release_input_file): Set fd to -1 after closing it.
416 (plugin_maybe_claim): Close fd only if fd != -1.
417
f4b78d18
L
4182015-02-05 H.J. Lu <hongjiu.lu@intel.com>
419
420 PR ld/17878
421 * plugin.c: Include <errno.h>.
422 (errno): New. Declare if needed.
423 (plugin_input_file_t): New.
424 (get_input_file): Implemented.
425 (get_view): Likewise.
426 (release_input_file): Likewise.
427 (add_symbols): Updated.
428 (get_symbols): Likewise.
429 (plugin_maybe_claim): Allocate a plugin_input_file_t. Close fd
430 only for a bfd_object input.
431
6c2573b7
AM
4322015-02-02 Alan Modra <amodra@gmail.com>
433
434 * emultempl/ppc64elf.em (toc_section_name): New var.
435 (ppc_after_open): Set it.
436 (ppc_before_allocation): Use it.
437 (gld${EMULATION_NAME}_after_allocation): Here too.
438
716db898
L
4392015-01-29 H.J. Lu <hongjiu.lu@intel.com>
440
441 * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p()
442 with link_info.lto_plugin_active.
443 * ldlang.c (lang_process): Likewise.
444 * ldmain.c (add_archive_element): Likewise.
445 * plugin.c (plugin_active_plugins_p): Removed.
446 * plugin.h (plugin_active_plugins_p): Likewise.
447
37a3056a
L
4482015-01-28 H.J. Lu <hongjiu.lu@intel.com>
449
450 * plugin.h (plugin_get_ir_dummy_bfd): Removed. Move comments to
451 ...
452 * plugin.c (plugin_get_ir_dummy_bfd): Here. Make it static.
453
15f7a26b
L
4542015-01-28 H.J. Lu <hongjiu.lu@intel.com>
455
456 PR ld/17878
457 * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW.
458 (get_view): New function.
459 (set_tv_header): Handle LDPT_GET_VIEW.
460 * testplug.c (tag_names): Add LDPT_GET_VIEW.
461 (tv_get_view): New.
462 (dump_tv_tag): Handle LDPT_GET_VIEW.
463 (parse_tv_tag): Likewise.
464
dbd1e97e
AM
4652015-01-28 Alan Modra <amodra@gmail.com>
466
467 * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define.
468 * emultempl/ppc64elf.em (params): Init new field.
469 (ppc_after_open): New function.
470 (LDEMUL_AFTER_OPEN): Define.
471 * ldlang.c (lang_final): Whitespace fix.
472
3f8107ab
AM
4732015-01-28 James Bowman <james.bowman@ftdichip.com>
474
475 * Makefile.am: Add FT32 files.
476 * configure.tgt: Handle FT32 target.
477 * emulparams/elf32ft32.sh: New file.
478 * scripttempl/ft32.sc: New file.
479 * Makefile.in: Regenerate.
480
cc9ad334
SKS
4812015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
482
483 PR 4643
484 * ldexp.c (fold_name): Fold LENGTH only after
485 lang_first_phase_enum.
486 * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH
487 rightaway.
488 * ldlang.h (struct memory_region_struct): Add origin_exp and
489 length_exp fields.
490 * ldlang.c (lang_do_memory_regions): New.
491 (lang_memory_region_lookup): Initialize origin_exp and
492 length_exp fields.
493 (lang_process): Call lang_do_memory_regions.
494
c05b575a
AB
4952015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
496
497 * ldlang.c (print_assignment): Only evaluate the expression for a
498 PROVIDE'd assignment when the destination is being defined.
499 Display a special message for PROVIDE'd symbols that are not being
500 provided.
501
5ad18f16
AM
5022015-01-20 Alan Modra <amodra@gmail.com>
503
504 * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of..
505 (OTHER_BSS_SYMBOLS): ..this.
506 (OTHER_PLT_RELOC_SECTIONS): Don't define.
507 (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss.
508 (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to..
509 (OTHER_RELRO_SECTIONS_2): ..here.
510 * scripttempl/elf.sc: Move SBSS too when DATA_SDATA.
511
23283c1b
AM
5122015-01-20 Alan Modra <amodra@gmail.com>
513
514 * emulparams/elf64ppc.sh (BSS_PLT): Don't define.
515 (OTHER_READWRITE_SECTIONS): Move .branch_lt to..
516 (OTHER_RELRO_SECTIONS_2): ..here.
517 (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT,
518 PLT_BEFORE_GOT): Define.
519 * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/
520 PLT_BEFORE_GOT combination.
521 (DATA_GOT, SDATA_GOT): Don't define if either is already defined.
522
3e2b0f31
AM
5232015-01-20 Alan Modra <amodra@gmail.com>
524
525 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to..
526 (OTHER_RELRO_SECTIONS_2): ..here, new define.
527 * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2.
528
c4621b33
AM
5292015-01-19 Alan Modra <amodra@gmail.com>
530
3e2aa5bb 531 PR ld/17615
c4621b33
AM
532 * ldlang.c (lang_process): Run lang_common before lang_gc_sections.
533
52db4ec2
JW
5342015-01-14 Jiong Wang <jiong.wang@arm.com>
535
536 * ld-arm/elf32-reject.s: New testcase.
537 * ld-arm/elf32-reject.d: Likewise.
538 * ld-arm/elf32-reject-pie.s: Likewise.
539 * ld-arm/elf32-reject-pie.d: Likewise.
540 * ld-arm/arm-elf.exp: Run new testcases.
541 * ld-arm/ifunc-7.s: Delete f2/f4 test items.
542 * ld-arm/ifunc-7.rd: Likewise.
543 * ld-arm/ifunc-7.gd: Likewise.
544 * ld-arm/ifunc-7.dd: Likewise.
545 * ld-arm/ifunc-8.s: Likewise.
546 * ld-arm/ifunc-8.rd: Likewise.
547 * ld-arm/ifunc-8.gd: Likewise.
548 * ld-arm/ifunc-8.dd: Likewise.
549
efd321f9
AM
5502015-01-01 Alan Modra <amodra@gmail.com>
551
552 * ldver.c (ldversion): Just print current year.
553
b90efa5b 5542015-01-01 Alan Modra <amodra@gmail.com>
ca0694ad 555
b90efa5b 556 Update year range in copyright notice of all files.
ca0694ad 557
b90efa5b 558For older changes see ChangeLog-2014
252b5132 559\f
b90efa5b 560Copyright (C) 2015 Free Software Foundation, Inc.
752937aa
NC
561
562Copying and distribution of this file, with or without modification,
563are permitted in any medium without royalty provided the copyright
564notice and this notice are preserved.
565
252b5132
RH
566Local Variables:
567mode: change-log
568left-margin: 8
569fill-column: 74
570version-control: never
571End: