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