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