Commit | Line | Data |
---|---|---|
5197d474 L |
1 | 2015-05-11 H.J. Lu <hongjiu.lu@intel.com> |
2 | ||
3 | * configure.tgt: Support i[3-7]86-*-elfiamcu target. | |
4 | ||
7e0a8112 L |
5 | 2015-05-11 H.J. Lu <hongjiu.lu@intel.com> |
6 | ||
7 | * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_iamcu.c. | |
8 | (eelf_iamcu.c): New. | |
9 | * configure.tgt (targ_extra_emuls): Add elf_iamcu if elf_i386 is | |
10 | enabled in BFD. | |
11 | * Makefile.in: Regenerated. | |
12 | * emulparams/elf_iamcu.sh: New file. | |
13 | ||
837a17b3 NC |
14 | 2015-05-05 Nick Clifton <nickc@redhat.com> |
15 | ||
16 | * emulparams/msp430elf.sh (TEMPLATE_NAME): Change to msp430. | |
17 | * scripttempl/msp430.sc (.text): Add .lower.text and .either.text. | |
18 | (.data): Add .lower.data and .either.data. | |
19 | (.bss): Add .lower.bss and .either.bss. | |
20 | (.rodata): Add .lower.rodata and .either.rodata. | |
21 | * emultempl/msp430.em: New file. Implements a new orphan | |
22 | placement algorithm that divides sections between lower and upper | |
23 | memory regions. | |
24 | * Makefile.am (emsp430elf.c): Depend upon msp430.em. | |
25 | *emsp430X.c): Likewise. | |
26 | * Makefine.in: Regenerate. | |
27 | ||
a13eab06 AS |
28 | 2015-04-28 Andreas Schwab <schwab@linux-m68k.org> |
29 | ||
30 | PR ld/18344 | |
31 | * ldlex.l (INPUTLIST): Increment lineno on newline. | |
32 | ||
44bd1acd AM |
33 | 2015-04-24 Alan Modra <amodra@gmail.com> |
34 | ||
35 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): | |
36 | Call gld${EMULATION_NAME}_map_segments regardless of need_laying_out. | |
37 | ||
08e2f2bb DD |
38 | 2015-04-24 DJ Delorie <dj@redhat.com> |
39 | ||
40 | * Makefile.am (msp430): Rename primary emulation to msp430elf. | |
41 | (emsp430.c): Rename to emsp430elf.c, update dependencies | |
42 | (emsp430X.c): Update dependencies. | |
43 | * Makefile.in: Likewise. | |
44 | * configure.tgt (msp430-*-*): Rename primary emulation to msp430elf. | |
d9e88e90 | 45 | * emulparams/msp430.sh: Rename to msp430elf.sh. |
08e2f2bb DD |
46 | * emulparams/msp430X.sh: Update. |
47 | ||
f6fe1ccd L |
48 | 2015-04-23 H.J. Lu <hongjiu.lu@intel.com> |
49 | ||
50 | PR binutils/18209 | |
51 | * ldfile.c (ldfile_try_open_bfd): Set is_linker_input to 1. | |
52 | ||
a27e685f AM |
53 | 2015-04-23 Alan Modra <amodra@gmail.com> |
54 | ||
55 | * emulparams/elf64ppc.sh (GOT): Align. | |
56 | ||
0e5fabeb AM |
57 | 2015-04-22 Alan Modra <amodra@gmail.com> |
58 | ||
59 | * ldexp.h (struct ldexp_control): Delete dataseg.min_base. Add | |
60 | data_seg.relro_offset. | |
61 | * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Don't set min_base. | |
62 | (fold_binary <DATA_SEGMENT_RELRO_END>): Do set relro_offset. | |
63 | * ldlang.c (lang_size_sections): Rewrite code adjusting relro | |
64 | segment base to line up last section on page boundary. | |
65 | ||
ea556d25 L |
66 | 2015-04-15 H.J. Lu <hongjiu.lu@intel.com> |
67 | ||
68 | * NEWS: Mention | |
69 | --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi]. | |
70 | ||
0ce398f1 L |
71 | 2015-04-14 H.J. Lu <hongjiu.lu@intel.com> |
72 | ||
73 | * ld.texinfo: Document --compress-debug-sections=. | |
74 | * ldmain.c (main): Set BFD_COMPRESS on output_bfd if | |
75 | COMPRESS_DEBUG is set. Set BFD_COMPRESS_GABI on output_bfd | |
76 | for COMPRESS_DEBUG_GABI_ZLIB. | |
77 | * lexsup.c (elf_static_list_options): Add | |
78 | --compress-debug-sections=. | |
79 | * emultempl/elf32.em (OPTION_COMPRESS_DEBUG): New. | |
80 | (xtra_long): Add "compress-debug-sections". | |
81 | (gld${EMULATION_NAME}_handle_option): Handle | |
82 | OPTION_COMPRESS_DEBUG. | |
83 | ||
889c2a67 L |
84 | 2015-04-14 H.J. Lu <hongjiu.lu@intel.com> |
85 | ||
86 | PR ld/pr17709 | |
87 | * ld.texinfo: Document "-z noextern-protected-data". | |
88 | * ldmain.c (main): Initialize link_info.extern_protected_data | |
89 | to -1. | |
90 | * lexsup.c (elf_shlib_list_options): Add | |
91 | "-z [no]extern-protected-data". | |
92 | * emulparams/elf32_x86_64.sh: Source extern_protected_data.sh. | |
93 | * emulparams/elf_i386.sh: Likewise. | |
94 | * emulparams/elf_i386_be.sh: Likewise. | |
95 | * emulparams/elf_i386_chaos.sh: Likewise. | |
96 | * emulparams/elf_i386_ldso.sh: Likewise. | |
97 | * emulparams/elf_i386_vxworks.sh: Likewise. | |
98 | * emulparams/elf_k1om.sh: Likewise. | |
99 | * emulparams/elf_l1om.sh: Likewise. | |
100 | * emulparams/elf_x86_64.sh: Source extern_protected_data.sh. | |
101 | (PARSE_AND_LIST_OPTIONS): Renamed to ... | |
102 | (PARSE_AND_LIST_OPTIONS_BNDPLT): This. | |
103 | (PARSE_AND_LIST_ARGS_CASE_Z): Renamed to ... | |
104 | (PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT): This. | |
105 | (PARSE_AND_LIST_OPTIONS): Append $PARSE_AND_LIST_OPTIONS_BNDPLT. | |
106 | (PARSE_AND_LIST_ARGS_CASE_Z): Append | |
107 | $PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT. | |
108 | * emulparams/extern_protected_data.sh: New file. | |
109 | ||
fd5a1509 L |
110 | 2015-04-11 H.J. Lu <hongjiu.lu@intel.com> |
111 | ||
112 | * plugin.c (plugin_load_plugins): Removed an extra ';'. | |
113 | ||
080bb7bb NC |
114 | 2015-04-10 Nick Clifton <nickc@redhat.com> |
115 | ||
116 | PR binutils/18198 | |
117 | * ld.texinfo (--be8): Add a note about the interaction of this | |
118 | option with the assembler's -EB option. | |
119 | ||
8c3fff59 AM |
120 | 2015-04-10 Alan Modra <amodra@gmail.com> |
121 | ||
122 | * configure.ac: Set elf_list_options etc. in proper case. | |
123 | * configure: Regenerate. | |
124 | ||
6166ed93 AM |
125 | 2015-04-10 Alan Modra <amodra@gmail.com> |
126 | ||
127 | PR ld/18223 | |
128 | * ldlang.c (lang_process): Add _init and _fini to gc_sym_list. | |
129 | ||
eba27bd7 L |
130 | 2015-04-09 H.J. Lu <hongjiu.lu@intel.com> |
131 | ||
132 | * emulparams/elf_x86_64.sh (BNDPLT): Removed. | |
133 | (PARSE_AND_LIST_OPTIONS): New. | |
134 | (PARSE_AND_LIST_ARGS_CASE_Z): Likewise. | |
135 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Remove | |
136 | BNDPLT check. Handle PARSE_AND_LIST_ARGS_CASE_Z. | |
137 | (gld${EMULATION_NAME}_list_options): Remove BNDPLT check. | |
138 | ||
233723a4 NC |
139 | 2015-04-09 Nick Clifton <nickc@redhat.com> |
140 | ||
141 | * po/fr.po: Updated French translation. | |
142 | ||
82d8e420 L |
143 | 2015-04-08 H.J. Lu <hongjiu.lu@intel.com> |
144 | ||
145 | * configure.ac (elf_list_options): Set to TRUE for | |
146 | --enable-targets=all. | |
147 | (elf_shlib_list_options): Likewise. | |
148 | (elf_plt_unwind_list_options): Likewise. | |
149 | * configure: Regenerated. | |
150 | ||
31b94bbb L |
151 | 2015-04-08 H.J. Lu <hongjiu.lu@intel.com> |
152 | ||
153 | * emulparams/elf32bmipn32-defs.sh: Skip empty EMULATION_NAME. | |
154 | ||
c58212ea L |
155 | 2015-04-08 H.J. Lu <hongjiu.lu@intel.com> |
156 | ||
157 | * Makefile.am (ELF_CLFAGS): New. | |
158 | (AM_CFLAGS): Add $(ELF_CLFAGS). | |
159 | * configure.ac (elf_list_options): New. AC_SUBST. | |
160 | (elf_shlib_list_options): Likewise. | |
161 | (elf_plt_unwind_list_options): Likewise. | |
162 | * lexsup.c (elf_shlib_list_options): New. | |
163 | (elf_static_list_options): Likewise. | |
164 | (elf_plt_unwind_list_options): Likewise. | |
165 | (ld_list_options): Likewise. | |
166 | (help): Call ld_list_options. | |
167 | * Makefile.in: Regenerated. | |
168 | * configure: Likewise. | |
169 | * emulparams/plt_unwind.sh (PLT_UNWIND): New. | |
170 | (PARSE_AND_LIST_OPTIONS): Removed. | |
171 | * emultempl/elf32.em (gld_list_options): New. | |
172 | (gld${EMULATION_NAME}_list_options): Define only if BNDPLT or | |
173 | PARSE_AND_LIST_OPTIONS is defined. | |
174 | (ld_${EMULATION_NAME}_emulation): Replace | |
175 | gld${EMULATION_NAME}_list_options with ${gld_list_options. | |
176 | ||
0fad6e4b AM |
177 | 2015-04-07 Alan Modra <amodra@gmail.com> |
178 | ||
179 | PR ld/18176 | |
180 | * ldlang.c (lang_size_sections): Cast shift expression. | |
181 | ||
d3e454b9 AM |
182 | 2015-04-07 Alan Modra <amodra@gmail.com> |
183 | ||
184 | * emultempl/ppc32elf.em: Handle --no-pic-fixup. | |
185 | (params): Init new field. | |
186 | (ppc_before_allocation): Enable relaxation for pic_fixup. | |
187 | ||
3ea60775 NC |
188 | 2015-04-07 Nick Clifton <nickc@redhat.com> |
189 | ||
190 | * ld.h (struct ld_config_type): Add new field: warn_orphan. | |
191 | * ldlex.h (enum option_values): Add OPTION_WARN_ORPHAN and | |
192 | OPTION_NO_WARN_ORPHAN. | |
193 | * lexsup.c (ld_options): Add --warn-orphan and --no-warn-orphan. | |
194 | (parse_args): Handle the new options. | |
195 | * ldemul.c (ldemul_place_orphan): If requested, generate a warning | |
196 | message when an orphan section is placed in the output file. | |
197 | * ld.texinfo: Document the new option. | |
198 | * NEWS: Mention the new feature. | |
199 | ||
15c7659f AT |
200 | 2015-04-02 Andrew Turner <andrew@freebsd.org> |
201 | ||
202 | * Makefile.am: Add FreeBSD aarch64 files. | |
203 | * Makefile.in: Regenerate. | |
204 | * configure.tgt: Add aarch64-*-freebsd* target triple. | |
205 | * emulparams/aarch64fbsd.sh: New file. | |
206 | * emulparams/aarch64fbsdb.sh: New file. | |
207 | ||
a0bde398 L |
208 | 2015-04-01 H.J. Lu <hongjiu.lu@intel.com> |
209 | ||
210 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Work | |
211 | around a GCC uninitialized warning bug fixed in GCC 4.6. | |
212 | ||
4106101c MS |
213 | 2015-04-01 Tejas Belagod <tejas.belagod@arm.com> |
214 | ||
215 | * emultempl/aarch64elf.em | |
216 | (aarch64_elf_create_output_section_statements): Add parameter in | |
217 | bfd_elf${ELFSIZE}_aarch64_set_options call. | |
218 | (OPTION_FIX_ERRATUM_843419): Define. | |
219 | (PARSE_AND_LIST_LONGOPTS): Add fix-cortex-a53-843419. | |
220 | (PARSE_AND_LIST_ARGS_CASES): Add OPTION_FIX_ERRATUM_843419. | |
221 | ||
16c1c9d6 CG |
222 | 2015-04-01 Chen Gang <gang.chen.5i5j@gmail.com> |
223 | ||
224 | * emulparams/elf32_tic6x_le.sh: Skip OTHER_BSS_SECTIONS for | |
225 | relocating operation. | |
226 | ||
6c1aca3e AM |
227 | 2015-04-01 Alan Modra <amodra@gmail.com> |
228 | ||
875b5b9d | 229 | PR ld/18176 |
6c1aca3e AM |
230 | * ldlang.c (lang_size_sections): When alignment of sections |
231 | results in relro base adjustment being too large, don't go lower | |
232 | than the initial value. | |
233 | * ldexp.c (fold_binary <DATA_SEGMENT_RELRO_END>): Comment. | |
234 | * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Omit SEGMENT_SIZE | |
235 | alignment when SEGMENT_SIZE is the same as MAXPAGESIZE. | |
236 | ||
4a0bc59e AM |
237 | 2015-04-01 Alan Modra <amodra@gmail.com> |
238 | ||
239 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Don't | |
240 | init ehdr_start_save. | |
241 | ||
42271ec5 AM |
242 | 2015-04-01 Alan Modra <amodra@gmail.com> |
243 | ||
244 | * Makefile.am (eelf32ppcvxworks.c): Depend on ppc32elf.em and | |
245 | ldemul-list.h. | |
246 | (eelf32lppc.c, eelf32lppclinux.c, eelf32lppcnto.c, eelf32lppcsim.c, | |
247 | eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppclinux.c, eelf32ppcnto.c, | |
248 | eelf32ppcsim.c): Rearrange deps for consistency. | |
249 | * Makefile.in: Regenerate. | |
250 | ||
4e791d0f ES |
251 | 2015-04-01 Ed Schouten <ed@nuxi.nl> |
252 | ||
253 | * emultempl/elf32.em (gld*_before_allocation): Zero-initialize | |
254 | the ehdr_start_save variable. | |
255 | ||
6036f486 ES |
256 | 2015-03-31 Ed Schouten <ed@nuxi.nl> |
257 | ||
258 | * Makefile.am (ALL_64_EMULATION_SOURCES): Add | |
259 | eelf_x86_64_cloudabi.c. | |
260 | (eelf_x86_64_cloudabi.c): New. | |
261 | * configure.tgt (targ_emul): Set to elf_x86_64_cloudabi for | |
262 | x86_64-*-cloudabi*. | |
263 | * Makefile.in: Regenerated. | |
264 | * emulparams/elf_x86_64_cloudabi.sh: New file. | |
265 | ||
f24173eb L |
266 | 2015-03-31 H.J. Lu <hongjiu.lu@intel.com> |
267 | ||
268 | * configure.ac (AM_ZLIB): Removed. | |
269 | * Makefile.in: Regenerated. | |
270 | * config.in: Likewise. | |
271 | * configure: Likewise. | |
272 | ||
d9ced15d MS |
273 | 2015-03-24 Marcus Shawcroft <marcus.shawcroft@arm.com> |
274 | ||
275 | * emultempl/aarch64elf.em (_aarch64_add_stub_section): Set section | |
276 | alignment to 2. | |
277 | ||
499c37b5 MS |
278 | 2015-03-23 Marcus Shawcroft <marcus.shawcroft@arm.com> |
279 | ||
280 | * emultempl/aarch64elf.em | |
281 | (elf${ELFSIZE}_aarch64_add_stub_section): Adjust layout. | |
282 | ||
b3862264 CG |
283 | 2015-03-18 Chen Gang <gang.chen.5i5j@gmail.com> |
284 | ||
285 | * ldmain.c (main): Use %F instead of %X for einfo. | |
286 | ||
daf220f0 AM |
287 | 2015-03-02 Alan Modra <amodra@gmail.com> |
288 | ||
289 | * ld.texinfo (Options <-z nocopyreloc>): Rewrite. | |
290 | ||
f0673d20 NC |
291 | 2015-02-27 Nick Clifton <nickc@redhat.com> |
292 | ||
293 | PR ld/17900 | |
294 | * ldlang.c (lang_set_flags): Allow exclamation mark to reverse the | |
295 | sense of the following memory region attribute characters. | |
296 | ||
330b17b3 AM |
297 | 2015-02-27 Alan Modra <amodra@gmail.com> |
298 | ||
299 | * Makefile.am (ALL_EMULATION_SOURCES): Sort new h8300 entries. | |
300 | (eh8300elf_linux.c, eh8300helf_linux.c, eh8300self_linux.c, | |
301 | eh8300sxelf_linux.c): Do not invoke genscripts here. | |
302 | * Makefile.in: Regenerate. | |
303 | ||
685080f2 NC |
304 | 2015-02-24 Nick Clifton <nickc@redhat.com> |
305 | ||
306 | * Makefile.am (ev850.c): Add dependency upon | |
307 | $(srcdir)/emultempl/v850elf.em. | |
308 | (ev850_rh850.c): Likewise. | |
309 | * Makefile.in: Regenerate. | |
310 | * emultempl/v850elf.em: New file. | |
311 | * emulparams/v850.sh (EXTRA_EM_FILE): Define. | |
312 | * emulparams/v850_rh850.sh (EXTRA_EM_FILE): Define. | |
313 | * scripttempl/v850.sc: Add .note.renesas section. | |
314 | * scripttempl/v850_rh850.sc: Likewise. | |
315 | ||
cb072816 SKS |
316 | 2015-02-24 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
317 | ||
318 | * scripttempl/avr.sc: Add new user_signatures region. Define and | |
319 | use symbols for all region lengths. | |
320 | * scripttempl/avrtiny.sc: Define and use symbols for all region | |
321 | lengths. | |
322 | ||
5518c738 YS |
323 | 2015-01-21 Yoshinori Sato <ysato@users.sourceforge.jp> |
324 | ||
325 | * Makefile.am: (ALL_EMULATION_SOURCES): Add new emulations. | |
326 | * Makefile.in: Regenerate. | |
327 | * configure.tgt: Add h8300-*-linux | |
328 | * emulparams/h8300elf_linux.sh: Add new emulation. | |
329 | * emulparams/h8300helf_linux.sh: Likewise. | |
330 | * emulparams/h8300self_linux.sh: Likewise. | |
331 | * emulparams/h8300sxelf_linux.sh: Likewise. | |
332 | ||
f971c12f NC |
333 | 2015-02-23 Nick Clifton <nickc@redhat.com> |
334 | ||
335 | * lexsup.c (parse_args): Produce a more reasonable error message | |
336 | when -ixxx or -rxxx is the last option on the linker command line. | |
337 | ||
f58926a6 L |
338 | 2015-02-14 H.J. Lu <hongjiu.lu@intel.com> |
339 | ||
340 | PR ld/17973 | |
341 | * testplug2.c (allsymbolsread_silent): New. | |
342 | (set_register_hook): Handle allsymbolsreadsilent. | |
343 | (onall_symbols_read): Skip a message if allsymbolsread_silent is | |
344 | TRUE. | |
345 | ||
ce875075 AM |
346 | 2015-02-14 Alan Modra <amodra@gmail.com> |
347 | ||
348 | PR ld/17973 | |
349 | * ldlang.h (struct lang_input_statement_flags): Add lto_output. | |
350 | * ldlang.c (lang_process): Don't set loading_lto_outputs. | |
351 | * ldfile.c (ldfile_try_open_bfd): Transfer entry flags.lto_output | |
352 | to bfd. | |
353 | * plugin.c (add_input_file, add_input_library): Set flags.lto_output. | |
354 | ||
b0619670 L |
355 | 2015-02-13 H.J. Lu <hongjiu.lu@intel.com> |
356 | ||
357 | * NEWS: Mention support for LLVM plugin. | |
358 | ||
66bc8739 AM |
359 | 2015-02-13 Alan Modra <amodra@gmail.com> |
360 | ||
361 | * ld.texinfo (Options <--defsym>): Correct cross reference. | |
362 | ||
88b9e2eb L |
363 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
364 | ||
365 | * lexsup.c (ld_options): Add --[no-]map-whole-files for gold | |
366 | option compatibility. | |
367 | ||
45e81354 L |
368 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
369 | ||
370 | * plugin.c (message): Output "warning:" for LDPL_WARNING. Output | |
371 | "error:" for LDPL_FATAL and LDPL_ERROR. | |
372 | * testplug2.c (parse_option): Handle fatal, error and warning. | |
373 | ||
e3001fd9 L |
374 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
375 | ||
376 | * testplug2.c (dump_tv_tag): Removed. | |
377 | (onall_symbols_read): Return LDPS_ERR if the file descriptor isn't | |
378 | closed. | |
379 | * testplug3.c (dump_tv_tag): Removed. | |
380 | (onclaim_file): Fix typo. | |
381 | ||
7275e869 L |
382 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
383 | ||
384 | PR ld/17878 | |
385 | * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug2.la and | |
386 | libldtestplug3.la. | |
387 | (libldtestplug2_la_SOURCES): New. | |
388 | (libldtestplug2_la_CFLAGS): Likewise. | |
389 | (libldtestplug2_la_LDFLAGS): Likewise. | |
390 | (libldtestplug3_la_SOURCES): New. | |
391 | (libldtestplug3_la_CFLAGS): Likewise. | |
392 | (libldtestplug3_la_LDFLAGS): Likewise. | |
393 | * Makefile.in: Regenerated. | |
394 | * testplug2.c: New file. | |
395 | * testplug3.c: Likewise. | |
396 | ||
b9dc5a87 L |
397 | 2015-02-11 H.J. Lu <hongjiu.lu@intel.com> |
398 | ||
399 | PR ld/17878 | |
400 | * plugin.c: Include ../bfd/plugin.h. | |
401 | (plugin_get_ir_dummy_bfd): Call bfd_create with | |
402 | link_info.output_bfd instead of srctemplate. Copy BFD info | |
403 | from srctemplate only if it doesn't use BFD plugin target | |
404 | vector. | |
405 | (plugin_load_plugins): Call register_ld_plugin_object_p with | |
406 | (plugin_object_p) | |
407 | (plugin_maybe_claim): Renamed to ... | |
408 | (plugin_object_p): This. Return dummy BFD target vector if | |
409 | input is calimed by plugin library, otherwise return NULL. | |
410 | Update plugin_format and plugin_dummy_bfd. | |
411 | (plugin_maybe_claim): New. Use plugin_object_p. | |
412 | ||
d319a098 L |
413 | 2015-02-10 H.J. Lu <hongjiu.lu@intel.com> |
414 | ||
415 | * plugin.c (plugin_maybe_claim): Initialize use_mmap. | |
416 | ||
38604796 L |
417 | 2015-02-10 H.J. Lu <hongjiu.lu@intel.com> |
418 | ||
419 | * plugin.c (plugin_input_file_t): Add use_mmap. | |
420 | (plugin_pagesize): New. | |
421 | (get_view): Use plugin_pagesize. Set use_mmap if mmap is used. | |
422 | (plugin_load_plugins): Initialize plugin_pagesize. | |
423 | (plugin_maybe_claim): Unmap the buffer if plugin didn't claim the | |
424 | file. | |
425 | ||
fe905789 L |
426 | 2015-02-10 H.J. Lu <hongjiu.lu@intel.com> |
427 | ||
428 | * plugin.c (get_view): Align offset passed to mmap. | |
429 | ||
1d5b29cf L |
430 | 2015-02-08 H.J. Lu <hongjiu.lu@intel.com> |
431 | ||
432 | * ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format | |
433 | if plugin isn't active or there is no thing more to claim. | |
434 | ||
e13419c4 L |
435 | 2015-02-08 H.J. Lu <hongjiu.lu@intel.com> |
436 | ||
437 | * plugin.c (plugin_maybe_claim): Check format against bfd_object | |
438 | directly. | |
439 | ||
93843894 L |
440 | 2015-02-07 H.J. Lu <hongjiu.lu@intel.com> |
441 | ||
442 | * plugin.c (plugin_maybe_claim): Replace entry->the_bfd with | |
443 | ibfd. | |
444 | ||
35a1e5f3 L |
445 | 2015-02-07 H.J. Lu <hongjiu.lu@intel.com> |
446 | ||
447 | * plugin.c: Include "libbfd.h". | |
448 | (plugin_strdup): New. | |
449 | (plugin_maybe_claim): Remove the argument of pointer to struct | |
450 | ld_plugin_input_file. Open and handle input entry. | |
451 | * plugin.h (plugin_maybe_claim): Updated. | |
452 | * ldfile.c (ldfile_try_open_bfd): Call plugin_maybe_claim directly | |
453 | without passing a pointer to struct ld_plugin_input_file. | |
454 | * ldmain.c: Don't include "libbfd.h". | |
455 | (add_archive_element): Call plugin_maybe_claim directly without | |
456 | passing a pointer to struct ld_plugin_input_file. | |
457 | ||
8dfef1bd L |
458 | 2015-02-06 H.J. Lu <hongjiu.lu@intel.com> |
459 | ||
460 | * ld.texinfo: Document -z text, -z notext and -z textoff. | |
461 | * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add | |
462 | -z text, -z notext and -z textoff. | |
463 | ||
2aec968d L |
464 | 2015-02-06 H.J. Lu <hongjiu.lu@intel.com> |
465 | ||
466 | * configure.ac: Add AC_FUNC_MMAP. | |
467 | * config.in: Regenerated. | |
468 | * configure: Likewise. | |
469 | * plugin.c: Include <sys/mman.h>. | |
470 | (MAP_FAILED): New. Defined if not defined. | |
471 | (PROT_READ): Likewise. | |
472 | (MAP_PRIVATE): Likewise. | |
473 | (view_buffer_t): New. | |
474 | (plugin_input_file_t): Add view_buffer. | |
475 | (get_view): Try mmap and cache the view buffer. | |
476 | (plugin_maybe_claim): Initialize view_buffer. | |
477 | ||
119d62ff L |
478 | 2015-02-05 H.J. Lu <hongjiu.lu@intel.com> |
479 | ||
480 | * plugin.c (release_input_file): Set fd to -1 after closing it. | |
481 | (plugin_maybe_claim): Close fd only if fd != -1. | |
482 | ||
f4b78d18 L |
483 | 2015-02-05 H.J. Lu <hongjiu.lu@intel.com> |
484 | ||
485 | PR ld/17878 | |
486 | * plugin.c: Include <errno.h>. | |
487 | (errno): New. Declare if needed. | |
488 | (plugin_input_file_t): New. | |
489 | (get_input_file): Implemented. | |
490 | (get_view): Likewise. | |
491 | (release_input_file): Likewise. | |
492 | (add_symbols): Updated. | |
493 | (get_symbols): Likewise. | |
494 | (plugin_maybe_claim): Allocate a plugin_input_file_t. Close fd | |
495 | only for a bfd_object input. | |
496 | ||
6c2573b7 AM |
497 | 2015-02-02 Alan Modra <amodra@gmail.com> |
498 | ||
499 | * emultempl/ppc64elf.em (toc_section_name): New var. | |
500 | (ppc_after_open): Set it. | |
501 | (ppc_before_allocation): Use it. | |
502 | (gld${EMULATION_NAME}_after_allocation): Here too. | |
503 | ||
716db898 L |
504 | 2015-01-29 H.J. Lu <hongjiu.lu@intel.com> |
505 | ||
506 | * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p() | |
507 | with link_info.lto_plugin_active. | |
508 | * ldlang.c (lang_process): Likewise. | |
509 | * ldmain.c (add_archive_element): Likewise. | |
510 | * plugin.c (plugin_active_plugins_p): Removed. | |
511 | * plugin.h (plugin_active_plugins_p): Likewise. | |
512 | ||
37a3056a L |
513 | 2015-01-28 H.J. Lu <hongjiu.lu@intel.com> |
514 | ||
515 | * plugin.h (plugin_get_ir_dummy_bfd): Removed. Move comments to | |
516 | ... | |
517 | * plugin.c (plugin_get_ir_dummy_bfd): Here. Make it static. | |
518 | ||
15f7a26b L |
519 | 2015-01-28 H.J. Lu <hongjiu.lu@intel.com> |
520 | ||
521 | PR ld/17878 | |
522 | * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW. | |
523 | (get_view): New function. | |
524 | (set_tv_header): Handle LDPT_GET_VIEW. | |
525 | * testplug.c (tag_names): Add LDPT_GET_VIEW. | |
526 | (tv_get_view): New. | |
527 | (dump_tv_tag): Handle LDPT_GET_VIEW. | |
528 | (parse_tv_tag): Likewise. | |
529 | ||
dbd1e97e AM |
530 | 2015-01-28 Alan Modra <amodra@gmail.com> |
531 | ||
532 | * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define. | |
533 | * emultempl/ppc64elf.em (params): Init new field. | |
534 | (ppc_after_open): New function. | |
535 | (LDEMUL_AFTER_OPEN): Define. | |
536 | * ldlang.c (lang_final): Whitespace fix. | |
537 | ||
3f8107ab AM |
538 | 2015-01-28 James Bowman <james.bowman@ftdichip.com> |
539 | ||
540 | * Makefile.am: Add FT32 files. | |
541 | * configure.tgt: Handle FT32 target. | |
542 | * emulparams/elf32ft32.sh: New file. | |
543 | * scripttempl/ft32.sc: New file. | |
544 | * Makefile.in: Regenerate. | |
545 | ||
cc9ad334 SKS |
546 | 2015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
547 | ||
548 | PR 4643 | |
549 | * ldexp.c (fold_name): Fold LENGTH only after | |
550 | lang_first_phase_enum. | |
551 | * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH | |
552 | rightaway. | |
553 | * ldlang.h (struct memory_region_struct): Add origin_exp and | |
554 | length_exp fields. | |
555 | * ldlang.c (lang_do_memory_regions): New. | |
556 | (lang_memory_region_lookup): Initialize origin_exp and | |
557 | length_exp fields. | |
558 | (lang_process): Call lang_do_memory_regions. | |
559 | ||
c05b575a AB |
560 | 2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com> |
561 | ||
562 | * ldlang.c (print_assignment): Only evaluate the expression for a | |
563 | PROVIDE'd assignment when the destination is being defined. | |
564 | Display a special message for PROVIDE'd symbols that are not being | |
565 | provided. | |
566 | ||
5ad18f16 AM |
567 | 2015-01-20 Alan Modra <amodra@gmail.com> |
568 | ||
569 | * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of.. | |
570 | (OTHER_BSS_SYMBOLS): ..this. | |
571 | (OTHER_PLT_RELOC_SECTIONS): Don't define. | |
572 | (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss. | |
573 | (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to.. | |
574 | (OTHER_RELRO_SECTIONS_2): ..here. | |
575 | * scripttempl/elf.sc: Move SBSS too when DATA_SDATA. | |
576 | ||
23283c1b AM |
577 | 2015-01-20 Alan Modra <amodra@gmail.com> |
578 | ||
579 | * emulparams/elf64ppc.sh (BSS_PLT): Don't define. | |
580 | (OTHER_READWRITE_SECTIONS): Move .branch_lt to.. | |
581 | (OTHER_RELRO_SECTIONS_2): ..here. | |
582 | (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT, | |
583 | PLT_BEFORE_GOT): Define. | |
584 | * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/ | |
585 | PLT_BEFORE_GOT combination. | |
586 | (DATA_GOT, SDATA_GOT): Don't define if either is already defined. | |
587 | ||
3e2b0f31 AM |
588 | 2015-01-20 Alan Modra <amodra@gmail.com> |
589 | ||
590 | * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to.. | |
591 | (OTHER_RELRO_SECTIONS_2): ..here, new define. | |
592 | * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2. | |
593 | ||
c4621b33 AM |
594 | 2015-01-19 Alan Modra <amodra@gmail.com> |
595 | ||
3e2aa5bb | 596 | PR ld/17615 |
c4621b33 AM |
597 | * ldlang.c (lang_process): Run lang_common before lang_gc_sections. |
598 | ||
52db4ec2 JW |
599 | 2015-01-14 Jiong Wang <jiong.wang@arm.com> |
600 | ||
601 | * ld-arm/elf32-reject.s: New testcase. | |
602 | * ld-arm/elf32-reject.d: Likewise. | |
603 | * ld-arm/elf32-reject-pie.s: Likewise. | |
604 | * ld-arm/elf32-reject-pie.d: Likewise. | |
605 | * ld-arm/arm-elf.exp: Run new testcases. | |
606 | * ld-arm/ifunc-7.s: Delete f2/f4 test items. | |
607 | * ld-arm/ifunc-7.rd: Likewise. | |
608 | * ld-arm/ifunc-7.gd: Likewise. | |
609 | * ld-arm/ifunc-7.dd: Likewise. | |
610 | * ld-arm/ifunc-8.s: Likewise. | |
611 | * ld-arm/ifunc-8.rd: Likewise. | |
612 | * ld-arm/ifunc-8.gd: Likewise. | |
613 | * ld-arm/ifunc-8.dd: Likewise. | |
614 | ||
efd321f9 AM |
615 | 2015-01-01 Alan Modra <amodra@gmail.com> |
616 | ||
617 | * ldver.c (ldversion): Just print current year. | |
618 | ||
b90efa5b | 619 | 2015-01-01 Alan Modra <amodra@gmail.com> |
ca0694ad | 620 | |
b90efa5b | 621 | Update year range in copyright notice of all files. |
ca0694ad | 622 | |
b90efa5b | 623 | For older changes see ChangeLog-2014 |
252b5132 | 624 | \f |
b90efa5b | 625 | Copyright (C) 2015 Free Software Foundation, Inc. |
752937aa NC |
626 | |
627 | Copying and distribution of this file, with or without modification, | |
628 | are permitted in any medium without royalty provided the copyright | |
629 | notice and this notice are preserved. | |
630 | ||
252b5132 RH |
631 | Local Variables: |
632 | mode: change-log | |
633 | left-margin: 8 | |
634 | fill-column: 74 | |
635 | version-control: never | |
636 | End: |