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