]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
Fixes compiling peXXigen under MAC OS/X where the wcsncasecmp function is not available.
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
cb072816
SKS
12015-02-24 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2
3 * scripttempl/avr.sc: Add new user_signatures region. Define and
4 use symbols for all region lengths.
5 * scripttempl/avrtiny.sc: Define and use symbols for all region
6 lengths.
7
5518c738
YS
82015-01-21 Yoshinori Sato <ysato@users.sourceforge.jp>
9
10 * Makefile.am: (ALL_EMULATION_SOURCES): Add new emulations.
11 * Makefile.in: Regenerate.
12 * configure.tgt: Add h8300-*-linux
13 * emulparams/h8300elf_linux.sh: Add new emulation.
14 * emulparams/h8300helf_linux.sh: Likewise.
15 * emulparams/h8300self_linux.sh: Likewise.
16 * emulparams/h8300sxelf_linux.sh: Likewise.
17
f971c12f
NC
182015-02-23 Nick Clifton <nickc@redhat.com>
19
20 * lexsup.c (parse_args): Produce a more reasonable error message
21 when -ixxx or -rxxx is the last option on the linker command line.
22
f58926a6
L
232015-02-14 H.J. Lu <hongjiu.lu@intel.com>
24
25 PR ld/17973
26 * testplug2.c (allsymbolsread_silent): New.
27 (set_register_hook): Handle allsymbolsreadsilent.
28 (onall_symbols_read): Skip a message if allsymbolsread_silent is
29 TRUE.
30
ce875075
AM
312015-02-14 Alan Modra <amodra@gmail.com>
32
33 PR ld/17973
34 * ldlang.h (struct lang_input_statement_flags): Add lto_output.
35 * ldlang.c (lang_process): Don't set loading_lto_outputs.
36 * ldfile.c (ldfile_try_open_bfd): Transfer entry flags.lto_output
37 to bfd.
38 * plugin.c (add_input_file, add_input_library): Set flags.lto_output.
39
b0619670
L
402015-02-13 H.J. Lu <hongjiu.lu@intel.com>
41
42 * NEWS: Mention support for LLVM plugin.
43
66bc8739
AM
442015-02-13 Alan Modra <amodra@gmail.com>
45
46 * ld.texinfo (Options <--defsym>): Correct cross reference.
47
88b9e2eb
L
482015-02-11 H.J. Lu <hongjiu.lu@intel.com>
49
50 * lexsup.c (ld_options): Add --[no-]map-whole-files for gold
51 option compatibility.
52
45e81354
L
532015-02-11 H.J. Lu <hongjiu.lu@intel.com>
54
55 * plugin.c (message): Output "warning:" for LDPL_WARNING. Output
56 "error:" for LDPL_FATAL and LDPL_ERROR.
57 * testplug2.c (parse_option): Handle fatal, error and warning.
58
e3001fd9
L
592015-02-11 H.J. Lu <hongjiu.lu@intel.com>
60
61 * testplug2.c (dump_tv_tag): Removed.
62 (onall_symbols_read): Return LDPS_ERR if the file descriptor isn't
63 closed.
64 * testplug3.c (dump_tv_tag): Removed.
65 (onclaim_file): Fix typo.
66
7275e869
L
672015-02-11 H.J. Lu <hongjiu.lu@intel.com>
68
69 PR ld/17878
70 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug2.la and
71 libldtestplug3.la.
72 (libldtestplug2_la_SOURCES): New.
73 (libldtestplug2_la_CFLAGS): Likewise.
74 (libldtestplug2_la_LDFLAGS): Likewise.
75 (libldtestplug3_la_SOURCES): New.
76 (libldtestplug3_la_CFLAGS): Likewise.
77 (libldtestplug3_la_LDFLAGS): Likewise.
78 * Makefile.in: Regenerated.
79 * testplug2.c: New file.
80 * testplug3.c: Likewise.
81
b9dc5a87
L
822015-02-11 H.J. Lu <hongjiu.lu@intel.com>
83
84 PR ld/17878
85 * plugin.c: Include ../bfd/plugin.h.
86 (plugin_get_ir_dummy_bfd): Call bfd_create with
87 link_info.output_bfd instead of srctemplate. Copy BFD info
88 from srctemplate only if it doesn't use BFD plugin target
89 vector.
90 (plugin_load_plugins): Call register_ld_plugin_object_p with
91 (plugin_object_p)
92 (plugin_maybe_claim): Renamed to ...
93 (plugin_object_p): This. Return dummy BFD target vector if
94 input is calimed by plugin library, otherwise return NULL.
95 Update plugin_format and plugin_dummy_bfd.
96 (plugin_maybe_claim): New. Use plugin_object_p.
97
d319a098
L
982015-02-10 H.J. Lu <hongjiu.lu@intel.com>
99
100 * plugin.c (plugin_maybe_claim): Initialize use_mmap.
101
38604796
L
1022015-02-10 H.J. Lu <hongjiu.lu@intel.com>
103
104 * plugin.c (plugin_input_file_t): Add use_mmap.
105 (plugin_pagesize): New.
106 (get_view): Use plugin_pagesize. Set use_mmap if mmap is used.
107 (plugin_load_plugins): Initialize plugin_pagesize.
108 (plugin_maybe_claim): Unmap the buffer if plugin didn't claim the
109 file.
110
fe905789
L
1112015-02-10 H.J. Lu <hongjiu.lu@intel.com>
112
113 * plugin.c (get_view): Align offset passed to mmap.
114
1d5b29cf
L
1152015-02-08 H.J. Lu <hongjiu.lu@intel.com>
116
117 * ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format
118 if plugin isn't active or there is no thing more to claim.
119
e13419c4
L
1202015-02-08 H.J. Lu <hongjiu.lu@intel.com>
121
122 * plugin.c (plugin_maybe_claim): Check format against bfd_object
123 directly.
124
93843894
L
1252015-02-07 H.J. Lu <hongjiu.lu@intel.com>
126
127 * plugin.c (plugin_maybe_claim): Replace entry->the_bfd with
128 ibfd.
129
35a1e5f3
L
1302015-02-07 H.J. Lu <hongjiu.lu@intel.com>
131
132 * plugin.c: Include "libbfd.h".
133 (plugin_strdup): New.
134 (plugin_maybe_claim): Remove the argument of pointer to struct
135 ld_plugin_input_file. Open and handle input entry.
136 * plugin.h (plugin_maybe_claim): Updated.
137 * ldfile.c (ldfile_try_open_bfd): Call plugin_maybe_claim directly
138 without passing a pointer to struct ld_plugin_input_file.
139 * ldmain.c: Don't include "libbfd.h".
140 (add_archive_element): Call plugin_maybe_claim directly without
141 passing a pointer to struct ld_plugin_input_file.
142
8dfef1bd
L
1432015-02-06 H.J. Lu <hongjiu.lu@intel.com>
144
145 * ld.texinfo: Document -z text, -z notext and -z textoff.
146 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add
147 -z text, -z notext and -z textoff.
148
2aec968d
L
1492015-02-06 H.J. Lu <hongjiu.lu@intel.com>
150
151 * configure.ac: Add AC_FUNC_MMAP.
152 * config.in: Regenerated.
153 * configure: Likewise.
154 * plugin.c: Include <sys/mman.h>.
155 (MAP_FAILED): New. Defined if not defined.
156 (PROT_READ): Likewise.
157 (MAP_PRIVATE): Likewise.
158 (view_buffer_t): New.
159 (plugin_input_file_t): Add view_buffer.
160 (get_view): Try mmap and cache the view buffer.
161 (plugin_maybe_claim): Initialize view_buffer.
162
119d62ff
L
1632015-02-05 H.J. Lu <hongjiu.lu@intel.com>
164
165 * plugin.c (release_input_file): Set fd to -1 after closing it.
166 (plugin_maybe_claim): Close fd only if fd != -1.
167
f4b78d18
L
1682015-02-05 H.J. Lu <hongjiu.lu@intel.com>
169
170 PR ld/17878
171 * plugin.c: Include <errno.h>.
172 (errno): New. Declare if needed.
173 (plugin_input_file_t): New.
174 (get_input_file): Implemented.
175 (get_view): Likewise.
176 (release_input_file): Likewise.
177 (add_symbols): Updated.
178 (get_symbols): Likewise.
179 (plugin_maybe_claim): Allocate a plugin_input_file_t. Close fd
180 only for a bfd_object input.
181
6c2573b7
AM
1822015-02-02 Alan Modra <amodra@gmail.com>
183
184 * emultempl/ppc64elf.em (toc_section_name): New var.
185 (ppc_after_open): Set it.
186 (ppc_before_allocation): Use it.
187 (gld${EMULATION_NAME}_after_allocation): Here too.
188
716db898
L
1892015-01-29 H.J. Lu <hongjiu.lu@intel.com>
190
191 * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p()
192 with link_info.lto_plugin_active.
193 * ldlang.c (lang_process): Likewise.
194 * ldmain.c (add_archive_element): Likewise.
195 * plugin.c (plugin_active_plugins_p): Removed.
196 * plugin.h (plugin_active_plugins_p): Likewise.
197
37a3056a
L
1982015-01-28 H.J. Lu <hongjiu.lu@intel.com>
199
200 * plugin.h (plugin_get_ir_dummy_bfd): Removed. Move comments to
201 ...
202 * plugin.c (plugin_get_ir_dummy_bfd): Here. Make it static.
203
15f7a26b
L
2042015-01-28 H.J. Lu <hongjiu.lu@intel.com>
205
206 PR ld/17878
207 * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW.
208 (get_view): New function.
209 (set_tv_header): Handle LDPT_GET_VIEW.
210 * testplug.c (tag_names): Add LDPT_GET_VIEW.
211 (tv_get_view): New.
212 (dump_tv_tag): Handle LDPT_GET_VIEW.
213 (parse_tv_tag): Likewise.
214
dbd1e97e
AM
2152015-01-28 Alan Modra <amodra@gmail.com>
216
217 * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define.
218 * emultempl/ppc64elf.em (params): Init new field.
219 (ppc_after_open): New function.
220 (LDEMUL_AFTER_OPEN): Define.
221 * ldlang.c (lang_final): Whitespace fix.
222
3f8107ab
AM
2232015-01-28 James Bowman <james.bowman@ftdichip.com>
224
225 * Makefile.am: Add FT32 files.
226 * configure.tgt: Handle FT32 target.
227 * emulparams/elf32ft32.sh: New file.
228 * scripttempl/ft32.sc: New file.
229 * Makefile.in: Regenerate.
230
cc9ad334
SKS
2312015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
232
233 PR 4643
234 * ldexp.c (fold_name): Fold LENGTH only after
235 lang_first_phase_enum.
236 * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH
237 rightaway.
238 * ldlang.h (struct memory_region_struct): Add origin_exp and
239 length_exp fields.
240 * ldlang.c (lang_do_memory_regions): New.
241 (lang_memory_region_lookup): Initialize origin_exp and
242 length_exp fields.
243 (lang_process): Call lang_do_memory_regions.
244
c05b575a
AB
2452015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
246
247 * ldlang.c (print_assignment): Only evaluate the expression for a
248 PROVIDE'd assignment when the destination is being defined.
249 Display a special message for PROVIDE'd symbols that are not being
250 provided.
251
5ad18f16
AM
2522015-01-20 Alan Modra <amodra@gmail.com>
253
254 * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of..
255 (OTHER_BSS_SYMBOLS): ..this.
256 (OTHER_PLT_RELOC_SECTIONS): Don't define.
257 (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss.
258 (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to..
259 (OTHER_RELRO_SECTIONS_2): ..here.
260 * scripttempl/elf.sc: Move SBSS too when DATA_SDATA.
261
23283c1b
AM
2622015-01-20 Alan Modra <amodra@gmail.com>
263
264 * emulparams/elf64ppc.sh (BSS_PLT): Don't define.
265 (OTHER_READWRITE_SECTIONS): Move .branch_lt to..
266 (OTHER_RELRO_SECTIONS_2): ..here.
267 (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT,
268 PLT_BEFORE_GOT): Define.
269 * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/
270 PLT_BEFORE_GOT combination.
271 (DATA_GOT, SDATA_GOT): Don't define if either is already defined.
272
3e2b0f31
AM
2732015-01-20 Alan Modra <amodra@gmail.com>
274
275 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to..
276 (OTHER_RELRO_SECTIONS_2): ..here, new define.
277 * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2.
278
c4621b33
AM
2792015-01-19 Alan Modra <amodra@gmail.com>
280
3e2aa5bb 281 PR ld/17615
c4621b33
AM
282 * ldlang.c (lang_process): Run lang_common before lang_gc_sections.
283
52db4ec2
JW
2842015-01-14 Jiong Wang <jiong.wang@arm.com>
285
286 * ld-arm/elf32-reject.s: New testcase.
287 * ld-arm/elf32-reject.d: Likewise.
288 * ld-arm/elf32-reject-pie.s: Likewise.
289 * ld-arm/elf32-reject-pie.d: Likewise.
290 * ld-arm/arm-elf.exp: Run new testcases.
291 * ld-arm/ifunc-7.s: Delete f2/f4 test items.
292 * ld-arm/ifunc-7.rd: Likewise.
293 * ld-arm/ifunc-7.gd: Likewise.
294 * ld-arm/ifunc-7.dd: Likewise.
295 * ld-arm/ifunc-8.s: Likewise.
296 * ld-arm/ifunc-8.rd: Likewise.
297 * ld-arm/ifunc-8.gd: Likewise.
298 * ld-arm/ifunc-8.dd: Likewise.
299
efd321f9
AM
3002015-01-01 Alan Modra <amodra@gmail.com>
301
302 * ldver.c (ldversion): Just print current year.
303
b90efa5b 3042015-01-01 Alan Modra <amodra@gmail.com>
ca0694ad 305
b90efa5b 306 Update year range in copyright notice of all files.
ca0694ad 307
b90efa5b 308For older changes see ChangeLog-2014
252b5132 309\f
b90efa5b 310Copyright (C) 2015 Free Software Foundation, Inc.
752937aa
NC
311
312Copying and distribution of this file, with or without modification,
313are permitted in any medium without royalty provided the copyright
314notice and this notice are preserved.
315
252b5132
RH
316Local Variables:
317mode: change-log
318left-margin: 8
319fill-column: 74
320version-control: never
321End: