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