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