[AArch64] Fixup ld-aarch64/eh-frame.d expected PC range.
[deliverable/binutils-gdb.git] / ld / ChangeLog
... / ...
CommitLineData
12014-03-27 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR ld/16756
4 * ldmain.c (symbol_warning): New function.
5 (warning_callback): Use it. Scan all input files for a reference
6 to SYMBOL.
7
82014-03-21 Christopher Faylor <me.cygwin2013@cgf.cx>
9
10 * ld.texinfo: Document change in handling of --enable-auto-image-base.
11 * emultempl/pe.em (pe_auto_image_base): Set to default base.
12 (gld_${EMULATION_NAME}_list_options): Change usage message to reflect
13 optional --enable-auto-image-base argument.
14 (gld${EMULATION_NAME}_handle_option): Handle optional
15 --enable-auto-image-base argument.
16 (compute_dll_image_base): Eliminate constant. Use pe_auto_image_base.
17
182014-03-19 Nick Clifton <nickc@redhat.com>
19
20 * Makefile.am (default-manifest.o): Use WINDRES_FOR_TARGET.
21 * Makefile.in: Regenerate.
22 * emultempl/default-manifest.rc: Fix typo.
23 * scripttempl/pe.sc (R_RSRC): Fix default-manifest exclusion.
24 (.rsrc): Add SUBALIGN(4). Remove SORT.
25 * scripttempl/pep.sc: Likewise.
26
272014-03-17 Christopher Faylor <me.cygwin2014@cgf.cx>
28
29 * Makefile.am: Use host version of windres.
30 * Makefile.in: Regenerate.
31
322014-03-14 Romain Geissler <romain.geissler@amadeus.com>
33 Alan Modra <amodra@gmail.com>
34
35 * ldlang.h (full_name_provided): New input flag.
36 * ldlang.c (new_afile): Don't use lang_input_file_is_search_file_enum
37 for -l:namespec. Instead use lang_input_file_is_l_enum with
38 full_name_provided flag.
39 * ldlfile.c (ldfile_open_file_search): Don't complete lib name if
40 full_name_provided flag is set.
41 * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
42 Handle full_name_provided libraries. Tidy EXTRA_SHLIB_EXTENSION
43 support. Set DT_NEEDED for -l:namespec as namespec.
44 * emultempl/aix.em (ppc_after_open_output): Handle full_name_provided.
45 * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive):
46 Don't handle full_name_provided libraries.
47 * emultempl/pe.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
48 * emultempl/pep.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
49 * emultempl/vms.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
50
512014-03-12 Alan Modra <amodra@gmail.com>
52
53 * Makefile.in: Regenerate.
54
552014-03-05 Alan Modra <amodra@gmail.com>
56
57 Update copyright years.
58
592014-03-04 Nick Clifton <nickc@redhat.com>
60
61 * Makefile.am (ALL_EMUL_EXTRA_BINARIES): Remove default-manifest.
62 * Makefile.in: Regenerate.
63
642014-02-27 Yuri Gribov <y.gribov@samsung.com>
65
66 * emultempl/armelf.em (OPTION_LONG_PLT): Define.
67 (PARSE_AND_LIST_LONGOPTS): Add long-plt.
68 (PARSE_AND_LIST_OPTIONS): Likewise.
69 (PARSE_AND_LIST_ARGS_CASES): Handle long-plt.
70 * ld.texinfo: Document --long-plt.
71
722014-02-27 Alan Modra <amodra@gmail.com>
73
74 * emulparams/elf32ppcvxworks.sh: Source plt_unwind.sh and
75 use ppc32elf.em.
76 * emultempl/ppc32elf.em (ppc_after_open): Don't compile for
77 vxworks.
78 (LDEMUL_AFTER_OPEN): Don't set for vxworks.
79 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Exclude
80 -secure-plt, -bss-plt and -sdata-got when vxworks.
81
822014-02-27 Nick Clifton <nickc@redhat.com>
83
84 * configure.in (all_emul_extra_binaries): New variable. Populated
85 by invoking configure.tgt.
86 (EMUL_EXTRA_BINARIES): New substitution.
87 * configure: Regenerate.
88 * configure.tgt (target_extra_binaries): New variable. Set to
89 default-manifest.o for Cygwin and MinGW targets.
90 * Makefile.am (EMUL_EXTRA_BINARIES): New variable. Initialised
91 by the configure script.
92 (ALL_EMUL_EXTRA_BINARIES): New variable.
93 (default-manifest.o): New rule to build the default manifest.
94 (ld_new_DEPENDENCIES): Add EMUL_EXTRA_BINARIES.
95 (install-data-local): Add EMUL_EXTRA_BINARIES.
96 * Makefile.in: Regenerate.
97 * ld.texinfo: Document default manifest support.
98 * emulparams/i386pe.sh (DEFAULT_MANIFEST): Define.
99 * emulparams/i386pep.sh (DEFAULT_MANIFEST): Define.
100 * emultempl/default-manifest.rc: New file.
101 * scripttempl/pe.sc (R_RSRC): Include DEFAULT_MANIFEST, if defined.
102 * scripttempl/pep.sc (R_RSRC): Likewise.
103
1042014-02-26 Dan Mick <dan.mick@inktank.com>
105
106 PR ld/16569
107 * ldcref.c (cref_sort_array): Compare unmangled names unless
108 demanglng has been requiested.
109 (output_one_cref): Output unmangled name unless demangling has
110 been requested.
111
1122014-02-19 Igor Zamyatin <igor.zamyatin@intel.com>
113 H.J. Lu <hongjiu.lu@intel.com>
114
115 * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): New.
116
1172014-02-19 Alan Modra <amodra@gmail.com>
118
119 * emultempl/ppc64elf.em (params): Init new field.
120 (ppc_create_output_section_statements): Set params.save_restore_funcs
121 default.
122 (PARSE_AND_LIST_*): Add support for --save-restore-funcs and
123 --no-save-restore-funcs.
124
1252014-02-17 Alan Modra <amodra@gmail.com>
126
127 * emultemps/ppc64elf.em (params): New static struct replacing
128 various other static vars. Adjust code throughout file.
129
1302014-02-17 Alan Modra <amodra@gmail.com>
131
132 * emultempl/ppc32elf.em (ppc_after_open_output): Really enable
133 ppc476 workaround for ld -r.
134
1352014-02-12 Alan Modra <amodra@gmail.com>
136
137 * emultempl/ppc32elf.em (pagesize): New static var.
138 (ppc_after_open_output): Set params.pagesize_p2 from pagesize.
139 (PARSE_AND_LIST_ARGS_CASES): Adjust to use pagesize.
140
1412014-02-11 Andrew Pinski <apinski@cavium.com>
142
143 * emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32.
144 (ELF_INTERPRETER_NAME): Define.
145 * emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define.
146
1472014-02-10 Alan Modra <amodra@gmail.com>
148
149 * po/ld.pot: Regenerate.
150
1512014-02-03 Alan Modra <amodra@gmail.com>
152
153 * emultempl/ppc32elf.em (no_tls_get_addr_opt, emit_stub_syms)
154 plt_style): Delete. Adjust all refs to instead use..
155 (params): ..this. New variable.
156 (ppc_after_open_output): New function. Tweak params and pass to
157 ppc_elf_link_params.
158 (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
159 (ppc_before_allocation): Adjust ppc_elf_tls_setup call. Enable
160 relaxation for ppc476 workaround.
161 (PARSE_AND_LIST_*): Add --{no-,}ppc476-workaround support.
162 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
163
1642014-02-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
165
166 * ld/ld.texinfo: Change ALIGN_WITH_INPUT documentation.
167 * ld/ldlang.c (lang_size_sections_1): Add dotdelta
168 variable which reflects the VMA change due to alignment
169 requirements. Use dotdelta do change the LMA if
170 ALIGN_WITH_INPUT is requested.
171
1722014-02-01 Hans-Peter Nilsson <hp@bitrange.com>
173
174 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in
175 call to bfd_set_section_vma exposed by recent bfd_set_section_vma
176 change.
177
1782014-01-30 Sandra Loosemore <sandra@codesourcery.com>
179
180 * Makefile.am (enios2elf.c, enios2linux.c): Update dependencies.
181 * Makefile.in: Regenerated.
182 * emulparams/nios2elf.sh (EXTRA_EM_FILE): Set.
183 * emulparams/nios2linux.sh (EXTRA_EM_FILE): Set.
184 * emultempl/nios2elf.em: New file.
185 * gen-doc.texi (NIOSII): Set.
186 * ld.texinfo (NIOSII): Set.
187
1882014-01-28 Nick Clifton <nickc@redhat.com>
189
190 * Makefile.am: Remove obsolete MSP430 emulations.
191 * configure.tgt: Likewise.
192 * emulparams/msp430all.sh: Likewise.
193 * Makefile.in: Regenerate.
194
1952014-01-24 H.J. Lu <hongjiu.lu@intel.com>
196
197 PR ld/16498
198 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
199 orphaned TLS section handling.
200
2012014-01-24 Alan Modra <amodra@gmail.com>
202
203 * ldlang.c (lang_output_section_find_by_flags): Be careful to
204 test look->bfd_section->flags if available rather than
205 look->flags. Separate SEC_THREAD_LOCAL handling from
206 SEC_READONLY loop, and rewrite.
207
2082014-01-22 Alan Modra <amodra@gmail.com>
209
210 * ldlang.c (asneeded_list_head, asneeded_list_tail): New vars.
211 (lang_init): Initialise them.
212 (lang_print_asneeded): New function.
213 (lang_process): Call lang_print_asneeded.
214 * ldlang.h (struct asneeded_minfo): New.
215 (asneeded_list_tail): Declare.
216 * ldmain.c (add_archive_element): Improve archive map heading.
217 * ldmisc.c (minfo): Stash --as-needed info.
218
2192014-01-22 Alan Modra <amodra@gmail.com>
220
221 * ld.h (struct map_symbol_def): Move to..
222 * ldlang.h: ..here.
223 * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
224
2252014-01-22 Alan Modra <amodra@gmail.com>
226
227 * ld.texinfo (Output Section Discarding): Mention assigning to dot
228 as a way of keeping otherwise empty sections.
229 * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
230 is_dot_plus_0, is_align_conditional): New predicates.
231 (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
232 output section, except for some special cases.
233 * scripttempl/elfmicroblaze.sc: Use canonical form to align at
234 end of .heap and .stack.
235
2362014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
237
238 * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
239
2402014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
241
242 * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
243
2442014-01-20 Alan Modra <amodra@gmail.com>
245
246 * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
247 by_script. Make iteration a single bit field.
248 (lang_track_definedness, lang_symbol_definition_iteration): Delete.
249 (lang_symbol_defined): Declare.
250 * ldlang.c (lang_statement_iteration): Expand comment a little.
251 (lang_init <lang_definedness_table>): Make it bigger.
252 (lang_track_definedness, lang_symbol_definition): Delete.
253 (lang_definedness_newfunc): Update.
254 (lang_symbol_defined): New function.
255 (lang_update_definedness): Create entries here. Do track whether
256 script definition of symbol is valid, even when also defined in
257 an object file.
258 * ldexp.c (fold_name <DEFINED>): Update.
259 (fold_name <NAME>): Allow self-assignment for absolute symbols
260 defined in a linker script.
261
2622014-01-20 Guy Martin <gmsoft@tuxicoman.be>
263 Alan Modra <amodra@gmail.com>
264
265 * ldlang.h (lang_output_section_get): Define.
266 * ldlang.c (lang_output_section_get): Likewise.
267 (init_os): Set the output_section userdata to the output
268 section statement.
269 * emultempl/hppaelf.em: Use lang_output_section_get instead of
270 lang_output_section_find where applicable.
271 * emultempl/aarch64elf.em: Likewise.
272 * emultempl/aix.em: Likewise.
273 * emultempl/armelf.em: Likewise.
274 * emultempl/m68hc1xelf.em: Likewise.
275 * emultempl/metagelf.em: Likewise.
276 * emultempl/mipself.em: Likewise.
277 * emultempl/ppc64elf.em: Likewise.
278 * emultempl/spuelf.em: Likewise.
279
2802014-01-17 Alan Modra <amodra@gmail.com>
281
282 * genscripts.sh (COMPILE_IN): Don't set if already set.
283 * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
284 COMPILE_IN=no.
285 * emulparams/nds32elf16m.sh: Likewise.
286 * emulparams/nds32elf_linux.sh: Likewise.
287 * emultempl/aix.em: Test COMPILE_IN value is "yes".
288 * emultempl/armcoff.em: Likewise.
289 * emultempl/elf32.em: Likewise.
290 * emultempl/generic.em: Likewise.
291 * emultempl/gld960.em: Likewise.
292 * emultempl/gld960c.em: Likewise.
293 * emultempl/linux.em: Likewise.
294 * emultempl/lnk960.em: Likewise.
295 * emultempl/m68kcoff.em: Likewise.
296 * emultempl/sunos.em: Likewise.
297 * emultempl/ticoff.em: Likewise.
298
2992014-01-16 H.J. Lu <hongjiu.lu@intel.com>
300
301 PR ld/16456
302 * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
303 suffix.
304 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
305 for elf32_x86_64 emulation.
306 * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
307 for elf_i386 emulation.
308
3092014-01-16 Alan Modra <amodra@gmail.com>
310
311 * ld.h (fat_section_userdata_type, get_userdata): Move to..
312 * ldlang.h (input_section_userdata_type, get_userdata): ..here.
313 * ldlang.c (init_map_userdata): Delete. Fold into..
314 (sort_def_symbol): ..here. Don't attach input section userdata
315 to output sections or global bfd sections.
316 (lang_map): Don't pre-allocate input section userdata.
317 (init_os): Don't allocate userdata for output sections.
318 (print_all_symbols): Update.
319
3202014-01-15 H.J. Lu <hongjiu.lu@intel.com>
321
322 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
323 Silence uninitialized warning on ehdr_start_save with older
324 GCC.
325
3262014-01-15 Alan Modra <amodra@gmail.com>
327
328 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
329 __ehdr_start before size_dynamic_sections and restore afterwards.
330
3312014-01-10 Alan Modra <amodra@gmail.com>
332
333 PR ld/14207
334 PR ld/16322
335 PR binutils/16323
336 * ldlang.c (lang_size_sections): Remove unneeded RELRO base
337 adjust. Tidy comments.
338 * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
339
3402014-01-10 Hans-Peter Nilsson <hp@axis.com>
341
342 * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
343
3442014-01-08 H.J. Lu <hongjiu.lu@intel.com>
345
346 PR ld/14207
347 PR ld/16322
348 PR binutils/16323
349 * ldlang.c (lang_size_sections): Properly align RELRO base.
350
3512014-01-08 H.J. Lu <hongjiu.lu@intel.com>
352
353 * ldver.c (ldversion): Update copyright year to 2014.
354
355For older changes see ChangeLog-2013
356\f
357Copyright (C) 2014 Free Software Foundation, Inc.
358
359Copying and distribution of this file, with or without modification,
360are permitted in any medium without royalty provided the copyright
361notice and this notice are preserved.
362
363Local Variables:
364mode: change-log
365left-margin: 8
366fill-column: 74
367version-control: never
368End:
This page took 0.04235 seconds and 4 git commands to generate.