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