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