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