Re-implement ia64-linux-nat.c::ia64_linux_xfer_partial
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
0ff2b86e
L
12014-02-19 Igor Zamyatin <igor.zamyatin@intel.com>
2 H.J. Lu <hongjiu.lu@intel.com>
3
4 * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): New.
5
7d4c687d
AM
62014-02-19 Alan Modra <amodra@gmail.com>
7
8 * emultempl/ppc64elf.em (params): Init new field.
9 (ppc_create_output_section_statements): Set params.save_restore_funcs
10 default.
11 (PARSE_AND_LIST_*): Add support for --save-restore-funcs and
12 --no-save-restore-funcs.
13
e7d1c40c
AM
142014-02-17 Alan Modra <amodra@gmail.com>
15
16 * emultemps/ppc64elf.em (params): New static struct replacing
17 various other static vars. Adjust code throughout file.
18
668e22e5
AM
192014-02-17 Alan Modra <amodra@gmail.com>
20
21 * emultempl/ppc32elf.em (ppc_after_open_output): Really enable
22 ppc476 workaround for ld -r.
23
795bc6b3
AM
242014-02-12 Alan Modra <amodra@gmail.com>
25
26 * emultempl/ppc32elf.em (pagesize): New static var.
27 (ppc_after_open_output): Set params.pagesize_p2 from pagesize.
28 (PARSE_AND_LIST_ARGS_CASES): Adjust to use pagesize.
29
7d0edd4b
AP
302014-02-11 Andrew Pinski <apinski@cavium.com>
31
32 * emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32.
33 (ELF_INTERPRETER_NAME): Define.
34 * emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define.
35
c1c69e83
AM
362014-02-10 Alan Modra <amodra@gmail.com>
37
38 * po/ld.pot: Regenerate.
39
5446cbdf
AM
402014-02-03 Alan Modra <amodra@gmail.com>
41
42 * emultempl/ppc32elf.em (no_tls_get_addr_opt, emit_stub_syms)
43 plt_style): Delete. Adjust all refs to instead use..
44 (params): ..this. New variable.
45 (ppc_after_open_output): New function. Tweak params and pass to
46 ppc_elf_link_params.
47 (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
48 (ppc_before_allocation): Adjust ppc_elf_tls_setup call. Enable
49 relaxation for ppc476 workaround.
50 (PARSE_AND_LIST_*): Add --{no-,}ppc476-workaround support.
51 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
52
13075d04
SH
532014-02-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
54
55 * ld/ld.texinfo: Change ALIGN_WITH_INPUT documentation.
56 * ld/ldlang.c (lang_size_sections_1): Add dotdelta
57 variable which reflects the VMA change due to alignment
58 requirements. Use dotdelta do change the LMA if
59 ALIGN_WITH_INPUT is requested.
60
0a09fb4a
HPN
612014-02-01 Hans-Peter Nilsson <hp@bitrange.com>
62
63 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in
64 call to bfd_set_section_vma exposed by recent bfd_set_section_vma
65 change.
66
78058a5e
SL
672014-01-30 Sandra Loosemore <sandra@codesourcery.com>
68
69 * Makefile.am (enios2elf.c, enios2linux.c): Update dependencies.
70 * Makefile.in: Regenerated.
71 * emulparams/nios2elf.sh (EXTRA_EM_FILE): Set.
72 * emulparams/nios2linux.sh (EXTRA_EM_FILE): Set.
73 * emultempl/nios2elf.em: New file.
74 * gen-doc.texi (NIOSII): Set.
75 * ld.texinfo (NIOSII): Set.
76
1ade0651
NC
772014-01-28 Nick Clifton <nickc@redhat.com>
78
79 * Makefile.am: Remove obsolete MSP430 emulations.
80 * configure.tgt: Likewise.
81 * emulparams/msp430all.sh: Likewise.
82 * Makefile.in: Regenerate.
83
d85e71fe
L
842014-01-24 H.J. Lu <hongjiu.lu@intel.com>
85
86 PR ld/16498
87 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
88 orphaned TLS section handling.
89
d9d94ac8
AM
902014-01-24 Alan Modra <amodra@gmail.com>
91
92 * ldlang.c (lang_output_section_find_by_flags): Be careful to
93 test look->bfd_section->flags if available rather than
94 look->flags. Separate SEC_THREAD_LOCAL handling from
95 SEC_READONLY loop, and rewrite.
96
16e4ecc0
AM
972014-01-22 Alan Modra <amodra@gmail.com>
98
99 * ldlang.c (asneeded_list_head, asneeded_list_tail): New vars.
100 (lang_init): Initialise them.
101 (lang_print_asneeded): New function.
102 (lang_process): Call lang_print_asneeded.
103 * ldlang.h (struct asneeded_minfo): New.
104 (asneeded_list_tail): Declare.
105 * ldmain.c (add_archive_element): Improve archive map heading.
106 * ldmisc.c (minfo): Stash --as-needed info.
107
7dd9c6eb
AM
1082014-01-22 Alan Modra <amodra@gmail.com>
109
110 * ld.h (struct map_symbol_def): Move to..
111 * ldlang.h: ..here.
112 * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
113
2edab91c
AM
1142014-01-22 Alan Modra <amodra@gmail.com>
115
116 * ld.texinfo (Output Section Discarding): Mention assigning to dot
117 as a way of keeping otherwise empty sections.
118 * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
119 is_dot_plus_0, is_align_conditional): New predicates.
120 (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
121 output section, except for some special cases.
122 * scripttempl/elfmicroblaze.sc: Use canonical form to align at
123 end of .heap and .stack.
124
5a4f2336
MS
1252014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
126
127 * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
128
30feb358
MS
1292014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
130
131 * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
132
fa72205c
AM
1332014-01-20 Alan Modra <amodra@gmail.com>
134
135 * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
136 by_script. Make iteration a single bit field.
137 (lang_track_definedness, lang_symbol_definition_iteration): Delete.
138 (lang_symbol_defined): Declare.
139 * ldlang.c (lang_statement_iteration): Expand comment a little.
140 (lang_init <lang_definedness_table>): Make it bigger.
141 (lang_track_definedness, lang_symbol_definition): Delete.
142 (lang_definedness_newfunc): Update.
143 (lang_symbol_defined): New function.
144 (lang_update_definedness): Create entries here. Do track whether
145 script definition of symbol is valid, even when also defined in
146 an object file.
147 * ldexp.c (fold_name <DEFINED>): Update.
148 (fold_name <NAME>): Allow self-assignment for absolute symbols
149 defined in a linker script.
150
24ef1aa7
GM
1512014-01-20 Guy Martin <gmsoft@tuxicoman.be>
152 Alan Modra <amodra@gmail.com>
153
154 * ldlang.h (lang_output_section_get): Define.
155 * ldlang.c (lang_output_section_get): Likewise.
156 (init_os): Set the output_section userdata to the output
157 section statement.
158 * emultempl/hppaelf.em: Use lang_output_section_get instead of
159 lang_output_section_find where applicable.
160 * emultempl/aarch64elf.em: Likewise.
161 * emultempl/aix.em: Likewise.
162 * emultempl/armelf.em: Likewise.
163 * emultempl/m68hc1xelf.em: Likewise.
164 * emultempl/metagelf.em: Likewise.
165 * emultempl/mipself.em: Likewise.
166 * emultempl/ppc64elf.em: Likewise.
167 * emultempl/spuelf.em: Likewise.
168
7225345d
AM
1692014-01-17 Alan Modra <amodra@gmail.com>
170
171 * genscripts.sh (COMPILE_IN): Don't set if already set.
172 * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
173 COMPILE_IN=no.
174 * emulparams/nds32elf16m.sh: Likewise.
175 * emulparams/nds32elf_linux.sh: Likewise.
176 * emultempl/aix.em: Test COMPILE_IN value is "yes".
177 * emultempl/armcoff.em: Likewise.
178 * emultempl/elf32.em: Likewise.
179 * emultempl/generic.em: Likewise.
180 * emultempl/gld960.em: Likewise.
181 * emultempl/gld960c.em: Likewise.
182 * emultempl/linux.em: Likewise.
183 * emultempl/lnk960.em: Likewise.
184 * emultempl/m68kcoff.em: Likewise.
185 * emultempl/sunos.em: Likewise.
186 * emultempl/ticoff.em: Likewise.
187
f6f6c679
L
1882014-01-16 H.J. Lu <hongjiu.lu@intel.com>
189
190 PR ld/16456
191 * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
192 suffix.
193 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
194 for elf32_x86_64 emulation.
195 * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
196 for elf_i386 emulation.
197
6fcc66ab
AM
1982014-01-16 Alan Modra <amodra@gmail.com>
199
200 * ld.h (fat_section_userdata_type, get_userdata): Move to..
201 * ldlang.h (input_section_userdata_type, get_userdata): ..here.
202 * ldlang.c (init_map_userdata): Delete. Fold into..
203 (sort_def_symbol): ..here. Don't attach input section userdata
204 to output sections or global bfd sections.
205 (lang_map): Don't pre-allocate input section userdata.
206 (init_os): Don't allocate userdata for output sections.
207 (print_all_symbols): Update.
208
f9c316c4
L
2092014-01-15 H.J. Lu <hongjiu.lu@intel.com>
210
211 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
212 Silence uninitialized warning on ehdr_start_save with older
213 GCC.
214
4199e3b8
AM
2152014-01-15 Alan Modra <amodra@gmail.com>
216
217 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
218 __ehdr_start before size_dynamic_sections and restore afterwards.
219
eec2f3ed
AM
2202014-01-10 Alan Modra <amodra@gmail.com>
221
222 PR ld/14207
223 PR ld/16322
224 PR binutils/16323
225 * ldlang.c (lang_size_sections): Remove unneeded RELRO base
226 adjust. Tidy comments.
227 * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
228
d1e1519e
HPN
2292014-01-10 Hans-Peter Nilsson <hp@axis.com>
230
231 * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
232
43a8475c
L
2332014-01-08 H.J. Lu <hongjiu.lu@intel.com>
234
235 PR ld/14207
236 PR ld/16322
237 PR binutils/16323
238 * ldlang.c (lang_size_sections): Properly align RELRO base.
239
221fd5d5
L
2402014-01-08 H.J. Lu <hongjiu.lu@intel.com>
241
242 * ldver.c (ldversion): Update copyright year to 2014.
243
5fb776a6 244For older changes see ChangeLog-2013
252b5132 245\f
5fb776a6 246Copyright (C) 2014 Free Software Foundation, Inc.
752937aa
NC
247
248Copying and distribution of this file, with or without modification,
249are permitted in any medium without royalty provided the copyright
250notice and this notice are preserved.
251
252b5132
RH
252Local Variables:
253mode: change-log
254left-margin: 8
255fill-column: 74
256version-control: never
257End:
This page took 0.722967 seconds and 4 git commands to generate.