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