Commit | Line | Data |
---|---|---|
ce46249c AM |
1 | 2014-06-02 Alan Modra <amodra@gmail.com> |
2 | ||
3 | * emulparams/elf32bfin.sh: Rename from bfin.sh. | |
4 | * emulparams/elf32bfinfd.sh: Update to suit. | |
ce46249c AM |
5 | * emulparams/msp430.sh: Rename from msp430all.sh. Remove |
6 | MSP430_NAME and msp430X vars. | |
7 | * emulparams/msp430X.sh: New. | |
ce46249c AM |
8 | * emulparams/score3_elf.sh: Rename from scoreelf.sh. Remove |
9 | SCORE_NAME and score7_elf ARCH setting. | |
10 | * emulparams/score7_elf.sh: New. | |
11 | * Makefile.am (eelf32bfin.c, eelf32bfinfd.c): Update dependencies. | |
12 | (emsp430.c, emsp430X.c, escore3_elf.c, escore7_elf.c): Likewise. | |
13 | * Makefile.in: Regenerate. | |
14 | * genscripts.sh: Delete customizer_script param. | |
15 | ||
77ac17b8 HPN |
16 | 2014-05-28 Hans-Peter Nilsson <hp@axis.com> |
17 | ||
18 | * Makefile.am: Change all rules with ${GENSCRIPTS} | |
19 | invocations to be just dependencies. | |
20 | ($(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES)) | |
21 | (run-genscripts): New rules. | |
22 | * Makefile.in: Regenerate. | |
23 | ||
7a2f2d82 DD |
24 | 2014-05-27 DJ Delorie <dj@redhat.com> |
25 | ||
26 | * ld/ldemul.h (extra_map_file_text): New field. | |
27 | (ldemul_extra_map_file_text): Declare. | |
28 | * ld/ldemul.c (ldemul_extra_map_file_text): Define. | |
29 | * ld/ldlang.c (lang_map): Call it. | |
30 | ||
31 | * ld/emultempl/rxelf.em: Add extra_map_file_text hook. | |
32 | * ld/emultempl/aix.em: Add NULL extra_map_file_text hook. | |
33 | * ld/emultempl/armcoff.em: Likewise. | |
34 | * ld/emultempl/beos.em: Likewise. | |
35 | * ld/emultempl/elf32.em: Likewise. | |
36 | * ld/emultempl/generic.em: Likewise. | |
37 | * ld/emultempl/gld960.em: Likewise. | |
38 | * ld/emultempl/gld960c.em: Likewise. | |
39 | * ld/emultempl/linux.em: Likewise. | |
40 | * ld/emultempl/lnk960.em: Likewise. | |
41 | * ld/emultempl/m68kcoff.em: Likewise. | |
42 | * ld/emultempl/pe.em: Likewise. | |
43 | * ld/emultempl/pep.em: Likewise. | |
44 | * ld/emultempl/sunos.em: Likewise. | |
45 | * ld/emultempl/ticoff.em: Likewise. | |
46 | * ld/emultempl/vanilla.em: Likewise. | |
47 | ||
0ef76c43 AM |
48 | 2014-05-24 Alan Modra <amodra@gmail.com> |
49 | ||
50 | * ldlang.c (base): Move variable to.. | |
51 | * mri.c: ..here, and make static. | |
52 | * ldlang.h (base): Delete declaration. | |
53 | ||
865d0aef HPN |
54 | 2014-05-20 Hans-Peter Nilsson <hp@axis.com> |
55 | ||
56 | * Makefile.am (ALL_EMULATION_SOURCES): Add missing eelf32mbel_linux.c. | |
57 | * Makefile.in: Regenerate. | |
58 | ||
93d1b056 AM |
59 | 2014-05-20 Alan Modra <amodra@gmail.com> |
60 | ||
61 | PR 16952 | |
62 | * emulparams/elf32ppccommon.sh (_SDA_BASE_, _SDA2_BASE_): Delete. | |
63 | * emultempl/ppc32elf.em (ppc_before_allocation): Call | |
64 | ppc_elf_maybe_strip_sdata_syms. | |
65 | * ldlang.c (size_input_section): Correct output_offset value | |
66 | for excluded input sections. | |
67 | ||
5febff9b JM |
68 | 2014-05-16 John Marino <binutils@marino.st> |
69 | ||
70 | * configure.tgt: Add /lib to dragonfly NATIVE_LIB_DIRS. | |
71 | ||
fae66359 CLT |
72 | 2014-05-11 Chung-Lin Tang <cltang@codesourcery.com> |
73 | ||
74 | * emulparams/nios2linux.sh (OTHER_GOT_SYMBOLS): Wrap _gp in HIDDEN(), | |
75 | and gp in PROVIDE_HIDDEN. | |
76 | ||
eae25ec5 HPN |
77 | 2014-05-10 Hans-Peter Nilsson <hp@bitrange.com> |
78 | ||
79 | * ldlang.c (lang_finish): Don't call bfd_link_hash_table_free here. | |
80 | (output_bfd_hash_table_free_fn): New variable. | |
81 | (open_output): Save the _bfd_link_hash_table_free function for the | |
82 | output_bfd into output_bfd_hash_table_free_fn. | |
83 | * ldmain.c (ld_cleanup): If set, call output_bfd_hash_table_free_fn | |
84 | on link_info.hash. | |
85 | * ldlang.h (output_bfd_hash_table_free_fn): Declare. | |
86 | ||
6d00b590 AM |
87 | 2014-05-02 Alan Modra <amodra@gmail.com> |
88 | ||
89 | * emultempl/metagelf.em: Update bfd target vector naming. | |
90 | * emultempl/nios2elf.em: Likewise. | |
91 | * emultempl/spuelf.em: Likewise. | |
92 | * emultempl/tic6xdsbt.em: Likewise. | |
93 | ||
73589c9d CS |
94 | 2014-04-22 Christian Svensson <blue@cmd.nu> |
95 | ||
96 | * Makefile.am: Remove openrisc and or32 support. Add support for or1k. | |
97 | * configure.tgt: Likewise. | |
98 | * emulparams/elf32or1k.sh: New file. | |
99 | * emulparams/elf32or1k_linux.sh: New file. | |
100 | * emulparams/elf32openrisc.sh: Delete. | |
101 | * emulparams/or32.sh: Delete. | |
102 | * emulparams/or32elf.sh: Delete. | |
103 | * scripttempl/or32.sc: Delete. | |
104 | * Makefile.in: Regenerate. | |
105 | ||
d1c109de RH |
106 | 2014-04-21 Richard Henderson <rth@redhat.com> |
107 | ||
108 | * emultempl/alphaelf.em (alpha_after_parse): Enable 2 relax passes. | |
109 | ||
8056826a SE |
110 | 2014-04-16 Steve Ellcey <sellcey@mips.com> |
111 | ||
112 | * emultempl/elf32.em: Include safe-ctype.h. | |
113 | ||
751e54c9 SE |
114 | 2014-04-16 Steve Ellcey <sellcey@mips.com> |
115 | ||
116 | * ldbuildid.c (generate_build_id): Add ATTRIBUTE_UNUSED to size arg. | |
117 | ||
edf84efc NC |
118 | 2014-04-09 Nick Clifton <nickc@redhat.com> |
119 | ||
120 | * Makefile.am (default-manifest.o): Remove rule. | |
121 | (EMUL_EXTRA_BINARIES): Delete. | |
122 | (ALL_EMUL_EXTRA_BINARIES): Delete. | |
123 | (ld_new_DEPENDENCIES): Remove EMUL_EXTRA_BINARIES. | |
124 | (install-data-local): Remove EMUL_EXTRA_BINARIES. | |
125 | * Makefile.in: Regenerate. | |
126 | * configure.in (all_emul_extra_binaries): Delete. | |
127 | (EMUL_EXTRA_BINARIES): Remove. | |
128 | * configure: Regenerate. | |
129 | * configure.tgt (target_extra_binaries): Delete. | |
130 | * emultempl/default-manifest.rc: Delete. | |
131 | * ld.texinfo: Remove discussion of default manifest. | |
132 | * emulparams/i386pe.sh (DEFAULT_MANIFEST): Delete. | |
133 | * emulparams/i386pep.sh (DEFAULT_MANIFEST): Delete. | |
134 | ||
e30d16e9 AM |
135 | 2014-04-09 Alan Modra <amodra@gmail.com> |
136 | ||
137 | * emultempl/spuelf.em: Include safe-ctype.h, remove duplicate errno.h. | |
138 | * emultempl/nds32elf.em: Include bfd_stdint.h. | |
139 | * po/POTFILES.in: Regenerate. | |
140 | ||
b4ab4364 AM |
141 | 2014-04-09 Alan Modra <amodra@gmail.com> |
142 | ||
143 | * emultempl/ppc32elf.em (no_zero_padding, ppc_finish): New functions. | |
144 | (LDEMUL_FINISH): Define. | |
145 | ||
6c1799ad NC |
146 | 2014-04-08 Nick Clifton <nickc@redhat.com> |
147 | ||
148 | * scripttempl/pe.sc (R_RSRC): Remove default manifest. | |
149 | * scripttempl/pep.sc (R_RSRC): Remove default manifest. | |
150 | ||
61e2488c JT |
151 | 2014-04-08 Jon TURNEY <jon.turney@dronecode.org.uk> |
152 | ||
153 | * emultempl/elf32.em (id_note_section_size, read_hex, write_build_id): | |
154 | Move code for parsing build-id option and calculating the build-id to... | |
155 | * ldbuildid.c: New file. | |
156 | * ldbuildid.h: New file. | |
157 | * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add new | |
158 | files. | |
159 | * Makefile.in: Regenerate. | |
160 | * ld.texinfo: Update --build-id description to mention COFF | |
161 | support. | |
162 | * NEWS: Mention support for COFF build ids. | |
163 | * emultempl/pe.em (gld${EMULATION_NAME}_handle_option): | |
164 | (pecoff_checksum_contents, write_build_id, setup_build_id) | |
165 | (gld_${EMULATION_NAME}_after_open): Handle and implement | |
166 | build-id option. | |
167 | * emultempl/pep.em: Likewise. | |
168 | ||
abc9061b CC |
169 | 2014-04-04 Cary Coutant <ccoutant@google.com> |
170 | ||
171 | PR gold/16804 | |
172 | * ld.texinfo: Document optional comma following output section | |
173 | command and overlay command. | |
174 | ||
ffe54b37 AM |
175 | 2014-04-04 Alan Modra <amodra@gmail.com> |
176 | ||
177 | * ldlang.c (lang_size_sections_1 <lang_input_section_enum>): Use | |
178 | current "fill", not "output_section_statement->fill". | |
179 | ||
76f0cad6 NC |
180 | 2014-03-31 Nick Clifton <nickc@redhat.com> |
181 | ||
182 | PR ld/16744 | |
183 | * emultempl/elf32.em (_after_open): Create a .note.GNU-stack | |
184 | section when performing a relocatable link with -z [no]execstack | |
185 | specified. | |
186 | ||
4c6d802e L |
187 | 2014-03-27 H.J. Lu <hongjiu.lu@intel.com> |
188 | ||
189 | PR ld/16756 | |
190 | * ldmain.c (symbol_warning): New function. | |
191 | (warning_callback): Use it. Scan all input files for a reference | |
192 | to SYMBOL. | |
193 | ||
8547a0f9 | 194 | 2014-03-21 Christopher Faylor <me.cygwin2013@cgf.cx> |
d0e6d77b CF |
195 | |
196 | * ld.texinfo: Document change in handling of --enable-auto-image-base. | |
197 | * emultempl/pe.em (pe_auto_image_base): Set to default base. | |
198 | (gld_${EMULATION_NAME}_list_options): Change usage message to reflect | |
199 | optional --enable-auto-image-base argument. | |
200 | (gld${EMULATION_NAME}_handle_option): Handle optional | |
201 | --enable-auto-image-base argument. | |
202 | (compute_dll_image_base): Eliminate constant. Use pe_auto_image_base. | |
203 | ||
1d63324c NC |
204 | 2014-03-19 Nick Clifton <nickc@redhat.com> |
205 | ||
206 | * Makefile.am (default-manifest.o): Use WINDRES_FOR_TARGET. | |
207 | * Makefile.in: Regenerate. | |
208 | * emultempl/default-manifest.rc: Fix typo. | |
209 | * scripttempl/pe.sc (R_RSRC): Fix default-manifest exclusion. | |
6caf7111 | 210 | (.rsrc): Add SUBALIGN(4). Remove SORT. |
1d63324c NC |
211 | * scripttempl/pep.sc: Likewise. |
212 | ||
c712f1e3 CF |
213 | 2014-03-17 Christopher Faylor <me.cygwin2014@cgf.cx> |
214 | ||
215 | * Makefile.am: Use host version of windres. | |
216 | * Makefile.in: Regenerate. | |
217 | ||
d4ae5fb0 AM |
218 | 2014-03-14 Romain Geissler <romain.geissler@amadeus.com> |
219 | Alan Modra <amodra@gmail.com> | |
220 | ||
221 | * ldlang.h (full_name_provided): New input flag. | |
222 | * ldlang.c (new_afile): Don't use lang_input_file_is_search_file_enum | |
223 | for -l:namespec. Instead use lang_input_file_is_l_enum with | |
224 | full_name_provided flag. | |
225 | * ldlfile.c (ldfile_open_file_search): Don't complete lib name if | |
226 | full_name_provided flag is set. | |
227 | * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): | |
228 | Handle full_name_provided libraries. Tidy EXTRA_SHLIB_EXTENSION | |
229 | support. Set DT_NEEDED for -l:namespec as namespec. | |
230 | * emultempl/aix.em (ppc_after_open_output): Handle full_name_provided. | |
231 | * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive): | |
232 | Don't handle full_name_provided libraries. | |
233 | * emultempl/pe.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto. | |
234 | * emultempl/pep.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto. | |
235 | * emultempl/vms.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto. | |
236 | ||
fa47fa92 AM |
237 | 2014-03-12 Alan Modra <amodra@gmail.com> |
238 | ||
239 | * Makefile.in: Regenerate. | |
240 | ||
4b95cf5c AM |
241 | 2014-03-05 Alan Modra <amodra@gmail.com> |
242 | ||
243 | Update copyright years. | |
244 | ||
0b55a33e NC |
245 | 2014-03-04 Nick Clifton <nickc@redhat.com> |
246 | ||
247 | * Makefile.am (ALL_EMUL_EXTRA_BINARIES): Remove default-manifest. | |
248 | * Makefile.in: Regenerate. | |
249 | ||
1db37fe6 YG |
250 | 2014-02-27 Yuri Gribov <y.gribov@samsung.com> |
251 | ||
252 | * emultempl/armelf.em (OPTION_LONG_PLT): Define. | |
253 | (PARSE_AND_LIST_LONGOPTS): Add long-plt. | |
254 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
255 | (PARSE_AND_LIST_ARGS_CASES): Handle long-plt. | |
256 | * ld.texinfo: Document --long-plt. | |
257 | ||
db434ba0 AM |
258 | 2014-02-27 Alan Modra <amodra@gmail.com> |
259 | ||
260 | * emulparams/elf32ppcvxworks.sh: Source plt_unwind.sh and | |
261 | use ppc32elf.em. | |
262 | * emultempl/ppc32elf.em (ppc_after_open): Don't compile for | |
263 | vxworks. | |
264 | (LDEMUL_AFTER_OPEN): Don't set for vxworks. | |
265 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Exclude | |
266 | -secure-plt, -bss-plt and -sdata-got when vxworks. | |
267 | ||
5063daf7 NC |
268 | 2014-02-27 Nick Clifton <nickc@redhat.com> |
269 | ||
270 | * configure.in (all_emul_extra_binaries): New variable. Populated | |
271 | by invoking configure.tgt. | |
272 | (EMUL_EXTRA_BINARIES): New substitution. | |
273 | * configure: Regenerate. | |
274 | * configure.tgt (target_extra_binaries): New variable. Set to | |
275 | default-manifest.o for Cygwin and MinGW targets. | |
276 | * Makefile.am (EMUL_EXTRA_BINARIES): New variable. Initialised | |
277 | by the configure script. | |
278 | (ALL_EMUL_EXTRA_BINARIES): New variable. | |
279 | (default-manifest.o): New rule to build the default manifest. | |
280 | (ld_new_DEPENDENCIES): Add EMUL_EXTRA_BINARIES. | |
281 | (install-data-local): Add EMUL_EXTRA_BINARIES. | |
282 | * Makefile.in: Regenerate. | |
283 | * ld.texinfo: Document default manifest support. | |
284 | * emulparams/i386pe.sh (DEFAULT_MANIFEST): Define. | |
285 | * emulparams/i386pep.sh (DEFAULT_MANIFEST): Define. | |
286 | * emultempl/default-manifest.rc: New file. | |
287 | * scripttempl/pe.sc (R_RSRC): Include DEFAULT_MANIFEST, if defined. | |
288 | * scripttempl/pep.sc (R_RSRC): Likewise. | |
289 | ||
e3e37035 DM |
290 | 2014-02-26 Dan Mick <dan.mick@inktank.com> |
291 | ||
292 | PR ld/16569 | |
293 | * ldcref.c (cref_sort_array): Compare unmangled names unless | |
294 | demanglng has been requiested. | |
295 | (output_one_cref): Output unmangled name unless demangling has | |
296 | been requested. | |
297 | ||
0ff2b86e L |
298 | 2014-02-19 Igor Zamyatin <igor.zamyatin@intel.com> |
299 | H.J. Lu <hongjiu.lu@intel.com> | |
300 | ||
301 | * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): New. | |
302 | ||
7d4c687d AM |
303 | 2014-02-19 Alan Modra <amodra@gmail.com> |
304 | ||
305 | * emultempl/ppc64elf.em (params): Init new field. | |
306 | (ppc_create_output_section_statements): Set params.save_restore_funcs | |
307 | default. | |
308 | (PARSE_AND_LIST_*): Add support for --save-restore-funcs and | |
309 | --no-save-restore-funcs. | |
310 | ||
e7d1c40c AM |
311 | 2014-02-17 Alan Modra <amodra@gmail.com> |
312 | ||
313 | * emultemps/ppc64elf.em (params): New static struct replacing | |
314 | various other static vars. Adjust code throughout file. | |
315 | ||
668e22e5 AM |
316 | 2014-02-17 Alan Modra <amodra@gmail.com> |
317 | ||
318 | * emultempl/ppc32elf.em (ppc_after_open_output): Really enable | |
319 | ppc476 workaround for ld -r. | |
320 | ||
795bc6b3 AM |
321 | 2014-02-12 Alan Modra <amodra@gmail.com> |
322 | ||
323 | * emultempl/ppc32elf.em (pagesize): New static var. | |
324 | (ppc_after_open_output): Set params.pagesize_p2 from pagesize. | |
325 | (PARSE_AND_LIST_ARGS_CASES): Adjust to use pagesize. | |
326 | ||
7d0edd4b AP |
327 | 2014-02-11 Andrew Pinski <apinski@cavium.com> |
328 | ||
329 | * emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32. | |
330 | (ELF_INTERPRETER_NAME): Define. | |
331 | * emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define. | |
332 | ||
c1c69e83 AM |
333 | 2014-02-10 Alan Modra <amodra@gmail.com> |
334 | ||
335 | * po/ld.pot: Regenerate. | |
336 | ||
5446cbdf AM |
337 | 2014-02-03 Alan Modra <amodra@gmail.com> |
338 | ||
339 | * emultempl/ppc32elf.em (no_tls_get_addr_opt, emit_stub_syms) | |
340 | plt_style): Delete. Adjust all refs to instead use.. | |
341 | (params): ..this. New variable. | |
342 | (ppc_after_open_output): New function. Tweak params and pass to | |
343 | ppc_elf_link_params. | |
344 | (ppc_after_open): Adjust ppc_elf_select_plt_layout call. | |
345 | (ppc_before_allocation): Adjust ppc_elf_tls_setup call. Enable | |
346 | relaxation for ppc476 workaround. | |
347 | (PARSE_AND_LIST_*): Add --{no-,}ppc476-workaround support. | |
348 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define. | |
349 | ||
13075d04 SH |
350 | 2014-02-02 Sebastian Huber <sebastian.huber@embedded-brains.de> |
351 | ||
352 | * ld/ld.texinfo: Change ALIGN_WITH_INPUT documentation. | |
353 | * ld/ldlang.c (lang_size_sections_1): Add dotdelta | |
354 | variable which reflects the VMA change due to alignment | |
355 | requirements. Use dotdelta do change the LMA if | |
356 | ALIGN_WITH_INPUT is requested. | |
357 | ||
0a09fb4a HPN |
358 | 2014-02-01 Hans-Peter Nilsson <hp@bitrange.com> |
359 | ||
360 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in | |
361 | call to bfd_set_section_vma exposed by recent bfd_set_section_vma | |
362 | change. | |
363 | ||
78058a5e SL |
364 | 2014-01-30 Sandra Loosemore <sandra@codesourcery.com> |
365 | ||
366 | * Makefile.am (enios2elf.c, enios2linux.c): Update dependencies. | |
367 | * Makefile.in: Regenerated. | |
368 | * emulparams/nios2elf.sh (EXTRA_EM_FILE): Set. | |
369 | * emulparams/nios2linux.sh (EXTRA_EM_FILE): Set. | |
370 | * emultempl/nios2elf.em: New file. | |
371 | * gen-doc.texi (NIOSII): Set. | |
372 | * ld.texinfo (NIOSII): Set. | |
373 | ||
1ade0651 NC |
374 | 2014-01-28 Nick Clifton <nickc@redhat.com> |
375 | ||
376 | * Makefile.am: Remove obsolete MSP430 emulations. | |
377 | * configure.tgt: Likewise. | |
378 | * emulparams/msp430all.sh: Likewise. | |
379 | * Makefile.in: Regenerate. | |
380 | ||
d85e71fe L |
381 | 2014-01-24 H.J. Lu <hongjiu.lu@intel.com> |
382 | ||
383 | PR ld/16498 | |
384 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve | |
385 | orphaned TLS section handling. | |
386 | ||
d9d94ac8 AM |
387 | 2014-01-24 Alan Modra <amodra@gmail.com> |
388 | ||
389 | * ldlang.c (lang_output_section_find_by_flags): Be careful to | |
390 | test look->bfd_section->flags if available rather than | |
391 | look->flags. Separate SEC_THREAD_LOCAL handling from | |
392 | SEC_READONLY loop, and rewrite. | |
393 | ||
16e4ecc0 AM |
394 | 2014-01-22 Alan Modra <amodra@gmail.com> |
395 | ||
396 | * ldlang.c (asneeded_list_head, asneeded_list_tail): New vars. | |
397 | (lang_init): Initialise them. | |
398 | (lang_print_asneeded): New function. | |
399 | (lang_process): Call lang_print_asneeded. | |
400 | * ldlang.h (struct asneeded_minfo): New. | |
401 | (asneeded_list_tail): Declare. | |
402 | * ldmain.c (add_archive_element): Improve archive map heading. | |
403 | * ldmisc.c (minfo): Stash --as-needed info. | |
404 | ||
7dd9c6eb AM |
405 | 2014-01-22 Alan Modra <amodra@gmail.com> |
406 | ||
407 | * ld.h (struct map_symbol_def): Move to.. | |
408 | * ldlang.h: ..here. | |
409 | * ldlang.c (print_assignment): Don't set expld.assign_name to dot. | |
410 | ||
2edab91c AM |
411 | 2014-01-22 Alan Modra <amodra@gmail.com> |
412 | ||
413 | * ld.texinfo (Output Section Discarding): Mention assigning to dot | |
414 | as a way of keeping otherwise empty sections. | |
415 | * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0, | |
416 | is_dot_plus_0, is_align_conditional): New predicates. | |
417 | (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an | |
418 | output section, except for some special cases. | |
419 | * scripttempl/elfmicroblaze.sc: Use canonical form to align at | |
420 | end of .heap and .stack. | |
421 | ||
5a4f2336 MS |
422 | 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com> |
423 | ||
424 | * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define. | |
425 | ||
30feb358 MS |
426 | 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com> |
427 | ||
428 | * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define. | |
429 | ||
fa72205c AM |
430 | 2014-01-20 Alan Modra <amodra@gmail.com> |
431 | ||
432 | * ldlang.h (struct lang_definedness_hash_entry): Add by_object and | |
433 | by_script. Make iteration a single bit field. | |
434 | (lang_track_definedness, lang_symbol_definition_iteration): Delete. | |
435 | (lang_symbol_defined): Declare. | |
436 | * ldlang.c (lang_statement_iteration): Expand comment a little. | |
437 | (lang_init <lang_definedness_table>): Make it bigger. | |
438 | (lang_track_definedness, lang_symbol_definition): Delete. | |
439 | (lang_definedness_newfunc): Update. | |
440 | (lang_symbol_defined): New function. | |
441 | (lang_update_definedness): Create entries here. Do track whether | |
442 | script definition of symbol is valid, even when also defined in | |
443 | an object file. | |
444 | * ldexp.c (fold_name <DEFINED>): Update. | |
445 | (fold_name <NAME>): Allow self-assignment for absolute symbols | |
446 | defined in a linker script. | |
447 | ||
24ef1aa7 GM |
448 | 2014-01-20 Guy Martin <gmsoft@tuxicoman.be> |
449 | Alan Modra <amodra@gmail.com> | |
450 | ||
451 | * ldlang.h (lang_output_section_get): Define. | |
452 | * ldlang.c (lang_output_section_get): Likewise. | |
453 | (init_os): Set the output_section userdata to the output | |
454 | section statement. | |
455 | * emultempl/hppaelf.em: Use lang_output_section_get instead of | |
456 | lang_output_section_find where applicable. | |
457 | * emultempl/aarch64elf.em: Likewise. | |
458 | * emultempl/aix.em: Likewise. | |
459 | * emultempl/armelf.em: Likewise. | |
460 | * emultempl/m68hc1xelf.em: Likewise. | |
461 | * emultempl/metagelf.em: Likewise. | |
462 | * emultempl/mipself.em: Likewise. | |
463 | * emultempl/ppc64elf.em: Likewise. | |
464 | * emultempl/spuelf.em: Likewise. | |
465 | ||
7225345d AM |
466 | 2014-01-17 Alan Modra <amodra@gmail.com> |
467 | ||
468 | * genscripts.sh (COMPILE_IN): Don't set if already set. | |
469 | * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set | |
470 | COMPILE_IN=no. | |
471 | * emulparams/nds32elf16m.sh: Likewise. | |
472 | * emulparams/nds32elf_linux.sh: Likewise. | |
473 | * emultempl/aix.em: Test COMPILE_IN value is "yes". | |
474 | * emultempl/armcoff.em: Likewise. | |
475 | * emultempl/elf32.em: Likewise. | |
476 | * emultempl/generic.em: Likewise. | |
477 | * emultempl/gld960.em: Likewise. | |
478 | * emultempl/gld960c.em: Likewise. | |
479 | * emultempl/linux.em: Likewise. | |
480 | * emultempl/lnk960.em: Likewise. | |
481 | * emultempl/m68kcoff.em: Likewise. | |
482 | * emultempl/sunos.em: Likewise. | |
483 | * emultempl/ticoff.em: Likewise. | |
484 | ||
f6f6c679 L |
485 | 2014-01-16 H.J. Lu <hongjiu.lu@intel.com> |
486 | ||
487 | PR ld/16456 | |
488 | * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP | |
489 | suffix. | |
490 | * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64 | |
491 | for elf32_x86_64 emulation. | |
492 | * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64 | |
493 | for elf_i386 emulation. | |
494 | ||
6fcc66ab AM |
495 | 2014-01-16 Alan Modra <amodra@gmail.com> |
496 | ||
497 | * ld.h (fat_section_userdata_type, get_userdata): Move to.. | |
498 | * ldlang.h (input_section_userdata_type, get_userdata): ..here. | |
499 | * ldlang.c (init_map_userdata): Delete. Fold into.. | |
500 | (sort_def_symbol): ..here. Don't attach input section userdata | |
501 | to output sections or global bfd sections. | |
502 | (lang_map): Don't pre-allocate input section userdata. | |
503 | (init_os): Don't allocate userdata for output sections. | |
504 | (print_all_symbols): Update. | |
505 | ||
f9c316c4 L |
506 | 2014-01-15 H.J. Lu <hongjiu.lu@intel.com> |
507 | ||
508 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): | |
509 | Silence uninitialized warning on ehdr_start_save with older | |
510 | GCC. | |
511 | ||
4199e3b8 AM |
512 | 2014-01-15 Alan Modra <amodra@gmail.com> |
513 | ||
514 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define | |
515 | __ehdr_start before size_dynamic_sections and restore afterwards. | |
516 | ||
eec2f3ed AM |
517 | 2014-01-10 Alan Modra <amodra@gmail.com> |
518 | ||
519 | PR ld/14207 | |
520 | PR ld/16322 | |
521 | PR binutils/16323 | |
522 | * ldlang.c (lang_size_sections): Remove unneeded RELRO base | |
523 | adjust. Tidy comments. | |
524 | * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description. | |
525 | ||
d1e1519e HPN |
526 | 2014-01-10 Hans-Peter Nilsson <hp@axis.com> |
527 | ||
528 | * emulparams/crislinux.sh (COMMONPAGESIZE): Define. | |
529 | ||
43a8475c L |
530 | 2014-01-08 H.J. Lu <hongjiu.lu@intel.com> |
531 | ||
532 | PR ld/14207 | |
533 | PR ld/16322 | |
534 | PR binutils/16323 | |
535 | * ldlang.c (lang_size_sections): Properly align RELRO base. | |
536 | ||
221fd5d5 L |
537 | 2014-01-08 H.J. Lu <hongjiu.lu@intel.com> |
538 | ||
539 | * ldver.c (ldversion): Update copyright year to 2014. | |
540 | ||
5fb776a6 | 541 | For older changes see ChangeLog-2013 |
252b5132 | 542 | \f |
5fb776a6 | 543 | Copyright (C) 2014 Free Software Foundation, Inc. |
752937aa NC |
544 | |
545 | Copying and distribution of this file, with or without modification, | |
546 | are permitted in any medium without royalty provided the copyright | |
547 | notice and this notice are preserved. | |
548 | ||
252b5132 RH |
549 | Local Variables: |
550 | mode: change-log | |
551 | left-margin: 8 | |
552 | fill-column: 74 | |
553 | version-control: never | |
554 | End: |