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