ld/ARM: Increase maximum page size to 64kB
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
7572ca89
WN
12014-07-08 Will Newton <will.newton@linaro.org>
2
3 * emulparams/armelf_linux.sh (TEXT_START_ADDR): Increase
4 alignment to 64kB boundary.
5
1110793a
AM
62014-07-04 Alan Modra <amodra@gmail.com>
7
8 * configure.ac: Update "configure.in" comments.
9 * configure: Regenerate.
10
35eafcc7
AM
112014-07-04 Alan Modra <amodra@gmail.com>
12
13 * configure.ac: Rename from configure.in.
14 * Makefile.in: Regenerate.
15 * config.in: Regenerate.
16
2e98a7bd
AM
172014-07-04 Alan Modra <amodra@gmail.com>
18
19 * configure.in: Include bfd/version.m4.
20 (AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
21 (BFD_VERSION): Delete.
22 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
23 * configure: Regenerate.
24 * Makefile.in: Regenerate.
25
d215621e
AM
262014-07-03 Alan Modra <amodra@gmail.com>
27
28 PR 17068
29 * ldlang.c (load_symbols): Always check flags.reload.
30 (open_input_bfds): Always reload --as-needed shared libraries,
31 not just when rescanning.
32 * ldlang.h (struct lang_input_statement_flags): Update reload comment.
33 * plugin.c (plugin_should_reload): Assume shared library arg.
34 * plugin.h (plugin_should_reload): Update comment.
35
7341d5e2
AM
362014-07-01 Alan Modra <amodra@gmail.com>
37
38 * emultempl/ppc64elf.em (stub_added): Delete.
39 (gld${EMULATION_NAME}_finish): Call ppc64_elf_build_stubs even when
40 none of the usual stubs have been added. Only change entry_section
41 for ELFv1.
42
2dc0e7b4
AM
432014-07-01 Alan Modra <amodra@gmail.com>
44
45 * sysdep.h: Don't include limits.h and sys/param.h. Don't
46 include unistd.h twice.
47 (LD_PATHMAX): Don't define.
48 * ldlang.c (lang_common): Don't use UINT_MAX.
49
f36e8886
BS
502014-07-01 Barney Stratford <barney_stratford@fastmail.fm>
51 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
52 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
53 Soundararajan <Sounderarajan.D@atmel.com>
54
55 * Makefile.am (ALL_EMULATION_SOURCES): Add avrtiny emulation source.
56 (eavrtiny.c): Add rules for avrtiny emulation source.
57 * Makefile.in: Regenerate.
58 * configure.tgt: Add avrtiny to avr target emulations.
59 * scripttempl/avrtiny.sc: New file. Linker script template for
60 avrtiny arch.
61 * emulparams/avrtiny.sh: New file. Emulation parameters for
62 avrtiny arch.
63
b0054819
UD
642014-06-30 Ulrich Drepper <drepper@gmail.com>
65
66 * lexsup.c (parse_args): Check whether provided SONAME is empty
67 string. If yes, warn and ignore it. Don't overwrite valid SONAME
68 with empty string.
69
eeb14e5a
LZ
702014-06-26 Linda Zhang <lindasc@qq.com>
71
72 * emultempl/pe.em: Initialise insert_timestamp to true.
73 Add a --no-insert-timestamp command line option.
74 * emultempl/pep.em: Likewise.
75 * ld.texinfo: Document that --insert-timestamp is enabled by
76 default and that it now has an inverse command line option.
77 * NEWS: Mention the new behaviour.
78
9d069ac3
NC
792014-06-25 Nick Clifton <nickc@redhat.com>
80
81 * Makefile.am (ALL_EMULATION_SOURCES): Move ei386pep.c from
82 here...
83 (ALL_64_EMULATION_SOURCES): ... to here.
84 (ALL_EMUL_EXTRA_OFILES): Move pep-dll.o from here...
85 (ALL_64_EMUL_EXTRA_OFILES): New. ... to here.
86 * configure.in (EMUL_EXTRA_OFILES): Include
87 ALL_64_EMUL_EXTRA_OFILES when making a 64-bit enabled build.
88 * Makefile.in: Regenerate.
89 * configure: Regenerate.
90
1804dbce
AT
912014-06-18 Andreas Tobler <andreast@fgznet.ch>
92
93 * configure.tgt (arm*-*-freebsd*): Update targ_extra_emuls.
94 (arm*b-*-freebsd*): Add target.
95 * emulparams/armelfb_fbsd.sh: Added.
96 * emulparams/armelf_fbsd.sh: Updated.
97 * Makefile.am (ALL_EMULATION_SOURCES): Add earmelfb_fbsd.c.
98 * Makefile.in: Regenerate.
99
e1279d1d
AM
1002014-06-16 Alan Modra <amodra@gmail.com>
101
102 * scripttempl/elf.sc: Edit out __rela_iplt symbol assignments from
103 .rel sections, and __rel_iplt from .rela sections.
104 * scripttempl/nds32elf.sc: Likewise.
105 * Makefile.am (ends32*.c) Depend on nds32elf.sc.
106 * Makefile.in: Regenerate.
107
caa4096e
AM
1082014-06-13 Alan Modra <amodra@gmail.com>
109
110 PR 17047
111 * ldlang.c (output_bfd_hash_table_free_fn): Delete.
112 (open_output): Don't set it..
113 * ldmain.c (ld_cleanup): ..or call it.
114
c72f2fb2
AM
1152014-06-13 Alan Modra <amodra@gmail.com>
116
117 * emultempl/cr16elf.em, * emultempl/elf32.em, * emultempl/genelf.em,
118 * emultempl/m68kcoff.em, * emultempl/m68kelf.em,
119 * emultempl/nds32elf.em, * emultempl/pe.em, * emultempl/pep.em,
120 * ldlang.c, * ldmain.c, * pe-dll.c: Update for bfd.link_next change.
121
07cccc39
AM
1222014-06-13 Alan Modra <amodra@gmail.com>
123
124 * Makefile.am (ALL_EMULATION_SOURCES): Add enios2elf.c, enios2linux.c.
125 * Makefile.in: Regenerate.
126
b893397a
AM
1272014-06-07 Alan Modra <amodra@gmail.com>
128
129 * ldexp.c (exp_fold_tree_1 <etree_provide>): Make PROVIDEd
130 linker script symbol value override a built-in linker symbol.
131
270c9937
JB
1322014-06-05 Joel Brobecker <brobecker@adacore.com>
133
134 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
135 bfd's development.sh.
136 * Makefile.in, configure: Regenerate.
137
ce46249c
AM
1382014-06-02 Alan Modra <amodra@gmail.com>
139
140 * emulparams/elf32bfin.sh: Rename from bfin.sh.
141 * emulparams/elf32bfinfd.sh: Update to suit.
ce46249c
AM
142 * emulparams/msp430.sh: Rename from msp430all.sh. Remove
143 MSP430_NAME and msp430X vars.
144 * emulparams/msp430X.sh: New.
ce46249c
AM
145 * emulparams/score3_elf.sh: Rename from scoreelf.sh. Remove
146 SCORE_NAME and score7_elf ARCH setting.
147 * emulparams/score7_elf.sh: New.
148 * Makefile.am (eelf32bfin.c, eelf32bfinfd.c): Update dependencies.
149 (emsp430.c, emsp430X.c, escore3_elf.c, escore7_elf.c): Likewise.
150 * Makefile.in: Regenerate.
151 * genscripts.sh: Delete customizer_script param.
152
77ac17b8
HPN
1532014-05-28 Hans-Peter Nilsson <hp@axis.com>
154
155 * Makefile.am: Change all rules with ${GENSCRIPTS}
156 invocations to be just dependencies.
157 ($(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES))
158 (run-genscripts): New rules.
159 * Makefile.in: Regenerate.
160
7a2f2d82
DD
1612014-05-27 DJ Delorie <dj@redhat.com>
162
163 * ld/ldemul.h (extra_map_file_text): New field.
164 (ldemul_extra_map_file_text): Declare.
165 * ld/ldemul.c (ldemul_extra_map_file_text): Define.
166 * ld/ldlang.c (lang_map): Call it.
167
168 * ld/emultempl/rxelf.em: Add extra_map_file_text hook.
169 * ld/emultempl/aix.em: Add NULL extra_map_file_text hook.
170 * ld/emultempl/armcoff.em: Likewise.
171 * ld/emultempl/beos.em: Likewise.
172 * ld/emultempl/elf32.em: Likewise.
173 * ld/emultempl/generic.em: Likewise.
174 * ld/emultempl/gld960.em: Likewise.
175 * ld/emultempl/gld960c.em: Likewise.
176 * ld/emultempl/linux.em: Likewise.
177 * ld/emultempl/lnk960.em: Likewise.
178 * ld/emultempl/m68kcoff.em: Likewise.
179 * ld/emultempl/pe.em: Likewise.
180 * ld/emultempl/pep.em: Likewise.
181 * ld/emultempl/sunos.em: Likewise.
182 * ld/emultempl/ticoff.em: Likewise.
183 * ld/emultempl/vanilla.em: Likewise.
184
0ef76c43
AM
1852014-05-24 Alan Modra <amodra@gmail.com>
186
187 * ldlang.c (base): Move variable to..
188 * mri.c: ..here, and make static.
189 * ldlang.h (base): Delete declaration.
190
865d0aef
HPN
1912014-05-20 Hans-Peter Nilsson <hp@axis.com>
192
193 * Makefile.am (ALL_EMULATION_SOURCES): Add missing eelf32mbel_linux.c.
194 * Makefile.in: Regenerate.
195
93d1b056
AM
1962014-05-20 Alan Modra <amodra@gmail.com>
197
198 PR 16952
199 * emulparams/elf32ppccommon.sh (_SDA_BASE_, _SDA2_BASE_): Delete.
200 * emultempl/ppc32elf.em (ppc_before_allocation): Call
201 ppc_elf_maybe_strip_sdata_syms.
202 * ldlang.c (size_input_section): Correct output_offset value
203 for excluded input sections.
204
5febff9b
JM
2052014-05-16 John Marino <binutils@marino.st>
206
207 * configure.tgt: Add /lib to dragonfly NATIVE_LIB_DIRS.
208
fae66359
CLT
2092014-05-11 Chung-Lin Tang <cltang@codesourcery.com>
210
211 * emulparams/nios2linux.sh (OTHER_GOT_SYMBOLS): Wrap _gp in HIDDEN(),
212 and gp in PROVIDE_HIDDEN.
213
eae25ec5
HPN
2142014-05-10 Hans-Peter Nilsson <hp@bitrange.com>
215
216 * ldlang.c (lang_finish): Don't call bfd_link_hash_table_free here.
217 (output_bfd_hash_table_free_fn): New variable.
218 (open_output): Save the _bfd_link_hash_table_free function for the
219 output_bfd into output_bfd_hash_table_free_fn.
220 * ldmain.c (ld_cleanup): If set, call output_bfd_hash_table_free_fn
221 on link_info.hash.
222 * ldlang.h (output_bfd_hash_table_free_fn): Declare.
223
6d00b590
AM
2242014-05-02 Alan Modra <amodra@gmail.com>
225
226 * emultempl/metagelf.em: Update bfd target vector naming.
227 * emultempl/nios2elf.em: Likewise.
228 * emultempl/spuelf.em: Likewise.
229 * emultempl/tic6xdsbt.em: Likewise.
230
73589c9d
CS
2312014-04-22 Christian Svensson <blue@cmd.nu>
232
233 * Makefile.am: Remove openrisc and or32 support. Add support for or1k.
234 * configure.tgt: Likewise.
235 * emulparams/elf32or1k.sh: New file.
236 * emulparams/elf32or1k_linux.sh: New file.
237 * emulparams/elf32openrisc.sh: Delete.
238 * emulparams/or32.sh: Delete.
239 * emulparams/or32elf.sh: Delete.
240 * scripttempl/or32.sc: Delete.
241 * Makefile.in: Regenerate.
242
d1c109de
RH
2432014-04-21 Richard Henderson <rth@redhat.com>
244
245 * emultempl/alphaelf.em (alpha_after_parse): Enable 2 relax passes.
246
8056826a
SE
2472014-04-16 Steve Ellcey <sellcey@mips.com>
248
249 * emultempl/elf32.em: Include safe-ctype.h.
250
751e54c9
SE
2512014-04-16 Steve Ellcey <sellcey@mips.com>
252
253 * ldbuildid.c (generate_build_id): Add ATTRIBUTE_UNUSED to size arg.
254
edf84efc
NC
2552014-04-09 Nick Clifton <nickc@redhat.com>
256
257 * Makefile.am (default-manifest.o): Remove rule.
258 (EMUL_EXTRA_BINARIES): Delete.
259 (ALL_EMUL_EXTRA_BINARIES): Delete.
260 (ld_new_DEPENDENCIES): Remove EMUL_EXTRA_BINARIES.
261 (install-data-local): Remove EMUL_EXTRA_BINARIES.
262 * Makefile.in: Regenerate.
263 * configure.in (all_emul_extra_binaries): Delete.
264 (EMUL_EXTRA_BINARIES): Remove.
265 * configure: Regenerate.
266 * configure.tgt (target_extra_binaries): Delete.
267 * emultempl/default-manifest.rc: Delete.
268 * ld.texinfo: Remove discussion of default manifest.
269 * emulparams/i386pe.sh (DEFAULT_MANIFEST): Delete.
270 * emulparams/i386pep.sh (DEFAULT_MANIFEST): Delete.
271
e30d16e9
AM
2722014-04-09 Alan Modra <amodra@gmail.com>
273
274 * emultempl/spuelf.em: Include safe-ctype.h, remove duplicate errno.h.
275 * emultempl/nds32elf.em: Include bfd_stdint.h.
276 * po/POTFILES.in: Regenerate.
277
b4ab4364
AM
2782014-04-09 Alan Modra <amodra@gmail.com>
279
280 * emultempl/ppc32elf.em (no_zero_padding, ppc_finish): New functions.
281 (LDEMUL_FINISH): Define.
282
6c1799ad
NC
2832014-04-08 Nick Clifton <nickc@redhat.com>
284
285 * scripttempl/pe.sc (R_RSRC): Remove default manifest.
286 * scripttempl/pep.sc (R_RSRC): Remove default manifest.
287
61e2488c
JT
2882014-04-08 Jon TURNEY <jon.turney@dronecode.org.uk>
289
290 * emultempl/elf32.em (id_note_section_size, read_hex, write_build_id):
291 Move code for parsing build-id option and calculating the build-id to...
292 * ldbuildid.c: New file.
293 * ldbuildid.h: New file.
294 * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add new
295 files.
296 * Makefile.in: Regenerate.
297 * ld.texinfo: Update --build-id description to mention COFF
298 support.
299 * NEWS: Mention support for COFF build ids.
300 * emultempl/pe.em (gld${EMULATION_NAME}_handle_option):
301 (pecoff_checksum_contents, write_build_id, setup_build_id)
302 (gld_${EMULATION_NAME}_after_open): Handle and implement
303 build-id option.
304 * emultempl/pep.em: Likewise.
305
abc9061b
CC
3062014-04-04 Cary Coutant <ccoutant@google.com>
307
308 PR gold/16804
309 * ld.texinfo: Document optional comma following output section
310 command and overlay command.
311
ffe54b37
AM
3122014-04-04 Alan Modra <amodra@gmail.com>
313
314 * ldlang.c (lang_size_sections_1 <lang_input_section_enum>): Use
315 current "fill", not "output_section_statement->fill".
316
76f0cad6
NC
3172014-03-31 Nick Clifton <nickc@redhat.com>
318
319 PR ld/16744
320 * emultempl/elf32.em (_after_open): Create a .note.GNU-stack
321 section when performing a relocatable link with -z [no]execstack
322 specified.
323
4c6d802e
L
3242014-03-27 H.J. Lu <hongjiu.lu@intel.com>
325
326 PR ld/16756
327 * ldmain.c (symbol_warning): New function.
328 (warning_callback): Use it. Scan all input files for a reference
329 to SYMBOL.
330
8547a0f9 3312014-03-21 Christopher Faylor <me.cygwin2013@cgf.cx>
d0e6d77b
CF
332
333 * ld.texinfo: Document change in handling of --enable-auto-image-base.
334 * emultempl/pe.em (pe_auto_image_base): Set to default base.
335 (gld_${EMULATION_NAME}_list_options): Change usage message to reflect
336 optional --enable-auto-image-base argument.
337 (gld${EMULATION_NAME}_handle_option): Handle optional
338 --enable-auto-image-base argument.
339 (compute_dll_image_base): Eliminate constant. Use pe_auto_image_base.
340
1d63324c
NC
3412014-03-19 Nick Clifton <nickc@redhat.com>
342
343 * Makefile.am (default-manifest.o): Use WINDRES_FOR_TARGET.
344 * Makefile.in: Regenerate.
345 * emultempl/default-manifest.rc: Fix typo.
346 * scripttempl/pe.sc (R_RSRC): Fix default-manifest exclusion.
6caf7111 347 (.rsrc): Add SUBALIGN(4). Remove SORT.
1d63324c
NC
348 * scripttempl/pep.sc: Likewise.
349
c712f1e3
CF
3502014-03-17 Christopher Faylor <me.cygwin2014@cgf.cx>
351
352 * Makefile.am: Use host version of windres.
353 * Makefile.in: Regenerate.
354
d4ae5fb0
AM
3552014-03-14 Romain Geissler <romain.geissler@amadeus.com>
356 Alan Modra <amodra@gmail.com>
357
358 * ldlang.h (full_name_provided): New input flag.
359 * ldlang.c (new_afile): Don't use lang_input_file_is_search_file_enum
360 for -l:namespec. Instead use lang_input_file_is_l_enum with
361 full_name_provided flag.
362 * ldlfile.c (ldfile_open_file_search): Don't complete lib name if
363 full_name_provided flag is set.
364 * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
365 Handle full_name_provided libraries. Tidy EXTRA_SHLIB_EXTENSION
366 support. Set DT_NEEDED for -l:namespec as namespec.
367 * emultempl/aix.em (ppc_after_open_output): Handle full_name_provided.
368 * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive):
369 Don't handle full_name_provided libraries.
370 * emultempl/pe.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
371 * emultempl/pep.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
372 * emultempl/vms.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
373
fa47fa92
AM
3742014-03-12 Alan Modra <amodra@gmail.com>
375
376 * Makefile.in: Regenerate.
377
4b95cf5c
AM
3782014-03-05 Alan Modra <amodra@gmail.com>
379
380 Update copyright years.
381
0b55a33e
NC
3822014-03-04 Nick Clifton <nickc@redhat.com>
383
384 * Makefile.am (ALL_EMUL_EXTRA_BINARIES): Remove default-manifest.
385 * Makefile.in: Regenerate.
386
1db37fe6
YG
3872014-02-27 Yuri Gribov <y.gribov@samsung.com>
388
389 * emultempl/armelf.em (OPTION_LONG_PLT): Define.
390 (PARSE_AND_LIST_LONGOPTS): Add long-plt.
391 (PARSE_AND_LIST_OPTIONS): Likewise.
392 (PARSE_AND_LIST_ARGS_CASES): Handle long-plt.
393 * ld.texinfo: Document --long-plt.
394
db434ba0
AM
3952014-02-27 Alan Modra <amodra@gmail.com>
396
397 * emulparams/elf32ppcvxworks.sh: Source plt_unwind.sh and
398 use ppc32elf.em.
399 * emultempl/ppc32elf.em (ppc_after_open): Don't compile for
400 vxworks.
401 (LDEMUL_AFTER_OPEN): Don't set for vxworks.
402 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Exclude
403 -secure-plt, -bss-plt and -sdata-got when vxworks.
404
5063daf7
NC
4052014-02-27 Nick Clifton <nickc@redhat.com>
406
407 * configure.in (all_emul_extra_binaries): New variable. Populated
408 by invoking configure.tgt.
409 (EMUL_EXTRA_BINARIES): New substitution.
410 * configure: Regenerate.
411 * configure.tgt (target_extra_binaries): New variable. Set to
412 default-manifest.o for Cygwin and MinGW targets.
413 * Makefile.am (EMUL_EXTRA_BINARIES): New variable. Initialised
414 by the configure script.
415 (ALL_EMUL_EXTRA_BINARIES): New variable.
416 (default-manifest.o): New rule to build the default manifest.
417 (ld_new_DEPENDENCIES): Add EMUL_EXTRA_BINARIES.
418 (install-data-local): Add EMUL_EXTRA_BINARIES.
419 * Makefile.in: Regenerate.
420 * ld.texinfo: Document default manifest support.
421 * emulparams/i386pe.sh (DEFAULT_MANIFEST): Define.
422 * emulparams/i386pep.sh (DEFAULT_MANIFEST): Define.
423 * emultempl/default-manifest.rc: New file.
424 * scripttempl/pe.sc (R_RSRC): Include DEFAULT_MANIFEST, if defined.
425 * scripttempl/pep.sc (R_RSRC): Likewise.
426
e3e37035
DM
4272014-02-26 Dan Mick <dan.mick@inktank.com>
428
429 PR ld/16569
430 * ldcref.c (cref_sort_array): Compare unmangled names unless
431 demanglng has been requiested.
432 (output_one_cref): Output unmangled name unless demangling has
433 been requested.
434
0ff2b86e
L
4352014-02-19 Igor Zamyatin <igor.zamyatin@intel.com>
436 H.J. Lu <hongjiu.lu@intel.com>
437
438 * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): New.
439
7d4c687d
AM
4402014-02-19 Alan Modra <amodra@gmail.com>
441
442 * emultempl/ppc64elf.em (params): Init new field.
443 (ppc_create_output_section_statements): Set params.save_restore_funcs
444 default.
445 (PARSE_AND_LIST_*): Add support for --save-restore-funcs and
446 --no-save-restore-funcs.
447
e7d1c40c
AM
4482014-02-17 Alan Modra <amodra@gmail.com>
449
450 * emultemps/ppc64elf.em (params): New static struct replacing
451 various other static vars. Adjust code throughout file.
452
668e22e5
AM
4532014-02-17 Alan Modra <amodra@gmail.com>
454
455 * emultempl/ppc32elf.em (ppc_after_open_output): Really enable
456 ppc476 workaround for ld -r.
457
795bc6b3
AM
4582014-02-12 Alan Modra <amodra@gmail.com>
459
460 * emultempl/ppc32elf.em (pagesize): New static var.
461 (ppc_after_open_output): Set params.pagesize_p2 from pagesize.
462 (PARSE_AND_LIST_ARGS_CASES): Adjust to use pagesize.
463
7d0edd4b
AP
4642014-02-11 Andrew Pinski <apinski@cavium.com>
465
466 * emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32.
467 (ELF_INTERPRETER_NAME): Define.
468 * emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define.
469
c1c69e83
AM
4702014-02-10 Alan Modra <amodra@gmail.com>
471
472 * po/ld.pot: Regenerate.
473
5446cbdf
AM
4742014-02-03 Alan Modra <amodra@gmail.com>
475
476 * emultempl/ppc32elf.em (no_tls_get_addr_opt, emit_stub_syms)
477 plt_style): Delete. Adjust all refs to instead use..
478 (params): ..this. New variable.
479 (ppc_after_open_output): New function. Tweak params and pass to
480 ppc_elf_link_params.
481 (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
482 (ppc_before_allocation): Adjust ppc_elf_tls_setup call. Enable
483 relaxation for ppc476 workaround.
484 (PARSE_AND_LIST_*): Add --{no-,}ppc476-workaround support.
485 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
486
13075d04
SH
4872014-02-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
488
489 * ld/ld.texinfo: Change ALIGN_WITH_INPUT documentation.
490 * ld/ldlang.c (lang_size_sections_1): Add dotdelta
491 variable which reflects the VMA change due to alignment
492 requirements. Use dotdelta do change the LMA if
493 ALIGN_WITH_INPUT is requested.
494
0a09fb4a
HPN
4952014-02-01 Hans-Peter Nilsson <hp@bitrange.com>
496
497 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in
498 call to bfd_set_section_vma exposed by recent bfd_set_section_vma
499 change.
500
78058a5e
SL
5012014-01-30 Sandra Loosemore <sandra@codesourcery.com>
502
503 * Makefile.am (enios2elf.c, enios2linux.c): Update dependencies.
504 * Makefile.in: Regenerated.
505 * emulparams/nios2elf.sh (EXTRA_EM_FILE): Set.
506 * emulparams/nios2linux.sh (EXTRA_EM_FILE): Set.
507 * emultempl/nios2elf.em: New file.
508 * gen-doc.texi (NIOSII): Set.
509 * ld.texinfo (NIOSII): Set.
510
1ade0651
NC
5112014-01-28 Nick Clifton <nickc@redhat.com>
512
513 * Makefile.am: Remove obsolete MSP430 emulations.
514 * configure.tgt: Likewise.
515 * emulparams/msp430all.sh: Likewise.
516 * Makefile.in: Regenerate.
517
d85e71fe
L
5182014-01-24 H.J. Lu <hongjiu.lu@intel.com>
519
520 PR ld/16498
521 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
522 orphaned TLS section handling.
523
d9d94ac8
AM
5242014-01-24 Alan Modra <amodra@gmail.com>
525
526 * ldlang.c (lang_output_section_find_by_flags): Be careful to
527 test look->bfd_section->flags if available rather than
528 look->flags. Separate SEC_THREAD_LOCAL handling from
529 SEC_READONLY loop, and rewrite.
530
16e4ecc0
AM
5312014-01-22 Alan Modra <amodra@gmail.com>
532
533 * ldlang.c (asneeded_list_head, asneeded_list_tail): New vars.
534 (lang_init): Initialise them.
535 (lang_print_asneeded): New function.
536 (lang_process): Call lang_print_asneeded.
537 * ldlang.h (struct asneeded_minfo): New.
538 (asneeded_list_tail): Declare.
539 * ldmain.c (add_archive_element): Improve archive map heading.
540 * ldmisc.c (minfo): Stash --as-needed info.
541
7dd9c6eb
AM
5422014-01-22 Alan Modra <amodra@gmail.com>
543
544 * ld.h (struct map_symbol_def): Move to..
545 * ldlang.h: ..here.
546 * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
547
2edab91c
AM
5482014-01-22 Alan Modra <amodra@gmail.com>
549
550 * ld.texinfo (Output Section Discarding): Mention assigning to dot
551 as a way of keeping otherwise empty sections.
552 * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
553 is_dot_plus_0, is_align_conditional): New predicates.
554 (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
555 output section, except for some special cases.
556 * scripttempl/elfmicroblaze.sc: Use canonical form to align at
557 end of .heap and .stack.
558
5a4f2336
MS
5592014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
560
561 * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
562
30feb358
MS
5632014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
564
565 * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
566
fa72205c
AM
5672014-01-20 Alan Modra <amodra@gmail.com>
568
569 * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
570 by_script. Make iteration a single bit field.
571 (lang_track_definedness, lang_symbol_definition_iteration): Delete.
572 (lang_symbol_defined): Declare.
573 * ldlang.c (lang_statement_iteration): Expand comment a little.
574 (lang_init <lang_definedness_table>): Make it bigger.
575 (lang_track_definedness, lang_symbol_definition): Delete.
576 (lang_definedness_newfunc): Update.
577 (lang_symbol_defined): New function.
578 (lang_update_definedness): Create entries here. Do track whether
579 script definition of symbol is valid, even when also defined in
580 an object file.
581 * ldexp.c (fold_name <DEFINED>): Update.
582 (fold_name <NAME>): Allow self-assignment for absolute symbols
583 defined in a linker script.
584
24ef1aa7
GM
5852014-01-20 Guy Martin <gmsoft@tuxicoman.be>
586 Alan Modra <amodra@gmail.com>
587
588 * ldlang.h (lang_output_section_get): Define.
589 * ldlang.c (lang_output_section_get): Likewise.
590 (init_os): Set the output_section userdata to the output
591 section statement.
592 * emultempl/hppaelf.em: Use lang_output_section_get instead of
593 lang_output_section_find where applicable.
594 * emultempl/aarch64elf.em: Likewise.
595 * emultempl/aix.em: Likewise.
596 * emultempl/armelf.em: Likewise.
597 * emultempl/m68hc1xelf.em: Likewise.
598 * emultempl/metagelf.em: Likewise.
599 * emultempl/mipself.em: Likewise.
600 * emultempl/ppc64elf.em: Likewise.
601 * emultempl/spuelf.em: Likewise.
602
7225345d
AM
6032014-01-17 Alan Modra <amodra@gmail.com>
604
605 * genscripts.sh (COMPILE_IN): Don't set if already set.
606 * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
607 COMPILE_IN=no.
608 * emulparams/nds32elf16m.sh: Likewise.
609 * emulparams/nds32elf_linux.sh: Likewise.
610 * emultempl/aix.em: Test COMPILE_IN value is "yes".
611 * emultempl/armcoff.em: Likewise.
612 * emultempl/elf32.em: Likewise.
613 * emultempl/generic.em: Likewise.
614 * emultempl/gld960.em: Likewise.
615 * emultempl/gld960c.em: Likewise.
616 * emultempl/linux.em: Likewise.
617 * emultempl/lnk960.em: Likewise.
618 * emultempl/m68kcoff.em: Likewise.
619 * emultempl/sunos.em: Likewise.
620 * emultempl/ticoff.em: Likewise.
621
f6f6c679
L
6222014-01-16 H.J. Lu <hongjiu.lu@intel.com>
623
624 PR ld/16456
625 * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
626 suffix.
627 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
628 for elf32_x86_64 emulation.
629 * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
630 for elf_i386 emulation.
631
6fcc66ab
AM
6322014-01-16 Alan Modra <amodra@gmail.com>
633
634 * ld.h (fat_section_userdata_type, get_userdata): Move to..
635 * ldlang.h (input_section_userdata_type, get_userdata): ..here.
636 * ldlang.c (init_map_userdata): Delete. Fold into..
637 (sort_def_symbol): ..here. Don't attach input section userdata
638 to output sections or global bfd sections.
639 (lang_map): Don't pre-allocate input section userdata.
640 (init_os): Don't allocate userdata for output sections.
641 (print_all_symbols): Update.
642
f9c316c4
L
6432014-01-15 H.J. Lu <hongjiu.lu@intel.com>
644
645 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
646 Silence uninitialized warning on ehdr_start_save with older
647 GCC.
648
4199e3b8
AM
6492014-01-15 Alan Modra <amodra@gmail.com>
650
651 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
652 __ehdr_start before size_dynamic_sections and restore afterwards.
653
eec2f3ed
AM
6542014-01-10 Alan Modra <amodra@gmail.com>
655
656 PR ld/14207
657 PR ld/16322
658 PR binutils/16323
659 * ldlang.c (lang_size_sections): Remove unneeded RELRO base
660 adjust. Tidy comments.
661 * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
662
d1e1519e
HPN
6632014-01-10 Hans-Peter Nilsson <hp@axis.com>
664
665 * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
666
43a8475c
L
6672014-01-08 H.J. Lu <hongjiu.lu@intel.com>
668
669 PR ld/14207
670 PR ld/16322
671 PR binutils/16323
672 * ldlang.c (lang_size_sections): Properly align RELRO base.
673
221fd5d5
L
6742014-01-08 H.J. Lu <hongjiu.lu@intel.com>
675
676 * ldver.c (ldversion): Update copyright year to 2014.
677
5fb776a6 678For older changes see ChangeLog-2013
252b5132 679\f
5fb776a6 680Copyright (C) 2014 Free Software Foundation, Inc.
752937aa
NC
681
682Copying and distribution of this file, with or without modification,
683are permitted in any medium without royalty provided the copyright
684notice and this notice are preserved.
685
252b5132
RH
686Local Variables:
687mode: change-log
688left-margin: 8
689fill-column: 74
690version-control: never
691End:
This page took 0.748992 seconds and 4 git commands to generate.